Question: Does The Master, produced by Tsui Hark, or Napoleon Dynamite have the longer running time?
Choices:
Curse of the Golden Flower
The Towering Inferno
The Master
A Prairie Home Companion
The Fifth Element
Pleasantville
Napoleon Dynamite
The Hunchback of Notre Dame
Rebecca
Talk to Her
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: Napoleon Dynamite
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> "Napoleon Dynamite" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Master