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