Question: Does 3:10 to Yuma (whose production company is Columbia Pictures) or The Cardinal (whose color is black-and-white) have the longer running time?
Choices: The Fifth Element
3:10 to Yuma
The Cardinal
The Towering Inferno
Pleasantville
A Prairie Home Companion
Training Day
Rebecca
The Hunchback of Notre Dame
Talk to Her
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "3:10 to Yuma" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Columbia Pictures" .   } UNION { ?e <pred:name> "The Cardinal" . ?e <color> ?e_2 . ?e_2 <pred:name> "black-and-white" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Columbia Pictures
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: 3:10 to Yuma
function: And
dependencies: 1
2
function: Find
inputs: black-and-white
function: Relate
dependencies: 4
inputs: color
backward
function: Find
inputs: The Cardinal
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
Answer: 3:10 to Yuma