Question: How many movies were published prior to 1985?
Choices:
783
784
785
786
787
788
789
790
791
792
Answer: 790
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 < 1985 ) .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
1985
<
function: FilterConcept
dependencies: 1
inputs: film
function: Count
dependencies: 2