Question: How is A Bug's Life that has Randy Newman as a performer related to Kevin Spacey?
Choices:
voice actor
notable work
political alignment
head of state
foundational text
rector
statistical leader
sports season of league or competition
copyright holder
child astronomical body
Answer: voice actor
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "A Bug's Life" . ?e_1 <performer> ?e_3 . ?e_3 <pred:name> "Randy Newman" . ?e_2 <pred:name> "Kevin Spacey" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Randy Newman
function: Relate
dependencies: 0
inputs: performer
backward
function: Find
inputs: A Bug's Life
function: And
dependencies: 1
2
function: Find
inputs: Kevin Spacey
function: QueryRelation
dependencies: 3
4