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