Question: Which has fewer people, Newport Beach or Augusta (the one that is the capital of Kennebec County)?
Choices:
Columbus
Augusta
Lansing
Franklin
Newport Beach
Oakland
Greenville
Boulder
New Haven
Compton
Answer: Augusta
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Newport Beach" .  } UNION { ?e <pred:name> "Augusta" . ?e <capital_of> ?e_1 . ?e_1 <pred:name> "Kennebec County" .   } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Newport Beach
function: Find
inputs: Kennebec County
function: Relate
dependencies: 1
inputs: capital of
backward
function: Find
inputs: Augusta
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: population
less