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