query-cb8023013b1262dc1988b5288abd36ea

rq turtle/ttl

Settlements in Moldova without an article in the English Wikipedia SELECT DISTINCT ?settlement ?settlementLabel ?settlementDescription WHERE { VALUES ?type {wd:Q3957 wd:Q515 wd:Q532 wd:Q486972} ?settlement wdt:P31 ?type .
?settlement wdt:P17 wd:Q217 . ?article schema:about ?settlement . FILTER NOT EXISTS { ?wen schema:about ?settlement ; schema:inLanguage "en" } SERVICE wikibase:label { bd:serviceParam wikibase:language "en,ro" } } LIMIT 50

Use at

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#>
# Settlements in Moldova without an article in the English Wikipedia
SELECT DISTINCT ?settlement ?settlementLabel ?settlementDescription WHERE {
  VALUES ?type {wd:Q3957 wd:Q515 wd:Q532 wd:Q486972}
  ?settlement wdt:P31 ?type .   
  ?settlement wdt:P17 wd:Q217 . 
  ?article schema:about ?settlement .
  FILTER NOT EXISTS { ?wen schema:about ?settlement ; schema:inLanguage "en" }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "en,ro" }
}
LIMIT 50

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?article") v2("?settlement"):::projected v3("?type") v1("?wen") c10(["en,ro"]):::literal c8(["bd:serviceParam"]):::iri c6(["wd:Q217"]):::iri c3(["en"]):::literal f0[["not "]] subgraph f0e0["Exists Clause"] e0v1 --"schema:about"--> e0v2 e0v1 --"schema:inLanguage"--> e0c3 e0v2("?settlement"):::projected e0v1("?wen"):::projected e0c3(["en"]):::literal end f0--EXISTS--> f0e0 f0 --> v1 f0 --> c1 f0 --> v2 f0 --> c2 f0 --> c3 v1 --"schema:about"--> v2 v1 --"schema:inLanguage"--> c3 bind1[/VALUES ?type/] bind1-->v3 bind10(["wd:Q3957"]) bind10 --> bind1 bind11(["wd:Q515"]) bind11 --> bind1 bind12(["wd:Q532"]) bind12 --> bind1 bind13(["wd:Q486972"]) bind13 --> bind1 v2 --"wdt:P31"--> v3 v2 --"wdt:P17"--> c6 v4 --"schema:about"--> v2 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c8 --"wikibase:language"--> c10 end