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