Question: Is the larger area occupied by Hancock County, population 72520, or Porter County?
Choices:
Lake County
Marion County
Wayne County
Madison County
Franklin County
Delaware County
Johnson County
Allen County
Porter County
Hancock County
Answer: Porter County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hancock County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "72520"^^xsd:double . } UNION { ?e <pred:name> "Porter County" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Hancock County
function: FilterNum
dependencies: 0
inputs: population
72520
=
function: Find
inputs: Porter County
function: SelectBetween
dependencies: 1
2
inputs: area
greater