Question: Which has fewer people, New Caledonia or Gettysburg (the one whose postal code is 17325)?
Choices:
Greene County
Cass County
Gettysburg
Washoe County
New Caledonia
Orange County
Lee County
Delaware County
African Union
San Juan County
Program:
function: Find
inputs: New Caledonia
function: Find
inputs: Gettysburg
function: FilterStr
dependencies: 1
inputs: postal code
17325
function: SelectBetween
dependencies: 0
2
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "New Caledonia" . } 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
Answer: Gettysburg