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