Question: Which area is larger, Hastings (the one whose inception time is 1857) or Gary (the one whose population is 80294)?
Choices: Lansing
Franklin
Greenville
Compton
Hastings
New Haven
Boulder
Columbus
Waukegan
Gary
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hastings" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1857 . } UNION { ?e <pred:name> "Gary" . ?e <population> ?pv_2 . ?pv_2 <pred:unit> "1" . ?pv_2 <pred:value> "80294"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Hastings
function: FilterYear
dependencies: 0
inputs: inception
1857
=
function: Find
inputs: Gary
function: FilterNum
dependencies: 2
inputs: population
80294
=
function: SelectBetween
dependencies: 1
3
inputs: area
greater
Answer: Gary