SDM-TIB / SDM-RDFizer

An Efficient RML-Compliant Engine for Knowledge Graph Construction
https://doi.org/10.5281/zenodo.3872103
Apache License 2.0
107 stars 25 forks source link
data-integration knowledge-graph rml

SDM-RDFizer

License DOI Latest PyPI version Python Version PyPI status

This project presents the SDM-RDFizer, an interpreter of mapping rules that allows the transformation of (un)structured data into RDF knowledge graphs. The current version of the SDM-RDFizer assumes mapping rules are defined in the RDF Mapping Language (RML) by Dimou et al. The SDM-RDFizer implements optimized data structures and relational algebra operators that enable an efficient execution of RML triple maps even in the presence of Big data. SDM-RDFizer is able to process data from heterogeneous data sources (CSV, JSON, RDB, XML) processing each set of RML rules (TriplesMap) in a multi-thread safe procedure.

SDM-RDFizer workflow

The new features presented by SDM-RDFizer version4.0

In version 4.0 of SDM-RDFizer, we have addressed the problem of efficiency in KG creation in terms of memory storage. SDM-RDFizer version4.0 includes a new module called "TriplesMap Planning" a.k.a. TMP which defines an optimized evaluation plan for the execution of triples maps. Additionally, version 4.0 extends the previously included module (i.e. TriplesMap Execution a.k.a. TME) by introducing a new operator for compressing data stored in the data structures. These new features can be configured using two new parameters added to the configuration file, named "large_file" and "ordered".

We have performed extensive empirical evaluation on SDM-RDFizer version4.0 in terms of execution time and memory usage. The experiments are set up to empirically compare the impact of data duplicate rates, data size, and the complexity and the execution order of the triples maps on two versions of SDM-RDFizer (i.e. version4.0 and version3.6) and other existing engines including RMLMapper v4.7 and RocketRML ), in terms of execution time and memory usage. The experiments are performed on two different benchmarks:

The results of explained experiments can be summarized as the following: Overview of Results (Execution Time Comparison) As observed in the figures above, both versions of SDM-RDFizer completed all the testbeds successfully while the other two engines have cases of timeout. SDM-RDFizer version3.6 and RocketRML version 1.7.0 are competitive in simple testbeds, however, SDM-RDFizer version4.0 shows the best performance in all the testbeds. Overview of Results (Memory Consumption Comparison) As illustrated in the figures above, SDM-RDFizer version4.0 has the smallest peak in memory usage compared to the previous version of SDM-RDFizer.

The results of the execution of SDM-RDFizer has been described in the following research reports:

Additional References:

Projects where the SDM-RDFizer has been used

The SDM-RDFizer is used in the creation of the knowledge graphs of EU H2020 projects and national projects where the Scientific Data Management group participates. These projects include:

The SDM-RDFizer is also used in EU H2020, EIT-Digital and Spanish national projects where the Ontology Engineering Group (Technical University of Madrid) participates. These projects, mainly focused on the domain of transportation and smart cities, include:

Other projects were the SDM-RDFizer is also used:

Installing and Running the SDM-RDFizer

From PyPI (https://pypi.org/project/rdfizer/):

python3 -m pip install rdfizer
python3 -m rdfizer -c /path/to/config/file

From Github/Docker: Visit the wiki of the repository to learn how to install and run the SDM-RDFizer. You can also take a look to our demo at: https://www.youtube.com/watch?v=DpH_57M1uOE

Configurations

You can easily customize your own configurations from the set of features that SDM-RDFizer offers by changing the values of the parameters in the config file. The descriptions of each parameter and the possible values are provided here; "ordered" and "large_file" are the new features provided by SDM-RDFizer version 4.0.

Version

4.7.4.11

RML-Test Cases

See the results of the SDM-RDFizer over the RML test-cases at the RML Implementation Report. SDM-RDFizer version 4.0 is tested over the latest published test cases before the release.

Experimental Evaluations

See the results of the experimental evaluations of SDM-RDFizer version 3.* at SDM-RDFizer-Experiments repository

License

This work is licensed under Apache 2.0

Papers

1. Conference paper published as a resource at CIKM2020

2. Journal paper in Semantic Web Journal

Papers that Reference SDM-RDFizer

Google Scholar Entry

What are the parameters that affect the construction of a knowledge graph?

Knowledge4COVID-19: A semantic-based approach for constructing a COVID-19 related knowledge graph from various sources and analyzing treatments’ toxicities

FunMap: Efficient Execution of Functional Mappings for Knowledge Graph Creation

Scaling up knowledge graph creation to large and heterogeneous data sources

EABlock: a declarative entity alignment block for knowledge graph creation pipelines

InterpretME: A tool for interpretations of machine learning models over knowledge graphs

FlexRML: A Flexible and Memory Efficient Knowledge Graph Materializer

RMLStreamer-SISO: An RDF Stream Generator from Streaming Heterogeneous Data

Morph-KGC: Scalable knowledge graph materialization with mapping partitions

Authors

The SDM-RDFizer has been developed by members of the Scientific Data Management Group at TIB, as an ongoing research effort. The development is coordinated and supervised by Maria-Esther Vidal (maria.vidal@tib.eu). We strongly encourage you to please report any issues you have with the SDM-RDFizer. You can do that over our contact email or creating a new issue here on GitHub. The SDM-RDFizer has been implemented by Enrique Iglesias (current version, iglesias@l3s.de) and Guillermo Betancourt (version 0.1, guillermojbetancourt@gmail.com) under the supervision of Samaneh Jozashoori (samaneh.jozashoori@tib.eu), David Chaves-Fraga (dchaves@fi.upm.es), and Kemele Endris (kemele.endris@tib.eu)