Question: Is the population count lower in the Worcester that's the capital of Worcester County or in Canton?
Choices:
Canton
Columbus
Lansing
Compton
New Haven
Waukegan
Worcester
Greenville
Franklin
Oakland
Answer: Canton
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Worcester" . ?e <capital_of> ?e_1 . ?e_1 <pred:name> "Worcester County" .   } UNION { ?e <pred:name> "Canton" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Worcester County
function: Relate
dependencies: 0
inputs: capital of
backward
function: Find
inputs: Worcester
function: And
dependencies: 1
2
function: Find
inputs: Canton
function: SelectBetween
dependencies: 3
4
inputs: population
less