Question: Tell me the number of administrative territorial entities that have an inception time prior to 1870.
Choices:
122
123
124
125
126
127
128
129
130
131
Answer: 123
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "administrative territorial entity" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1870 ) .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1870
<
function: FilterConcept
dependencies: 1
inputs: administrative territorial entity
function: Count
dependencies: 2