Question: What language is associated with the subreddit Nepal for the sovereign state that has Malaysia–Nepal diplomatic relations with Malaysia?
Choices:
Ukrainian
Esperanto
Modern Greek
Azerbaijani
Bavarian
Punjab
Hebrew
English
Romanian
Afrikaans
Answer: English
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e <diplomatic_relation> ?e_1 . ?e_1 <pred:name> "Malaysia" . [ <pred:fact_h> ?e ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e_1 ] <statement_is_subject_of> ?qpv_1 . ?qpv_1 <pred:value> "Malaysia–Nepal relations" . ?e <subreddit> ?pv . ?pv <pred:value> "Nepal" . [ <pred:fact_h> ?e ; <pred:fact_r> <subreddit> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv .  }
Program:
function: Find
inputs: Malaysia
function: Relate
dependencies: 0
inputs: diplomatic relation
backward
function: QFilterStr
dependencies: 1
inputs: statement is subject of
Malaysia–Nepal relations
function: FilterConcept
dependencies: 2
inputs: sovereign state
function: QueryAttrQualifier
dependencies: 3
inputs: subreddit
Nepal
language of work or name