Question: Which is shorter, A Passage to India or Taxi Driver whose narrative location is Mumbai?
Choices:
Rebecca
A Prairie Home Companion
Pleasantville
The Towering Inferno
The Hunchback of Notre Dame
The Fifth Element
Taxi Driver
Training Day
A Passage to India
Curse of the Golden Flower
Program:
function: Find
inputs: A Passage to India
function: Find
inputs: Mumbai
function: Relate
dependencies: 1
inputs: narrative location
backward
function: Find
inputs: Taxi Driver
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "A Passage to India" .  } UNION { ?e <pred:name> "Taxi Driver" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Mumbai" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Taxi Driver