Created
January 18, 2023 06:14
-
-
Save michimau/e9f1fff2796664870f0668f00272f378 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | |
PREFIX euniss: <http://eunis.eea.europa.eu/rdf/species-schema.rdf#> | |
PREFIX eunist: <http://eunis.eea.europa.eu/rdf/taxonomies-schema.rdf#> | |
PREFIX dwcterms: <http://rs.tdwg.org/dwc/terms/> | |
SELECT DISTINCT | |
?speciesURI | |
?species | |
?photo | |
?genusURI | |
?genus | |
?familyURI | |
?family | |
?classURI | |
?class | |
?phylumURI | |
?phylum | |
?kingdomURI | |
?kingdom | |
WHERE { | |
#FILTER ( ?speciesURI = <http://eunis.eea.europa.eu/species/1367>) | |
?speciesURI a euniss:SpeciesSynonym . | |
{{ | |
SELECT ?photo ?speciesURI | |
WHERE { | |
?speciesURI <http://xmlns.com/foaf/0.1/depiction> ?photo . | |
} | |
}} | |
?speciesURI euniss:binomialName ?species . | |
?speciesURI dwcterms:genus ?genus . | |
# | |
FILTER ( ?family = 'Canidae' ) | |
?speciesURI euniss:taxonomy ?familyURI . | |
?familyURI rdfs:label ?family . | |
?familyURI eunist:parent ?orderURI . | |
?orderURI eunist:parent ?classURI . | |
?classURI rdfs:label ?class . | |
?classURI eunist:parent ?phylumURI . | |
?phylumURI rdfs:label ?phylum . | |
?phylumURI eunist:parent ?kingdomURI . | |
?kingdomURI rdfs:label ?kingdom . | |
} limit 100 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment