Question: Does Starship Troopers (the one whose composer is Basil Poledouris) or Phil Spector (the one whose distributor is HBO Films) have less duration?
Choices:
The Music Man
A Streetcar Named Desire
Shackleton
Starship Troopers
The Three Musketeers
The Late Shift
The Goodbye Girl
Phil Spector
A Christmas Carol
All Quiet on the Western Front
Program:
function: Find
inputs: Basil Poledouris
function: Relate
dependencies: 0
inputs: composer
backward
function: Find
inputs: Starship Troopers
function: And
dependencies: 1
2
function: Find
inputs: HBO Films
function: Relate
dependencies: 4
inputs: distributor
backward
function: Find
inputs: Phil Spector
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Starship Troopers" . ?e <composer> ?e_1 . ?e_1 <pred:name> "Basil Poledouris" .   } UNION { ?e <pred:name> "Phil Spector" . ?e <distributor> ?e_2 . ?e_2 <pred:name> "HBO Films" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Phil Spector