Question: Which area is larger, Delaware County (the one that shares border with Licking County) or Licking County?
Choices:
Cuyahoga County
Erie County
Delaware County
Summit County
Jefferson County
Licking County
Mahoning County
Tuscarawas County
Stark County
Wood County
Program:
function: Find
inputs: Licking County
function: Relate
dependencies: 0
inputs: shares border with
forward
function: Find
inputs: Delaware 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> "Delaware County" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Licking County" .   } UNION { ?e <pred:name> "Licking County" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Licking County