Question: Eddie Redmayne's native London, headquarters of EMI, is in which administrative territorial entity ?
Choices:
Kilo
Illinois
England
East Pakistan
Washington
Estonian Soviet Socialist Republic
Saint Petersburg
Oregon
Missouri
Latvian Soviet Socialist Republic
Answer: England
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Eddie Redmayne" . ?e_2 <pred:name> "London" . ?e_3 <headquarters_location> ?e_2 . ?e_3 <pred:name> "EMI" . ?e_1 <place_of_birth> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_birth> ; <pred:fact_t> ?e_2 ] <located_in_the_administrative_territorial_entity> ?qpv .  }
Program:
function: Find
inputs: Eddie Redmayne
function: Find
inputs: EMI
function: Relate
dependencies: 1
inputs: headquarters location
forward
function: Find
inputs: London
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: place of birth
located in the administrative territorial entity