Question: What is the series ordinal of Hercules (the one whose publication date is 1997-06-15) which features Matt Frewer as a voice actor?
Choices:
114
70
64
15
25
5
49
90
4
10
Answer: 15
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Hercules" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "1997-06-15"^^xsd:date . ?e_2 <pred:name> "Matt Frewer" . ?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-15
=
function: Find
inputs: Matt Frewer
function: QueryRelationQualifier
dependencies: 1
2
inputs: voice actor
series ordinal