query-3afa3617f90e9ac2bff1e4a9094a7793
Also, I'd guess there are even fewer in the other languages. Maybe doing the reverse could work:
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 schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?item ?itemLabel
WHERE
{
?item wdt:P31 wd:Q4022 .
?sitelink2 schema:about ?item ; schema:inLanguage "bg" .
FILTER NOT EXISTS { ?sitelink schema:about ?item ; schema:isPartOf <https://ru.wikipedia.org/> }
SERVICE wikibase:label { bd:serviceParam wikibase:language "ru,bg,en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v1("?sitelink")
v3("?sitelink2")
c9(["bd:serviceParam"]):::iri
c5(["wd:Q4022"]):::iri
c7(["bg"]):::literal
c3([https://ru.wikipedia.org/]):::iri
c11(["ru,bg,en"]):::literal
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"schema:about"--> e0v2
e0v1 --"schema:isPartOf"--> e0c3
e0v2("?item"):::projected
e0v1("?sitelink"):::projected
e0c3([https://ru.wikipedia.org/]):::iri
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> c1
f0 --> v2
f0 --> c2
f0 --> c3
v1 --"schema:about"--> v2
v1 --"schema:isPartOf"--> c3
v2 --"wdt:P31"--> c5
v3 --"schema:about"--> v2
v3 --"schema:inLanguage"--> c7
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end