query-86c16e22c7e572541770f6a8bc4198d6

rq turtle/ttl

Common lexical categories

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX ontolex: <http://www.w3.org/ns/lemon/ontolex#>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?lexicalCategory ?lexicalCategoryLabel (COUNT(?le) AS ?numOccurs) 
WHERE {
  ?le a ontolex:LexicalEntry ;
       wikibase:lexicalCategory ?lexicalCategory .
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
GROUP BY ?lexicalCategory ?lexicalCategoryLabel
ORDER BY DESC(?numOccurs)
LIMIT 100

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?le"):::projected v3("?lexicalCategory"):::projected v4("?numOccurs") c5(["bd:serviceParam"]):::iri c2(["ontolex:LexicalEntry"]):::iri c7(["#91;AUTO_LANGUAGE#93;,en"]):::literal v2 --"a"--> c2 v2 --"wikibase:lexicalCategory"--> v3 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c5 --"wikibase:language"--> c7 end bind1[/"count(?le)"/] v2 --o bind1 bind1 --as--o v4