Question: What number in the Hercules (the one whose publication date is 1997-06-27) series has Bobcat Goldthwait as a voice actor?
Choices:
17
4
30
12
74
42
14
68
38
46
Answer: 14
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Hercules" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "1997-06-27"^^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-06-27
=
function: Find
inputs: Bobcat Goldthwait
function: QueryRelationQualifier
dependencies: 1
2
inputs: voice actor
series ordinal