Triplifier
This repository creates the tooling project for the Triplifier.
Python package
The Python code is packaged for distribution. You can install it from GitHub Packages:
pip install triplifier
After installation the triplifier command is available to run the tool.
References
- Soest J van, Choudhury A, Gaikwad N, Sloep M, Dumontier M, Dekker A (2019) Annotation of Existing Databases using Semantic Web Technologies: Making Data more FAIR. CEUR-WS, Edinburgh, pp 94–101
Run as command-line tool
The basic configuration for the Python port can be run with the following command:
triplifier -c triplifier.yaml
The YAML configuration file contains the database connection information using SQLAlchemy style URLs.
SQLite database file
db:
url: sqlite:///my.db
user: user
password: pass
Postgres database file
db:
url: "postgresql://postgres:postgres@localhost:5432/my_database"
Optional arguments
By default, the tool will generate an ontology file (ontology.owl) and a turtle file containing the materialized triples (output.ttl) relative to the execution folder. To change this, the following additional arguments can be used:
- -o <output_path_for_materialized_triples_file>
- -t <output_path_for_ontology_file>
- -c <configuration_file>
- -b <base_uri_for_ontology>
- --ontologyAndOrData <ontology|data>
The --ontologyAndOrData option allows running only the ontology extraction
(ontology) or only the data materialization (data) given an ontology file.
If omitted, both steps are executed.
Annotations using the result
An example of annotations (and insertions) can be found in the following repository:
Metadata
Release files for triplifier 2.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| triplifier-2.2.0.tar.gz | 17.2 kB | Without provenance | Details for triplifier-2.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| triplifier-2.2.0-py3-none-any.whl | Python 3 | none | any | Details for triplifier-2.2.0-py3-none-any.whl |
Total release size: 35.9 kB
Release files / triplifier-2.2.0.tar.gz
| Download URL | triplifier-2.2.0.tar.gz |
|---|---|
| Size | 17.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
35953f44658cb6b3b8f1ebe7324a873150260d4bbfc1647985efbcb76f356d3d
|
|
BLAKE2b-256 checksum How to use checksums |
2488980a446a7ec4a8bd4efb1000e03699e7614b42773ffc974c64ff862948ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Release files / triplifier-2.2.0-py3-none-any.whl
| Download URL | triplifier-2.2.0-py3-none-any.whl |
|---|---|
| Size | 18.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4de80d52753b0917534d5d3d7cff2e2610242996a74509fa79cd919625fc5ca5
|
|
BLAKE2b-256 checksum How to use checksums |
edb438d57c11ded553035dcaac6b7bfb26fdbf6871e3b70e4fe6f04166c17b1e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Security for triplifier 2.2.0
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.