Question: Which movie is longer, Shutter Island or To Rome with Love?
Choices:
The Hunchback of Notre Dame
Shutter Island
Curse of the Golden Flower
Rebecca
To Rome with Love
The Fifth Element
Pleasantville
Training Day
The Towering Inferno
A Prairie Home Companion
Program:
function: Find
inputs: Shutter Island
function: Find
inputs: To Rome with Love
function: SelectBetween
dependencies: 0
1
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Shutter Island" .  } UNION { ?e <pred:name> "To Rome with Love" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Shutter Island