Created
October 10, 2014 08:46
-
-
Save gatemezing/7c6d31b24e809c9020bd to your computer and use it in GitHub Desktop.
Factforge bounding box use case - Eurecom and Eiffel Tower
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
# Second level administrative units in France | |
# in FactForge between Eurecom and Eiffel Tower total 36 | |
# using omgeo:within ( ) | |
PREFIX omgeo: <http://www.ontotext.com/owlim/geo#> | |
PREFIX geo-ont: <http://www.geonames.org/ontology#> | |
SELECT DISTINCT ?link ?m | |
WHERE { | |
?link geo-ont:name ?m. | |
?link geo-ont:featureCode geo-ont:A.ADM2 . | |
?link geo-ont:parentCountry dbpedia:France . | |
?link geo-pos:lat ?lat2 . | |
?link geo-pos:long ?long2 . | |
?link omgeo:within( 43.6266 2.2942 48.8628 7.0463 ) . | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment