Question: How many agents began after 1917?
Choices:
222
223
224
225
226
227
228
229
230
231
Answer: 224
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "agent" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1917 ) .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1917
>
function: FilterConcept
dependencies: 1
inputs: agent
function: Count
dependencies: 2