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