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