Question: How many Alabama counties have an area of 940 square kilometers and share a border with Shelby County whose population is 195844?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: area
940 square kilometre
=
function: FilterConcept
dependencies: 1
inputs: county of Alabama
function: Find
inputs: Shelby County
function: FilterNum
dependencies: 3
inputs: population
195844
=
function: Relate
dependencies: 4
inputs: shares border with
forward
function: FilterConcept
dependencies: 5
inputs: county of Alabama
function: And
dependencies: 2
6
function: Count
dependencies: 7
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Alabama" . ?e <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> "940"^^xsd:double . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Shelby County" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "195844"^^xsd:double .  }
Answer: 0