Question: Which movie is shorter, Crazy, Stupid, Love. or Henry V (the one whose genre is action film)?
Choices: The Towering Inferno
The Hunchback of Notre Dame
Henry V
The Fifth Element
Rebecca
Curse of the Golden Flower
Pleasantville
A Prairie Home Companion
Crazy, Stupid, Love.
Talk to Her
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Crazy, Stupid, Love." .  } UNION { ?e <pred:name> "Henry V" . ?e <genre> ?e_1 . ?e_1 <pred:name> "action film" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Crazy, Stupid, Love.
function: Find
inputs: action film
function: Relate
dependencies: 1
inputs: genre
backward
function: Find
inputs: Henry V
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
Answer: Crazy, Stupid, Love.