Question: Which has lower elevation above sea level, Porter County or Lake County (the one whose population is 496052)?
Choices:
Johnson County
Monroe County
Allen County
Marion County
Hancock County
Franklin County
Delaware County
Madison County
Lake County
Porter County
Program:
function: Find
inputs: Porter County
function: Find
inputs: Lake County
function: FilterNum
dependencies: 1
inputs: population
496052
=
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Porter County" . } UNION { ?e <pred:name> "Lake County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "496052"^^xsd:double . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Lake County