Question: Does Washington County (population 21,697) or Warren County (FIPS 6-4 (US counties) 21227) occupy a smaller space?
Choices:
Lee County
Washoe County
Warren County
San Juan County
Orange County
Washington County
Greene County
Cass County
Kent County
African Union
Program:
function: Find
inputs: Washington County
function: FilterNum
dependencies: 0
inputs: population
21697
=
function: Find
inputs: Warren County
function: FilterStr
dependencies: 2
inputs: FIPS 6-4 (US counties)
21227
function: SelectBetween
dependencies: 1
3
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Washington County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "21697"^^xsd:double . } UNION { ?e <pred:name> "Warren County" . ?e <FIPS_6-4_(US_counties)> ?pv_2 . ?pv_2 <pred:value> "21227" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Warren County