query-cb5b027c45413edaab45109c8685d022
TODO
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 DISTINCT ?item ?itemLabel where
{
{
select ?item where
{
?item wdt:P31 wd:Q4022 .
VALUES ?lang { "bg" "mk" "sh" "hr" "sl" "bs" "hsb" "csb" "rue" "szl" } .
?sitelink2 schema:about ?item .
?sitelink2 schema:inLanguage ?lang .
} }minus { ?sitelink schema:about ?item ; schema:isPartOf <https://ru.wikipedia.org/> }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?item"):::projected
v2("?lang")
v4("?sitelink")
v3("?sitelink2")
c2(["wd:Q4022"]):::iri
c6([https://ru.wikipedia.org/]):::iri
v1 --"wdt:P31"--> c2
bind0[/VALUES ?lang/]
bind0-->v2
bind00(["bg"])
bind00 --> bind0
bind01(["mk"])
bind01 --> bind0
bind02(["sh"])
bind02 --> bind0
bind03(["hr"])
bind03 --> bind0
bind04(["sl"])
bind04 --> bind0
bind05(["bs"])
bind05 --> bind0
bind06(["hsb"])
bind06 --> bind0
bind07(["csb"])
bind07 --> bind0
bind08(["rue"])
bind08 --> bind0
bind09(["szl"])
bind09 --> bind0
v3 --"schema:about"--> v1
v3 --"schema:inLanguage"--> v2
subgraph minus1["MINUS"]
style minus1 stroke-width:6px,fill:pink,stroke:red;
v4 --"schema:about"--> v1
v4 --"schema:isPartOf"--> c6
end