Question: Does Henrico County or Northampton County (the one whose population is 12389) have less area?
Choices:
Fairfax County
Albemarle County
Warren County
Loudoun County
Augusta County
Henrico County
Northampton County
Prince William County
Greene County
Frederick County
Program:
function: Find
inputs: Henrico County
function: Find
inputs: Northampton County
function: FilterNum
dependencies: 1
inputs: population
12389
=
function: SelectBetween
dependencies: 0
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Henrico County" . } UNION { ?e <pred:name> "Northampton County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "12389"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Henrico County