Question: How many popular music styles were created earlier than 1980?
Choices:
47
48
49
50
51
52
53
54
55
56
Answer: 53
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "popular music" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1980 ) .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1980
<
function: FilterConcept
dependencies: 1
inputs: popular music
function: Count
dependencies: 2