query-2d18cb6e882bfb021106c661a2424129
11:07, 23 April 2021 (UTC)) talk (Mike Peelbut it times out, any ideas? Thanks.
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 ?woman) AS ?count)
WHERE
{
{
SELECT DISTINCT ?occ { ?occ wdt:P279* wd:Q483501 }
} ?woman wdt:P106 ?occ ; ^ schema:about [ schema:isPartOf <https://pt.wikipedia.org/>] .
?woman wdt:P21 wd:Q6581072 ; wdt:P31 wd:Q5 .
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?count")
v1("?occ")
v2("?woman"):::projected
a1((" "))
c10(["wd:Q5"]):::iri
c2(["wd:Q483501"]):::iri
c8(["wd:Q6581072"]):::iri
c5([https://pt.wikipedia.org/]):::iri
v1 --"wdt:P279"--> c2
v2 --"wdt:P106"--> v1
a1 --"schema:isPartOf"--> c5
a1 --"schema:about"--> v2
v2 --"wdt:P21"--> c8
v2 --"wdt:P31"--> c10
bind1[/"count(?woman)"/]
v2 --o bind1
bind1 --as--o v3