Question: How many medals are the namesake for the TV episode publicly released on 1997-08-08?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "medal" . ?e_1 <named_after> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "television series episode" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "1997-08-08"^^xsd:date .   }
Program:
function: FindAll
function: FilterDate
dependencies: 0
inputs: publication date
1997-08-08
=
function: FilterConcept
dependencies: 1
inputs: television series episode
function: Relate
dependencies: 2
inputs: named after
forward
function: FilterConcept
dependencies: 3
inputs: medal
function: Count
dependencies: 4