Question: Which movie is shorter, Stranger than Fiction or Taxi (featuring Ann-Margret)?
Choices:
Curse of the Golden Flower
The Hunchback of Notre Dame
Taxi
Rebecca
Talk to Her
The Towering Inferno
Training Day
Stranger than Fiction
Pleasantville
A Prairie Home Companion
Program:
function: Find
inputs: Stranger than Fiction
function: Find
inputs: Ann-Margret
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: Taxi
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Stranger than Fiction" .  } UNION { ?e <pred:name> "Taxi" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Ann-Margret" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Taxi