Question: Is the duration greater for Beauty and the Beast, which is produced by Menahem Golan, or Mississippi Burning?
Choices:
A Prairie Home Companion
Mississippi Burning
Curse of the Golden Flower
Rebecca
Talk to Her
Beauty and the Beast
Training Day
The Hunchback of Notre Dame
The Towering Inferno
Pleasantville
Program:
function: Find
inputs: Menahem Golan
function: Relate
dependencies: 0
inputs: producer
backward
function: Find
inputs: Beauty and the Beast
function: And
dependencies: 1
2
function: Find
inputs: Mississippi Burning
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Beauty and the Beast" . ?e <producer> ?e_1 . ?e_1 <pred:name> "Menahem Golan" .   } UNION { ?e <pred:name> "Mississippi Burning" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Mississippi Burning