Question: Does Jefferson City or Jamestown have the larger population?
Choices:
Columbus
Jefferson City
Boulder
Greenville
Lansing
New Haven
Jamestown
Compton
Oakland
Franklin
Program:
function: Find
inputs: Jefferson City
function: Find
inputs: Jamestown
function: SelectBetween
dependencies: 0
1
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jefferson City" .  } UNION { ?e <pred:name> "Jamestown" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Jefferson City