Question: Which has fewer people, Hamilton (the one whose PermID is 5035752191) or Fort Collins?
Choices:
Waukegan
Franklin
Boulder
Compton
Lansing
Fort Collins
Hamilton
Greenville
Oakland
Columbus
Program:
function: Find
inputs: Hamilton
function: FilterStr
dependencies: 0
inputs: PermID
5035752191
function: Find
inputs: Fort Collins
function: SelectBetween
dependencies: 1
2
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hamilton" . ?e <PermID> ?pv_1 . ?pv_1 <pred:value> "5035752191" . } UNION { ?e <pred:name> "Fort Collins" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Hamilton