Question: Which area has fewer people, Perth Amboy or Passaic?
Choices:
Jersey City
East Orange
Plainfield
Atlantic City
Hoboken
Paterson
Trenton
Bayonne
Perth Amboy
Passaic
Program:
function: Find
inputs: Perth Amboy
function: Find
inputs: Passaic
function: SelectBetween
dependencies: 0
1
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Perth Amboy" .  } UNION { ?e <pred:name> "Passaic" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Perth Amboy