Question: How long is the movie whose narrative location is India (the one that has a citizen Cochin Haneefa)?
Choices:
254 second
260 minute
82 minute
11 minute
120 minute
786 minute
161 minute
293 minute
388 minute
255 second
Program:
function: Find
inputs: Cochin Haneefa
function: Relate
dependencies: 0
inputs: country of citizenship
forward
function: Find
inputs: India
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: narrative location
backward
function: FilterConcept
dependencies: 4
inputs: feature film
function: QueryAttr
dependencies: 5
inputs: duration
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "feature film" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "India" . ?e_2 <country_of_citizenship> ?e_1 . ?e_2 <pred:name> "Cochin Haneefa" .  ?e <duration> ?pv .  }
Answer: 120 minute