Question: Which movie has a shorter runtime, The Illusionist (the one whose exploitation visa number is 116940) or Metropolis (the one whose production company is TriStar Pictures)?
Choices: Peter Pan
Beauty and the Beast
Lilo & Stitch
Metropolis
The Illusionist
Winnie the Pooh
The Rescuers
Aladdin
Renaissance
Shrek 2
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Illusionist" . ?e <exploitation_visa_number> ?pv_1 . ?pv_1 <pred:value> "116940" . } UNION { ?e <pred:name> "Metropolis" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "TriStar Pictures" . } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: The Illusionist
function: FilterStr
dependencies: 0
inputs: exploitation visa number
116940
function: Find
inputs: TriStar Pictures
function: Relate
dependencies: 2
inputs: production company
backward
function: Find
inputs: Metropolis
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: duration
less
Answer: The Illusionist