Question: How many visual artworks were published before 2016 ?
Choices:
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
Answer: 2489
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 < 2016 ) .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
2016
<
function: FilterConcept
dependencies: 1
inputs: visual artwork
function: Count
dependencies: 2