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