Question: Which county of North Carolina has under 2,800,000,000 inhabitants, with the capital Fayetteville  (the one whose area is 387.425611 square kilometres) ?
Choices:
Mecklenburg County
Davidson County
Franklin County
Wake County
Madison County
Brunswick County
Cumberland County
Guilford County
Buncombe County
Polk County
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
2800000000
<
function: FilterConcept
dependencies: 1
inputs: county of North Carolina
function: Find
inputs: Fayetteville
function: FilterNum
dependencies: 3
inputs: area
387.425611 square kilometre
=
function: Relate
dependencies: 4
inputs: capital
backward
function: FilterConcept
dependencies: 5
inputs: county of North Carolina
function: And
dependencies: 2
6
function: What
dependencies: 7
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of North Carolina" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "2800000000"^^xsd:double ) . ?e <capital> ?e_1 . ?e_1 <pred:name> "Fayetteville" . ?e_1 <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "387.425611"^^xsd:double .  }
Answer: Cumberland County