query-c9ddc659a365941f52cced1127d1b1fa
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?pr (count(?pr) as ?count) WHERE
{
?item p:P1087 ?stmt .
?stmt prov:wasDerivedFrom ?where .
?where ?pr ?val.
} group by ?pr
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v6("?count")
v1("?item")
v4("?pr"):::projected
v2("?stmt")
v5("?val")
v3("?where")
v1 --"p:P1087"--> v2
v2 --"prov:wasDerivedFrom"--> v3
v3 -->v4--> v5
bind1[/"count(?pr)"/]
v4 --o bind1
bind1 --as--o v6