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