Question: Which movie is shorter, Bodyguards and Assassins or Orange County (the one that has John Lithgow as a cast member)?
Choices:
Orange County
A Prairie Home Companion
Rebecca
Pleasantville
Training Day
The Fifth Element
Curse of the Golden Flower
The Towering Inferno
The Hunchback of Notre Dame
Talk to Her
Program:
function: Find
inputs: Bodyguards and Assassins
function: Find
inputs: John Lithgow
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: Orange County
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bodyguards and Assassins" .  } UNION { ?e <pred:name> "Orange County" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "John Lithgow" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Orange County