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