Question: Tell me the one that is longer, The Bad and the Beautiful or The Rock
Choices:
Rebecca
The Rock
The Hunchback of Notre Dame
The Bad and the Beautiful
Talk to Her
Pleasantville
The Fifth Element
The Towering Inferno
Training Day
Curse of the Golden Flower
Program:
function: Find
inputs: The Bad and the Beautiful
function: Find
inputs: The Rock
function: SelectBetween
dependencies: 0
1
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Bad and the Beautiful" .  } UNION { ?e <pred:name> "The Rock" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Rock