A set of SPARQL examples that are used in different SIB resources
Alternative protein full names for UniProtKB entries
PREFIX up: <http://purl.uniprot.org/core/>
SELECT ?protein
?fullName
WHERE {
?protein a up:Protein ;
up:alternativeName ?recommendedName .
?recommendedName up:fullName ?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:alternativeName"--> v2
v2 --"up:fullName"--> v3