Question: Which movie is shorter, The Brothers Grimm or Alfie (the one that was nominated for Golden Globe Award for Best Director)?
Choices:
The Fifth Element
Talk to Her
Rebecca
Training Day
The Hunchback of Notre Dame
The Towering Inferno
Pleasantville
Curse of the Golden Flower
The Brothers Grimm
Alfie
Program:
function: Find
inputs: The Brothers Grimm
function: Find
inputs: Golden Globe Award for Best Director
function: Relate
dependencies: 1
inputs: nominated for
backward
function: Find
inputs: Alfie
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Brothers Grimm" .  } UNION { ?e <pred:name> "Alfie" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Golden Globe Award for Best Director" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Alfie