Question: What is the location of German diplomatic mission related to their diplomatic relation with Niger?
Choices: Australian Honorary Consulate, Bosnia and Herzegovina
Embassy of France, Bandar Seri Begawan
Embassy of Germany, Brasília
Embassy of France, London
Embassy of Germany, Damascus
Embassy of Germany, Niamey
Embassy of Saudi Arabia, Addis Ababa
Embassy of Brazil, Jakarta
Embassy of Argentina, Washington, D.C.
Embassy of Ukraine, Tbilisi
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Germany" . ?e_2 <pred:name> "Niger" . ?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: Niger
function: QueryRelationQualifier
dependencies: 0
1
inputs: diplomatic relation
diplomatic mission sent
Answer: Embassy of Germany, Niamey