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