Question: Which one, Stranger than Fiction or Missing (the one whose production company is PolyGram Filmed Entertainment), has greater duration?
Choices:
The Hunchback of Notre Dame
Curse of the Golden Flower
The Towering Inferno
Pleasantville
The Fifth Element
A Prairie Home Companion
Talk to Her
Stranger than Fiction
Rebecca
Missing
Answer: Missing
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Stranger than Fiction" .  } UNION { ?e <pred:name> "Missing" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "PolyGram Filmed Entertainment" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Stranger than Fiction
function: Find
inputs: PolyGram Filmed Entertainment
function: Relate
dependencies: 1
inputs: production company
backward
function: Find
inputs: Missing
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater