Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Spatial SPARQL: hoards found within 50 km of Athens
PREFIX dcterms: <>
PREFIX geo: <>
PREFIX nm: <>
PREFIX nmo: <>
PREFIX skos: <>
PREFIX spatial: <>
SELECT DISTINCT ?hoard ?label ?lat ?long WHERE {
?loc spatial:nearby (37.974722 23.7225 50 'km') ;
geo:lat ?lat ;
geo:long ?long .
?hoard nmo:hasFindspot ?loc ;
a nmo:Hoard
OPTIONAL { ?hoard dcterms:title ?label }
OPTIONAL { ?hoard skos:prefLabel ?label }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment