query-f48c2a3c2a1051f079298e1ed487ecea
]reply[23:30, 15 October 2016 (UTC)) talk (Jklamo --
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#defaultView:Map
SELECT ?item ?location WHERE {
?item wdt:P2788 ?dummy0 .
?item wdt:P625 ?location .
OPTIONAL { ?item wdt:P18 ?dummy1 }
FILTER(!bound(?dummy1))
SERVICE wikibase:label { bd:serviceParam wikibase:language "cs" } .
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?dummy0")
v1("?dummy1")
v2("?item"):::projected
v4("?location"):::projected
c7(["cs"]):::literal
c5(["bd:serviceParam"]):::iri
f0[["not bound(?dummy1)"]]
f0 --> v1
v2 --"wdt:P2788"--> v3
v2 --"wdt:P625"--> v4
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P18".-> v1
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c5 --"wikibase:language"--> c7
end