Question: What ethnic community has Kirk Douglas' ethnic group and has Sergei Rachmaninoff's ethnic group?
Choices:
British Indian people
Japanese American
Irish Americans
Russian Americans
Italian American
Cuban American
English American
Hispanic and Latino Americans
Lebanese American
Swedish American
Program:
function: Find
inputs: Kirk Douglas
function: Relate
dependencies: 0
inputs: ethnic group
forward
function: FilterConcept
dependencies: 1
inputs: ethnic community
function: Find
inputs: Sergei Rachmaninoff
function: Relate
dependencies: 3
inputs: ethnic group
forward
function: FilterConcept
dependencies: 4
inputs: ethnic community
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "ethnic community" . ?e_1 <ethnic_group> ?e . ?e_1 <pred:name> "Kirk Douglas" .  ?e_2 <ethnic_group> ?e . ?e_2 <pred:name> "Sergei Rachmaninoff" .  }
Answer: Russian Americans