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