Question: How is Prince, who was inspired by Little Richard, related to The Beatles, a Grammy Award recipient for Best New Artist?
Choices:
influenced by
studied by
follows
professional or sports partner
hair color
applies to jurisdiction
next higher rank
killed by
derivative work
fictional universe described in
Program:
function: Find
inputs: Little Richard
function: Relate
dependencies: 0
inputs: influenced by
backward
function: Find
inputs: Prince
function: And
dependencies: 1
2
function: Find
inputs: Grammy Award for Best New Artist
function: Relate
dependencies: 4
inputs: award received
backward
function: Find
inputs: The Beatles
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Prince" . ?e_1 <influenced_by> ?e_3 . ?e_3 <pred:name> "Little Richard" . ?e_2 <pred:name> "The Beatles" . ?e_2 <award_received> ?e_4 . ?e_4 <pred:name> "Grammy Award for Best New Artist" . ?e_1 ?p ?e_2 .  }
Answer: influenced by