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