본문 바로가기
KERD
논문KCI 등재

RML 기반의 RDF 지식 그래프 검증을 위한 ShEx 스키마의 자동 생성

Automatic Creation of ShEx Schemas for RML-Based RDF Knowledge Graph Validation

1

조회

0

다운로드

0

인용

0

참고문헌

키워드

주제분류컴퓨터학

초록

본 논문에서는 RML 매핑 방식으로 생성된 RDF 지식 그래프의 구조를 묘사하고 검증할 용도의ShEx 스키마를 자동으로 생성하는 시스템을 제안한다. ShEx 스키마는 제약 조건들로 구성된다. 제안된 시스템은 대부분의 제약 조건을 RML 매핑 규칙을 변환하여 생성한다. 매핑 규칙에서 유도된 제약 조건만으로 구성한 스키마는 사용자가 RML 매핑으로 생성한 그래프의 구조를 파악하는 데 도움을 주는 용도로는 부족함이 없지만 정교한 검증 용도로 사용하기에는 충분치 않다. 검증 용도에 부합하는 스키마가 요구될 경우, 제안된 시스템은 RML 매핑의 입력 데이터 소스에서추출한 메타데이터를 사용해 만든 제약 조건이 추가된 스키마를 생성할 수 있다. 제안된 시스템이 지원하는 입력 데이터 소스 유형은 CSV, XML, JSON, RDBMS다. 297개의 테스트 케이스로 구성된 실험에서 보인 결과는 제안된 시스템이 RML 매핑으로 생성된 RDF 그래프 검증을 위해 범용적으로 사용될 수 있음을 보여준다.

Abstract

In this paper, we propose a system which automatically generates the ShEx schemas to describe and validate RDF knowledge graphs constructed by RML mapping. ShEx schemas consist of constraints. The proposed system generates most of the constraints by converting the RML mapping rules. The schemas consisting only of constraints obtained from mapping rules can help users to figure out the structure of the graphs generated by RML mapping, but they are not sufficient for sophisticated validation purposes. For users who need a schema for validation, the proposed system is also able to provide the schema with added constraints generated from metadata extracted from the input data sources for RML mapping. The proposed system has the ability to handle CSV, XML, JSON or RDBMS as input data sources. Testing results from 297 cases show that the proposed system can be applied for RDF graph validation in various practical cases.

참고문헌 (27)

  1. A. Hogan, "Knowledge Graphs", ACM Computing Surveys, 54(71), pp.1~37 (2022)[DOI]
  2. N. Noy, "Industry-Scale Knowledge Graphs: Lessons and Challenges", Communications of the ACM, 62(8), pp.36~43 (2019)[DOI]
  3. Y. Leng, "Artificial Intelligence Knowledge Graph for Dynamic Networks: An Incremental Partition Algorithm", IEEE Access, 8, pp.63434~63442 (2020)[DOI]
  4. A. Dimou, "High-quality knowledge graphs generation: R2rml and rml comparison, rules validation and inconsistency resolution", Applications and Practices in Ontology Design, Extraction, and Reasoning, 49(4), pp.55~72 (2020)[DOI]
  5. V. Janev, "Knowledge Graphs and Big Data Processing", pp.59~72 (2020), Springer Cham
  6. "Build a knowledge graph in Amazon Neptune using Data Lens"[URL]
  7. "Shape Expressions Language 2.1"[URL]
  8. "Shapes Constraint Language (SHACL)"[URL]
  9. "A Direct Mapping of Relational Data to RDF"[URL]
  10. "R2RML: RDB to RDF Mapping Language"[URL]
  11. "SPARQL 1.1 Query Language"[URL]
  12. "OWL 2 Web Ontology Language Structural Specification and Functional-Style Syntax"[URL]
  13. K. Rabbani, "SHACL and ShEx in the Wild: A Community Survey on Validating Shapes Generation and Adoption", Companion Proceedings of the Web Conference 2022 (WWW ’22 Companion), pp.260~263 (2022)
  14. "JSON-LD 1.1"[URL]
  15. "RDF 1.1 Turtle"[URL]
  16. J. E. L. Gayo, "Validating RDF Data", pp.233~266 (2022), Springer
  17. D. Fernandez-Álvarez, "Automatic extraction of shapes using sheXer", Knowledge-Based Systems, 238(107975), pp.1~9 (2022)[DOI]
  18. R. B. Thapa, "A Source-to-Target Constraint Rewriting for Direct Mapping", Proceedings of 20th International Semantic Web Conference, pp.21~38 (2021)
  19. 최지웅, "Automatic Construction of SHACL Schemas for RDF Knowledge Graphs Generated by Direct Mappings", 한국컴퓨터정보학회논문지, 25(10), pp.23~34 (2020), 한국컴퓨터정보학회[DOI]
  20. I. Boneva, "Relational to RDF Data Exchange in Presence of a Shape Expression Schema", Proceedings of the 12th Alberto Mendelzon International Workshop on Foundations of Data Management, pp.1~16 (2018)
  21. 최지웅, "ShEx Schema Generator for RDF Graphs Created by Direct Mapping", 한국컴퓨터정보학회논문지, 23(10), pp.33~43 (2018), 한국컴퓨터정보학회[DOI]
  22. I. Boneva, "Consistency and Certain Answers in Relational to RDF Data Exchange with Shape Constraints", Proceedings of New Trends in Databases and Information Systems, pp.97~107 (2020)
  23. 최지웅, "Automatic Construction of SHACL Schemas for RDF Knowledge Graphs Generated by R2RML Mappings", 한국컴퓨터정보학회논문지, 25(8), pp.9~21 (2020), 한국컴퓨터정보학회[DOI]
  24. 최지웅, "R2RML Based ShEx Schema", 한국컴퓨터정보학회논문지, 23(10), pp.45~55 (2018), 한국컴퓨터정보학회[DOI]
  25. T. Delva, "RML2SHACL: RDF Generation Is Shaping Up", Proceedings of the 11th on Knowledge Capture Conference (K-CAP '21), pp.153~160 (2021)
  26. "RML Test Cases"[URL]
  27. "RDF 1.1 N-Quads"[URL]

관련 논문AI추천

이 간행물의 다른 논문 (34건)