Question: What is the name of the person who was a lawyer and who died in Allentown?
Choices:
William Henry Harrison
Max Fleischer
Robert F. Kennedy
Henry King
Franz Kafka
Richard Gere
Gerald Ford
Sylvester Stallone
John Dingell, Jr.
Adam Smith
Program:
function: Find
inputs: lawyer
function: Relate
dependencies: 0
inputs: occupation
backward
function: FilterConcept
dependencies: 1
inputs: human
function: Find
inputs: Allentown
function: Relate
dependencies: 3
inputs: place of death
backward
function: FilterConcept
dependencies: 4
inputs: human
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <occupation> ?e_1 . ?e_1 <pred:name> "lawyer" .  ?e <place_of_death> ?e_2 . ?e_2 <pred:name> "Allentown" .  }
Answer: Henry King