Question: Does Kiss of the Spider Woman or Puss in Boots (the one whose producer is Menahem Golan) have greater duration ?
Choices:
The Hunchback of Notre Dame
The Towering Inferno
Talk to Her
Puss in Boots
Curse of the Golden Flower
A Prairie Home Companion
Training Day
Rebecca
Kiss of the Spider Woman
Pleasantville
Program:
function: Find
inputs: Kiss of the Spider Woman
function: Find
inputs: Menahem Golan
function: Relate
dependencies: 1
inputs: producer
backward
function: Find
inputs: Puss in Boots
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kiss of the Spider Woman" .  } UNION { ?e <pred:name> "Puss in Boots" . ?e <producer> ?e_1 . ?e_1 <pred:name> "Menahem Golan" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Kiss of the Spider Woman