DOI QR코드

DOI QR Code

R2RML Based ShEx Schema

  • Choi, Ji-Woong (School of Computer Science and Engineering, Soongsil University)
  • 투고 : 2018.09.03
  • 심사 : 2018.10.02
  • 발행 : 2018.10.31

초록

R2RML is a W3C standard language that defines how to expose the relational data as RDF triples. The output from an R2RML mapping is only an RDF dataset. By definition, the dataset has no schema. The lack of schema makes the dataset in linked data portal impractical for integrating and analyzing data. To address this issue, we propose an approach for generating automatically schemas for RDF graphs populated by R2RML mappings. More precisely, we represent the schema using ShEx, which is a language for validating and describing RDF. Our approach allows to generate ShEx schemas as well as RDF datasets from R2RML mappings. Our ShEx schema can provide benefits for both data providers and ordinary users. Data providers can verify and guarantee the structural integrity of the dataset against the schema. Users can write SPARQL queries efficiently by referring to the schema. In this paper, we describe data structures and algorithms of the system to derive ShEx documents from R2RML documents and presents a brief demonstration regarding its proper use.

키워드

참고문헌

  1. Linking Open Data W3C SWEO Community Project, https://www.w3.org/wiki/SweoIG/TaskForces/CommunityProjects/LinkingOpenData
  2. RDF 1.1 Concepts and Abstract Syntax, http://www.w3.org/TR/rdf11-concepts/
  3. SPARQL 1.1 Update, https://www.w3.org/TR/sparql11-update/
  4. A Direct Mapping of Relational Data to RDF, http://www.w3c.org/TR/rdb-direct-maipping/
  5. R2RML: RDB to RDF Mapping Language, http://www.w3.org/TR/r2rml/
  6. Generating RDF from Tabular Data on the Web, http://www.w3c.org/TR/csv2rdf/
  7. D. Tomaszuk, "RDF Validation: A Brief Survey," Proceedings of the 13st International Conference on Beyond Databases, Architectures and Structures, pp. 344-355, 2017.
  8. S. Han, L. Zou, J. X. Yu, and D. Zhao, "Keyword Search on RDF Graph - A Query Graph Assembly Approach," Proceedings of the 2017 ACM on Conference on Information and Knowledge Management, pp. 227-236, 2017.
  9. D. Arndt, B. D. Meester, A. Dimou, R. Verborgh, and E. Manneus, "Using Rule-Based Reasoning for RDF Validation," Proceedings of International Joint Conference on Rules and Reasoning, pp. 22-36, 2017.
  10. SHACL, http://www.w3c.org/TR/shacl/
  11. ShEx, http://shex.io/shex-semantics/
  12. RDF 1.1 Turtle, http://www.w3c.org/TR/turtle/
  13. XML Schema Part 2: Datatypes Second Edition, http://www.w3c.org/TR/xmlschema-2/
  14. XPath 3.1 Regular expression, http://www.w3c.org/TR/xpath-functions-31/#regex-syntax
  15. Natural Mapping of SQL Values, https://www.w3.org/TR/2012/REC-r2rml-20120927/#natural-mapping
  16. MariaDB, http://mariadb.com
  17. N. Konstantinou and D.E. Spanos, "Creating Linked Data from Relational Databases," Springer, pp. 73-102, Sept. 2015.
  18. R2RML Parser, https://github.com/nkons/r2rml-parser/
  19. ShEx2 - Simple Online Validator, https://rawgit.com/shexSpec/shex.js/master/doc/shex-simple.html