query-5d692129615dada24986e97776d5f810
No en.wiki article SELECT distinct ?item ?itemLabel with { select distinct ?item where { ?item wdt:P39/wdt:P279* wd:Q16707842 . } } as %i where {include %i filter not exists {?article schema:about ?item ; schema:isPartOf https://en.wikipedia.org/ .} SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } }
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#>
# No en.wiki article
SELECT distinct ?item ?itemLabel where
{
{
select distinct ?item where
{ ?item wdt:P39/wdt:P279* wd:Q16707842 . }
} filter not exists {?article schema:about ?item ;
schema:isPartOf <https://en.wikipedia.org/> .}
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Query found at
- https://www.wikidata.org/wiki/User:Pigsonthewing/Queries
- https://www.wikidata.org/wiki/Wikidata:Request_a_query/Archive/2018/11
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?article")
v2("?item"):::projected
a1((" "))
c3([https://en.wikipedia.org/]):::iri
c8(["bd:serviceParam"]):::iri
c6(["wd:Q16707842"]):::iri
c10(["#91;AUTO_LANGUAGE#93;,en"]):::literal
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"schema:about"--> e0v2
e0v1 --"schema:isPartOf"--> e0c3
e0v1("?article"):::projected
e0v2("?item"):::projected
e0c3([https://en.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:P39"--> a1
a1 --"wdt:P279"--> c6
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end