Question: Which movie is longer, The Wolfman or Romeo and Juliet (the one that was nominated for BAFTA Award for Best Actor in a Supporting Role)?
Choices: A Prairie Home Companion
Pleasantville
Rebecca
The Wolfman
Talk to Her
The Hunchback of Notre Dame
The Fifth Element
Training Day
The Towering Inferno
Romeo and Juliet
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Wolfman" .  } UNION { ?e <pred:name> "Romeo and Juliet" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "BAFTA Award for Best Actor in a Supporting Role" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The Wolfman
function: Find
inputs: BAFTA Award for Best Actor in a Supporting Role
function: Relate
dependencies: 1
inputs: nominated for
backward
function: Find
inputs: Romeo and Juliet
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
Answer: Romeo and Juliet