Question: Which movie is longer, Mansfield Park or Pinocchio (the one that is designed by Danilo Donati)?
Choices: Pleasantville
Mansfield Park
A Prairie Home Companion
Training Day
Pinocchio
Rebecca
The Towering Inferno
The Hunchback of Notre Dame
Curse of the Golden Flower
The Fifth Element
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mansfield Park" .  } UNION { ?e <pred:name> "Pinocchio" . ?e <production_designer> ?e_1 . ?e_1 <pred:name> "Danilo Donati" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Mansfield Park
function: Find
inputs: Danilo Donati
function: Relate
dependencies: 1
inputs: production designer
backward
function: Find
inputs: Pinocchio
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
Answer: Pinocchio