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