Generating Ontology Classes and Hierarchical Relationships from Relational Database View Definitions

관계형 데이터베이스 뷰 정의로부터 온톨로지 클래스와 계층 관계 생성 기법

  • 양준석 (서울대학교 컴퓨터공학부) ;
  • 김기성 (서울대학교 컴퓨터공학부) ;
  • 김형주 (서울대학교 컴퓨터공학부)
  • Received : 2010.01.18
  • Accepted : 2010.09.24
  • Published : 2010.12.15

Abstract

Building ontology is the key factor to construct semantic web. However, this is time-consuming process. Hence, there are several approaches which automatically generate the ontologies from relational databases. Current studies on the automatic generation of the ontologies from relational database are focused on generating the ontology by analyzing the database schema and stored data. These studies generate the ontology by analyzing only tables and constraints in the schema and ignore view definitions. However, view definitions are defined by a database designer considering the domain of the database. Hence, by considering view definitions, additional classes and hierarchical relationships can be generated. And these are useful in answering queries and integration of ontologies. In this paper, we formalize the generation of classes and hierarchical relationships by analyzing existing methods, and we propose the method which generates additional classes and hierarchical relationships by analyzing view definitions. Finally, we analyze the generated ontology by applying our method to synthetic data and real-world data. We show that our method generates meaningful classes and hierarchical relationships using view definitions.

온톨로지는 시맨틱 웹을 구현하기 위해 중요한 역할을 하지만 이를 구축하는 작업은 많은 시간을 필요로 한다. 그러므로 기존 웹의 데이터 중 많은 양을 차지하고 있는 관계형 데이터베이스로부터 온톨로지를 자동으로 생성하는 연구들이 진행되고 있다. 기존의 연구들은 데이터베이스 스키마와 저장된 데이터 분석을 통한 온톨로지 생성에 대한 연구들이 주를 이룬다. 이러한 연구들은 데이터베이스 스키마 중 테이블과 제약조건만을 분석하여 온톨로지 스키마를 생성하며, 뷰 정의를 고려하지 않는다. 그러나 뷰는 데이터베이스 설계자가 데이터베이스를 사용하는 도메인을 고려하여 정의하므로, 뷰 정의를 고려할 경우 추가적인 클래스와 상하위 관계를 생성할 수 있다. 그리고 이렇게 생성된 클래스는 온툴로지에 대한 질의 처리와 통합에 유용하게 사용될 수 있다. 본 논문에서는 기존의 방법들을 분석하여 클래스와 상하위 관계 생성을 정형화하였으며, 뷰 정의를 분석하여 기존의 방법을 통해 생성된 온톨로지에 추가적인 클래스와 상하위 관계를 생성하는 방법을 제안한다. 또한 제안하는 방법을 이용해 예제 데이터베이스 스키마로부터 생성된 온톨로지의 결과 분석을 수행하고, 이를 통해 뷰 정의로부터 의미 있는 클래스와 상하위 관계가 추가적으로 생성되었음을 보인다.

Keywords

References

  1. Bin He, M.P., Zhen Zhang, Kevin Chen-Chuan Chang, Accessing the deep web. Communications of the ACM, 2007. 50(5): pp.94-101. https://doi.org/10.1145/1230819.1241670
  2. Byrne, K. Having Triplets - Holding Cultural Data as RDF. in Proceedings of the ECDL 2008 Workshop on Information Access to Cultural Heritage. 2008. Aarhus, Denmark.
  3. Christian Bizer, RC., D2RQ - Lessons Learned. 2007: Position paper for the W3C Workshop on RDF Access to Relational Databases.
  4. Nadine Cullot, R.G., Kokou Yetongnon, DB2OWL: A Tool for Automatic Database-to-Ontology Mapping, in SEDB. 2007.
  5. Syed Hamid Tirmizi, JS., Daniel Miranker, Translating SQL Applications to the Semantic Web, in DEXA.2008.
  6. Cerbah, F., Learning Highly Structured Semantic Repositories from Relational Databases: The RDBToOnto Tool, in ESWC. 2008.
  7. Man Li, X.D., Shan Wang, A Semi-automatic Ontology Acquisition Methods for the Semantic Web, in WAIM. 2005.
  8. Satya S. Sahoo, W.H., Sebastian Hellmann, Kingsley Idehen, Ted Thibodeau Jr, Siiren Auer, Juan Sequeda, Ahmed Ezzat, A Survey of Current Approaches for Mapping of Relational Databases to RDF. 2009, W3C RDB2RDF Incubator Group.
  9. Berners-Lee, T. Relational Databases on the Semantic Web. 1998; Available from: http://www.w3.org/DesignIssues/RDB-RDF.html.
  10. Shekar Ramanathan, J.H., Extraction of Object-Oriented Structures from Existing Relational Databases. ACM SIGMOD, 1997.
  11. Dan Brickley, R.V.G. RDF Vocabulary Description Language 1.0: RDF Schema. 2004 10 February 2004; Available from: http://www.w3.org/TR/rdfschema/.
  12. Halevy, A.Y., Answering queries using views: A survey. The VLDB Journal, 2001. 10(4): pp.270-294. https://doi.org/10.1007/s007780100054
  13. Open ERP. Available from: http://www.openerp.com/.