query-65c07646d2935fd509e86283d45985be

rq turtle/ttl

TODO

Use at

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?item (COUNT(DISTINCT ?refHandle) AS ?references) WHERE {
  ?item p:P2962 [ ps:P2962 wd:Q105269; prov:wasDerivedFrom ?refHandle ] .
} GROUP BY ?item HAVING(?references > 2) ORDER BY DESC(?references)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?item"):::projected v2("?refHandle"):::projected v4("?references") a1((" ")) c3(["wd:Q105269"]):::iri f0[["?references > '2^^xsd:integer'"]] f0 --> v4 a1 --"p:statement/P2962"--> c3 a1 --"prov:wasDerivedFrom"--> v2 v3 --"p:P2962"--> a1 bind2[/"count(?refHandle)"/] v2 --o bind2 bind2 --as--o v4