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