Question: How many films were published before 2002?
Choices:
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
Answer: 1473
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2002 ) .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
2002
<
function: FilterConcept
dependencies: 1
inputs: film
function: Count
dependencies: 2