Question: Which movie is longer, Miracle on 34th Street (the one whose composer is Bruce Broughton) or I'm Not There?
Choices:
Training Day
Miracle on 34th Street
Rebecca
Talk to Her
The Towering Inferno
Pleasantville
The Hunchback of Notre Dame
A Prairie Home Companion
The Fifth Element
I'm Not There
Program:
function: Find
inputs: Bruce Broughton
function: Relate
dependencies: 0
inputs: composer
backward
function: Find
inputs: Miracle on 34th Street
function: And
dependencies: 1
2
function: Find
inputs: I'm Not There
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Miracle on 34th Street" . ?e <composer> ?e_1 . ?e_1 <pred:name> "Bruce Broughton" .   } UNION { ?e <pred:name> "I'm Not There" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: I'm Not There