Question: Does Monroe County (whose FIPS 6-4 for US counties is 17133) or Lake County (whose population is 703019) have the larger area?
Choices:
DuPage County
Logan County
Monroe County
Clinton County
McHenry County
Peoria County
DeKalb County
McLean County
Madison County
Lake County
Answer: Lake County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Monroe County" . ?e <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> "17133" . } UNION { ?e <pred:name> "Lake County" . ?e <population> ?pv_2 . ?pv_2 <pred:unit> "1" . ?pv_2 <pred:value> "703019"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Monroe County
function: FilterStr
dependencies: 0
inputs: FIPS 6-4 (US counties)
17133
function: Find
inputs: Lake County
function: FilterNum
dependencies: 2
inputs: population
703019
=
function: SelectBetween
dependencies: 1
3
inputs: area
greater