Question: Did It's Complicated or Lost in Space, composed by Bruce Broughton, make more at the box office?
Choices:
Talk to Her
Rebecca
Training Day
Lost in Space
It's Complicated
The Towering Inferno
A Prairie Home Companion
Pleasantville
Curse of the Golden Flower
The Fifth Element
Program:
function: Find
inputs: It's Complicated
function: Find
inputs: Bruce Broughton
function: Relate
dependencies: 1
inputs: composer
backward
function: Find
inputs: Lost in Space
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: box office
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "It's Complicated" .  } UNION { ?e <pred:name> "Lost in Space" . ?e <composer> ?e_1 . ?e_1 <pred:name> "Bruce Broughton" .   } ?e <box_office> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: It's Complicated