query-e963bea6dbd85b33c8779848b7e4a1ea
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ontolex: <http://www.w3.org/ns/lemon/ontolex#>
PREFIX dct: <http://purl.org/dc/terms/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?l ?lemma ?catLabel (COUNT(?form) AS ?count) (GROUP_CONCAT(DISTINCT ?form;separator=", ") AS ?forms) WHERE {
?l dct:language wd:Q9058 ; wikibase:lemma ?lemma ; wikibase:lexicalCategory ?cat ; ontolex:lexicalForm/ontolex:representation ?form .
SERVICE wikibase:label { bd:serviceParam wikibase:language "sk". }
}
GROUP BY ?l ?lemma ?catLabel
ORDER BY DESC(?count)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?cat")
v6("?count")
v5("?form"):::projected
v6("?forms")
v2("?l"):::projected
v3("?lemma"):::projected
a1((" "))
c2(["wd:Q9058"]):::iri
c8(["bd:serviceParam"]):::iri
c10(["sk"]):::literal
v2 --"dct:language"--> c2
v2 --"wikibase:lemma"--> v3
v2 --"wikibase:lexicalCategory"--> v4
v2 --"ontolex:lexicalForm"--> a1
a1 --"ontolex:representation"--> v5
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end
bind2[/"count(?form)"/]
v5 --o bind2
bind2 --as--o v6
bind3[/"?form"/]
v5 --o bind3
bind3 --as--o v6