query-8d59f21f182010d93fcd56452f8f7bec
Genitive case ends with 'n' SELECT ?lexeme ?word ?form ?label WHERE { ?lexeme a ontolex:LexicalEntry ; dct:language wd:Q1412 ; wikibase:lemma ?word ; ontolex:lexicalForm ?form .
?form ontolex:representation ?label ; wikibase:grammaticalFeature wd:Q146233 .
FILTER NOT EXISTS { ?form ontolex:representation ?label ; wikibase:grammaticalFeature wd:Q146233 . FILTER(STRENDS(?label, 'n')) } }
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/>
# Genitive case ends with 'n'
SELECT ?lexeme ?word ?form ?label WHERE {
?lexeme a ontolex:LexicalEntry ;
dct:language wd:Q1412 ;
wikibase:lemma ?word ;
ontolex:lexicalForm ?form .
?form ontolex:representation ?label ;
wikibase:grammaticalFeature wd:Q146233 .
FILTER NOT EXISTS {
?form ontolex:representation ?label ;
wikibase:grammaticalFeature wd:Q146233 .
FILTER(STRENDS(?label, 'n'))
}
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?form"):::projected
v1("?label"):::projected
v3("?lexeme"):::projected
v4("?word"):::projected
c6(["ontolex:LexicalEntry"]):::iri
c8(["wd:Q1412"]):::iri
c4(["wd:Q146233"]):::iri
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0f0[["ends-with(?label,'n')"]]
e0f0 --> e0v1
e0v2 --"ontolex:representation"--> e0v1
e0v2 --"wikibase:grammaticalFeature"--> e0c4
e0v2("?form"):::projected
e0v1("?label"):::projected
e0c4(["wd:Q146233"]):::iri
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> v2
f0 --> c2
f0 --> c3
f0 --> c4
f1[["ends-with(?label,'n')"]]
f1 --> v1
v2 --"ontolex:representation"--> v1
v2 --"wikibase:grammaticalFeature"--> c4
v3 --"a"--> c6
v3 --"dct:language"--> c8
v3 --"wikibase:lemma"--> v4
v3 --"ontolex:lexicalForm"--> v2
v2 --"ontolex:representation"--> v1
v2 --"wikibase:grammaticalFeature"--> c4