Question: Does Oneida County or Wayne County, which a 3585 square kilometer area, have a larger area?
Choices:
Jefferson County
Clinton County
Cayuga County
Oneida County
Warren County
Greene County
Niagara County
Orange County
Rensselaer County
Wayne County
Program:
function: Find
inputs: Oneida County
function: Find
inputs: Wayne County
function: FilterNum
dependencies: 1
inputs: area
3585 square kilometre
=
function: SelectBetween
dependencies: 0
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Oneida County" . } UNION { ?e <pred:name> "Wayne County" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "3585"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Wayne County