Skip to content

Instantly share code, notes, and snippets.

@ewg118
Created May 14, 2020 17:22
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/737ff488004f4a1aa4b58b0c10252f7a to your computer and use it in GitHub Desktop.
Save ewg118/737ff488004f4a1aa4b58b0c10252f7a to your computer and use it in GitHub Desktop.
Alexander coinage with letters, ordered by date
PREFIX crm: <http://www.cidoc-crm.org/cidoc-crm/>
PREFIX geo: <http://www.w3.org/2003/01/geo/wgs84_pos#>
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 skos: <http://www.w3.org/2004/02/skos/core#>
SELECT ?type ?date ?mint ?label ?lat ?long WHERE {
?monogram crm:P106_is_composed_of "Δ", "Η" .
?side nmo:hasControlmark ?monogram .
?type nmo:hasObverse|nmo:hasReverse ?side ;
nmo:hasEndDate ?date .
{?type nmo:hasMint ?mint}
UNION {?type nmo:hasMint/rdf:value ?mint}
?mint a nmo:Mint ;
geo:location ?loc ;
skos:prefLabel ?label FILTER (langMatches(lang(?label), "en")) .
?loc geo:lat ?lat ;
geo:long ?long
} ORDER BY ASC(?date)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment