Question: Which Virginia county bordering Charlottesville has a population of 100,805?
Choices:
Henrico County
Warren County
Loudoun County
Frederick County
Northampton County
Greene County
Fauquier County
Augusta County
Albemarle County
Prince William County
Program:
function: Find
inputs: Charlottesville
function: Relate
dependencies: 0
inputs: shares border with
forward
function: FilterConcept
dependencies: 1
inputs: county of Virginia
function: FindAll
function: FilterNum
dependencies: 3
inputs: population
100805
=
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> "Charlottesville" .  ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "100805"^^xsd:double .  }
Answer: Albemarle County