Question: Does Heaven Can Wait (the one that was nominated for Academy Award for Best Supporting Actress) or Monster (the one that origins from Germany) have greater duration ?
Choices:
Training Day
Curse of the Golden Flower
The Hunchback of Notre Dame
The Fifth Element
Heaven Can Wait
Monster
Talk to Her
Pleasantville
Rebecca
The Towering Inferno
Answer: Monster
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Heaven Can Wait" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Supporting Actress" .   } UNION { ?e <pred:name> "Monster" . ?e <country_of_origin> ?e_2 . ?e_2 <pred:name> "Germany" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Academy Award for Best Supporting Actress
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Heaven Can Wait
function: And
dependencies: 1
2
function: Find
inputs: Germany
function: Relate
dependencies: 4
inputs: country of origin
backward
function: Find
inputs: Monster
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater