Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Dragoman

An Optimized, RML-engine-agnostic Interpreter for Functional Mappings. It planns the optimized execution of FnO functions integrated in RML mapping rules, interprets and transforms the rules into function-free ones efficiently. Since Dragoman is engine-agnostic it can be adopted by any RML-compliant Knowledge Graph creation framework.

You can use Dragoman with your own library of functions! Here is how:

  1. Make a copy of functions.py that is located in ./Interpreter/ and rename it (we consider it as new_function_script.py)
  2. Edit new_function_script.py by adding your functions definitions following the sctructure provided in the script and save the chnages
  3. Go to the connection.py and replace ".functions" with ".new_function_script" at line 6 and save the changes

That's it! You are ready to go :)

Installing and Running the Dragoman

From PyPI (https://pypi.org/project/dragoman-tool/):

python3 -m pip install dragoman-tool
python3 -m Interpreter -c /path/to/config/file

From Docker (https://hub.docker.com/repository/docker/sdmtib/dragoman):

docker run -d -p 4000:4000 -v /path/to/yourdata:/data dragoman

Send a GET request with the configuration file to Dragoman container.
curl localhost:4000/mapping_transformation/data/your-config-file.ini


Get the results from the container (if output folder is inside data folder, results are already in your host)
docker cp CONTAINER_ID:/app/path/to/output .

Version

1.0

License

This work is licensed under Apache 2.0

Authors

Metadata

Release files for dragoman-tool 1.0.dev1639048966

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

Source distribution (sdist)

Source distribution for dragoman-tool 1.0.dev1639048966
File Size Uploaded Provenance Actions
dragoman_tool-1.0.dev1639048966.tar.gz 21.2 kB Without provenance Details for dragoman_tool-1.0.dev1639048966.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dragoman-tool 1.0.dev1639048966
File Interpreter ABI Platform Actions
dragoman_tool-1.0.dev1639048966-py3-none-any.whl Python 3 none any Details for dragoman_tool-1.0.dev1639048966-py3-none-any.whl

Total release size: 48.0 kB

Release files / dragoman_tool-1.0.dev1639048966.tar.gz

Download URL dragoman_tool-1.0.dev1639048966.tar.gz
Size 21.2 kB
Tags Source
SHA-256 checksum
How to use checksums
9bfc7f5a72a80f988607c5567881362db8d8c5f779c4b2a24fc82296e8eed33b
BLAKE2b-256 checksum
How to use checksums
c6b6a53c1e76a2eb04d6d14a6156b3ca9e4bf4618302e3127e84e6685c6dff3f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

Release files / dragoman_tool-1.0.dev1639048966-py3-none-any.whl

Download URL dragoman_tool-1.0.dev1639048966-py3-none-any.whl
Size 26.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
814b0fcd9b8abab4d4987b7165aa8f2d4a2a044ddc5d0b4117dabf227b952b8c
BLAKE2b-256 checksum
How to use checksums
775a521a9c370d4f8a9f645d5cbf31b8876e3dce820e3e2fafa8ed76849ffa8a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

Security for dragoman-tool 1.0.dev1639048966

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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