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