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