Question: Which area is larger, Washington County (the one that partially contains Adirondack Mountains) or Wayne County (the one whose population is 93772)?
Choices:
Jefferson County
Cayuga County
Warren County
Orange County
Albany County
Niagara County
Washington County
Rensselaer County
Clinton County
Wayne County
Program:
function: Find
inputs: Adirondack Mountains
function: Relate
dependencies: 0
inputs: partially contains
backward
function: Find
inputs: Washington County
function: And
dependencies: 1
2
function: Find
inputs: Wayne County
function: FilterNum
dependencies: 4
inputs: population
93772
=
function: SelectBetween
dependencies: 3
5
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Washington County" . ?e <partially_contains> ?e_1 . ?e_1 <pred:name> "Adirondack Mountains" . } UNION { ?e <pred:name> "Wayne County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "93772"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Wayne County