Question: What US city is the birthplace of the person who was a partner of Bo Derek?
Choices:
New Rochelle
Long Beach
Wheeling
Bremerton
Huntington Beach
Beverly Hills
Kansas City
Green Bay
East St. Louis
Davenport
Program:
function: Find
inputs: Bo Derek
function: Relate
dependencies: 0
inputs: partner
backward
function: FilterConcept
dependencies: 1
inputs: human
function: Relate
dependencies: 2
inputs: place of birth
forward
function: FilterConcept
dependencies: 3
inputs: city of the United States
function: What
dependencies: 4
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:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_1 <partner> ?e_3 . ?e_3 <pred:name> "Bo Derek" .   }
Answer: Wheeling