query-d3e72e1da949d07f7b8c55de4134321a
Outdated SPARQL results For almost all items in this query I updated lv description some time ago via quick statements, but they are not updated in SPARQL yet.
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
SELECT ?item ?itemDescription WHERE {
?item wdt:P17 wd:Q211 .
?item wdt:P31 wd:Q532 .
optional {
?item schema:description ?itemDescription .
FILTER(lang(?itemDescription)="lv") .
FILTER( REGEX(STR(?itemDescription), '^ciems .+ novad(a .+ pagast)?ā, Latvijā$') = false )
}
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v1("?itemDescription"):::projected
c7(["wd:Q532"]):::iri
c5(["wd:Q211"]):::iri
v2 --"wdt:P17"--> c5
v2 --"wdt:P31"--> c7
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."schema:description".-> v1
end