Question: Which location—Bernalillo County or Washington County (population 51096)—has a smaller area?
Choices:
San Juan County
African Union
Lee County
Washington County
Washoe County
Bernalillo County
Delaware County
Kent County
Cass County
Orange County
Program:
function: Find
inputs: Washington County
function: FilterNum
dependencies: 0
inputs: population
51096
=
function: Find
inputs: Bernalillo County
function: SelectBetween
dependencies: 1
2
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> "51096"^^xsd:double . } UNION { ?e <pred:name> "Bernalillo County" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Washington County