A set of SPARQL examples that are used in different SIB resources
The recommended protein short names for UniProtKB entries
PREFIX up: <http://purl.uniprot.org/core/>
SELECT ?protein
?fullName
WHERE {
?protein a up:Protein ;
up:recommendedName ?recommendedName .
?recommendedName up:shortName ?fullName .
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?fullName"):::projected
v1("?protein"):::projected
v2("?recommendedName")
c2(["up:Protein"]):::iri
v1 --"a"--> c2
v1 --"up:recommendedName"--> v2
v2 --"up:shortName"--> v3