Skip to main content

Scalable [R2]RML engine to create RDF knowledge graphs from heterogeneous data sources.

Project description

GitHub license DOI Latest PyPI version version GitHub commit activity

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

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.

Getting Started

Usage

Configuration

Tutorial

Features

Academic Publications

License

FAQ

Authors

Ontology Engineering Group, Universidad Politécnica de Madrid | 2020 - Present

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

morph_kgc-1.3.7.tar.gz (33.4 kB view hashes)

Uploaded Source

Built Distribution

morph_kgc-1.3.7-py3-none-any.whl (36.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page