query-d67f8297263ebd9de16505dcf1287fab

rq turtle/ttl

Elative case ends with 'stA' 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:Q394253 .

FILTER NOT EXISTS { ?form ontolex:representation ?label ; wikibase:grammaticalFeature wd:Q394253 . FILTER(STRENDS(?label, 'sta')|| STRENDS(?label, 'stä')) } }

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/>
# Elative case ends with 'stA'
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:Q394253 .

  FILTER NOT EXISTS {
    ?form ontolex:representation ?label ;
          wikibase:grammaticalFeature wd:Q394253 .
    FILTER(STRENDS(?label, 'sta')|| STRENDS(?label, 'stä'))
  }
}

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 c7(["ontolex:LexicalEntry"]):::iri c5(["wd:Q394253"]):::iri c9(["wd:Q1412"]):::iri f0[["not "]] subgraph f0e0["Exists Clause"] e0f0[["(ends-with(?label,'sta') || ends-with(?label,'stä'))"]] e0f0 --> e0v1 e0v2 --"ontolex:representation"--> e0v1 e0v2 --"wikibase:grammaticalFeature"--> e0c5 e0v2("?form"):::projected e0v1("?label"):::projected e0c5(["wd:Q394253"]):::iri end f0--EXISTS--> f0e0 f0 --> v1 f0 --> v2 f0 --> c3 f0 --> c4 f0 --> c5 f1[["(ends-with(?label,'sta') || ends-with(?label,'stä'))"]] f1 --> v1 v2 --"ontolex:representation"--> v1 v2 --"wikibase:grammaticalFeature"--> c5 v3 --"a"--> c7 v3 --"dct:language"--> c9 v3 --"wikibase:lemma"--> v4 v3 --"ontolex:lexicalForm"--> v2 v2 --"ontolex:representation"--> v1 v2 --"wikibase:grammaticalFeature"--> c5