Question: Wihch movie is shorter, Out of Africa (the one that received Academy Award for Best Director) or Girl with a Pearl Earring?
Choices:
The Fifth Element
Pleasantville
Rebecca
The Hunchback of Notre Dame
Talk to Her
Girl with a Pearl Earring
The Towering Inferno
Out of Africa
Curse of the Golden Flower
Training Day
Answer: Girl with a Pearl Earring
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Out of Africa" . ?e <award_received> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Director" .   } UNION { ?e <pred:name> "Girl with a Pearl Earring" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Academy Award for Best Director
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: Out of Africa
function: And
dependencies: 1
2
function: Find
inputs: Girl with a Pearl Earring
function: SelectBetween
dependencies: 3
4
inputs: duration
less