Question: Which one has a smaller area, Clinton County (which has a population of 81251) or Warren County (that contains part of the Adirondack Mountains).
Choices:
Clinton County
Orange County
Oswego County
Niagara County
Cayuga County
Jefferson County
Greene County
Chautauqua County
Rensselaer County
Warren County
Answer: Warren County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Clinton County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "81251"^^xsd:double . } UNION { ?e <pred:name> "Warren County" . ?e <partially_contains> ?e_1 . ?e_1 <pred:name> "Adirondack Mountains" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Clinton County
function: FilterNum
dependencies: 0
inputs: population
81251
=
function: Find
inputs: Adirondack Mountains
function: Relate
dependencies: 2
inputs: partially contains
backward
function: Find
inputs: Warren County
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: area
less