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