Question: What is the connection between Hercules (the one whose composer is Alan Menken) to Hercules (the one that has Roger Bart as a performer)?
Choices:
software engine
present in work
studies
characters
located on astronomical location
participant of
honorific suffix
rector
executive producer
copyright representative
Program:
function: Find
inputs: Alan Menken
function: Relate
dependencies: 0
inputs: composer
backward
function: Find
inputs: Hercules
function: And
dependencies: 1
2
function: Find
inputs: Roger Bart
function: Relate
dependencies: 4
inputs: performer
backward
function: Find
inputs: Hercules
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Hercules" . ?e_1 <composer> ?e_3 . ?e_3 <pred:name> "Alan Menken" . ?e_2 <pred:name> "Hercules" . ?e_2 <performer> ?e_4 . ?e_4 <pred:name> "Roger Bart" . ?e_1 ?p ?e_2 .  }
Answer: characters