Question: Does Transformers (the one whose narrative location is Washington, D.C.) or The Producers (the one whose producer is Mel Brooks) have greater duration ?
Choices:
The Producers
Rebecca
The Hunchback of Notre Dame
Pleasantville
Curse of the Golden Flower
The Towering Inferno
Transformers
The Fifth Element
Training Day
Talk to Her
Answer: Transformers
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Transformers" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Washington, D.C." .   } UNION { ?e <pred:name> "The Producers" . ?e <producer> ?e_2 . ?e_2 <pred:name> "Mel Brooks" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Washington, D.C.
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: Transformers
function: And
dependencies: 1
2
function: Find
inputs: Mel Brooks
function: Relate
dependencies: 4
inputs: producer
backward
function: Find
inputs: The Producers
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater