Question: Which movie is shorter, Rushmore or On Her Majesty's Secret Service (the one whose release region is United States of America)?
Choices:
Pleasantville
The Hunchback of Notre Dame
On Her Majesty's Secret Service
A Prairie Home Companion
Talk to Her
Training Day
Rushmore
Rebecca
The Towering Inferno
The Fifth Element
Answer: Rushmore
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rushmore" .  } UNION { ?e <pred:name> "On Her Majesty's Secret Service" . ?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: Rushmore
function: Find
inputs: United States of America
function: Relate
dependencies: 1
inputs: film release region
backward
function: Find
inputs: On Her Majesty's Secret Service
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less