Question: Which area is larger, Douglas County (the one whose population is 305963) or Veracruz (the one whose elevation (above sea level) is 10 metre)?
Choices:
Greene County
Orange County
Lee County
African Union
Kent County
San Juan County
Douglas County
Delaware County
Cass County
Veracruz
Answer: Douglas County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Douglas County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "305963"^^xsd:double . } UNION { ?e <pred:name> "Veracruz" . ?e <elevation_above_sea_level> ?pv_2 . ?pv_2 <pred:unit> "metre" . ?pv_2 <pred:value> "10"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Douglas County
function: FilterNum
dependencies: 0
inputs: population
305963
=
function: Find
inputs: Veracruz
function: FilterNum
dependencies: 2
inputs: elevation above sea level
10 metre
=
function: SelectBetween
dependencies: 1
3
inputs: area
greater