Question: When was California (the filming location of Thank You for Smoking) the narrative location of the action movie 'California' ?
Choices: 1815-12-01
1982
1841
1979-12-01
1435
1988-12-01
2010-07-01
1943
1086
1992
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "California" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "action film" . ?e_2 <pred:name> "California" . ?e_4 <filming_location> ?e_2 . ?e_4 <pred:name> "Thank You for Smoking" . ?e_1 <narrative_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <narrative_location> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }
Program:
function: Find
inputs: action film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: California
function: And
dependencies: 1
2
function: Find
inputs: Thank You for Smoking
function: Relate
dependencies: 4
inputs: filming location
forward
function: Find
inputs: California
function: And
dependencies: 5
6
function: QueryRelationQualifier
dependencies: 3
7
inputs: narrative location
point in time
Answer: 1841