Question: Which has a higher population count, Hamilton which has a postal code of 45011, or Pine Bluff?
Choices:
Compton
Oakland
Franklin
Lansing
New Haven
Boulder
Hamilton
Waukegan
Greenville
Pine Bluff
Program:
function: Find
inputs: Pine Bluff
function: Find
inputs: Hamilton
function: FilterStr
dependencies: 1
inputs: postal code
45011
function: SelectBetween
dependencies: 0
2
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Pine Bluff" . } UNION { ?e <pred:name> "Hamilton" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> "45011" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Hamilton