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