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