Question: How is the African American Henry James related to the Atlanta Hawks?
Choices:
approved by
member of sports team
depicts
mascot
official religion
fictional universe described in
illustrator
office held by head of state
conferred by
academic degree
Program:
function: Find
inputs: African Americans
function: Relate
dependencies: 0
inputs: ethnic group
backward
function: Find
inputs: Henry James
function: And
dependencies: 1
2
function: Find
inputs: Atlanta Hawks
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Henry James" . ?e_1 <ethnic_group> ?e_3 . ?e_3 <pred:name> "African Americans" . ?e_2 <pred:name> "Atlanta Hawks" . ?e_1 ?p ?e_2 .  }
Answer: member of sports team