Question: Which one, Burlington (the one whose native label is Burlington) or Canton, has less population?
Choices:
Canton
Boulder
Burlington
Franklin
Compton
Lansing
Greenville
Columbus
New Haven
Oakland
Program:
function: Find
inputs: Burlington
function: FilterStr
dependencies: 0
inputs: native label
Burlington
function: Find
inputs: Canton
function: SelectBetween
dependencies: 1
2
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Burlington" . ?e <native_label> ?pv_1 . ?pv_1 <pred:value> "Burlington" . } UNION { ?e <pred:name> "Canton" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Burlington