Question: Part of which series number of Law & Order (the one whose number of seasons is 20) is Angel, released on 14th November 1997 ?
Choices:
16
13
35
36
119
38
28
19
47
5
Answer: 119
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Angel" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "1997-11-14"^^xsd:date . ?e_2 <pred:name> "Law & Order" . ?e_2 <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "20"^^xsd:double . ?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: Angel
function: FilterDate
dependencies: 0
inputs: publication date
1997-11-14
=
function: Find
inputs: Law & Order
function: FilterNum
dependencies: 2
inputs: number of seasons
20
=
function: QueryRelationQualifier
dependencies: 1
3
inputs: part of the series
series ordinal