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