Datalog: Bag Semantics via Set Semantics

03/17/2018
by   Leopoldo Bertossi, et al.
0

Duplicates in data management are common and problematic. In this work, we present a translation of Datalog under bag semantics into a well-behaved extension of Datalog (the so-called warded Datalog+-) under set semantics. From a theoretical point of view, this allows us to reason on bag semantics by making use of the well-established theoretical foundations of set semantics. From a practical point of view, this allows us to handle the bag semantics of Datalog by powerful, existing query engines for the required extension of Datalog. Moreover, this translation has the potential for further extensions -- above all to capture the bag semantics of the semantic web query language SPARQL.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
12/23/2021

Determinacy of Real Conjunctive Queries. The Boolean Case

In their classical 1993 paper [CV93] Chaudhuri and Vardi notice that som...
research
11/23/2022

Run-Based Semantics for RPQs

The formalism of RPQs (regular path queries) is an important building bl...
research
06/24/2019

Bag Query Containment and Information Theory

The query containment problem is a fundamental algorithmic problem in da...
research
02/18/2016

A General Modifier-based Framework for Inconsistency-Tolerant Query Answering

We propose a general framework for inconsistency-tolerant query answerin...
research
08/25/2023

Discovering Dichotomies for Problems in Database Theory

Dichotomy theorems, which characterize the conditions under which a prob...
research
11/07/2019

Query-bag Matching with Mutual Coverage for Information-seeking Conversations in E-commerce

Information-seeking conversation system aims at satisfying the informati...
research
12/23/2021

A Point-free Perspective on Lax extensions and Predicate liftings

In this paper we have a fresh look at the connection between lax extensi...

Please sign up or login with your details

Forgot password? Click here to reset