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