query-2aeab2b8b0128d0dcebb37ce7e442356

rq turtle/ttl

Населеныя пункты Пружаншчыны SELECT ?item ?itemLabel ?image ?coord WHERE { ?item wdt:P131 wd:Q1885543. ?item (wdt:P31/wdt:P279*) wd:Q486972. OPTIONAL { ?item wdt:P625 ?coord. } OPTIONAL { ?item wdt:P18 ?image. } SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],be-tarask". } } GROUP BY ?item ?itemLabel ?image ?coord ORDER BY ?itemLabel ?item

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#Населеныя пункты Пружаншчыны
SELECT ?item ?itemLabel ?image ?coord WHERE {
  ?item wdt:P131 wd:Q1885543.
  ?item (wdt:P31/wdt:P279*) wd:Q486972.
  OPTIONAL { ?item wdt:P625 ?coord. }
  OPTIONAL { ?item wdt:P18 ?image. }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],be-tarask". }
}
GROUP BY ?item ?itemLabel ?image ?coord
ORDER BY ?itemLabel ?item

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?coord"):::projected v4("?image"):::projected v2("?item"):::projected v1("?itemLabel"):::projected a1((" ")) c2(["wd:Q1885543"]):::iri c5(["wd:Q486972"]):::iri c9(["bd:serviceParam"]):::iri c11(["#91;AUTO_LANGUAGE#93;,be-tarask"]):::literal v2 --"wdt:P131"--> c2 v2 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c5 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P625".-> v3 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v2 -."wdt:P18".-> v4 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c9 --"wikibase:language"--> c11 end