Question: How many musical styles were established earlier than 1998?
Choices:
55
56
57
58
59
60
61
62
63
64
Answer: 57
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 < 1998 ) .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1998
<
function: FilterConcept
dependencies: 1
inputs: music genre
function: Count
dependencies: 2