Question: Tell me the person that has the job composer and who passed away in barcelona (the one having the population 1578546)
Choices:
Max Fleischer
Simon Cowell
Randy Jackson
Richard Gere
Rahul Dev Burman
Lorenz Hart
John Lee Hooker
Sylvester Stallone
William Henry Harrison
Frank Marshall
Answer: Frank Marshall
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <occupation> ?e_1 . ?e_1 <pred:name> "composer" .  ?e <place_of_death> ?e_2 . ?e_2 <pred:name> "Barcelona" . ?e_2 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "1578546"^^xsd:double .  }
Program:
function: Find
inputs: composer
function: Relate
dependencies: 0
inputs: occupation
backward
function: FilterConcept
dependencies: 1
inputs: human
function: Find
inputs: Barcelona
function: FilterNum
dependencies: 3
inputs: population
1578546
=
function: Relate
dependencies: 4
inputs: place of death
backward
function: FilterConcept
dependencies: 5
inputs: human
function: And
dependencies: 2
6
function: What
dependencies: 7