Question: Which movie is shorter, Kinsey or Women in Love (the one whose composer is Georges Delerue)?
Choices:
Talk to Her
Pleasantville
Women in Love
The Towering Inferno
A Prairie Home Companion
Kinsey
The Hunchback of Notre Dame
The Fifth Element
Curse of the Golden Flower
Rebecca
Program:
function: Find
inputs: Kinsey
function: Find
inputs: Georges Delerue
function: Relate
dependencies: 1
inputs: composer
backward
function: Find
inputs: Women in Love
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kinsey" .  } UNION { ?e <pred:name> "Women in Love" . ?e <composer> ?e_1 . ?e_1 <pred:name> "Georges Delerue" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Kinsey