Question: What is the location of Germany's diplomatic mission with Mali ?
Choices:
Australian Honorary Consulate, Bosnia and Herzegovina
Embassy of Ukraine, London
Embassy of Australia, Copenhagen
Embassy of Russia, Havana
Embassy of Canada in Kiev
Embassy of Germany, Bamako
Embassy of Germany, Ljubljana
Embassy of Germany, Conakry
embassy of France, Canberra
Embassy of Saudi Arabia, Kiev
Answer: Embassy of Germany, Bamako
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Germany" . ?e_2 <pred:name> "Mali" . ?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: Mali
function: QueryRelationQualifier
dependencies: 0
1
inputs: diplomatic relation
diplomatic mission sent