Question: Which movie is shorter, Along Came a Spider (the one whose narrative location is Washington, D.C.) or The Chronicles of Narnia: The Voyage of the Dawn Treader (the one whose release region is United States of America)?
Choices: Rebecca
The Chronicles of Narnia: The Voyage of the Dawn Treader
A Prairie Home Companion
The Fifth Element
Pleasantville
Curse of the Golden Flower
Along Came a Spider
The Towering Inferno
Talk to Her
Training Day
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Along Came a Spider" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Washington, D.C." .   } UNION { ?e <pred:name> "The Chronicles of Narnia: The Voyage of the Dawn Treader" . ?e <film_release_region> ?e_2 . ?e_2 <pred:name> "United States of America" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Washington, D.C.
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: Along Came a Spider
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: Relate
dependencies: 4
inputs: film release region
backward
function: Find
inputs: The Chronicles of Narnia: The Voyage of the Dawn Treader
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
Answer: Along Came a Spider