Question: Which movie is longer, Billy Elliot or Harry Potter and the Goblet of Fire (the one that was nominated for MTV Movie Award for Best Villain)?
Choices: Training Day
The Fifth Element
Pleasantville
Harry Potter and the Goblet of Fire
The Hunchback of Notre Dame
Billy Elliot
A Prairie Home Companion
Talk to Her
The Towering Inferno
Curse of the Golden Flower
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Billy Elliot" .  } UNION { ?e <pred:name> "Harry Potter and the Goblet of Fire" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "MTV Movie Award for Best Villain" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Billy Elliot
function: Find
inputs: MTV Movie Award for Best Villain
function: Relate
dependencies: 1
inputs: nominated for
backward
function: Find
inputs: Harry Potter and the Goblet of Fire
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
Answer: Harry Potter and the Goblet of Fire