Skip to content

Instantly share code, notes, and snippets.

@portableant
Created November 8, 2014 18:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save portableant/d47fa6facf2ab6a65b5f to your computer and use it in GitHub Desktop.
Save portableant/d47fa6facf2ab6a65b5f to your computer and use it in GitHub Desktop.
Anglo-Saxon deities
PREFIX crm: <http://erlangen-crm.org/current/>
PREFIX fts: <http://www.ontotext.com/owlim/fts#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX bmo: <http://collection.britishmuseum.org/id/ontology/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
SELECT *
where
{
?person skos:inScheme <http://collection.britishmuseum.org/id/person-institution> .
?person rdfs:label ?label .
?person crm:P3_has_note ?note .
?person bmo:PX_profession ?profession .
?person bmo:PX_nationality ?nationality .
?nationality skos:prefLabel ?nat .
?nationality skos:prefLabel "Anglo-Saxon" .
FILTER(?profession = <http://collection.britishmuseum.org/id/thesauri/profession/deity> ) .
}
LIMIT 1000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment