Skip to content

Instantly share code, notes, and snippets.

@portableant
Last active August 29, 2015 13:57
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 portableant/9795147 to your computer and use it in GitHub Desktop.
Save portableant/9795147 to your computer and use it in GitHub Desktop.
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX nm: <http://nomisma.org/id/>
SELECT *
WHERE {
?type a nm:type_series_item .
?type dcterms:isPartOf <http://nomisma.org/id/ric> .
?type skos:prefLabel ?label .
OPTIONAL { ?type nm:start_date ?start . }
OPTIONAL { ?type nm:end_date ?end . }
OPTIONAL { ?type nm:authority ?issuer . }
OPTIONAL { ?type nm:denomination ?denomination . }
?type nm:obverse ?obverse .
?obverse nm:description ?obverseDescription .
?obverse nm:legend ?obverseLegend .
?type skos:definition ?definition .
?type nm:reverse ?reverse .
?reverse nm:legend ?reverseLegend .
?reverse nm:description ?reverseDescription
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment