Question: Does St. Cloud or Salinas have more population?
Choices:
Lansing
Boulder
St. Cloud
Waukegan
Greenville
Compton
Franklin
Salinas
Oakland
New Haven
Program:
function: Find
inputs: St. Cloud
function: Find
inputs: Salinas
function: SelectBetween
dependencies: 0
1
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "St. Cloud" .  } UNION { ?e <pred:name> "Salinas" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Salinas