query-e84bee67fecd83120bb37a539a7125b3
title:Standard Mandarin Lexeme Forms missing Pinyin Transliteration
author:0xDeadbeef 2022-07-31
SELECT ?lexemeId ?lemma ?form ?word WHERE { ?lexemeId dct:language wd:Q727694; wikibase:lemma ?lemma; ontolex:lexicalForm ?form. ?form ontolex:representation ?word. FILTER(NOT EXISTS { ?form wdt:P1721 ?o. }) }
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/>
#title:Standard Mandarin Lexeme Forms missing Pinyin Transliteration
#author:0xDeadbeef 2022-07-31
SELECT ?lexemeId ?lemma ?form ?word WHERE {
?lexemeId dct:language wd:Q727694;
wikibase:lemma ?lemma;
ontolex:lexicalForm ?form.
?form ontolex:representation ?word.
FILTER(NOT EXISTS { ?form wdt:P1721 ?o. })
}
Query found at
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/queries/examples/en
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?form"):::projected
v4("?lemma"):::projected
v3("?lexemeId"):::projected
v2("?o")
v5("?word"):::projected
c3(["wd:Q727694"]):::iri
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"wdt:P1721"--> e0v2
e0v1("?form"):::projected
e0v2("?o"):::projected
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> c1
f0 --> v2
v1 --"wdt:P1721"--> v2
v3 --"dct:language"--> c3
v3 --"wikibase:lemma"--> v4
v3 --"ontolex:lexicalForm"--> v1
v1 --"ontolex:representation"--> v5