Question: Which has more people, Las Cruces or Monterey?
Choices:
Oakland
New Haven
Monterey
Boulder
Waukegan
Franklin
Las Cruces
Columbus
Greenville
Compton
Program:
function: Find
inputs: Las Cruces
function: Find
inputs: Monterey
function: SelectBetween
dependencies: 0
1
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Las Cruces" .  } UNION { ?e <pred:name> "Monterey" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Las Cruces