Question: What film's narrative location is Long Island (that is located in or next to the Atlantic Ocean) and filming location is California?
Choices:
Training Day
The Towering Inferno
The Hunchback of Notre Dame
Curse of the Golden Flower
North by Northwest
Rope
The Fifth Element
A Prairie Home Companion
Rebecca
Pleasantville
Program:
function: Find
inputs: Atlantic Ocean
function: Relate
dependencies: 0
inputs: located in or next to body of water
backward
function: Find
inputs: Long Island
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: narrative location
backward
function: QFilterStr
dependencies: 4
inputs: filming location
California
function: FilterConcept
dependencies: 5
inputs: film
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Long Island" . ?e_1 <located_in_or_next_to_body_of_water> ?e_2 . ?e_2 <pred:name> "Atlantic Ocean" .  [ <pred:fact_h> ?e ; <pred:fact_r> <narrative_location> ; <pred:fact_t> ?e_1 ] <filming_location> ?qpv . ?qpv <pred:value> "California" .  }
Answer: North by Northwest