Skip to content

Instantly share code, notes, and snippets.

@ewg118
Last active August 29, 2015 14:21
  • 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/03d9c75579e8a48f45e8 to your computer and use it in GitHub Desktop.
Get information about nm:rome with semicolons
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX geo: <http://www.w3.org/2003/01/geo/wgs84_pos#>
PREFIX nm: <http://nomisma.org/id/>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
SELECT ?label ?type ?field ?lat ?long WHERE {
nm:rome skos:prefLabel ?label ;
rdf:type ?type ;
dcterms:isPartOf ?field ;
geo:location ?loc .
?loc geo:lat ?lat ;
geo:long ?long
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment