Question: Which band founded by Bob Geldof formed in London, population 1917013?
Choices:
Band Aid
Marillion
Pet Shop Boys
Dixie Chicks
The Pretenders
Renaissance
The Kinks
Jonas Brothers
Jamiroquai
Roxy Music
Program:
function: Find
inputs: Bob Geldof
function: Relate
dependencies: 0
inputs: found
forward
function: FilterConcept
dependencies: 1
inputs: band
function: Find
inputs: London
function: FilterNum
dependencies: 3
inputs: population
1917013
=
function: Relate
dependencies: 4
inputs: location of formation
backward
function: FilterConcept
dependencies: 5
inputs: band
function: And
dependencies: 2
6
function: What
dependencies: 7
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "band" . ?e_1 <found> ?e . ?e_1 <pred:name> "Bob Geldof" .  ?e <location_of_formation> ?e_2 . ?e_2 <pred:name> "London" . ?e_2 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "1917013"^^xsd:double .  }
Answer: Band Aid