Question: Which movie is longer, Joan of Arc (the one that was nominated for Academy Award for Best Actress) or American Psycho?
Choices: Pleasantville
Talk to Her
The Hunchback of Notre Dame
The Towering Inferno
The Fifth Element
American Psycho
A Prairie Home Companion
Curse of the Golden Flower
Joan of Arc
Rebecca
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Joan of Arc" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Actress" .   } UNION { ?e <pred:name> "American Psycho" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Academy Award for Best Actress
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Joan of Arc
function: And
dependencies: 1
2
function: Find
inputs: American Psycho
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
Answer: Joan of Arc