query-ca2bbe68f136039f278e59aea18cb685

rq turtle/ttl

title: List of grammatical features used in French language (Q150) lexemes SELECT ?grammaticalFeature ?grammaticalFeatureLabel (COUNT(DISTINCT ?lexeme) AS ?count) (SAMPLE(?lexeme) AS ?sample) { ?lexeme dct:language wd:Q150 ; ontolex:lexicalForm/wikibase:grammaticalFeature ?grammaticalFeature . SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" } } GROUP BY ?grammaticalFeature ?grammaticalFeatureLabel ORDER BY DESC(?count) ?grammaticalFeatureLabel

Use at

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#>
#title: List of grammatical features used in French language (Q150) lexemes
SELECT ?grammaticalFeature ?grammaticalFeatureLabel (COUNT(DISTINCT ?lexeme) AS ?count) (SAMPLE(?lexeme) AS ?sample) {
  ?lexeme dct:language wd:Q150 ; ontolex:lexicalForm/wikibase:grammaticalFeature ?grammaticalFeature .
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" }
}
GROUP BY ?grammaticalFeature ?grammaticalFeatureLabel
ORDER BY DESC(?count) ?grammaticalFeatureLabel

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v5("?count") v4("?grammaticalFeature"):::projected v2("?grammaticalFeatureLabel"):::projected v3("?lexeme"):::projected v5("?sample") a1((" ")) c6(["bd:serviceParam"]):::iri c8(["#91;AUTO_LANGUAGE#93;,en"]):::literal c2(["wd:Q150"]):::iri v3 --"dct:language"--> c2 v3 --"ontolex:lexicalForm"--> a1 a1 --"wikibase:grammaticalFeature"--> v4 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c6 --"wikibase:language"--> c8 end bind2[/"count(?lexeme)"/] v3 --o bind2 bind2 --as--o v5 bind3[/"sample(?lexeme)"/] v3 --o bind3 bind3 --as--o v5