Question: Which New York's county has  http://www.clintoncountygov.com as their official website, and also shares a bordr with Essex County (the one whose official website is http://www.co.essex.ny.us)?
Choices:
Orange County
Clinton County
Warren County
Washington County
Niagara County
Hamilton County
Cayuga County
Franklin County
Jefferson County
Albany County
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://www.clintoncountygov.com
function: FilterConcept
dependencies: 1
inputs: county of New York
function: Find
inputs: Essex County
function: FilterStr
dependencies: 3
inputs: official website
http://www.co.essex.ny.us
function: Relate
dependencies: 4
inputs: shares border with
backward
function: FilterConcept
dependencies: 5
inputs: county of New York
function: And
dependencies: 2
6
function: What
dependencies: 7
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of New York" . ?e <official_website> ?pv . ?pv <pred:value> "http://www.clintoncountygov.com" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Essex County" . ?e_1 <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.co.essex.ny.us" .  }
Answer: Clinton County