Question: Which movie is shorter, Midnight Express or Murder on the Orient Express (the one whose exploitation visa number is 147755)?
Choices:
Training Day
The Towering Inferno
The Fifth Element
A Prairie Home Companion
Rebecca
Curse of the Golden Flower
Pleasantville
Talk to Her
Midnight Express
Murder on the Orient Express
Program:
function: Find
inputs: Midnight Express
function: Find
inputs: Murder on the Orient Express
function: FilterStr
dependencies: 1
inputs: exploitation visa number
147755
function: SelectBetween
dependencies: 0
2
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Midnight Express" . } UNION { ?e <pred:name> "Murder on the Orient Express" . ?e <exploitation_visa_number> ?pv_1 . ?pv_1 <pred:value> "147755" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Murder on the Orient Express