Question: Which area has more people, Concord (the one that is an administrative division of Merrimack County) or Grand Forks?
Choices:
Greenville
Waukegan
Boulder
Concord
Columbus
Lansing
Grand Forks
Compton
Oakland
New Haven
Answer: Grand Forks
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Concord" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Merrimack County" .   } UNION { ?e <pred:name> "Grand Forks" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Merrimack County
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
forward
function: Find
inputs: Concord
function: And
dependencies: 1
2
function: Find
inputs: Grand Forks
function: SelectBetween
dependencies: 3
4
inputs: population
greater