Skip to content

Instantly share code, notes, and snippets.

@ewg118
Created June 19, 2020 20:59
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/e188275d34a139567369bf1e946c27f1 to your computer and use it in GitHub Desktop.
Save ewg118/e188275d34a139567369bf1e946c27f1 to your computer and use it in GitHub Desktop.
Query monograms by letter and get associated mints
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX nm: <http://nomisma.org/id/>
PREFIX nmo: <http://nomisma.org/ontology#>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX geo: <http://www.w3.org/2003/01/geo/wgs84_pos#>
PREFIX crm: <http://www.cidoc-crm.org/cidoc-crm/>
SELECT DISTINCT ?mint WHERE {
?monogram crm:P106_is_composed_of "Ψ", "Χ" .
?side nmo:hasControlmark ?monogram .
?type nmo:hasObverse|nmo:hasReverse ?side ;
a nmo:TypeSeriesItem ;
nmo:hasMint|nmo:hasMint/rdf:value ?mint .
?mint geo:location ?loc.
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment