Skip to content

Instantly share code, notes, and snippets.

@ewg118
Created May 13, 2015 03:08
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/c854c94c3ed8fd0af898 to your computer and use it in GitHub Desktop.
Save ewg118/c854c94c3ed8fd0af898 to your computer and use it in GitHub Desktop.
Display mints that issued silver Republican coinage, with count of types, grouped and order by mint name.
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#>
SELECT ?label (count(?mint) as ?count) WHERE {
?types nmo:hasMaterial nm:ar ;
dcterms:source nm:rrc ;
nmo:hasMint ?mint .
?mint skos:prefLabel ?label .
FILTER langMatches(lang(?label), "en")
} GROUP BY ?label ORDER by ?label
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment