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