Question: Which movie is longer, Mighty Joe Young (the one whose script is wrote by Merian C. Cooper) or The Prize?
Choices:
Mighty Joe Young
Curse of the Golden Flower
Rebecca
Talk to Her
Pleasantville
The Prize
The Hunchback of Notre Dame
The Towering Inferno
A Prairie Home Companion
The Fifth Element
Program:
function: Find
inputs: Merian C. Cooper
function: Relate
dependencies: 0
inputs: screenwriter
backward
function: Find
inputs: Mighty Joe Young
function: And
dependencies: 1
2
function: Find
inputs: The Prize
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mighty Joe Young" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> "Merian C. Cooper" .   } UNION { ?e <pred:name> "The Prize" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Prize