Question: Which has less area, Orange County that borders Rockland County or Onondaga County?
Choices: Warren County
Clinton County
Chautauqua County
Rensselaer County
Niagara County
Greene County
Jefferson County
Cayuga County
Onondaga County
Orange County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Orange County" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Rockland County" .   } UNION { ?e <pred:name> "Onondaga County" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Rockland County
function: Relate
dependencies: 0
inputs: shares border with
backward
function: Find
inputs: Orange County
function: And
dependencies: 1
2
function: Find
inputs: Onondaga County
function: SelectBetween
dependencies: 3
4
inputs: area
less
Answer: Onondaga County