query-cc8054a275dfa795754a55db4b7675b6

rq turtle/ttl

Number of lexemes with pronunciations

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX ontolex: <http://www.w3.org/ns/lemon/ontolex#>
SELECT ?lexemeId ?lemma ( COUNT(?lexemeForm) AS ?numberOfPronunciations )
WHERE {
  ?lexemeId wikibase:lemma ?lemma ; ontolex:lexicalForm ?lexemeForm .
  ?lexemeForm a ontolex:Form ; wdt:P443 [] .
}
GROUP BY ?lexemeId ?lemma
ORDER BY DESC(?numberOfPronunciations)

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?lemma"):::projected v4("?lexemeForm"):::projected v2("?lexemeId"):::projected v5("?numberOfPronunciations") a1((" ")) c4(["ontolex:Form"]):::iri v2 --"wikibase:lemma"--> v3 v2 --"ontolex:lexicalForm"--> v4 v4 --"a"--> c4 v4 --"wdt:P443"--> a1 bind1[/"count(?lexemeForm)"/] v4 --o bind1 bind1 --as--o v5