Scalable [R2]RML engine to create RDF knowledge graphs from heterogeneous data sources.
Project description
Morph-KGC is an engine that constructs RDF knowledge graphs from heterogeneous data sources with R2RML and RML mapping languages. Morph-KGC is built on top of pandas and it leverages mapping partitions to significantly reduce execution times and memory consumption for large data sources.
Main Features
- Supports R2RML and RML mapping languages.
- Input data formats:
- Output RDF serializations: N-Triples, N-Quads.
- Runs on Linux, Windows and macOS systems.
- Compatible with Python 3.7 or higher.
- Optimized to materialize large knowledge graphs.
- Multiple configuration options.
- Available under the Apache License 2.0.
Installation and Usage
PyPi is the fastest way to install Morph-KGC:
pip install morph-kgc
To run the engine you just need to execute the following:
python3 -m morph_kgc configuration.ini
Here you can see how to generate the configuration file. It is also possible to run Morph-KGC as a library with RDFlib:
import morph_kgc
# generate the triples and load them to an RDFlib graph
graph = morph_kgc.materialize('/path/to/configuration.ini')
# work with the graph
graph.query(' SELECT DISTINCT ?classes WHERE { ?s a ?classes } ')
Wiki
Check the wiki with all the information.
Authors
- Julián Arenas-Guerrero (julian.arenas.guerrero@upm.es)
- David Chaves-Fraga
- Jhon Toledo
- Oscar Corcho
Ontology Engineering Group, Universidad Politécnica de Madrid | 2020 - Present
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file morph_kgc-1.3.2.tar.gz.
File metadata
- Download URL: morph_kgc-1.3.2.tar.gz
- Upload date:
- Size: 33.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0a4c6a0ba6284dfe351e80d01e574d2149f2f93f6a169fd6e83ec49c0c64bd57
|
|
| MD5 |
300c549256769b65e5f2fafa1538c03e
|
|
| BLAKE2b-256 |
ec4788ffe88f1072c22d4509daef31ea861f43c93be02a2904e7d8a36591d738
|
File details
Details for the file morph_kgc-1.3.2-py3-none-any.whl.
File metadata
- Download URL: morph_kgc-1.3.2-py3-none-any.whl
- Upload date:
- Size: 36.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce96d16da940f55e75ce69758c829e84dd44e7259636000da910fe7637e084f7
|
|
| MD5 |
a263248b22c0a62b5c79d1779ffe9d11
|
|
| BLAKE2b-256 |
06802e4f433e2f0a6d5d44bbabe570f2d5a4ce0164ceba0d4e4c1b4d131c1bd5
|