Question: Italia Conti Academy of Theatre Arts's headquarter place is London (the one that has Italia Conti Academy of Theatre Arts as the headquarter location)
Choices:
Ukraine
British Empire
Austria-Hungary
United Kingdom
Peru
Italy
Papal States
Ireland
People's Republic of China
Union of South Africa
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 <headquarters_location> ?e_2 . ?e_3 <pred:name> "Italia Conti Academy of Theatre Arts" . ?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: Italia Conti Academy of Theatre Arts
function: Relate
dependencies: 1
inputs: headquarters location
forward
function: Find
inputs: London
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: headquarters location
country