SPARQL query to get coins with Price numbers from the British Museum endpoint.
This file contains 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 bmo: <http://www.researchspace.org/ontology/> | |
PREFIX ecrm: <http://www.cidoc-crm.org/cidoc-crm/> | |
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 ?s ?regno ?ref WHERE { | |
?s crm:P70i_is_documented_in <http://collection.britishmuseum.org/id/bibliography/3364> ; | |
crm:P1_is_identified_by ?d1 . | |
?d1 crm:P2_has_type <http://collection.britishmuseum.org/id/thesauri/identifier/cmcatno> ; | |
rdfs:label ?ref FILTER regex(str(?ref), "GC30") | |
?s crm:P1_is_identified_by ?d2 . | |
?d2 crm:P2_has_type <http://collection.britishmuseum.org/id/thesauri/identifier/regno>; | |
rdfs:label ?regno . | |
?s bmo:PX_display_wrap ?text . FILTER regex(?text, "Price\\s1991\\sP?[0-9]") | |
} ORDER BY ?ref |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment