Question: How many visual artworks were published earlier than the year 2010?
Choices:
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
Answer: 2166
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2010 ) .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
2010
<
function: FilterConcept
dependencies: 1
inputs: visual artwork
function: Count
dependencies: 2