Question: Is the area greater in Ontario County or Niagara County?
Choices:
Cayuga County
Ontario County
Rensselaer County
Niagara County
Chautauqua County
Orange County
Greene County
Albany County
Jefferson County
Clinton County
Program:
function: Find
inputs: Ontario County
function: Find
inputs: Niagara County
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ontario County" .  } UNION { ?e <pred:name> "Niagara County" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Niagara County