Question: Does Essex County, population 6211, or Oklahoma County occupy a smaller space?
Choices:
Delaware County
Cass County
Greene County
Washoe County
San Juan County
Essex County
Orange County
Oklahoma County
Kent County
Lee County
Program:
function: Find
inputs: Essex County
function: FilterNum
dependencies: 0
inputs: population
6211
=
function: Find
inputs: Oklahoma County
function: SelectBetween
dependencies: 1
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Essex County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "6211"^^xsd:double . } UNION { ?e <pred:name> "Oklahoma County" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Essex County