Question: Which has fewer people, Lewiston or Annapolis whose nickname is America's Sailing Capital?
Choices: Lansing
Annapolis
Oakland
Franklin
Columbus
New Haven
Boulder
Compton
Lewiston
Waukegan
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lewiston" . } UNION { ?e <pred:name> "Annapolis" . ?e <nickname> ?pv_1 . ?pv_1 <pred:value> "America's Sailing Capital" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Lewiston
function: Find
inputs: Annapolis
function: FilterStr
dependencies: 1
inputs: nickname
America's Sailing Capital
function: SelectBetween
dependencies: 0
2
inputs: population
less
Answer: Lewiston