Question: Which is the longer film, Shanghai Knights or the documentary Spellbound?
Choices:
Rebecca
A Prairie Home Companion
Training Day
The Hunchback of Notre Dame
Shanghai Knights
Pleasantville
Spellbound
Talk to Her
Curse of the Golden Flower
The Towering Inferno
Program:
function: Find
inputs: documentary film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Spellbound
function: And
dependencies: 1
2
function: Find
inputs: Shanghai Knights
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Spellbound" . ?e <genre> ?e_1 . ?e_1 <pred:name> "documentary film" .   } UNION { ?e <pred:name> "Shanghai Knights" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Spellbound