Electronic Proceedings in Theoretical Computer Science (Feb 2019)

Finding the Transitive Closure of Functional Dependencies using Strategic Port Graph Rewriting

  • János Varga

DOI
https://doi.org/10.4204/EPTCS.288.5
Journal volume & issue
Vol. 288, no. Proc. TERMGRAPH 2018
pp. 50 – 62

Abstract

Read online

We present a new approach to the logical design of relational databases, based on strategic port graph rewriting. We show how to model relational schemata as attributed port graphs and provide port graph rewriting rules to perform computations on functional dependencies. Using these rules we present a strategic graph program to find the transitive closure of a set of functional dependencies. This program is sound, complete and terminating, assuming that there are no cyclical dependencies in the schema.