Question: What has a larger population, High Point or the city Phish was formed in, Burlington?
Choices:
Boulder
Greenville
Compton
Waukegan
Oakland
Burlington
New Haven
Columbus
High Point
Franklin
Program:
function: Find
inputs: Phish
function: Relate
dependencies: 0
inputs: location of formation
forward
function: Find
inputs: Burlington
function: And
dependencies: 1
2
function: Find
inputs: High Point
function: SelectBetween
dependencies: 3
4
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Burlington" . ?e_1 <location_of_formation> ?e . ?e_1 <pred:name> "Phish" .   } UNION { ?e <pred:name> "High Point" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: High Point