Question: How many episodes in the TV series based on Rush Hour (the one whose publication date is 1999-03-25)?
Choices:
18
139
112
124
13
284
13858
7316
232
70
Answer: 13
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <based_on> ?e_1 . ?e_1 <pred:name> "Rush Hour" . ?e_1 <publication_date> ?pv_1 . ?pv_1 <pred:date> "1999-03-25"^^xsd:date . ?e <number_of_episodes> ?pv .  }
Program:
function: Find
inputs: Rush Hour
function: FilterDate
dependencies: 0
inputs: publication date
1999-03-25
=
function: Relate
dependencies: 1
inputs: based on
backward
function: FilterConcept
dependencies: 2
inputs: television series
function: QueryAttr
dependencies: 3
inputs: number of episodes