Question: Which has less area, St. Lawrence County or Tompkins County?
Choices:
Greene County
Jefferson County
Niagara County
St. Lawrence County
Clinton County
Rensselaer County
Warren County
Orange County
Tompkins County
Cayuga County
Program:
function: Find
inputs: St. Lawrence County
function: Find
inputs: Tompkins County
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "St. Lawrence County" .  } UNION { ?e <pred:name> "Tompkins County" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Tompkins County