Question: Which area is smaller, Lucas County or Delaware County (the one that shares border with Licking County)?
Choices:
Wood County
Lucas County
Erie County
Wayne County
Cuyahoga County
Tuscarawas County
Delaware County
Stark County
Jefferson County
Mahoning County
Answer: Delaware County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lucas County" .  } UNION { ?e <pred:name> "Delaware County" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Licking County" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Lucas County
function: Find
inputs: Licking County
function: Relate
dependencies: 1
inputs: shares border with
backward
function: Find
inputs: Delaware County
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
less