6 COMPARISONS
The crucial feature of our approach to semistructured
databases distinguishing it from others such as Lorel
(Abiteboul et al., 1997) and (even the most closest
to our approach) UnQL (Buneman et al., 2000) is its
(hyper)set theoretical character. Also the query lan-
guage ∆ has mathematically precise description of its
expressive power (as P-time) which makes it suffi-
ciently complete from the theoretical point of view.
In this sense our approach is top-down—from theory
to practice.
Some important aspects from the practical point
of view such as path expressions are currently not in-
cluded in the language, unlike the approaches from
op. cit., however being formally definable in the orig-
inal ∆ and pending implementation. As to the UnQL
language and the related language UnCAL, they were
shown to be embeddable in Delta, but not vice versa;
see the technical details in (Sazonov, 2006). In a sense
the same holds for Lorel. (Here we do not take into
account that Lorel was later migrated to the query lan-
guage to XML, where the order plays an essential
role.) The original Lorel deals with graphs, like ∆,
but it considers literal equality between graph nodes
(oids) instead of using bisimulation relation. Lorel
also uses equality between sets of oids, which, how-
ever, is not “deep” set equality assumed by bisimula-
tion. Therefore, Lorel would treat our example with
BibDB
differently, and only very informal comparison
is possible. Thus, Lorel can be said to be also strictly
embeddable in ∆ (ignoring path variables potentially
leading to the exponential complexity and, for sim-
plicity, some aspects like typing and coercion). There
is no recursion operator (except Kleene’s star in path
expressions) and nothing similar to decoration opera-
tor (important for deep restructuring) in Lorel. (How-
ever StruQL can do something reminding decoration;
see e.g. (Abiteboul et al., 2000).) In a sense hyperset
(∆) vs. graph approaches (UnQL and Lorel) compli-
ment each other. Finally, our implementation assumes
distributed WDB, like WWW.
7 CONCLUSION
Although ∆ does not include yet path expressions and
some other useful explicit constructs of the languages
UnQL and Lorel, we already have a working and quite
expressive (in a sense more expressive) query lan-
guage, and this was our current goal. Of course, there
is a lot to do for making this a full-fledged and ef-
ficient (hyper) Set based WDB Management System
(WDBMS or SDBMS).
REFERENCES
Abiteboul, S., Buneman, P., and Suciu, D. (2000). Data on
the Web - From Relations to Semi-structured Data and
XML. Morgan Kaufmann Publishers, San Francisco,
California.
Abiteboul, S., Quass, D., McHugh, J., Widom, J., and
Wiener, J. L. (1997). The Lorel query language for
semistructured data. International Journal on Digital
Libraries, 1(1):68–88.
Aczel, P. (1988). Non-Well-Founded Sets. CSLI, Stanford,
CA.
Barwise, J. (1975). Admissible Sets and Structures.
Springer, Berlin.
Barwise, J. and Moss, L. (1996). Vicious circles: on the
mathematics of non-wellfounded phenomena. Center
for the Study of Language and Information.
Buneman, P., Fernandez, M., and Suciu, D. (2000). UnQL:
a query language and algebra for semistructured data
based on structural recursion. The VLDB Journal,
9(1):76–110.
Codd, E. F. (1983). A relational model of data for large
shared data banks. Communications of the ACM,
26(1):64–69.
Dahlhaus, E. and Makowsky, J. A. (1986). The choice of
programming primitives for SETL-like programming
languages. In ESOP’86, LNCS 213, pages 160–172.
Dahlhaus, E. and Makowsky, J. A. (1992). Query languages
for hierarchic databases. Information and Computa-
tion, 101:1–32.
Delta-WDB Site (2007).
http://www.csc.liv.ac.uk/
˜
molyneux/ICSOFT2007appendix/
.
Leontjev, A. and Sazonov, V. (2001). ∆: Set-theoretic query
language capturing logspace. Annals of Mathematics
and Artificial Intelligence, 33:309–345.
Lisitsa, A. and Sazonov, V. (1999). Linear ordering on
graphs, anti-founded sets and polynomial time com-
putability. Theoretical Computer Science, 224(1–
2):173–213.
Lisitsa, A. and Sazonov, V. Y. (1997). Bounded hyperset
theory and web-like data bases. In Proceedings of the
Kurt Goedel Colloquium (KGC 1997), volume 1234,
pages 178–188.
McHugh, J., Abiteboul, S., Goldman, R., Quass, D., and
Widom, J. (1997). Lore: A database management
system for semistructured data. SIGMOD Record,
26(3):54–66.
Sazonov, V. Y. (1987). Bounded set theory, polynomial
computability and ∆-programming. In Lect. Not.
Comput. Sci., volume 278, pages 391–397.
Sazonov, V. Y. (1993). Hereditarily-finite sets, data bases
and polynomial-time computability. Theoretical Com-
puter Science, 119(1):187–214.
Sazonov, V. Y. (2001). Using agents for concurrent query-
ing of web-like databases via a hyperset-theoretic ap-
proach. In PSI ’02: 4th International Andrei Er-
shov Memorial Conference on Perspectives of System
Informatics, pages 378–394, London, UK. Springer-
Verlag.
Sazonov, V. Y. (2006). Querying hyperset / Web-like
databases. Logic Journal of the IGPL, 14(5):785–814.
HYPERSET/WEB-LIKE DATABASES AND THE EXPERIMENTAL IMPLEMENTATION OF THE QUERY
LANGUAGE DELTA - Current State of Affairs
37