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