Question: Which one, Ocean County or Gloucester County, has greater area?
Choices:
Monmouth County
Bergen County
Ocean County
Burlington County
Hudson County
Morris County
Passaic County
Hunterdon County
Gloucester County
Essex County
Program:
function: Find
inputs: Ocean County
function: Find
inputs: Gloucester County
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ocean County" .  } UNION { ?e <pred:name> "Gloucester County" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Ocean County