Question: Which movie is longer, The Bridges of Madison County or The Butterfly Effect?
Choices:
The Bridges of Madison County
Curse of the Golden Flower
Training Day
Talk to Her
A Prairie Home Companion
The Towering Inferno
The Butterfly Effect
The Hunchback of Notre Dame
Rebecca
Pleasantville
Program:
function: Find
inputs: The Bridges of Madison County
function: Find
inputs: The Butterfly Effect
function: SelectBetween
dependencies: 0
1
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Bridges of Madison County" .  } UNION { ?e <pred:name> "The Butterfly Effect" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Bridges of Madison County