SQL> rdf_geo_fill (); Done. -- 282 msec.
SELECT DISTINCT ?thing AS ?uri ?thingLabel AS ?name ?date AS ?established ?lat ?long WHERE { <http://dbpedia.org/resource/Oxford> geo:geometry ?sourcegeo . ?resource geo:geometry ?matchgeo . ?resource geo:lat ?lat . ?resource geo:long ?long . FILTER ( bif:st_intersects ( ?matchgeo, ?sourcegeo, 5 ) ) . ?thing ?somelink ?resource . ?thing <http://dbpedia.org/property/established> ?date . ?thing rdfs:label ?thingLabel . FILTER ( lang ( ?thingLabel ) = "en" ) }
SELECT DISTINCT ?resource ?label ?location WHERE { <http://dbpedia.org/resource/London> geo:geometry ?sourcegeo . ?resource geo:geometry ?location ; rdfs:label ?label . FILTER ( bif:st_intersects ( ?location, ?sourcegeo, 20 ) ) . FILTER ( lang ( ?label ) = "en" ) }