Question: Which movie is shorter, Rush Hour 3 or Transformers (the one that is a notable work of Megan Fox)?
Choices:
The Hunchback of Notre Dame
A Prairie Home Companion
Rebecca
Transformers
The Towering Inferno
Training Day
Curse of the Golden Flower
The Fifth Element
Rush Hour 3
Pleasantville
Program:
function: Find
inputs: Rush Hour 3
function: Find
inputs: Megan Fox
function: Relate
dependencies: 1
inputs: notable work
forward
function: Find
inputs: Transformers
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rush Hour 3" .  } UNION { ?e <pred:name> "Transformers" . ?e_1 <notable_work> ?e . ?e_1 <pred:name> "Megan Fox" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Rush Hour 3