query-fb0d039b064b68c9aad3e1f3e1560453

rq turtle/ttl

TEMPLATE={ "template": { "en": "Which items are most used in \"predicate for\" senses","fr":"Quels éléments sont le plus utilisés avec « prédicat pour »" }, "variables": { } }

select ?item ?itemLabel (count(?item) AS ?count ){ ?s wdt:P9970 ?item .

SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }

} group by ?item ?itemLabel having (?count > 1) order by desc(?count)

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#TEMPLATE={ "template": { "en": "Which items are most used in "predicate for" senses","fr":"Quels éléments sont le plus utilisés avec « prédicat pour »" }, "variables": {  } } 


select ?item ?itemLabel (count(?item) AS ?count ){
  ?s wdt:P9970 ?item  .


  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }

} group by ?item ?itemLabel having (?count > 1) order by desc(?count)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?count") v3("?item"):::projected v2("?s") c4(["bd:serviceParam"]):::iri c6(["#91;AUTO_LANGUAGE#93;,en"]):::literal f0[["?count > '1^^xsd:integer'"]] f0 --> v4 v2 --"wdt:P9970"--> v3 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c4 --"wikibase:language"--> c6 end bind2[/"count(?item)"/] v3 --o bind2 bind2 --as--o v4