# A Logic Framework for P2P Deductive Databases

**Authors:** Luciano Caroprese, Ester Zumpano

arXiv: 1905.01545 · 2020-02-19

## TL;DR

This paper introduces a logic framework for P2P deductive databases, defining semantic models for data import and consistency management among peers using maximal and minimal mapping rules.

## Contribution

It proposes three declarative semantics for P2P systems, unifying knowledge integration and repair strategies within a formal logic framework.

## Key findings

- Defines maximal and minimal mapping rules for data import
- Introduces three semantics: Max, Min, and Max-Min Weak Models
- Provides a formal basis for consistency and knowledge sharing in P2P databases

## Abstract

This paper presents a logic framework for modeling the interaction among deductive databases in a P2P (Peer to Peer) environment. Each peer joining a P2P system provides or imports data from its neighbors by using a set of mapping rules, i.e. a set of semantic correspondences to a set of peers belonging to the same environment. Two different types of mapping rules are defined: mapping rules allowing to import a maximal set of atoms not leading to inconsistency (called maximal mapping rules) and mapping rules allowing to import a minimal set of atoms needed to restore consistency (called minimal mapping rules). Implicitly, the use of maximal mapping rules states it is preferable to import as long as no inconsistencies arise; whereas the use of minimal mapping rules states that it is preferable not to import unless a inconsistency exists. The paper presents three different declarative semantics of a P2P system: (i) the Max Weak Model Semantics, in which mapping rules are used to import as much knowledge as possible} from a peer's neighborhood without violating local integrity constraints; (ii) the Min Weak Model Semantics, in which the P2P system can be locally inconsistent and the information provided by the neighbors is used to restore consistency, that is to only integrate the missing portion of a correct, but incomplete database; (iii) the Max-Min Weak Model Semantics that unifies the previous two different perspectives captured by the Max Weak Model Semantics and Min Weak Model Semantics. This last semantics allows to characterize each peer in the neighborhood as a resource used either to enrich (integrate) or to fix (repair) the knowledge, so as to define a kind of integrate-repair strategy for each peer.   Under consideration in Theory and Practice of Logic Programming (TPLP).

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1905.01545/full.md

## Figures

8 figures with captions in the complete paper: https://tomesphere.com/paper/1905.01545/full.md

## References

61 references — full list in the complete paper: https://tomesphere.com/paper/1905.01545/full.md

---
Source: https://tomesphere.com/paper/1905.01545