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