Question: Which movie is shorter, The Manchurian Candidate (the one that received National Film Registry) or Ordinary People (the one whose distributor is Paramount Pictures)?
Choices: Talk to Her
Pleasantville
Curse of the Golden Flower
The Fifth Element
A Prairie Home Companion
The Hunchback of Notre Dame
Ordinary People
Rebecca
Training Day
The Manchurian Candidate
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Manchurian Candidate" . ?e <award_received> ?e_1 . ?e_1 <pred:name> "National Film Registry" .   } UNION { ?e <pred:name> "Ordinary People" . ?e <distributor> ?e_2 . ?e_2 <pred:name> "Paramount Pictures" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: National Film Registry
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: The Manchurian Candidate
function: And
dependencies: 1
2
function: Find
inputs: Paramount Pictures
function: Relate
dependencies: 4
inputs: distributor
backward
function: Find
inputs: Ordinary People
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
Answer: Ordinary People