Question: Which movie is shorter, The Mission (the one whose release region is United States of America) or Wuthering Heights (the one whose script is wrote by Ben Hecht)?
Choices:
Pleasantville
Wuthering Heights
Rebecca
Training Day
The Hunchback of Notre Dame
The Mission
Curse of the Golden Flower
Talk to Her
The Towering Inferno
The Fifth Element
Answer: Wuthering Heights
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Mission" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "United States of America" .   } UNION { ?e <pred:name> "Wuthering Heights" . ?e <screenwriter> ?e_2 . ?e_2 <pred:name> "Ben Hecht" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: The Mission
function: And
dependencies: 1
2
function: Find
inputs: Ben Hecht
function: Relate
dependencies: 4
inputs: screenwriter
backward
function: Find
inputs: Wuthering Heights
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less