Question: Which Maryland county shares a border with Prince William County and does not have a demographic balance population of 63000?
Choices: Fairfax County
Cecil County
Loudoun County
Carroll County
Allegany County
Kent County
Charles County
Frederick County
Washington County
Montgomery County
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Maryland" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "63000"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv . ?qpv <pred:value> "demographic balance" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Prince William County" .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
63000
!=
function: QFilterStr
dependencies: 1
inputs: determination method
demographic balance
function: FilterConcept
dependencies: 2
inputs: county of Maryland
function: Find
inputs: Prince William County
function: Relate
dependencies: 4
inputs: shares border with
forward
function: FilterConcept
dependencies: 5
inputs: county of Maryland
function: And
dependencies: 3
6
function: What
dependencies: 7
Answer: Charles County