query-e5e4a32b1a0ee96efcbedcb79f5b7422
title:Grammatical features of forms on Turkish noun lexemes, where all features are displayed together SELECT ?lexeme ?form (GROUP_CONCAT(DISTINCT ?featureLabel; SEPARATOR=" / ") AS ?features) { ?lexeme dct:language wd:Q256 . ?lexeme wikibase:lexicalCategory wd:Q1084 . ?lexeme ontolex:lexicalForm ?form . ?form wikibase:grammaticalFeature ?feature . SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". ?feature rdfs:label ?featureLabel } } GROUP BY ?lexeme ?form
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX ontolex: <http://www.w3.org/ns/lemon/ontolex#>
PREFIX dct: <http://purl.org/dc/terms/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#title:Grammatical features of forms on Turkish noun lexemes, where all features are displayed together
SELECT ?lexeme ?form (GROUP_CONCAT(DISTINCT ?featureLabel; SEPARATOR=" / ") AS ?features) {
?lexeme dct:language wd:Q256 .
?lexeme wikibase:lexicalCategory wd:Q1084 .
?lexeme ontolex:lexicalForm ?form .
?form wikibase:grammaticalFeature ?feature .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". ?feature rdfs:label ?featureLabel }
} GROUP BY ?lexeme ?form
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?feature")
v4("?featureLabel"):::projected
v5("?features")
v2("?form"):::projected
v1("?lexeme"):::projected
c2(["wd:Q256"]):::iri
c8(["bd:serviceParam"]):::iri
c4(["wd:Q1084"]):::iri
c10(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v1 --"dct:language"--> c2
v1 --"wikibase:lexicalCategory"--> c4
v1 --"ontolex:lexicalForm"--> v2
v2 --"wikibase:grammaticalFeature"--> v3
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
v3 --"rdfs:label"--> v4
end
bind1[/"?featureLabel"/]
v4 --o bind1
bind1 --as--o v5