Skip to content

Instantly share code, notes, and snippets.

@tommorris
Created June 19, 2010 16:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save tommorris/445038 to your computer and use it in GitHub Desktop.
Save tommorris/445038 to your computer and use it in GitHub Desktop.
# future editing note: data is at http://gist.github.com/445062
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
SELECT ?name, ?description, ?depiction, ?thumbnail, ?scientificName
FROM <http://www.bbc.co.uk/nature/species/Black_Grouse.rdf> {
?species a <http://purl.org/ontology/wo/Species>;
rdfs:label ?name;
dcterms:description ?description;
foaf:depiction ?depiction;
<http://purl.org/ontology/wo/name> ?no.
?no <http://purl.org/ontology/wo/scientificName> ?scientificName.
?depiction foaf:thumbnail ?thumbnail.
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment