Question: Which lasted longer, Sicko or Revolutionary Road?
Choices:
The Towering Inferno
A Prairie Home Companion
Sicko
Training Day
Talk to Her
The Fifth Element
Pleasantville
Revolutionary Road
Rebecca
The Hunchback of Notre Dame
Program:
function: Find
inputs: Sicko
function: Find
inputs: Revolutionary Road
function: SelectBetween
dependencies: 0
1
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sicko" .  } UNION { ?e <pred:name> "Revolutionary Road" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Sicko