Question: Do less people live in Waco (the birthplace of Ashlee Simpson) or in Port Arthur?
Choices:
Greenville
Waco
Franklin
Lansing
Oakland
Waukegan
Compton
Boulder
Port Arthur
New Haven
Program:
function: Find
inputs: Ashlee Simpson
function: Relate
dependencies: 0
inputs: place of birth
forward
function: Find
inputs: Waco
function: And
dependencies: 1
2
function: Find
inputs: Port Arthur
function: SelectBetween
dependencies: 3
4
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Waco" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Ashlee Simpson" .   } UNION { ?e <pred:name> "Port Arthur" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Port Arthur