Question: Does Brazil (that was nominated for an Academy Award for Best Writing, Original Screenplay) or The History Boys have the longer runtime?
Choices:
Rebecca
Brazil
Curse of the Golden Flower
The Towering Inferno
The Fifth Element
Pleasantville
The Hunchback of Notre Dame
Training Day
A Prairie Home Companion
The History Boys
Program:
function: Find
inputs: Academy Award for Best Writing, Original Screenplay
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Brazil
function: And
dependencies: 1
2
function: Find
inputs: The History Boys
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Brazil" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Writing, Original Screenplay" .   } UNION { ?e <pred:name> "The History Boys" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Brazil