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