Question: Is the run-time shorter on Nickelodeon, directed by Peter Bogdanovich, or on Angel, distributed by Paramount Pictures?
Choices:
The Fifth Element
The Towering Inferno
A Prairie Home Companion
Nickelodeon
Talk to Her
Training Day
Curse of the Golden Flower
Rebecca
Angel
Pleasantville
Answer: Angel
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Nickelodeon" . ?e <director> ?e_1 . ?e_1 <pred:name> "Peter Bogdanovich" .   } UNION { ?e <pred:name> "Angel" . ?e <distributor> ?e_2 . ?e_2 <pred:name> "Paramount Pictures" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Peter Bogdanovich
function: Relate
dependencies: 0
inputs: director
backward
function: Find
inputs: Nickelodeon
function: And
dependencies: 1
2
function: Find
inputs: Paramount Pictures
function: Relate
dependencies: 4
inputs: distributor
backward
function: Find
inputs: Angel
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less