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