Question: Which one, Montana (the one whose composer is David Buttolph) or Hampstead (the one whose genre is comedy-drama), has less duration?
Choices: Training Day
The Hunchback of Notre Dame
The Fifth Element
Curse of the Golden Flower
A Prairie Home Companion
Montana
Pleasantville
Rebecca
Talk to Her
Hampstead
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Montana" . ?e <composer> ?e_1 . ?e_1 <pred:name> "David Buttolph" .   } UNION { ?e <pred:name> "Hampstead" . ?e <genre> ?e_2 . ?e_2 <pred:name> "comedy-drama" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: David Buttolph
function: Relate
dependencies: 0
inputs: composer
backward
function: Find
inputs: Montana
function: And
dependencies: 1
2
function: Find
inputs: comedy-drama
function: Relate
dependencies: 4
inputs: genre
backward
function: Find
inputs: Hampstead
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
Answer: Montana