Question: Which Virginia county that's part of the Washington metro area borders Warren County, population 38037?
Choices: Prince William County
Fauquier County
Loudoun County
Frederick County
Warren County
Arlington County
Northampton County
Albemarle County
Fairfax County
Augusta County
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Virginia" . ?e_1 <has_part> ?e . ?e_1 <pred:name> "Washington metropolitan area" .  ?e_2 <shares_border_with> ?e . ?e_2 <pred:name> "Warren County" . ?e_2 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "38037"^^xsd:double .  }
Program:
function: Find
inputs: Washington metropolitan area
function: Relate
dependencies: 0
inputs: has part
forward
function: FilterConcept
dependencies: 1
inputs: county of Virginia
function: Find
inputs: Warren County
function: FilterNum
dependencies: 3
inputs: population
38037
=
function: Relate
dependencies: 4
inputs: shares border with
forward
function: FilterConcept
dependencies: 5
inputs: county of Virginia
function: And
dependencies: 2
6
function: What
dependencies: 7
Answer: Fauquier County