query-e8845a0ad8c9963fe07491bce2e94d9a
Count of female artists with articles in the Portuguese Wikipedia I was trying {{
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(*) AS ?count)
WHERE
{
?women wdt:P31 wd:Q5 .
?women wdt:P21 wd:Q6581072 .
?women wdt:P106/wdt:P279* wd:Q483501 . # artists
?article schema:about ?women .
?article schema:inLanguage "pt" .
?article schema:isPartOf <https://pt.wikipedia.org/>.
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?article")
v3("?count")
v1("?women")
a1((" "))
c10(["pt"]):::literal
c2(["wd:Q5"]):::iri
c7(["wd:Q483501"]):::iri
c4(["wd:Q6581072"]):::iri
c12([https://pt.wikipedia.org/]):::iri
v1 --"wdt:P31"--> c2
v1 --"wdt:P21"--> c4
v1 --"wdt:P106"--> a1
a1 --"wdt:P279"--> c7
v2 --"schema:about"--> v1
v2 --"schema:inLanguage"--> c10
v2 --"schema:isPartOf"--> c12
bind1[/"count(*)"/]
bind1 --as--o v3