Question: Does Lancaster County (whose population is 306468) or Cass County (that is an administrative division of Missouri) have less area?
Choices:
Washoe County
Delaware County
Cass County
African Union
Lee County
Greene County
Kent County
Lancaster County
San Juan County
United States Virgin Islands
Program:
function: Find
inputs: Lancaster County
function: FilterNum
dependencies: 0
inputs: population
306468
=
function: Find
inputs: Missouri
function: Relate
dependencies: 2
inputs: contains administrative territorial entity
forward
function: Find
inputs: Cass County
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lancaster County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "306468"^^xsd:double . } UNION { ?e <pred:name> "Cass County" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Missouri" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Cass County