Question: How many agencies were established prior to 1919?
Choices:
104
105
106
107
108
109
110
111
112
113
Answer: 108
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 < 1919 ) .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1919
<
function: FilterConcept
dependencies: 1
inputs: agent
function: Count
dependencies: 2