Question: Does A Man for All Seasons (that was nominated for an Academy Award for Best Actor) or You Only Live Twice (that is filmed in Spain) have the longer runtime?
Choices:
A Prairie Home Companion
Pleasantville
Curse of the Golden Flower
Training Day
The Towering Inferno
A Man for All Seasons
Rebecca
The Fifth Element
The Hunchback of Notre Dame
Talk to Her
Answer: A Man for All Seasons
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "A Man for All Seasons" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Actor" .   } UNION { ?e <pred:name> "You Only Live Twice" . ?e <filming_location> ?e_2 . ?e_2 <pred:name> "Spain" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Academy Award for Best Actor
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: A Man for All Seasons
function: And
dependencies: 1
2
function: Find
inputs: Spain
function: Relate
dependencies: 4
inputs: filming location
backward
function: Find
inputs: You Only Live Twice
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater