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