Question: What is the country of the headquarters of the Italia Conti Academy of Theatre Arts that is located in London (that is the birthplace of Gary Oldman)?
Choices:
France
Austria-Hungary
Kingdom of Prussia
Taiwan
Portugal
Pakistan
United Kingdom
Curaçao
Argentina
Germany
Answer: United Kingdom
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Italia Conti Academy of Theatre Arts" . ?e_2 <pred:name> "London" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> "Gary Oldman" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }
Program:
function: Find
inputs: Italia Conti Academy of Theatre Arts
function: Find
inputs: Gary Oldman
function: Relate
dependencies: 1
inputs: place of birth
forward
function: Find
inputs: London
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: headquarters location
country