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