Question: What is the series ordinal of Hercules (the one whose publication date is 1997-11-20) which features Bobcat Goldthwalt as a voice actor?
Choices:
28
15
6
109
46
31
39
14
40
35
Answer: 14
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Hercules" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "1997-11-20"^^xsd:date . ?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: Hercules
function: FilterDate
dependencies: 0
inputs: publication date
1997-11-20
=
function: Find
inputs: Bobcat Goldthwait
function: QueryRelationQualifier
dependencies: 1
2
inputs: voice actor
series ordinal