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