query-b2ac189d3c81d7eebc742e7561b16740
TODO
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(DISTINCT ?item) AS ?count) WHERE {
?item wdt:P1343 wd:Q46002746; wdt:P31 wd:Q5 .
[] schema:about ?item; schema:isPartOf ?project .
FILTER(CONTAINS(STR(?project), 'wikipedia')) .
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?count")
v2("?item"):::projected
v1("?project")
a1((" "))
c3(["wd:Q46002746"]):::iri
c5(["wd:Q5"]):::iri
f0[["contains(str(?project),'wikipedia')"]]
f0 --> v1
v2 --"wdt:P1343"--> c3
v2 --"wdt:P31"--> c5
a1 --"schema:about"--> v2
a1 --"schema:isPartOf"--> v1
bind2[/"count(?item)"/]
v2 --o bind2
bind2 --as--o v3