Question: Which area is smaller, Washington County (the one whose population is 51137) or Linn County (the one that is located in Iowa)?
Choices:
Orange County
San Juan County
Kent County
African Union
Greene County
Washoe County
Delaware County
Lee County
Linn County
Cass County
Answer: Linn County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Washington County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "51137"^^xsd:double . } UNION { ?e <pred:name> "Linn County" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Iowa" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Washington County
function: FilterNum
dependencies: 0
inputs: population
51137
=
function: Find
inputs: Iowa
function: Relate
dependencies: 2
inputs: located in the administrative territorial entity
backward
function: Find
inputs: Linn County
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: area
less