Question: What is the series number for Rocky IV that is a part of Rocky (whose release date is 1976)?
Choices:
42
34
47
23
97
114
70
4
7
29
Answer: 4
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Rocky IV" . ?e_2 <pred:name> "Rocky" . ?e_2 <publication_date> ?pv . ?pv <pred:year> 1976 . ?e_1 <part_of_the_series> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <part_of_the_series> ; <pred:fact_t> ?e_2 ] <series_ordinal> ?qpv .  }
Program:
function: Find
inputs: Rocky IV
function: Find
inputs: Rocky
function: FilterYear
dependencies: 1
inputs: publication date
1976
=
function: QueryRelationQualifier
dependencies: 0
2
inputs: part of the series
series ordinal