Mapeathor is a simple spreadsheet parser able to generate mapping rules in three mapping languages: R2RML, RML (with extension to functions from FnO) and YARRRML.
Project description
Mapeathor
Mapeathor translates your mapping rules specified in spreadsheets to a mapping language.
Mapeathor is a simple spreadsheet parser able to generate mapping rules in three mapping languages: R2RML, RML (with extension to functions from FnO) and YARRRML. It takes the mapping rules expressed in a spreadsheet and transforms them into the desired language. The spreadsheet template is designed to facilitate the mapping rules' writting, with the aim of being language independent, and thus, lowering the barrier of generating mappings for non-expert users.
Example:
First Step: Fill the xlsx template with your own information.
The template has five mandatory sheets, Prefixes, Source, Subject PredicateObjectMap and Functions. The last one can be left blank in case there are no functions. The spreadsheet can be in XLSX format or a Google Spreadsheet.
Prefixes:
Source:
Subject:
PredicateObjectMaps:
Functions:
Second Step: Choose the output language that you prefer.
Here you can see the Available Languages.
Third Step: Run Mapeathor:
With python:
# Install
$ python3 -m pip install mapeathor
# How to execute it. You can use a local XLSX file or a shared Google Spreadsheet URL
$ python3 -m mapeathor -i [PATH or URL] -l [RML | R2RML | YARRRML] [-o PATH]
# Help Menu
$ python3 main.py -h
With docker:
# Clone the repository
$ git clone https://github.com/oeg-upm/Mapeathor
# Install the docker image with docker-compose
$ docker-compose up -d
# Copy the XLSX files to data repository
$ cp yourfiles ./data/
# Execute it. You can use a local XLSX file or a shared Google Spreadsheet URL
$ docker exec -it mapeathor ./run.sh [/Mapeathor/data/YOURFILE or URL ] [RML | R2RML | YARRRML] result/outputfile
# Results will appear in result folder
Publications
Iglesias-Molina, A., Chaves-Fraga, D., Priyatna, F., & Corcho, O. (2019). Towards the Definition of a Language-Independent Mapping Template for Knowledge Graph Creation. In Proceedings of the Third International Workshop on Capturing Scientific Knowledge co-located with the 10th International Conference on Knowledge Capture (K-CAP 2019) (pp. 33-36). Online version
Authors and contact
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
Hashes for mapeathor-1.0.0.1596469733.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1491eb486260eb7c25e12b271ef54ea3388730c5e45e2b78c8910de100aad3f |
|
MD5 | b34181625cd357da15baf9beb3528f08 |
|
BLAKE2b-256 | 58b3598f7af7e88cf6cda15b0c02bf94fbbe36712d669e9dde5be066f9c76a50 |
Hashes for mapeathor-1.0.0.1596469733-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 521a8f79349f0f52b7a3a01c44f5f89c8385f93860c904d69461cd4419cd718f |
|
MD5 | 7957bacb3ef5bbd10072880a411030a1 |
|
BLAKE2b-256 | 1c922d58575b287a0a59f642058bdfa8cd358c82d7fdf3c196e3cfb9e98fc7c0 |