Skip to content

Instantly share code, notes, and snippets.

@ewg118
Last active October 7, 2015 20:07
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 ewg118/07daba2509a62ea20561 to your computer and use it in GitHub Desktop.
Save ewg118/07daba2509a62ea20561 to your computer and use it in GitHub Desktop.
Numismatic reference works in the British Museum
PREFIX bmo: <http://collection.britishmuseum.org/id/ontology/>
PREFIX crm: <http://erlangen-crm.org/current/>
PREFIX ecrm: <http://erlangen-crm.org/current/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX bibo: <http://purl.org/ontology/bibo/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT DISTINCT ?ref ?title ?author ?id WHERE {
?ref a ecrm:E31_Document ;
skos:prefLabel ?title ;
bibo:identifier ?id ;
ecrm:P94i_was_created_by ?pub .
?pub a ecrm:E65_Creation ;
ecrm:P2_has_type <http://collection.britishmuseum.org/id/thesauri/production/authoring> ;
ecrm:P14_carried_out_by ?auth .
?auth rdfs:label ?author .
?coin ecrm:P70i_is_documented_in ?ref ;
a ecrm:E22_Man-Made_Object ;
bmo:PX_object_type <http://collection.britishmuseum.org/id/thesauri/x6089> ;
ecrm:P50_has_current_keeper <http://collection.britishmuseum.org/id/thesauri/department/C> ;
bmo:PX_display_wrap ?text . FILTER regex(?text, "Bibliograpic\\sreference")
} ORDER BY ?label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment