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