Question: What is the series ordinal of Hercules that features Paul Shaffer as a voice actor and whose composer is Alan Menken?
Choices:
44
19
7
16
95
18
43
22
39
41
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: Paul Shaffer
function: QueryRelationQualifier
dependencies: 3
4
inputs: voice actor
series ordinal
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> "Paul Shaffer" . ?e_1 <voice_actor> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <voice_actor> ; <pred:fact_t> ?e_2 ] <series_ordinal> ?qpv .  }
Answer: 22