query-d2266d5a7e4d0e82df5c95ae8131a1a2

rq turtle/ttl

Item types associated with the translator property SELECT DISTINCT ?type ?typeLabel (COUNT(DISTINCT ?translation) AS ?numOccurs)

SELECT ?translation ?translationLabel ?translator ?translatorLabel (COUNT(DISTINCT ?translation) AS ?numOccurs)

WHERE { ?translation wdt:P655 ?translator; wdt:P31 ?type. SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } }

LIMIT 100

GROUP BY ?type ?typeLabel ORDER BY DESC(?numOccurs)

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#Item types associated with the translator property
SELECT DISTINCT ?type ?typeLabel (COUNT(DISTINCT ?translation) AS ?numOccurs)
#SELECT ?translation ?translationLabel ?translator ?translatorLabel (COUNT(DISTINCT ?translation) AS ?numOccurs)
WHERE 
{
  ?translation wdt:P655 ?translator;
               wdt:P31 ?type.
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
#LIMIT 100
GROUP BY ?type ?typeLabel
ORDER BY DESC(?numOccurs)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v5("?numOccurs") v2("?translation"):::projected v3("?translator") v4("?type"):::projected c4(["bd:serviceParam"]):::iri c6(["#91;AUTO_LANGUAGE#93;,en"]):::literal v2 --"wdt:P655"--> v3 v2 --"wdt:P31"--> v4 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c4 --"wikibase:language"--> c6 end bind1[/"count(?translation)"/] v2 --o bind1 bind1 --as--o v5