query-760bac6cccbb2c394be64b3983857d79
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT (count(?P577) as ?P577_date) (count(?P585) as ?P585_date)
WHERE
{
?item wdt:P31/wdt:P279* wd:Q11424.
optional {?item wdt:P577 ?P577 .}
optional {?item wdt:P585 ?P585 .}
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?P577"):::projected
v4("?P577_date")
v3("?P585"):::projected
v5("?P585_date")
v1("?item")
a1((" "))
c3(["wd:Q11424"]):::iri
v1 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c3
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P577".-> v2
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P585".-> v3
end
bind2[/"count(?P577)"/]
v2 --o bind2
bind2 --as--o v4
bind3[/"count(?P585)"/]
v3 --o bind3
bind3 --as--o v5