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