Question: Which county of Virginia borders Albemarle County and uses http://www.gcva.us as its official website ?
Choices:
Frederick County
Greene County
Warren County
Prince William County
Henrico County
Rockingham County
Augusta County
Albemarle County
Fairfax County
Loudoun County
Program:
function: Find
inputs: Albemarle County
function: Relate
dependencies: 0
inputs: shares border with
forward
function: FilterConcept
dependencies: 1
inputs: county of Virginia
function: FindAll
function: FilterStr
dependencies: 3
inputs: official website
http://www.gcva.us
function: FilterConcept
dependencies: 4
inputs: county of Virginia
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Virginia" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Albemarle County" .  ?e <official_website> ?pv . ?pv <pred:value> "http://www.gcva.us" .  }
Answer: Greene County