Question: How many genres of music were created later than 1790?
Choices:
55
56
57
58
59
60
61
62
63
64
Answer: 56
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "music genre" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1790 ) .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1790
>
function: FilterConcept
dependencies: 1
inputs: music genre
function: Count
dependencies: 2