A set of SPARQL examples that are used in different SIB resources
Retrieve the rank and the scientific name of an taxonomic record. Not all taxonomic records have a rank associated with them.
PREFIX up: <http://purl.uniprot.org/core/>
SELECT
?taxon
?scientificName
?rank
WHERE {
?taxon a up:Taxon ;
up:scientificName ?scientificName .
OPTIONAL {
?taxon up:rank ?rank
}
}