Question: Which film has a duration equal to 95 minutes and has a narrative location of Hawaii (the one that is the filming location of North)?
Choices:
Forgetting Sarah Marshall
Rebecca
Ghost Rider: Spirit of Vengeance
Hawaii
50 First Dates
North
A Prairie Home Companion
The Barbarian Invasions
Anchorman: The Legend of Ron Burgundy
From Here to Eternity
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: duration
95 minute
=
function: FilterConcept
dependencies: 1
inputs: film
function: Find
inputs: North
function: Relate
dependencies: 3
inputs: filming location
forward
function: Find
inputs: Hawaii
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: narrative location
backward
function: FilterConcept
dependencies: 7
inputs: film
function: And
dependencies: 2
8
function: What
dependencies: 9
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <duration> ?pv . ?pv <pred:unit> "minute" . ?pv <pred:value> "95"^^xsd:double . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Hawaii" . ?e_2 <filming_location> ?e_1 . ?e_2 <pred:name> "North" .  }
Answer: 50 First Dates