Question: Which is longer, The Cardinal that comes from the USA or Collateral that was nominated for a BAFTA Award for Best Sound?
Choices:
Pleasantville
Talk to Her
The Hunchback of Notre Dame
The Cardinal
The Towering Inferno
Rebecca
The Fifth Element
Curse of the Golden Flower
A Prairie Home Companion
Training Day
Answer: The Cardinal
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Cardinal" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "United States of America" .   } UNION { ?e <pred:name> "Collateral" . ?e <nominated_for> ?e_2 . ?e_2 <pred:name> "BAFTA Award for Best Sound" .  } ?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: country of origin
backward
function: Find
inputs: The Cardinal
function: And
dependencies: 1
2
function: Find
inputs: BAFTA Award for Best Sound
function: Relate
dependencies: 4
inputs: nominated for
backward
function: Find
inputs: Collateral
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater