query-0e2edf922bf4f469f4737139452e850a

rq turtle/ttl

Lexeme creators

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT
  ?count
  ?creator ?creatorLabel
  ?lemmas
WHERE {
   {
  SELECT
    (COUNT(?lexeme) AS ?count)
    ?creator 
    (GROUP_CONCAT(?lemma) AS ?lemmas)
  WHERE {
    ?lexeme wikibase:lemma ?lemma ;
            wdt:P170 ?creator .
  }
  GROUP BY ?creator
}  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
ORDER BY DESC(?count)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v5("?count"):::projected v4("?creator"):::projected v3("?lemma") v5("?lemmas"):::projected v2("?lexeme") c4(["bd:serviceParam"]):::iri c6(["#91;AUTO_LANGUAGE#93;,en"]):::literal v2 --"wikibase:lemma"--> v3 v2 --"wdt:P170"--> v4 bind2[/"count(?lexeme)"/] v2 --o bind2 bind2 --as--o v5 bind3[/"?lemma"/] v3 --o bind3 bind3 --as--o v5 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c4 --"wikibase:language"--> c6 end