Question: Who has fewer people, London Borough of Tower Hamlets or Gettysburg (the one whose postal code is 17325)?
Choices:
Kent County
Cass County
San Juan County
African Union
Washoe County
Lee County
London Borough of Tower Hamlets
Orange County
Delaware County
Gettysburg
Answer: Gettysburg
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "London Borough of Tower Hamlets" . } UNION { ?e <pred:name> "Gettysburg" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> "17325" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: London Borough of Tower Hamlets
function: Find
inputs: Gettysburg
function: FilterStr
dependencies: 1
inputs: postal code
17325
function: SelectBetween
dependencies: 0
2
inputs: population
less