Question: Which movie is shorter, A Beautiful Mind or Frankenstein (the one whose release region is Mexico)?
Choices:
Training Day
Talk to Her
Rebecca
A Prairie Home Companion
Curse of the Golden Flower
The Towering Inferno
Frankenstein
The Hunchback of Notre Dame
Pleasantville
The Fifth Element
Answer: Frankenstein
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "A Beautiful Mind" .  } UNION { ?e <pred:name> "Frankenstein" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Mexico" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: A Beautiful Mind
function: Find
inputs: Mexico
function: Relate
dependencies: 1
inputs: film release region
backward
function: Find
inputs: Frankenstein
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less