Question: What is the population for the U.S. city that is the formation location of The B-52's (the one that is famous for rock music)?
Choices:
163118
837166
47928
998954
149887
2543335
115452
3490295
1808976
5576037
Answer: 115452
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e_1 <location_of_formation> ?e . ?e_1 <pred:name> "The B-52's" . ?e_2 <famous_people> ?e_1 . ?e_2 <pred:name> "rock music" .  ?e <population> ?pv .  }
Program:
function: Find
inputs: rock music
function: Relate
dependencies: 0
inputs: famous people
forward
function: Find
inputs: The B-52's
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: location of formation
forward
function: FilterConcept
dependencies: 4
inputs: city of the United States
function: QueryAttr
dependencies: 5
inputs: population