query-cf45e5e96df380d71746109875751207

rq turtle/ttl

Propertiescoordinate location (P625)image (P18)

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX geo: <http://www.opengis.net/ont/geosparql#>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?item WHERE {
 SERVICE wikibase:around {
      ?item wdt:P625 ?itemLocation .
      bd:serviceParam wikibase:center "POINT(3.715778 51.056389)"^^geo:wktLiteral .
      bd:serviceParam wikibase:radius "5" .
  }
MINUS {?item wdt:P18 []. }
 }

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?item"):::projected v2("?itemLocation") a1((" ")) c3(["bd:serviceParam"]):::iri c7(["5"]):::literal c5([sPOINT(3.715778 51.056389)^^<http://www.opengis.net/ont/geosparql#wktLiteral>"]):::literal subgraph s1["http://wikiba.se/ontology#around"] style s1 stroke-width:4px; v1 --"wdt:P625"--> v2 c3 --"wikibase:center"--> c5 c3 --"wikibase:radius"--> c7 end subgraph minus0["MINUS"] style minus0 stroke-width:6px,fill:pink,stroke:red; v1 --"wdt:P18"--> a1 end