Question: Is the area less for Fairfield County (the one whose population is 919365) or Salt Lake County?
Choices:
Kent County
Delaware County
Orange County
Lee County
Fairfield County
Cass County
Greene County
San Juan County
Salt Lake County
Washoe County
Program:
function: Find
inputs: Fairfield County
function: FilterNum
dependencies: 0
inputs: population
919365
=
function: Find
inputs: Salt Lake County
function: SelectBetween
dependencies: 1
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Fairfield County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "919365"^^xsd:double . } UNION { ?e <pred:name> "Salt Lake County" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Salt Lake County