Question: Which one has more population between Grants Pass and Burlington (whose native label is Burlington)?
Choices:
Boulder
Greenville
New Haven
Columbus
Franklin
Grants Pass
Compton
Oakland
Burlington
Waukegan
Answer: Burlington
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Grants Pass" . } UNION { ?e <pred:name> "Burlington" . ?e <native_label> ?pv_1 . ?pv_1 <pred:value> "Burlington" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Grants Pass
function: Find
inputs: Burlington
function: FilterStr
dependencies: 1
inputs: native label
Burlington
function: SelectBetween
dependencies: 0
2
inputs: population
greater