Question: Who disputes the statement that Jerusalem (whose subreddit is Jerusalem) is the capital of Israel (that has a diplomatic relationship with Malawi)?
Choices: United Nations
Barack Obama citizenship conspiracy theories
Internet Language Reference Book
Serbia
Albert Einstein
Kosovo
Mississippi National River and Recreation Area
Albania
United Nations Security Council Resolution 478
United States Environmental Protection Agency
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Jerusalem" . ?e_1 <subreddit> ?pv . ?pv <pred:value> "Jerusalem" . ?e_2 <pred:name> "Israel" . ?e_3 <diplomatic_relation> ?e_2 . ?e_3 <pred:name> "Malawi" . ?e_1 <capital_of> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <capital_of> ; <pred:fact_t> ?e_2 ] <statement_disputed_by> ?qpv .  }
Program:
function: Find
inputs: Jerusalem
function: FilterStr
dependencies: 0
inputs: subreddit
Jerusalem
function: Find
inputs: Malawi
function: Relate
dependencies: 2
inputs: diplomatic relation
forward
function: Find
inputs: Israel
function: And
dependencies: 3
4
function: QueryRelationQualifier
dependencies: 1
5
inputs: capital of
statement disputed by
Answer: United Nations