Question: Which hard rock band composed Dune, which earned 30925690 USD at the box office?
Choices:
Queen
Deep Purple
Danzig
Marilyn Manson
Journey
New Order
Toto
Kings of Leon
Santana
Camel
Answer: Toto
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "rock band" . ?e_1 <composer> ?e . ?e_1 <pred:name> "Dune" . ?e_1 <box_office> ?pv . ?pv <pred:unit> "United States dollar" . ?pv <pred:value> "30925690"^^xsd:double .  ?e_2 <famous_people> ?e . ?e_2 <pred:name> "hard rock" .  }
Program:
function: Find
inputs: Dune
function: FilterNum
dependencies: 0
inputs: box office
30925690 United States dollar
=
function: Relate
dependencies: 1
inputs: composer
forward
function: FilterConcept
dependencies: 2
inputs: rock band
function: Find
inputs: hard rock
function: Relate
dependencies: 4
inputs: famous people
forward
function: FilterConcept
dependencies: 5
inputs: rock band
function: And
dependencies: 3
6
function: What
dependencies: 7