Question: Which United States city (in the administrative location of Massachusetts) is the birthplace of Leonard Bernstein?
Choices: Franklin
Lawrence
Compton
Boulder
Newton
New Haven
Boston
Oakland
Columbus
Cambridge
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Leonard Bernstein" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_birth> ; <pred:fact_t> ?e ] <located_in_the_administrative_territorial_entity> ?qpv . ?qpv <pred:value> "Massachusetts" .  }
Program:
function: Find
inputs: Leonard Bernstein
function: Relate
dependencies: 0
inputs: place of birth
forward
function: QFilterStr
dependencies: 1
inputs: located in the administrative territorial entity
Massachusetts
function: FilterConcept
dependencies: 2
inputs: city of the United States
function: What
dependencies: 3
Answer: Lawrence