Question: Which area is smaller, Franklin County (the one that shares border with St. Lawrence County) or Otsego County?
Choices: Clinton County
Greene County
Rensselaer County
Cayuga County
Otsego County
Niagara County
Franklin County
Jefferson County
Albany County
Warren County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Franklin County" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "St. Lawrence County" .   } UNION { ?e <pred:name> "Otsego County" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: St. Lawrence County
function: Relate
dependencies: 0
inputs: shares border with
backward
function: Find
inputs: Franklin County
function: And
dependencies: 1
2
function: Find
inputs: Otsego County
function: SelectBetween
dependencies: 3
4
inputs: area
less
Answer: Otsego County