Question: Does Top Hat or The Mummy (whose production company is Hammer Film Productions) have the longer runtime?
Choices:
Pleasantville
Curse of the Golden Flower
Training Day
The Towering Inferno
The Mummy
Talk to Her
Top Hat
Rebecca
The Fifth Element
A Prairie Home Companion
Program:
function: Find
inputs: Top Hat
function: Find
inputs: Hammer Film Productions
function: Relate
dependencies: 1
inputs: production company
backward
function: Find
inputs: The Mummy
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Top Hat" .  } UNION { ?e <pred:name> "The Mummy" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Hammer Film Productions" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Top Hat