Question: Which has more population, Davis that is headed by councillor or Greensboro?
Choices:
Davis
Franklin
Waukegan
Boulder
Columbus
Compton
Greensboro
Greenville
Oakland
Lansing
Program:
function: Find
inputs: councillor
function: Relate
dependencies: 0
inputs: office held by head of government
backward
function: Find
inputs: Davis
function: And
dependencies: 1
2
function: Find
inputs: Greensboro
function: SelectBetween
dependencies: 3
4
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Davis" . ?e <office_held_by_head_of_government> ?e_1 . ?e_1 <pred:name> "councillor" .   } UNION { ?e <pred:name> "Greensboro" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Greensboro