query-e4fc9bf38f0f44f907860fec74969094
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX schema: <http://schema.org/>
PREFIX psv: <http://www.wikidata.org/prop/statement/value/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT distinct ?articlename ?item ?lat ?lon ?precision WHERE {
?country wdt:P297 "AT".
?item wdt:P17 ?country.
?item p:P625 ?coordinate.
#?coordinate ps:P625 ?coord.
?coordinate psv:P625 ?coordinate_node.
?coordinate_node wikibase:geoLongitude ?lon.
?coordinate_node wikibase:geoLatitude ?lat.
?coordinate_node wikibase:geoPrecision ?precision.
?article schema:about ?item .
?article schema:isPartOf <https://de.wikipedia.org/> ;
schema:name ?articlename .
SERVICE wikibase:label { bd:serviceParam wikibase:language "de" }
} GROUP BY ?articlename ?item ?lat ?lon ?precision ORDER BY ASC(?articlename)
limit 400
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v9("?article")
v1("?articlename"):::projected
v4("?coordinate")
v5("?coordinate_node")
v2("?country")
v3("?item"):::projected
v7("?lat"):::projected
v6("?lon"):::projected
v8("?precision"):::projected
c11([https://de.wikipedia.org/]):::iri
c16(["de"]):::literal
c2(["AT"]):::literal
c14(["bd:serviceParam"]):::iri
v2 --"p:direct/P297"--> c2
v3 --"p:direct/P17"--> v2
v3 --"p:P625"--> v4
v4 --"p:statement/value/P625"--> v5
v5 --"wikibase:geoLongitude"--> v6
v5 --"wikibase:geoLatitude"--> v7
v5 --"wikibase:geoPrecision"--> v8
v9 --"schema:about"--> v3
v9 --"schema:isPartOf"--> c11
v9 --"schema:name"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c14 --"wikibase:language"--> c16
end