query-9e0567e0f509bc8f722c5005b2e98b7e
(Q328)English Wikipedia
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#>
PREFIX schema: <http://schema.org/>
SELECT (COUNT( DISTINCT ?person) AS ?count) WHERE {
?person wdt:P31 wd:Q5.
?person wdt:P172 wd:Q49085.
?article schema:about ?person.
?article schema:isPartOf <https://en.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;
v2("?article")
v3("?count")
v1("?person"):::projected
c7([https://en.wikipedia.org/]):::iri
c9(["bd:serviceParam"]):::iri
c2(["wd:Q5"]):::iri
c4(["wd:Q49085"]):::iri
c11(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v1 --"wdt:P31"--> c2
v1 --"wdt:P172"--> c4
v2 --"schema:about"--> v1
v2 --"schema:isPartOf"--> c7
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end
bind1[/"count(?person)"/]
v1 --o bind1
bind1 --as--o v3