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