Question: What is the location of diplomatic mission where Australia (the one that is the release region of The Cabin in the Woods) has a diplomatic relation with Antigua and Barbuda.
Choices:
Embassy of Turkey, Tel Aviv
Embassy of Germany, Santiago
Embassy of the United States, Canberra
Embassy of Germany, Bratislava
Embassy of Germany, Antananarivo
Embassy of Israel, Manila
Embassy of Germany, Sanaa
Embassy of the United States, Berlin
Australian Consulate in St John's, Antigua & Barbuda
Embassy of Saudi Arabia, Warsaw
Answer: Australian Consulate in St John's, Antigua & Barbuda
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Australia" . ?e_3 <film_release_region> ?e_1 . ?e_3 <pred:name> "The Cabin in the Woods" . ?e_2 <pred:name> "Antigua and Barbuda" . ?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: The Cabin in the Woods
function: Relate
dependencies: 0
inputs: film release region
forward
function: Find
inputs: Australia
function: And
dependencies: 1
2
function: Find
inputs: Antigua and Barbuda
function: QueryRelationQualifier
dependencies: 3
4
inputs: diplomatic relation
diplomatic mission sent