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