Question: What is the series ordinal of Hercules (the one whose composer is Alan Menken) which features Bobcat Goldthwait as a voice actor?
Choices: 15
45
68
14
47
28
17
44
9
35
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Hercules" . ?e_1 <composer> ?e_3 . ?e_3 <pred:name> "Alan Menken" . ?e_2 <pred:name> "Bobcat Goldthwait" . ?e_1 <voice_actor> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <voice_actor> ; <pred:fact_t> ?e_2 ] <series_ordinal> ?qpv .  }
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: Bobcat Goldthwait
function: QueryRelationQualifier
dependencies: 3
4
inputs: voice actor
series ordinal
Answer: 14