Question: Where was the diplomatic mission between Germany and Senegal?
Choices:
Embassy of Japan, Madrid
Australian Embassy to Belgium and Luxembourg and Australian Mission to the European Union
Embassy of Australia, Kabul
Embassy of Sweden, Tel Aviv
Embassy of Germany, Dakar
Embassy of Brazil, Luanda
Embassy of Israel, Paris
Embassy of the United States, Kabul
Embassy of Saudi Arabia, Rome
Embassy of Brazil in London
Answer: Embassy of Germany, Dakar
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Germany" . ?e_2 <pred:name> "Senegal" . ?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: Germany
function: Find
inputs: Senegal
function: QueryRelationQualifier
dependencies: 0
1
inputs: diplomatic relation
diplomatic mission sent