query-064b626fffbaa156031c680c16875945
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX ontolex: <http://www.w3.org/ns/lemon/ontolex#>
PREFIX bd: <http://www.bigdata.com/rdf#>
#defaultView:BubbleChart
SELECT ?lexCat ?lexCatLabel (COUNT(?l) AS ?number) WHERE {
?l wikibase:lexicalCategory ?lexCat ; ontolex:sense ?s .
?s wdt:P6271 [] .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
GROUP BY ?lexCat ?lexCatLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?l"):::projected
v2("?lexCat"):::projected
v4("?number")
v3("?s")
a1((" "))
c5(["bd:serviceParam"]):::iri
c7(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v1 --"wikibase:lexicalCategory"--> v2
v1 --"ontolex:sense"--> v3
v3 --"wdt:P6271"--> a1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c5 --"wikibase:language"--> c7
end
bind1[/"count(?l)"/]
v1 --o bind1
bind1 --as--o v4