Question: How many counties in Florida were founded before 1925 and have a population over 70,000?
Choices:
13
14
15
16
17
18
19
20
21
22
Answer: 18
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Florida" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1925 ) . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > "70000"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1925
<
function: FilterConcept
dependencies: 1
inputs: county of Florida
function: FindAll
function: FilterNum
dependencies: 3
inputs: population
70000
>
function: FilterConcept
dependencies: 4
inputs: county of Florida
function: And
dependencies: 2
5
function: Count
dependencies: 6