Question: What number of Massachusetts counties have fewer than 590000 and FIPS 6-4 (US counties) is 25013?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Massachusetts" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "590000"^^xsd:double ) . ?e <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> "25013" .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
590000
<
function: FilterConcept
dependencies: 1
inputs: county of Massachusetts
function: FindAll
function: FilterStr
dependencies: 3
inputs: FIPS 6-4 (US counties)
25013
function: FilterConcept
dependencies: 4
inputs: county of Massachusetts
function: And
dependencies: 2
5
function: Count
dependencies: 6