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