Question: What number of Alabama counties share borders with Jackson county (which has a 39 license plate code) and Mobile County?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Mobile County
function: Relate
dependencies: 0
inputs: shares border with
backward
function: FilterConcept
dependencies: 1
inputs: county of Alabama
function: Find
inputs: Jackson County
function: FilterStr
dependencies: 3
inputs: licence plate code
39
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 <shares_border_with> ?e_1 . ?e_1 <pred:name> "Mobile County" .  ?e_2 <shares_border_with> ?e . ?e_2 <pred:name> "Jackson County" . ?e_2 <licence_plate_code> ?pv . ?pv <pred:value> "39" .  }
Answer: 0