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