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