Path Constraints on Deterministic Graphs

Loading...
Thumbnail Image
Penn collection
Technical Reports (CIS)
Degree type
Discipline
Subject
Funder
Grant number
License
Copyright date
Distributor
Related resources
Author
Buneman, Peter
Fan, Wenfei
Contributor
Abstract

Path constraints have been studied in [4, 10, 11] for semistructured data modeled as a rooted edge-labeled directed graph. They have proven useful in the optimization of path queries. However, in this graph model, the implication problems associated with many natural path constraints are undecidable [10]. A variant of the graph model, called the deterministic data model, was recently proposed in [9]. In this model, data is represented as a graph with deterministic edge relations, i.e, the edges emanating from any node in the graph have distinct labels. The deterministic graph model is more appropriate for representing, for example, ACeDB [25] databases and Web pages. This paper investigates path constraints for the deterministic data model. It demonstrates the application of path constraints to, among other things, query optimization. Four classes of path constraints are considered: the class of word constraints Pw proposed in [4], the constraint language Pc introduced in [10], an extension of Pc, denoted by Pc-, by including wild cards in path expressions, and a generalization of Pc-, denoted by Pc*, by representing paths as regular expressions. The implication problems for these constraint languages are studied in the context of the deterministic data model. It shows that the implication and finite implication problems for Pw are decidable in cubic-time and are finitely axiomatizable. Moreover, in contrast to the undecidability result of [10], these results also hold for Pc. In addition the implication problems are decidable for Pc-. However, the implication problems for Pc* are undecidable.

Advisor
Date Range for Data Collection (Start Date)
Date Range for Data Collection (End Date)
Digital Object Identifier
Series name and number
Publication date
1998-09-01
Volume number
Issue number
Publisher
Publisher DOI
Journal Issue
Comments
University of Pennsylvania Department of Computer and Information Science Technical Report No. MS-CIS-98-33.
Recommended citation
Collection