Question: Which has less population, Columbus (the birthplace of Andrea Bowen) or Myrtle Beach?
Choices:
Columbus
Boulder
Franklin
Waukegan
Compton
Lansing
Greenville
New Haven
Myrtle Beach
New Britain
Program:
function: Find
inputs: Andrea Bowen
function: Relate
dependencies: 0
inputs: place of birth
forward
function: Find
inputs: Columbus
function: And
dependencies: 1
2
function: Find
inputs: Myrtle Beach
function: SelectBetween
dependencies: 3
4
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Columbus" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Andrea Bowen" .   } UNION { ?e <pred:name> "Myrtle Beach" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Myrtle Beach