Skip to content

Instantly share code, notes, and snippets.

@ewg118
Created May 13, 2015 02:49
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save ewg118/9fdcbc32ffa07c7a5f42 to your computer and use it in GitHub Desktop.
Get optional weight, diameter, and depiction of RRC 273/1 coins
PREFIX nmo: <http://nomisma.org/ontology#>
PREFIX crro: <http://numismatics.org/crro/id/>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
SELECT ?objects ?title ?diameter ?weight ?depiction WHERE {
?objects nmo:hasTypeSeriesItem crro:rrc-273.1 ;
a nmo:NumismaticObject ;
dcterms:title ?title .
OPTIONAL { ?objects nmo:hasWeight ?weight }
OPTIONAL { ?objects nmo:hasDiameter ?diameter }
OPTIONAL { ?objects foaf:depiction ?depiction }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment