A set of SPARQL examples that are used in different SIB resources
Which species are available on OMA database and their scientific names?
PREFIX up: <http://purl.uniprot.org/core/>
SELECT ?species ?sciname
WHERE {
?species a up:Taxon ;
up:scientificName ?sciname ;
up:rank up:Species .
}
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?sciname"):::projected
v1("?species"):::projected
c2(["up:Taxon"]):::iri
c5(["up:Species"]):::iri
v1 --"a"--> c2
v1 --"up:scientificName"--> v2
v1 --"up:rank"--> c5