Spatial SPARQL: hoards found within 50 km of Athens
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 nmo: <http://nomisma.org/ontology#> | |
PREFIX skos: <http://www.w3.org/2004/02/skos/core#> | |
PREFIX spatial: <http://jena.apache.org/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