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