Question: Does The Hurt Locker or Pan's Labyrinth have greater duration?
Choices:
Training Day
Pan's Labyrinth
The Hurt Locker
Pleasantville
A Prairie Home Companion
The Hunchback of Notre Dame
Rebecca
Curse of the Golden Flower
The Towering Inferno
The Fifth Element
Program:
function: Find
inputs: The Hurt Locker
function: Find
inputs: Pan's Labyrinth
function: SelectBetween
dependencies: 0
1
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Hurt Locker" .  } UNION { ?e <pred:name> "Pan's Labyrinth" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Hurt Locker