Question: Which movie is shorter, Real Steel or Taxi (the one that has Ann-Margret as a cast member)?
Choices:
Real Steel
A Prairie Home Companion
The Fifth Element
Rebecca
Curse of the Golden Flower
Training Day
The Towering Inferno
Pleasantville
The Hunchback of Notre Dame
Taxi
Program:
function: Find
inputs: Real Steel
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> "Real Steel" .  } 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