Question: Does Speed Racer (whose production company is Warner Bros.) or The Fabulous Baker Boys have the longer runtime?
Choices:
Speed Racer
The Hunchback of Notre Dame
Curse of the Golden Flower
The Fifth Element
A Prairie Home Companion
The Fabulous Baker Boys
Pleasantville
Training Day
Rebecca
The Towering Inferno
Program:
function: Find
inputs: Warner Bros.
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: Speed Racer
function: And
dependencies: 1
2
function: Find
inputs: The Fabulous Baker Boys
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Speed Racer" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Warner Bros." .   } UNION { ?e <pred:name> "The Fabulous Baker Boys" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Speed Racer