Skip to main content

forthebadge made-with-python
Generic badge License version PyPi Build Upload Python Package

workflow

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.

workflow

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:

prefixes

Source:

source

Subject:

subject

PredicateObjectMaps:

pom

Functions:

function

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

Metadata

Release files for mapeathor 1.0.0.1596164579

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mapeathor 1.0.0.1596164579
File Size Uploaded
mapeathor-1.0.0.1596164579.tar.gz 15.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mapeathor 1.0.0.1596164579
File Interpreter ABI Platform
mapeathor-1.0.0.1596164579-py3-none-any.whl Python 3 none any Details

Total release size: 41.7 kB

Release files / mapeathor-1.0.0.1596164579.tar.gz

Download URL mapeathor-1.0.0.1596164579.tar.gz
Size 15.1 kB
Tags Source
SHA-256 checksum
How to use checksums
2ddf22e30fefddf4f89a63fd6e5c0247f398f17fa54deeb7765ad590caa790ad
BLAKE2b-256 checksum
How to use checksums
184ed68b7b43af9873507a7b4f70997ebb29a1fa7a03e2143fdf18bdaf6f19b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.7.1

Release files / mapeathor-1.0.0.1596164579-py3-none-any.whl

Download URL mapeathor-1.0.0.1596164579-py3-none-any.whl
Size 26.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2d668b593af7de7ccb1a416df23af9b48c0af0f907d18c2659552cd05898bb28
BLAKE2b-256 checksum
How to use checksums
8c4f01de261a2a7f1bc6ebefc70001315ab9b91e3406639a79ff9dc504ac8cd5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.7.1

Release history Release notifications | RSS feed

1.7.5

2 release files

1.7.4

2 release files

1.6.1

2 release files

1.5.4

2 release files

1.5.3

2 release files

1.5.2

2 release files

1.5.1

2 release files

This release

1.0.0.1596164579 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page