Question: Does the silent film The Fugitive or does Saboteur have a shorter length?
Choices:
The Cure
Neighbours
Saboteur
Eve
Friends
The Fugitive
Robin Hood
The Town
Frankenstein
David Copperfield
Program:
function: Find
inputs: Saboteur
function: Find
inputs: silent film
function: Relate
dependencies: 1
inputs: genre
backward
function: Find
inputs: The Fugitive
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Saboteur" .  } UNION { ?e <pred:name> "The Fugitive" . ?e <genre> ?e_1 . ?e_1 <pred:name> "silent film" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Fugitive