Region connection calculus
The region connection calculus is intended to serve for qualitative spatial representation and reasoning. RCC abstractly describes regions by their possible relations to each other. RCC8 consists of 8 basic relations that are possible between two regions:
- disconnected
- externally connected
- equal
- partially overlapping
- tangential proper part
- tangential proper part inverse
- non-tangential proper part
- non-tangential proper part inverse
Axioms
RCC is governed by two axioms.- for any region x, x connects with itself
- for any region x, y, if x connects with y, y will connects with x
Remark on the axioms
Composition table
The composition table of RCC8 are as follows:o | DC | EC | PO | TPP | NTPP | TPPi | NTPPi | EQ |
DC | * | DC,EC,PO,TPP,NTPP | DC,EC,PO,TPP,NTPP | DC,EC,PO,TPP,NTPP | DC,EC,PO,TPP,NTPP | DC | DC | DC |
EC | DC,EC,PO,TPPi,NTPPi | DC,EC,PO,TPP,TPPi,EQ | DC,EC,PO,TPP,NTPP | EC,PO,TPP,NTPP | PO,TPP,NTPP | DC,EC | DC | EC |
PO | DC,EC,PO,TPPi,NTPPi | DC,EC,PO,TPPi,NTPPi | * | PO,TPP,NTPP | PO,TPP,NTPP | DC,EC,PO,TPPi,NTPPi | DC,EC,PO,TPPi,NTPPi | PO |
TPP | DC | DC,EC | DC,EC,PO,TPP,NTPP | TPP,NTPP | NTPP | DC,EC,PO,TPP,TPPi,EQ | DC,EC,PO,TPPi,NTPPi | TPP |
NTPP | DC | DC | DC,EC,PO,TPP,NTPP | NTPP | NTPP | DC,EC,PO,TPP,NTPP | * | NTPP |
TPPi | DC,EC,PO,TPPi,NTPPi | EC,PO,TPPi,NTPPi | PO,TPPi,NTPPi | PO,TPP,TPPi,EQ | PO,TPP,NTPP | TPPi,NTPPi | NTPPi | TPPi |
NTPPi | DC,EC,PO,TPPi,NTPPi | PO,TPPi,NTPPi | PO,TPPi,NTPPi | PO,TPPi,NTPPi | PO,TPP,NTPP,TPPi,NTPPi,EQ | NTPPi | NTPPi | NTPPi |
EQ | DC | EC | PO | TPP | NTPP | TPPi | NTPPi | EQ |
- "*" denotes the universal relation.
Examples
The spatial configuration can be formalized in RCC8 as the following constraint network:
house1 DC house2
house1 property1
house1 property2
house1 EC road
house2 property1
house2 NTPP property2
house2 EC road
property1 property2
road property1
road property2
Using the RCC8 composition table and the path-consistency algorithm, we can refine the network in the following way:
road property1
road property2
That is, the road either overlaps with the second property, or is even part of it.
Other versions of the region connection calculus include RCC5 and RCC23.
RCC8 use in GeoSPARQL
RCC8 has been partially implemented in GeoSPARQL as described below:Implementations
- is a reasoner for RCC-5, RCC-8, and RCC-23