Skip to content

Instantly share code, notes, and snippets.

@ewg118
Created December 6, 2017 14:28
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/635a4d36e111fd6fcade3728993d6c48 to your computer and use it in GitHub Desktop.
Save ewg118/635a4d36e111fd6fcade3728993d6c48 to your computer and use it in GitHub Desktop.
Photographic coverage of CRRO
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX nm: <http://nomisma.org/id/>
PREFIX nmo: <http://nomisma.org/ontology#>
SELECT (count(DISTINCT ?type) as ?count) WHERE {
?type dcterms:source nm:rrc;
a nmo:TypeSeriesItem .
?coin nmo:hasTypeSeriesItem ?type ;
a nmo:NumismaticObject .
{?coin nmo:hasObverse ?obv .
?obv foaf:depiction ?image}
UNION {?coin foaf:depiction ?image}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment