Question: What is the connection between Peter Frampton (the one that is famous for blues) to English American?
Choices:
history of topic
geographic distribution
located on astronomical location
narrative role
religious order
significant event
capital
works in collection
ethnic group
convicted of
Program:
function: Find
inputs: blues
function: Relate
dependencies: 0
inputs: famous people
forward
function: Find
inputs: Peter Frampton
function: And
dependencies: 1
2
function: Find
inputs: English American
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Peter Frampton" . ?e_3 <famous_people> ?e_1 . ?e_3 <pred:name> "blues" . ?e_2 <pred:name> "English American" . ?e_1 ?p ?e_2 .  }
Answer: ethnic group