Question: Which movie is longer, Lars and the Real Girl or Enron: The Smartest Guys in the Room?
Choices:
Pleasantville
Talk to Her
Curse of the Golden Flower
Lars and the Real Girl
Rebecca
Training Day
The Fifth Element
The Hunchback of Notre Dame
Enron: The Smartest Guys in the Room
A Prairie Home Companion
Program:
function: Find
inputs: Lars and the Real Girl
function: Find
inputs: Enron: The Smartest Guys in the Room
function: SelectBetween
dependencies: 0
1
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lars and the Real Girl" .  } UNION { ?e <pred:name> "Enron: The Smartest Guys in the Room" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Enron: The Smartest Guys in the Room