Regular Article
An Algebra for Pomsets,☆☆

https://doi.org/10.1006/inco.1998.2777Get rights and content
Under an Elsevier user license
open archive

Abstract

We study languages for manipulatingpartially orderedstructures withduplicates(e.g., trees, lists). As a general framework, we consider thepomset(partially ordered multiset) data type. We introduce an algebra forpomsets, which generalizes traditional algebras for (nested) sets, bags, and lists. This paper is motivated by the study of the impact of different language primitives on the expressive power. We show that the use of partially ordered types increases the expressive power significantly. Surprisingly, it turns out that the algebra when restricted to both unordered (bags) and totally ordered (lists) intermediate types, yields the same expressive power as fixpoint logic with counting on relational databases. It therefore constitutes a rather robust class of relational queries. On the other hand, we obtain a characterization of PTIME queries on lists by considering only totally ordered types.

Cited by (0)

Work supported in part by the Esprit Project BRA FIDE 2. Work was done while the second author was visiting University of Toronto and supported by the Institute for Robotics and Intelligent Systems. An extended abstract appeared in theProceedings of the 5th International Conference on Database Theory, Prague, 1995.

☆☆

J. Van Leeuwen

f1

E-mail: [email protected]

f2

E-mail: [email protected]