Question: Which movie is shorter, Ragtime or Barcelona (the one whose title is Barcelona)?
Choices: The Fifth Element
The Towering Inferno
The Hunchback of Notre Dame
Curse of the Golden Flower
Training Day
Ragtime
A Prairie Home Companion
Pleasantville
Rebecca
Barcelona
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ragtime" . } UNION { ?e <pred:name> "Barcelona" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "Barcelona" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Ragtime
function: Find
inputs: Barcelona
function: FilterStr
dependencies: 1
inputs: title
Barcelona
function: SelectBetween
dependencies: 0
2
inputs: duration
less
Answer: Barcelona