Question: Which movie is shorter, Boogie Nights or Manhattan (the one that received National Film Registry)?
Choices:
Pleasantville
Manhattan
The Fifth Element
Training Day
Boogie Nights
Rebecca
Talk to Her
Curse of the Golden Flower
The Towering Inferno
The Hunchback of Notre Dame
Answer: Manhattan
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Boogie Nights" .  } UNION { ?e <pred:name> "Manhattan" . ?e <award_received> ?e_1 . ?e_1 <pred:name> "National Film Registry" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Boogie Nights
function: Find
inputs: National Film Registry
function: Relate
dependencies: 1
inputs: award received
backward
function: Find
inputs: Manhattan
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less