Question: Which United States counties have a population greater than 2500 and a FIPS 6-4 code that is 49005?
Choices:
Kent County
Orange County
Norristown
Cache County
Santa Fe County
Teton County
Douglas County
Wood County
Linn County
Washoe County
Answer: Cache County
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "administrative territorial entity" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "2500"^^xsd:double ) . ?e <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> "49005" .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
2500
!=
function: FilterConcept
dependencies: 1
inputs: administrative territorial entity
function: FindAll
function: FilterStr
dependencies: 3
inputs: FIPS 6-4 (US counties)
49005
function: FilterConcept
dependencies: 4
inputs: administrative territorial entity
function: And
dependencies: 2
5
function: What
dependencies: 6