Question: Tell me where the diplomatic mission was located for japan has a diplomatic relation with United Kingdom.
Choices: Embassy of Brazil, Berlin
Embassy of France, Berlin
Embassy of Germany, Rabat
Embassy of Ukraine, Baku
Embassy of Israel, Kiev
Embassy of Ukraine, Bucharest
Embassy of Japan, London
Embassy of Germany, Chișinău
Embassy of Japan, Brasília
Embassy of Saudi Arabia, Mexico City
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Japan" . ?e_2 <pred:name> "United Kingdom" . ?e_1 <diplomatic_relation> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e_2 ] <diplomatic_mission_sent> ?qpv .  }
Program:
function: Find
inputs: Japan
function: Find
inputs: United Kingdom
function: QueryRelationQualifier
dependencies: 0
1
inputs: diplomatic relation
diplomatic mission sent
Answer: Embassy of Japan, London