query-42c1e900ae694e6d5779396f3d6c96ef
Wikisource authors without Wikipedia articles 16:19, 23 July 2017 (UTC)) talk (BodhisattwaI want a list of authors having Bengal Wikisource NS:Author pages but not having Bengali Wikipedia articles. Can anyone please create a Wikidata query for this? --
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 ?item ?ws ?itemLabel ?itemDescription
{
?item wdt:P31 wd:Q5 .
[] schema:about ?item; schema:isPartOf <https://bn.wikisource.org/>; schema:name ?ws .
MINUS { [] schema:about ?item; schema:isPartOf <https://bn.wikipedia.org/> }
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?item"):::projected
v2("?ws"):::projected
a1((" "))
a2((" "))
c9(["bd:serviceParam"]):::iri
c5([https://bn.wikisource.org/]):::iri
c2(["wd:Q5"]):::iri
c7([https://bn.wikipedia.org/]):::iri
c11(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v1 --"wdt:P31"--> c2
a1 --"schema:about"--> v1
a1 --"schema:isPartOf"--> c5
a1 --"schema:name"--> v2
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
a2 --"schema:about"--> v1
a2 --"schema:isPartOf"--> c7
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end