query-dcef2f1d662e29f78fa8616f7d80050a
villages without description in Polish SELECT DISTINCT ?village ?villageLabel WHERE { ?village wdt:P17 wd:Q36 . OPTIONAL { ?village schema:description ?villageDescription } FILTER (!BOUND(?villageDescription)) ?village wdt:P31 wd:Q3558970 . SERVICE wikibase:label { bd:serviceParam wikibase:language "pl"} } LIMIT 1000
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
# villages without description in Polish
SELECT DISTINCT ?village ?villageLabel
WHERE
{
?village wdt:P17 wd:Q36 .
OPTIONAL { ?village schema:description ?villageDescription }
FILTER (!BOUND(?villageDescription))
?village wdt:P31 wd:Q3558970 .
SERVICE wikibase:label { bd:serviceParam wikibase:language "pl"}
}
LIMIT 1000
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?village"):::projected
v1("?villageDescription")
c7(["bd:serviceParam"]):::iri
c5(["wd:Q3558970"]):::iri
c9(["pl"]):::literal
c2(["wd:Q36"]):::iri
f0[["not bound(?villageDescription)"]]
f0 --> v1
v2 --"wdt:P17"--> c2
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."schema:description".-> v1
end
v2 --"wdt:P31"--> c5
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end