Question: Gow does The Fall, created in the US, relates to Prague, the capital of Czech Republic ?
Choices:
basic form of government
terminus
performer
filming location
airline hub
location of discovery
office held by head of state
lowest point
presenter
place of death
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: The Fall
function: And
dependencies: 1
2
function: Find
inputs: Czech Republic
function: Relate
dependencies: 4
inputs: capital
forward
function: Find
inputs: Prague
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Fall" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> "United States of America" . ?e_2 <pred:name> "Prague" . ?e_4 <capital> ?e_2 . ?e_4 <pred:name> "Czech Republic" . ?e_1 ?p ?e_2 .  }
Answer: filming location