Question: Between action film Starship Troopers or The Lovely Bones, which is shorter?
Choices:
The Hunchback of Notre Dame
The Towering Inferno
Pleasantville
The Lovely Bones
The Fifth Element
Talk to Her
Starship Troopers
A Prairie Home Companion
Curse of the Golden Flower
Rebecca
Program:
function: Find
inputs: action film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Starship Troopers
function: And
dependencies: 1
2
function: Find
inputs: The Lovely Bones
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Starship Troopers" . ?e <genre> ?e_1 . ?e_1 <pred:name> "action film" .   } UNION { ?e <pred:name> "The Lovely Bones" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Starship Troopers