Question: What is the number of Pennsylvania counties with inception time other than 1878 and with a population under 5900000000
Choices:
31
32
33
34
35
36
37
38
39
40
Answer: 38
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Pennsylvania" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1878 ) . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < "5900000000"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1878
!=
function: FilterConcept
dependencies: 1
inputs: county of Pennsylvania
function: FindAll
function: FilterNum
dependencies: 3
inputs: population
5900000000
<
function: FilterConcept
dependencies: 4
inputs: county of Pennsylvania
function: And
dependencies: 2
5
function: Count
dependencies: 6