Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

A python library that can assess the quality of an RDF mapping

Project description


A python library that can assess the quality of an RDF mapping.


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:

  1. rdf_ontology: The ontology used in the yarrrml_mapping in RDF (turtle, xml or n3)
  2. yarrrml_mapping: The RDF mapping of the json_data in YARRRML
  3. 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:


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:


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for EvaMap, version 1.0.3
Filename, size File type Python version Upload date Hashes
Filename, size EvaMap-1.0.3-py3-none-any.whl (27.1 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size EvaMap-1.0.3.tar.gz (15.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page