Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
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