Question: Is Iron Man 3 or Shakespeare in Love longer?
Choices:
Training Day
The Hunchback of Notre Dame
Shakespeare in Love
A Prairie Home Companion
The Fifth Element
Talk to Her
Rebecca
Curse of the Golden Flower
Iron Man 3
Pleasantville
Program:
function: Find
inputs: Iron Man 3
function: Find
inputs: Shakespeare in Love
function: SelectBetween
dependencies: 0
1
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Iron Man 3" .  } UNION { ?e <pred:name> "Shakespeare in Love" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Iron Man 3