Question: Is the dramatic film Africa shorter, or is Days of Heaven?
Choices:
The Hunchback of Notre Dame
Talk to Her
Training Day
Africa
Pleasantville
A Prairie Home Companion
Days of Heaven
The Fifth Element
The Towering Inferno
Rebecca
Program:
function: Find
inputs: drama film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Africa
function: And
dependencies: 1
2
function: Find
inputs: Days of Heaven
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Africa" . ?e <genre> ?e_1 . ?e_1 <pred:name> "drama film" .   } UNION { ?e <pred:name> "Days of Heaven" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Africa