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