Reasoning about ER models in a deductive environment

0
114

Authors: Gustaf Neumann

Tags: 1996, conceptual modeling

In this paper we present an approach to represent schema information, application data and integrity constraints as a logic program in form of Datalog. The schema information is supplied as an enhanced entity relationship (EER) model which is transformed by a one-to-one mapping into a set of ground facts. The application data corresponding to the schema is also represented by ground facts in a single table. In order to check whether the application data conforms to the given schema, generic functional and inclusion dependencies are introduced, which can be mapped into concrete dependencies using the schema information. The concrete dependencies are used for checking the consistency between application data and the schema. The formulation of the constraints based on functional and inclusion dependencies led to a small extension of the EER model by allowing identifying attributes in relationship types. This extension leads to both simpler constraints and simpler EER application models. Furthermore, we provide a meta EER model which can be used to check whether the application EER model is a structural valid EER model. Any application EER diagram is an instance of the meta EER diagram which can be specified using the proposed application data representation. The same integrity rules can be used to check the conformance between the application data and the application EER diagram, the meta EER diagram and the application EER diagram, and finally it can be used to check the meta EER model itself.

Read the full paper here: https://pdf.sciencedirectassets.com/271546/1-s2.0-S0169023X00X0167X/1-s2.0-0169023X9500047V/main.pdf?X-Amz-Security-Token=IQoJb3JpZ2luX2VjEE0aCXVzLWVhc3QtMSJHMEUCIQCsvWNhYP3k6wXrbOcgf2V7W3lG%2Fjoqd3Vmqdj0h0DT4AIgcGK4O8vN3hsuGqu3eDvowc%2FOOueSQui8wa99SEYGAOwqtAMIZhADGgwwNTkwMDM1NDY4NjUiDP130Y5mZEbbNVii4CqRA%2FXgMOsxw5Me5cJ%2F%2BVD6U4VFcTkuFz6DteDb6SGw8X0N0MTnhIiNOTUL4mlS7zQu7etqtEHBBPrrXXeJvWsVHA5DeHIcVnu8zT7YoC32NA7J6BIprG5rFBL%2BIbobc4qg62EIWYVdyxlj8QpY%2BCRiCB0bqjmbpmdo7hobiUXukBg8wn1RFZEX%2BayiyQ8aaKOq8uqflxC5jf9USNxLZCriRnP%2FnWRzYNooLrAoLrARMahsxYJMk1q2HRAtzpQ34OGAo6xptSvkaokSG9yTiqfF1%2FaJxiymy37BmNcASz%2F1SOZavNeaMj6nEifa6DdiKveiQMoprTM0Qsqc7O9V4IdbIf%2FFJ5MC3BhKRscIqh6cGnSMtyX2f9S9vmKD2zZuXyDBtGSJFzb%2BQcJs9rGtkCZi1ziY30T9FkEiJoAuN%2BnaQjnUCn9rttAvtIn6JMHTAZ%2B6R9PX1JutYyNae%2BMhJbk6XNqo7KCmpdsaqqQKR6kGAiKfOa%2BPUv8HtM6uGksTucpHzQMhQhYf7PFmMSGbxc8rfxZCMOD8nvsFOusBps2sHaIshHgQJeTr6hXaPNy%2FFWQRRrWqdu8%2Fl56mKAI4pxa7uQ0Dm%2BJ7rYqIjYztnv54%2F2dxXwDza7MLsLMiNsm3P%2FaL487dLmMC1tBI8dk1Z%2F3DxI0Eb%2F2%2FH8x9YyiDMUjA3Eh4usxEo%2B%2BQX60qHGlQ7Yd9zyBGjXpMTzmjigvNQAd1a5OgyE8crMydcmg4lXQRGRh18EH%2BQ3jVC0a7IeJqz7Ex%2FWGFLqrZG%2BaoIAqmKQyvhw09eOIlbmadknTv0fbFQ8%2BxaEHtTjtVGy3wLGRaajuY0umlLA7BOmW5UMLOxMdZSo9TKHjmhQ%3D%3D&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20200920T213258Z&X-Amz-SignedHeaders=host&X-Amz-Expires=300&X-Amz-Credential=ASIAQ3PHCVTYX34XSWKR%2F20200920%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Signature=5259aa7a00b3953604b81bd1f38d22894846dbcd510b938e1ff17c10daae0a32&hash=b4de33ba8466f1cdb75896d3f8fe7665e811a50867852a86fab90f2239891485&host=68042c943591013ac2b2430a89b270f6af2c76d8dfd086a07176afe7c76c2c61&pii=0169023X9500047V&tid=spdf-c1f72063-40a3-467a-b983-898bc39cc4a3&sid=27939d14918fb14e6d7bc0d-c8b7bcc143a4gxrqa&type=client