Question: Which area is larger, St. Lawrence County or Niagara County?
Choices:
Clinton County
St. Lawrence County
Niagara County
Chautauqua County
Warren County
Albany County
Orange County
Cayuga County
Greene County
Jefferson County
Program:
function: Find
inputs: St. Lawrence County
function: Find
inputs: Niagara County
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "St. Lawrence County" .  } UNION { ?e <pred:name> "Niagara County" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: St. Lawrence County