query-a825c7ee1bddec4a155c5c2b942fc5bd
Bulk create items for given names in Russian (Cyrillic script)
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 bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?itemDescription ?itemAltLabel
{
    ?item wdt:P31/ wdt:P279? wd:Q202444 . 
    ?item wdt:P282 wd:Q8209 . 
    ?item wdt:P407 wd:Q7737 .
    FILTER NOT EXISTS { ?item wdt:P282 wd:Q8229 }  
    SERVICE wikibase:label { bd:serviceParam wikibase:language "ru,en" }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
  v1("?item"):::projected 
  a1((" "))
  c10(["bd:serviceParam"]):::iri 
  c2(["wd:Q8229"]):::iri 
  c6(["wd:Q8209"]):::iri 
  c4(["wd:Q202444"]):::iri 
  c8(["wd:Q7737"]):::iri 
  c12(["ru,en"]):::literal 
  f0[["not  "]]
  subgraph f0e0["Exists Clause"]
    e0v1 --"wdt:P282"-->  e0c2
    e0v1("?item"):::projected 
    e0c2(["wd:Q8229"]):::iri 
  end
  f0--EXISTS--> f0e0
  f0 --> v1
  f0 --> c1
  f0 --> c2
  v1 --"wdt:P282"-->  c2
  v1 --"wdt:P31"-->  a1
  subgraph union0[" Union "]
  subgraph union0l[" "]
    style union0l fill:#abf,stroke-dasharray: 3 3;
    a1 --"wdt:P279"-->  c4
  end
  subgraph union0r[" "]
    style union0r fill:#abf,stroke-dasharray: 3 3;
  end
  union0r <== or ==> union0l
  end
  v1 --"wdt:P282"-->  c6
  v1 --"wdt:P407"-->  c8
  subgraph s1["http://wikiba.se/ontology#label"]
    style s1 stroke-width:4px;
    c10 --"wikibase:language"-->  c12
  end