Question: Which film is longer, Godzilla, distributed by Tōhō, or The Taking of Pelham 123?
Choices:
The Hunchback of Notre Dame
Curse of the Golden Flower
Training Day
A Prairie Home Companion
Pleasantville
Godzilla
The Fifth Element
The Towering Inferno
The Taking of Pelham 123
Rebecca
Program:
function: Find
inputs: The Taking of Pelham 123
function: Find
inputs: Tōhō
function: Relate
dependencies: 1
inputs: distributor
backward
function: Find
inputs: Godzilla
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Taking of Pelham 123" .  } UNION { ?e <pred:name> "Godzilla" . ?e <distributor> ?e_1 . ?e_1 <pred:name> "Tōhō" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Taking of Pelham 123