Question: Which one is longer, Fort Worth (the one whose composer is David Buttolph) or Planet of the Apes (the one whose director is Tim Burton)
Choices: Fort Worth
Training Day
Planet of the Apes
Rebecca
Curse of the Golden Flower
Talk to Her
Pleasantville
The Towering Inferno
The Fifth Element
The Hunchback of Notre Dame
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Fort Worth" . ?e <composer> ?e_1 . ?e_1 <pred:name> "David Buttolph" .   } UNION { ?e <pred:name> "Planet of the Apes" . ?e <director> ?e_2 . ?e_2 <pred:name> "Tim Burton" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: David Buttolph
function: Relate
dependencies: 0
inputs: composer
backward
function: Find
inputs: Fort Worth
function: And
dependencies: 1
2
function: Find
inputs: Tim Burton
function: Relate
dependencies: 4
inputs: director
backward
function: Find
inputs: Planet of the Apes
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
Answer: Planet of the Apes