Question: Which area is smaller, Wood County (the one whose population is 129264) or Wayne County (the one that shares border with Stark County)?
Choices:
Summit County
Tuscarawas County
Wood County
Cuyahoga County
Mahoning County
Jefferson County
Delaware County
Erie County
Carroll County
Wayne County
Answer: Wayne County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Wood County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "129264"^^xsd:double . } UNION { ?e <pred:name> "Wayne County" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Stark County" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Wood County
function: FilterNum
dependencies: 0
inputs: population
129264
=
function: Find
inputs: Stark County
function: Relate
dependencies: 2
inputs: shares border with
forward
function: Find
inputs: Wayne County
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: area
less