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