Question: What is the connection between Michael Richards (the one that is an ethnic group of African Americans) to African Americans?
Choices: takes place in fictional universe
draft pick from school
occupant
tributary
time period
licensed to broadcast to
is a list of
ethnic group
month of the year
producer
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Michael Richards" . ?e_1 <ethnic_group> ?e_3 . ?e_3 <pred:name> "African Americans" . ?e_2 <pred:name> "African Americans" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: African Americans
function: Relate
dependencies: 0
inputs: ethnic group
backward
function: Find
inputs: Michael Richards
function: And
dependencies: 1
2
function: Find
inputs: African Americans
function: QueryRelation
dependencies: 3
4
Answer: ethnic group