Question: Which is shorter, House of Wax composed by David Buttolph or Anna Karenina distributed by Warner Bros.?
Choices:
Anna Karenina
The Hunchback of Notre Dame
Training Day
House of Wax
The Towering Inferno
The Fifth Element
Pleasantville
A Prairie Home Companion
Curse of the Golden Flower
Talk to Her
Program:
function: Find
inputs: David Buttolph
function: Relate
dependencies: 0
inputs: composer
backward
function: Find
inputs: House of Wax
function: And
dependencies: 1
2
function: Find
inputs: Warner Bros.
function: Relate
dependencies: 4
inputs: distributor
backward
function: Find
inputs: Anna Karenina
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "House of Wax" . ?e <composer> ?e_1 . ?e_1 <pred:name> "David Buttolph" .   } UNION { ?e <pred:name> "Anna Karenina" . ?e <distributor> ?e_2 . ?e_2 <pred:name> "Warner Bros." .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: House of Wax