Question: Does The Master (whose producer is Tsui Hark) or An Alan Smithee Film: Burn Hollywood Burn have the longer running time?
Choices:
The Fifth Element
An Alan Smithee Film: Burn Hollywood Burn
Rebecca
The Hunchback of Notre Dame
Talk to Her
Curse of the Golden Flower
Pleasantville
The Towering Inferno
The Master
Training Day
Program:
function: Find
inputs: Tsui Hark
function: Relate
dependencies: 0
inputs: producer
backward
function: Find
inputs: The Master
function: And
dependencies: 1
2
function: Find
inputs: An Alan Smithee Film: Burn Hollywood Burn
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Master" . ?e <producer> ?e_1 . ?e_1 <pred:name> "Tsui Hark" .   } UNION { ?e <pred:name> "An Alan Smithee Film: Burn Hollywood Burn" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Master