Abstract:
Through utilizing answer set programming to represent ER model, this paper proposes a novel approach of logical representation for ER model. First, the syntax and semantic of ER schema are defined. Second, answer set programming is utilized to realize logic programming representation for the ER schema, and the programming here can be automatically completed. Finally, the rationality of this representation is proved. The research result of this paper not only overcomes the defects of the ER model as a graphical tool but also establishes the theoretic base for applying ER model to realize semantic interoperability among heterogeneous databases.