Question: What county of Alabama has an estimated population not equal to 4400000 which shares a border with Mobile County?
Choices:
Mobile County
Montgomery County
Washington County
Monroe County
Jefferson County
Jackson County
Dallas County
Madison County
Baldwin County
Shelby County
Answer: Baldwin County
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Alabama" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "4400000"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv . ?qpv <pred:value> "estimation process" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Mobile County" .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
4400000
!=
function: QFilterStr
dependencies: 1
inputs: determination method
estimation process
function: FilterConcept
dependencies: 2
inputs: county of Alabama
function: Find
inputs: Mobile County
function: Relate
dependencies: 4
inputs: shares border with
forward
function: FilterConcept
dependencies: 5
inputs: county of Alabama
function: And
dependencies: 3
6
function: What
dependencies: 7