query-f47798d4c0506c9e743ddba5f4b5a0b6
How to list lexeme forms without given letterThis query lists all forms of nouns in my language without audio:
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 ontolex: <http://www.w3.org/ns/lemon/ontolex#>
PREFIX dct: <http://purl.org/dc/terms/>
SELECT ?id ?label WHERE {
?l a ontolex:LexicalEntry ; dct:language wd:Q809 ; wikibase:lexicalCategory wd:Q1084 ; ontolex:lexicalForm ?id .
?id ontolex:representation ?label .
FILTER NOT EXISTS { ?id wdt:P443 ?audio. }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?audio")
v1("?id"):::projected
v3("?l")
v4("?label"):::projected
c3(["ontolex:LexicalEntry"]):::iri
c7(["wd:Q1084"]):::iri
c5(["wd:Q809"]):::iri
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"wdt:P443"--> e0v2
e0v2("?audio"):::projected
e0v1("?id"):::projected
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> c1
f0 --> v2
v1 --"wdt:P443"--> v2
v3 --"a"--> c3
v3 --"dct:language"--> c5
v3 --"wikibase:lexicalCategory"--> c7
v3 --"ontolex:lexicalForm"--> v1
v1 --"ontolex:representation"--> v4