Question: Is the running time longer for Chicago, in black-and-white, or Jaws, BAFTA Best Film nominee?
Choices:
Jaws
Curse of the Golden Flower
Pleasantville
Talk to Her
Chicago
The Towering Inferno
The Fifth Element
A Prairie Home Companion
Rebecca
Training Day
Program:
function: Find
inputs: black-and-white
function: Relate
dependencies: 0
inputs: color
backward
function: Find
inputs: Chicago
function: And
dependencies: 1
2
function: Find
inputs: BAFTA Award for Best Film
function: Relate
dependencies: 4
inputs: nominated for
backward
function: Find
inputs: Jaws
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Chicago" . ?e <color> ?e_1 . ?e_1 <pred:name> "black-and-white" .   } UNION { ?e <pred:name> "Jaws" . ?e <nominated_for> ?e_2 . ?e_2 <pred:name> "BAFTA Award for Best Film" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Jaws