query-aedf5d4d5f0d4d038bf3f6926b00ffc2
title: French verbs by group SELECT ?group ?groupLabel (COUNT(?lexeme) AS ?nb) WHERE { ?lexeme dct:language wd:Q150 ; wdt:P5186 ?group . SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } } GROUP BY ?group ?groupLabel ORDER BY ?groupLabel
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX dct: <http://purl.org/dc/terms/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#title: French verbs by group
SELECT ?group ?groupLabel (COUNT(?lexeme) AS ?nb) WHERE {
?lexeme dct:language wd:Q150 ; wdt:P5186 ?group .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
GROUP BY ?group ?groupLabel
ORDER BY ?groupLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?group"):::projected
v1("?groupLabel"):::projected
v2("?lexeme"):::projected
v4("?nb")
c5(["bd:serviceParam"]):::iri
c7(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c2(["wd:Q150"]):::iri
v2 --"dct:language"--> c2
v2 --"wdt:P5186"--> v3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c5 --"wikibase:language"--> c7
end
bind1[/"count(?lexeme)"/]
v2 --o bind1
bind1 --as--o v4