query-0027dbf12c72ea859659a5100ac60bb2

rq turtle/ttl

TODO

Use at

PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX pr: <http://www.wikidata.org/prop/reference/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?val (count(?val) as ?count) WHERE 
{ 
  ?item p:P1087 ?stmt . 
  ?stmt prov:wasDerivedFrom ?where . 
  ?where pr:P248 ?val.
} group by ?val

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v5("?count") v1("?item") v2("?stmt") v4("?val"):::projected v3("?where") v1 --"p:P1087"--> v2 v2 --"prov:wasDerivedFrom"--> v3 v3 --"p:reference/P248"--> v4 bind1[/"count(?val)"/] v4 --o bind1 bind1 --as--o v5