query-5adc754056bf4317892e95606921d2a8
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX schema: <http://schema.org/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?item {
?ruwp schema:about ?item; schema:isPartOf <https://ru.wikipedia.org/> .
FILTER(STRENDS(STR(?ruwp),'(%D0%B0%D1%8D%D1%80%D0%BE%D0%BF%D0%BE%D1%80%D1%82)'))
FILTER NOT EXISTS { ?item p:P31 [] }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?item"):::projected
v2("?ruwp")
a1((" "))
c5([https://ru.wikipedia.org/]):::iri
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"p:P31"--> e0a1
e0v1("?item"):::projected
e0a1((" ")):::projected
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> c1
f0 --> a1
v1 --"p:P31"--> a1
f1[["ends-with(str(?ruwp),'(%D0%B0%D1%8D%D1%80%D0%BE%D0%BF%D0%BE%D1%80%D1%82)')"]]
f1 --> v2
v2 --"schema:about"--> v1
v2 --"schema:isPartOf"--> c5