Question: Which area is smaller, Bristol County (the one whose area is 116 square kilometre) or Fulton County (the one whose population is 977129)?
Choices:
San Juan County
Fulton County
Lee County
Cass County
African Union
Orange County
Kent County
Delaware County
Washoe County
Bristol County
Program:
function: Find
inputs: Bristol County
function: FilterNum
dependencies: 0
inputs: area
116 square kilometre
=
function: Find
inputs: Fulton County
function: FilterNum
dependencies: 2
inputs: population
977129
=
function: SelectBetween
dependencies: 1
3
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bristol County" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "116"^^xsd:double . } UNION { ?e <pred:name> "Fulton County" . ?e <population> ?pv_2 . ?pv_2 <pred:unit> "1" . ?pv_2 <pred:value> "977129"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Bristol County