query-59de63d3d394c2a611c1483679c0e2be
Adding Jawi to formsHi Tofeiku! If you want to add Jawi representations to forms (as you've been doing for lexeme lemmas), then this query might help you identify forms needing them:
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/>
SELECT ?lexeme ?lemma ?form ?form_ms {
?lexeme dct:language wd:Q9237 ; wikibase:lemma ?lemma. FILTER(LANG(?lemma) = "ms-arab")
?lexeme ontolex:lexicalForm ?form . ?form ontolex:representation ?form_ms. FILTER(LANG(?form_ms) = "ms")
MINUS { ?form ontolex:representation ?formrep. FILTER(LANG(?formrep) = "ms-arab") }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?form"):::projected
v1("?form_ms"):::projected
v5("?formrep")
v2("?lemma"):::projected
v3("?lexeme"):::projected
c4(["wd:Q9237"]):::iri
f0[["?form_ms = 'ms'"]]
f0 --> v1
f1[["?lemma = 'ms-arab'"]]
f1 --> v2
v3 --"dct:language"--> c4
v3 --"wikibase:lemma"--> v2
v3 --"ontolex:lexicalForm"--> v4
v4 --"ontolex:representation"--> v1
subgraph minus2["MINUS"]
style minus2 stroke-width:6px,fill:pink,stroke:red;
f3[["?formrep = 'ms-arab'"]]
f3 --> v5
v4 --"ontolex:representation"--> v5
end