Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/renyuneyun/dr.aid
https://github.com/renyuneyun/dr.aid
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/renyuneyun/dr.aid
- Owner: renyuneyun
- Created: 2021-08-20T16:07:33.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-02-28T22:42:50.000Z (almost 3 years ago)
- Last Synced: 2024-11-09T16:17:20.787Z (2 months ago)
- Language: Jupyter Notebook
- Size: 4.58 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
dr.Aid
####################dr.Aid = DR.Aid = Data Rule Aid
DR.Aid is a framework helping data-users comply with data-use rules (data-governance rules, data policies, etc).
Install and run
=================This framework is mainly written in Python, and uses SWI-Prolog as the reasoner. To use it, you must have both Python and SWI-Prolog installed.
You need to have Python >= 3.6.A :code:`setup.py` is present, so you can install DR.Aid via any tool you like.
After installation, you'll find a command-line tool called :code:`draid`.For example, when using pip, you can do:
.. code:: shell
pip install .
draid --help
Basic usage
================The repo contains the necessary files to run DR.Aid. Apart from that, you need a running SPARQL endpoint with a supported provenance scheme.
Currently, DR.Aid supports `CWLProv `_ and `SProv `_.The basic structure to run DR.Aid from command line is:
.. code:: shell
draid SPARQL_ENDPOINT PROVENANCE_SCHEMA
You may often wish to specify the addition rule database to customize the data-use rules associated:.. code:: shell
draid --rule-db rule-db.json SPARQL_ENDPOINT PROVENANCE_SCHEMA
After running the command, a graph is rendered to :code:`graph_N.png` where `N` is a non-negative integer representing the index of the graphs (provenance graph identified in the SPARQL ENDPOINT).Run this command to see additional help:
.. code:: shell
draid --help
Additional information
===========================The :doc:`design.rst` file contains additional information of the design, such as the database scheme.