Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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