Question: What is the connection between Alan Menken to Hercules (the one that has Wayne Knight as a voice actor)?
Choices:
has immediate cause
notable work
programming paradigm
takes place in fictional universe
medical treatment
office held by head of government
officeholder
based on
diplomatic relation
location of final assembly
Answer: notable work
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Alan Menken" . ?e_2 <pred:name> "Hercules" . ?e_2 <voice_actor> ?e_3 . ?e_3 <pred:name> "Wayne Knight" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Alan Menken
function: Find
inputs: Wayne Knight
function: Relate
dependencies: 1
inputs: voice actor
backward
function: Find
inputs: Hercules
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4