query-2c730a78be669ee4e6e95c9263079a61

rq turtle/ttl

Updating templates' description in Russian Wikisaurus: Request date: 7 October 2018, byLink to discussions justifying the requestLooks obvious. Task description". Please replace them with the modern description. I can not do it myself with QuickStatements because SPARQL request are giving me only a small portion of results - if I replace limit 100 by large limit they collapse. SPARQL requests are below (they are a bit strange because there are some problems with cyrillic, I believe): я проекте Викимедиа" and "шаблон проекта Викимедив, but quite a number of them have old descriptions "шаблон d:Q11266439Most templates has standard Russian description "шаблон проекта Викимедиа", per

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
SELECT ?item ?itemlab ?itemdesc WHERE {
  ?item wdt:P31 wd:Q11266439 .
  wd:Q6537516 schema:description ?wrongdesc1
  filter (lang(?wrongdesc1) = "ru") .
  OPTIONAL { ?item schema:description ?itemdesc
  filter (lang(?itemdesc) = "ru") }
  filter (?itemdesc = ?wrongdesc1)
} LIMIT 100

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?item"):::projected v1("?itemdesc"):::projected v2("?wrongdesc1") c4(["wd:Q6537516"]):::iri c3(["wd:Q11266439"]):::iri f0[["?itemdesc = ?wrongdesc1"]] f0 --> v1 f0 --> v2 f1[["?wrongdesc1 = 'ru'"]] f1 --> v2 v3 --"wdt:P31"--> c3 c4 --"schema:description"--> v2 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v3 -."schema:description".-> v1 end