Question: Does Beaumont or the Odessa that's in the USA have fewer inhabitants?
Choices:
Oakland
Beaumont
New Haven
Franklin
Boulder
Lansing
Greenville
Waukegan
Compton
Odessa
Program:
function: Find
inputs: Beaumont
function: Find
inputs: United States of America
function: Relate
dependencies: 1
inputs: country
backward
function: Find
inputs: Odessa
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Beaumont" .  } UNION { ?e <pred:name> "Odessa" . ?e <country> ?e_1 . ?e_1 <pred:name> "United States of America" .   } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Odessa