query-ee590f6c9b88e2655997ad25737b4878
This gives 631 articles. The correct answer would be 577, like we get from this query:
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 bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?item ?itemLabel
WHERE
{
?item wdt:P31 wd:Q13442814.
?item wdt:P921 wd:Q164778.
MINUS { ?item wdt:P921 wd:Q83133549. }
MINUS { ?item wdt:P921 wd:Q24745872. }
MINUS { ?item wdt:P921 wd:Q24770641. }
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } # Helps get the label in your language, if not, then en language
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?item"):::projected
c2(["wd:Q13442814"]):::iri
c9(["bd:serviceParam"]):::iri
c7(["wd:Q24770641"]):::iri
c4(["wd:Q164778"]):::iri
c6(["wd:Q24745872"]):::iri
c11(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c5(["wd:Q83133549"]):::iri
v1 --"wdt:P31"--> c2
v1 --"wdt:P921"--> c4
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v1 --"wdt:P921"--> c5
end
subgraph minus1["MINUS"]
style minus1 stroke-width:6px,fill:pink,stroke:red;
v1 --"wdt:P921"--> c6
end
subgraph minus2["MINUS"]
style minus2 stroke-width:6px,fill:pink,stroke:red;
v1 --"wdt:P921"--> c7
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end