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