Skip to content

Instantly share code, notes, and snippets.

@ewg118
Created September 30, 2024 20:25
Show Gist options
  • Save ewg118/159fec4a2fea96d2b1da8d13d30b9ae1 to your computer and use it in GitHub Desktop.
Save ewg118/159fec4a2fea96d2b1da8d13d30b9ae1 to your computer and use it in GitHub Desktop.
Nomisma query for monograms by mint
PREFIX crm: <http://www.cidoc-crm.org/cidoc-crm/>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX dcmitype: <http://purl.org/dc/dcmitype/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX geo: <http://www.w3.org/2003/01/geo/wgs84_pos#>
PREFIX nm: <http://nomisma.org/id/>
PREFIX nmo: <http://nomisma.org/ontology#>
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
SELECT * WHERE {
?type a nmo:TypeSeriesItem ;
nmo:hasMint nm:seleuceia_ad_tigrim .
?type nmo:hasObverse|nmo:hasReverse ?side .
{?side nmo:hasControlmark ?symbol}
UNION {?side nmo:hasControlmark ?match .
?match ^skos:exactMatch ?symbol }
?symbol skos:inScheme <http://nomisma.org/symbol/> .
?symbol crm:P165i_is_incorporated_in ?image .
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment