query-ec3e41ff7459eb9016cf6873cc6a47d3

rq turtle/ttl

Count of en.wiki biography articlesIs it possible to count the number of biographies on en.wiki? The following times out:

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
SELECT (count(?item) as ?all_count) WHERE {
  ?item wdt:P31 wd:Q5 .       # human
  ?wen schema:about ?item . ?wen schema:isPartOf <https://en.wikipedia.org/>.
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?all_count") v1("?item"):::projected v2("?wen") c5([https://en.wikipedia.org/]):::iri c2(["wd:Q5"]):::iri v1 --"wdt:P31"--> c2 v2 --"schema:about"--> v1 v2 --"schema:isPartOf"--> c5 bind1[/"count(?item)"/] v1 --o bind1 bind1 --as--o v3