Question: Which area is smaller, Tuscarawas County or Hamilton County (the one that is an administrative division of Ohio)?
Choices:
Tuscarawas County
Stark County
Hamilton County
Wood County
Mahoning County
Wayne County
Erie County
Jefferson County
Summit County
Cuyahoga County
Program:
function: Find
inputs: Tuscarawas County
function: Find
inputs: Ohio
function: Relate
dependencies: 1
inputs: contains administrative territorial entity
forward
function: Find
inputs: Hamilton County
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tuscarawas County" .  } UNION { ?e <pred:name> "Hamilton County" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Ohio" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Hamilton County