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