Skip to content

Instantly share code, notes, and snippets.

@ewg118
Created July 11, 2014 18:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ewg118/ecd51243342d02c5f231 to your computer and use it in GitHub Desktop.
Save ewg118/ecd51243342d02c5f231 to your computer and use it in GitHub Desktop.
SPARQL query of nomisma3 - get geoJSON for regions associated with Pleiades
PREFIX geo: <http://www.w3.org/2003/01/geo/wgs84_pos#>
PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX osgeo: <http://data.ordnancesurvey.co.uk/ontology/geometry/>
SELECT ?place ?pleiades ?geoJSON WHERE {
?place skos:relatedMatch ?pleiades .
?place geo:location ?loc .
?loc osgeo:asGeoJSON ?geoJSON
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment