Question: Which is bigger in terms of area: Genesee County, population 59454, or Wayne County, population 91446?
Choices:
Albany County
Genesee County
Warren County
Niagara County
Cayuga County
Jefferson County
Rensselaer County
Wayne County
Orange County
Clinton County
Program:
function: Find
inputs: Genesee County
function: FilterNum
dependencies: 0
inputs: population
59454
=
function: Find
inputs: Wayne County
function: FilterNum
dependencies: 2
inputs: population
91446
=
function: SelectBetween
dependencies: 1
3
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Genesee County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "59454"^^xsd:double . } UNION { ?e <pred:name> "Wayne County" . ?e <population> ?pv_2 . ?pv_2 <pred:unit> "1" . ?pv_2 <pred:value> "91446"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Wayne County