Question: What is the connection between India (the one that is an ethnic group of African Americans) to African Americans?
Choices:
official color
copyright holder
had as last meal
home venue
discoverer or inventor
maintained by
ethnic group
sport
voice actor
official residence
Answer: ethnic group
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "India" . ?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: India
function: And
dependencies: 1
2
function: Find
inputs: African Americans
function: QueryRelation
dependencies: 3
4