Question: How many television films were published before 2012?
Choices:
119
120
121
122
123
124
125
126
127
128
Answer: 121
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television film" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2012 ) .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
2012
<
function: FilterConcept
dependencies: 1
inputs: television film
function: Count
dependencies: 2