Question: Which is shorter, Stardust starring Peter O'Toole or Charlie Wilson's War?
Choices:
Training Day
Pleasantville
The Towering Inferno
The Fifth Element
Stardust
Charlie Wilson's War
Rebecca
Curse of the Golden Flower
The Hunchback of Notre Dame
Talk to Her
Program:
function: Find
inputs: Peter O'Toole
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Stardust
function: And
dependencies: 1
2
function: Find
inputs: Charlie Wilson's War
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Stardust" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Peter O'Toole" .   } UNION { ?e <pred:name> "Charlie Wilson's War" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Charlie Wilson's War