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