Question: tell me the one with a larger area, St. Joseph (which has a population of 76780) or Chillicothe
Choices:
St. Joseph
Boulder
Waukegan
Oakland
Franklin
Chillicothe
New Haven
Compton
Columbus
Greenville
Program:
function: Find
inputs: St. Joseph
function: FilterNum
dependencies: 0
inputs: population
76780
=
function: Find
inputs: Chillicothe
function: SelectBetween
dependencies: 1
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "St. Joseph" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "76780"^^xsd:double . } UNION { ?e <pred:name> "Chillicothe" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: St. Joseph