Question: Buddy Guy records on which record label headquartered in Chicago, birthplace of Ray Stark?
Choices:
Century Media Records
Epitaph Records
Play It Again Sam
Southern Lord Records
Atlantic Records
Touch and Go Records
Hollywood Records
Imperial Records
Chess Records
Epic Records
Program:
function: Find
inputs: Buddy Guy
function: Relate
dependencies: 0
inputs: record label
forward
function: FilterConcept
dependencies: 1
inputs: record label
function: Find
inputs: Ray Stark
function: Relate
dependencies: 3
inputs: place of birth
forward
function: Find
inputs: Chicago
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: headquarters location
backward
function: FilterConcept
dependencies: 7
inputs: record label
function: And
dependencies: 2
8
function: What
dependencies: 9
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "record label" . ?e_1 <record_label> ?e . ?e_1 <pred:name> "Buddy Guy" .  ?e <headquarters_location> ?e_2 . ?e_2 <pred:name> "Chicago" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> "Ray Stark" .  }
Answer: Chess Records