LibraryEvaMap
A python library that can assess the quality of an RDF mapping.
Installation
Installation in a virtualenv is recommended.
Assuming you already have python 3 and pip installed
pip install EvaMap
Initialize EvaMap
First, instantiation of an EvaMap object takes three parameters:
- rdf_ontology: The ontology used in the yarrrml_mapping in RDF (turtle, xml or n3)
- yarrrml_mapping: The RDF mapping of the json_data in YARRRML
- json_data: The dataset in JSON format
from EvaMap.EvaMap import EvaMap
evamap = EvaMap(rdf_ontology, yarrrml_mapping, json_data)
Assess the mapping
You can assess the quality of the yarrrml_mapping by using the evaluate_mapping method:
evamap.evaluate_mapping()
Retrieve results
After evaluation, you can retrieve the total score of the yarrrml_mapping with get_total_score() method:
evamap.get_total_score() # e.g., 0.6805555555555557
or, a list of Dict representing score for each dimensions, metrics and feedbacks with get_complet_result() method:
evamap.get_complet_result()
Metadata
Release files for EvaMap 2.0.6
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 |
|---|---|---|---|---|
| EvaMap-2.0.6.tar.gz | 17.4 kB | Without provenance | Details for EvaMap-2.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| EvaMap-2.0.6-py3-none-any.whl | Python 3 | none | any | Details for EvaMap-2.0.6-py3-none-any.whl |
Total release size: 46.1 kB
Release files / EvaMap-2.0.6.tar.gz
| Download URL | EvaMap-2.0.6.tar.gz |
|---|---|
| Size | 17.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
630898bec14c76e62275f4453e445f1511eb8ce7339505fea4fd5b77e221d663
|
|
BLAKE2b-256 checksum How to use checksums |
1686b6ec3e730028d3efa8829d8c72ba12212cde2dfb82ef58be6f88c38163bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.2
|
Release files / EvaMap-2.0.6-py3-none-any.whl
| Download URL | EvaMap-2.0.6-py3-none-any.whl |
|---|---|
| Size | 28.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
617527a679922e6d6ad75610b98a3daa09c9921755d1e3c50709bf420af8c52a
|
|
BLAKE2b-256 checksum How to use checksums |
c5ffffc028644a78e286e9c21f528d333d6899a2c524b76924d4238976889580
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.2
|
Security for EvaMap 2.0.6
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.