Question: Which movie is longer, Eat Pray Love or April (the one whose exploitation visa number is 91313)?
Choices: Talk to Her
The Fifth Element
The Towering Inferno
Pleasantville
A Prairie Home Companion
Eat Pray Love
April
Curse of the Golden Flower
Rebecca
The Hunchback of Notre Dame
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Eat Pray Love" . } UNION { ?e <pred:name> "April" . ?e <exploitation_visa_number> ?pv_1 . ?pv_1 <pred:value> "91313" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Eat Pray Love
function: Find
inputs: April
function: FilterStr
dependencies: 1
inputs: exploitation visa number
91313
function: SelectBetween
dependencies: 0
2
inputs: duration
greater
Answer: Eat Pray Love