Question: Which one, Tropic Thunder or Cuba (the one whose title is Cuba), has greater duration?
Choices:
Talk to Her
The Hunchback of Notre Dame
Cuba
Tropic Thunder
Rebecca
Training Day
Pleasantville
The Fifth Element
Curse of the Golden Flower
The Towering Inferno
Answer: Cuba
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tropic Thunder" . } UNION { ?e <pred:name> "Cuba" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "Cuba" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Tropic Thunder
function: Find
inputs: Cuba
function: FilterStr
dependencies: 1
inputs: title
Cuba
function: SelectBetween
dependencies: 0
2
inputs: duration
greater