Question: How many popular music forms were created earlier than 1997?
Choices:
106
107
108
109
110
111
112
113
114
115
Answer: 113
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 < 1997 ) .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1997
<
function: FilterConcept
dependencies: 1
inputs: popular music
function: Count
dependencies: 2