Question: Does Montgomery County with 1838 square kilometres or Tazewell County have greater area?
Choices:
Tazewell County
Clinton County
Madison County
Logan County
Montgomery County
DeKalb County
McLean County
McHenry County
Peoria County
Monroe County
Program:
function: Find
inputs: Montgomery County
function: FilterNum
dependencies: 0
inputs: area
1838 square kilometre
=
function: Find
inputs: Tazewell County
function: SelectBetween
dependencies: 1
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Montgomery County" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "1838"^^xsd:double . } UNION { ?e <pred:name> "Tazewell County" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Montgomery County