Question: Which area is smaller, Montgomery County (the one whose Dewey Decimal Classification is 2--77172) or Greene County (the one whose population is 163219)?
Choices:
Wood County
Stark County
Erie County
Greene County
Montgomery County
Cuyahoga County
Wayne County
Delaware County
Tuscarawas County
Summit County
Program:
function: Find
inputs: Montgomery County
function: FilterStr
dependencies: 0
inputs: Dewey Decimal Classification
2--77172
function: Find
inputs: Greene County
function: FilterNum
dependencies: 2
inputs: population
163219
=
function: SelectBetween
dependencies: 1
3
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Montgomery County" . ?e <Dewey_Decimal_Classification> ?pv_1 . ?pv_1 <pred:value> "2--77172" . } UNION { ?e <pred:name> "Greene County" . ?e <population> ?pv_2 . ?pv_2 <pred:unit> "1" . ?pv_2 <pred:value> "163219"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Greene County