Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

dats-tools

Build Status

Python code to deal with the DATS model.

The python code included in the repository validates the DATS JSON schemas and the DATS JSON instances against the schemas. To execute the code locally, it is recommended to use a virtual environment, following these steps:

  1. First, clone the github repository:

    git clone https://github.com/datatagsuite/dats-tools.git

  2. If not already installed in your system, first install the virtual environment via pip: pip install virtualenv

  3. Create a virtual environment: virtualenv venv

  4. Then, activate the virtual environment: source venv/bin/activate

  5. Install the requirements: pip install -r requirements.txt

  6. Download the schemas, contexts and instance data: bash -x get_schemas_contexts_data.sh

  7. Finally, you can inspect and run the tests to validate the DATS schemas and JSON instances against the schemas. python setup.py test

Querying DATS

Check out the following binder to see an example of querying DATS with SPARQL.

Binder

About

Validation of DATS schemas, contexts and instances

Topics

Resources

License

Releases

No releases published

Packages

No packages published