Question: How many New York counties have a population less than 58000000 and were not founded in 1792?
Choices: 35
36
37
38
39
40
41
42
43
44
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of New York" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "58000000"^^xsd:double ) . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 != 1792 ) .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
58000000
<
function: FilterConcept
dependencies: 1
inputs: county of New York
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1792
!=
function: FilterConcept
dependencies: 4
inputs: county of New York
function: And
dependencies: 2
5
function: Count
dependencies: 6
Answer: 44