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