Question: Which one has running time A Few Good Men or Monster (the one that has BT as a performer)?
Choices:
Monster
Pleasantville
Curse of the Golden Flower
Training Day
Rebecca
A Prairie Home Companion
The Hunchback of Notre Dame
The Fifth Element
A Few Good Men
The Towering Inferno
Program:
function: Find
inputs: A Few Good Men
function: Find
inputs: BT
function: Relate
dependencies: 1
inputs: performer
backward
function: Find
inputs: Monster
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "A Few Good Men" .  } UNION { ?e <pred:name> "Monster" . ?e <performer> ?e_1 . ?e_1 <pred:name> "BT" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Monster