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