Question: What movie ran longer, the 26th Academy Awards winner Julius Caesar or Bonnie and Clyde, which was nominated for an Academy Award for Best Director?
Choices:
The Fifth Element
The Towering Inferno
The Hunchback of Notre Dame
Talk to Her
Julius Caesar
Pleasantville
Bonnie and Clyde
Curse of the Golden Flower
A Prairie Home Companion
Training Day
Program:
function: Find
inputs: 26th Academy Awards
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: Julius Caesar
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Director
function: Relate
dependencies: 4
inputs: nominated for
backward
function: Find
inputs: Bonnie and Clyde
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Julius Caesar" . ?e <award_received> ?e_1 . ?e_1 <pred:name> "26th Academy Awards" .   } UNION { ?e <pred:name> "Bonnie and Clyde" . ?e <nominated_for> ?e_2 . ?e_2 <pred:name> "Academy Award for Best Director" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Julius Caesar