query-9642a5ce326c15d20a5c41454a2415ca
Language-dependent queries
Use at
- https://query.wikidata.org/sparql
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 DISTINCT ?subject ?language ?speech ?ipa ?writing ?image ?video WHERE {
VALUES ?subject {wd:Q2}
?sense wdt:P5137 ?subject.
?lexeme ontolex:sense ?sense.
?lexeme dct:language ?language.
?lexeme ontolex:lexicalForm ?form.
OPTIONAL {?form wdt:P443 ?speech}
OPTIONAL {?form wdt:P898 ?ipa}
OPTIONAL {?form ?wdtp ?writing}
OPTIONAL {?sense wdt:P18 ?image.}
OPTIONAL {?sense wdt:P10 ?video.}
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v5("?form")
v10("?image"):::projected
v7("?ipa"):::projected
v4("?language"):::projected
v3("?lexeme")
v2("?sense")
v6("?speech"):::projected
v1("?subject"):::projected
v11("?video"):::projected
v8("?wdtp")
v9("?writing"):::projected
bind0[/VALUES ?subject/]
bind0-->v1
bind00(["wd:Q2"])
bind00 --> bind0
v2 --"wdt:P5137"--> v1
v3 --"ontolex:sense"--> v2
v3 --"dct:language"--> v4
v3 --"ontolex:lexicalForm"--> v5
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v5 -."wdt:P443".-> v6
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v5 -."wdt:P898".-> v7
end
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
v5 -->v8--> v9
end
subgraph optional3["(optional)"]
style optional3 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P18".-> v10
end
subgraph optional4["(optional)"]
style optional4 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P10".-> v11
end