Question: Which movie is longer, Batman Begins (the one whose narrative location is Bhutan) or Men in Black (the one whose release region is United States of America)?
Choices: Batman Begins
Men in Black
Rebecca
Curse of the Golden Flower
The Towering Inferno
Talk to Her
The Hunchback of Notre Dame
Pleasantville
A Prairie Home Companion
Training Day
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Batman Begins" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Bhutan" .   } UNION { ?e <pred:name> "Men in Black" . ?e <film_release_region> ?e_2 . ?e_2 <pred:name> "United States of America" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Bhutan
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: Batman Begins
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: Relate
dependencies: 4
inputs: film release region
backward
function: Find
inputs: Men in Black
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
Answer: Batman Begins