Question: Which US city is the birthplace of Michael McDonald (the one that is drafted by Golden State Warriors)?
Choices:
St. Louis
New Haven
Shreveport
Longview
Waukegan
Columbus
Boulder
Laguna Beach
Oakland
Franklin
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: Find
inputs: Golden State Warriors
function: Relate
dependencies: 3
inputs: drafted by
backward
function: Find
inputs: Michael McDonald
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: place of birth
forward
function: FilterConcept
dependencies: 7
inputs: city of the United States
function: And
dependencies: 2
8
function: What
dependencies: 9
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e <country> ?e_1 . ?e_1 <pred:name> "United States of America" .  ?e_2 <place_of_birth> ?e . ?e_2 <pred:name> "Michael McDonald" . ?e_2 <drafted_by> ?e_3 . ?e_3 <pred:name> "Golden State Warriors" .  }
Answer: Longview