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