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