Question: How is the Amazing Grace performed by Elvis Presley related to Elvis Presley?
Choices:
interested in
replaced by
after a work by
main subject
performer
taxon rank
official symbol
illustrator
student
superhuman feature or ability
Program:
function: Find
inputs: Elvis Presley
function: Relate
dependencies: 0
inputs: performer
backward
function: Find
inputs: Amazing Grace
function: And
dependencies: 1
2
function: Find
inputs: Elvis Presley
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Amazing Grace" . ?e_1 <performer> ?e_3 . ?e_3 <pred:name> "Elvis Presley" . ?e_2 <pred:name> "Elvis Presley" . ?e_1 ?p ?e_2 .  }
Answer: performer