Question: Which movie is shorter, The Mission (the one that was nominated for Golden Globe Award for Best Screenplay) or Western (the one that origins from Germany)?
Choices:
The Towering Inferno
The Fifth Element
The Mission
Western
Pleasantville
Curse of the Golden Flower
Talk to Her
Training Day
A Prairie Home Companion
The Hunchback of Notre Dame
Program:
function: Find
inputs: Golden Globe Award for Best Screenplay
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: The Mission
function: And
dependencies: 1
2
function: Find
inputs: Germany
function: Relate
dependencies: 4
inputs: country of origin
backward
function: Find
inputs: Western
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Mission" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Golden Globe Award for Best Screenplay" .   } UNION { ?e <pred:name> "Western" . ?e <country_of_origin> ?e_2 . ?e_2 <pred:name> "Germany" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Western