Question: Is the run-time shorter for Weeds, composed by Angelo Badalamenti, or for Rocky, scripted by Sylvester Stallone?
Choices:
A Prairie Home Companion
Rebecca
Curse of the Golden Flower
The Fifth Element
Training Day
Weeds
The Towering Inferno
The Hunchback of Notre Dame
Pleasantville
Talk to Her
Program:
function: Find
inputs: Angelo Badalamenti
function: Relate
dependencies: 0
inputs: composer
backward
function: Find
inputs: Weeds
function: And
dependencies: 1
2
function: Find
inputs: Sylvester Stallone
function: Relate
dependencies: 4
inputs: screenwriter
backward
function: Find
inputs: Rocky
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Weeds" . ?e <composer> ?e_1 . ?e_1 <pred:name> "Angelo Badalamenti" .   } UNION { ?e <pred:name> "Rocky" . ?e <screenwriter> ?e_2 . ?e_2 <pred:name> "Sylvester Stallone" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Weeds