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