Question: Which Virginia county borders Warren County, population 39083?
Choices:
Henrico County
Westmoreland County
Fairfax County
Fauquier County
Warren County
Frederick County
Augusta County
Loudoun County
Albemarle County
Northampton County
Answer: Fauquier County
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Virginia" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Warren County" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "39083"^^xsd:double .   }
Program:
function: Find
inputs: Warren County
function: FilterNum
dependencies: 0
inputs: population
39083
=
function: Relate
dependencies: 1
inputs: shares border with
backward
function: FilterConcept
dependencies: 2
inputs: county of Virginia
function: What
dependencies: 3