Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Nomisma SPARQL images
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX dcmitype: <http://purl.org/dc/dcmitype/>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX geo: <http://www.w3.org/2003/01/geo/wgs84_pos#>
PREFIX nm: <http://nomisma.org/id/>
PREFIX nmo: <http://nomisma.org/ontology#>
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX osgeo: <http://data.ordnancesurvey.co.uk/ontology/geometry/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX spatial: <http://jena.apache.org/spatial#>
PREFIX un: <http://www.owl-ontologies.com/Ontology1181490123.owl#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
SELECT ?object ?comRef ?comThumb ?obvRef ?obvThumb ?revRef ?revThumb WHERE {
?object a nmo:NumismaticObject
{ ?object foaf:thumbnail ?comThumb ;
foaf:depiction ?comRef }
UNION { ?object nmo:hasObverse ?obverse .
?obverse foaf:thumbnail ?obvThumb ;
foaf:depiction ?obvRef .
?object nmo:hasReverse ?reverse .
?reverse foaf:thumbnail ?revThumb ;
foaf:depiction ?revRef }
} LIMIT 100
@danbri

This comment has been minimized.

Copy link

@danbri danbri commented Feb 24, 2015

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment