query-9cc2d73bdc30c58e7e05a5431ae2c301
12:57, 5 January 2019 (UTC)) talk (Vort — There seem to be plenty of items that don't have such a sitelink:
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 (COUNT(*) as ?ct)
WHERE
{
?item wdt:P31 wd:Q4022 .
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;
v3("?ct")
v1("?item")
v2("?sitelink")
c2(["wd:Q4022"]):::iri
c5([https://ru.wikipedia.org/]):::iri
v1 --"wdt:P31"--> c2
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v2 --"schema:about"--> v1
v2 --"schema:isPartOf"--> c5
end
bind2[/"count(*)"/]
bind2 --as--o v3