Question: Released in Portugal and set in Zürich, The Bourne Identity was shot in what location?
Choices:
London
Kern County
home counties
Prague
London Stansted Airport
Tabernas
27744
Griffith Park
California
Namibia
Answer: Prague
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Bourne Identity" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> "Portugal" . ?e_2 <pred:name> "Zürich" . ?e_1 <narrative_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <narrative_location> ; <pred:fact_t> ?e_2 ] <filming_location> ?qpv .  }
Program:
function: Find
inputs: Portugal
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: The Bourne Identity
function: And
dependencies: 1
2
function: Find
inputs: Zürich
function: QueryRelationQualifier
dependencies: 3
4
inputs: narrative location
filming location