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