Coder Social home page Coder Social logo

yuechenbam / ontopanel-backend Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 3.0 2.15 MB

Diagrams.net plugin for ontology development. Backend of Ontopanel.

Home Page: https://ontopanel-backend.vercel.app

License: Apache License 2.0

Procfile 0.02% Python 99.86% HTML 0.12%
diagramsnet drawio ontology plugin

ontopanel-backend's Introduction

Ontopanel-backend

What is Ontopanel?

Ontopanel is a plugin in diagrams.net that helps domain experts to build ontologies and method graph visually.

It is designed within the framework of the Materials Open Laboratory (MatOLab) by Bundesanstalt für Materialforschung und -prüfung (BAM) to solve the problems encountered by domain experts when building ontologies graphically using diagrames.net, such as ontology reuse, ontology transformation and data mapping.

It consist of three tools, their applications can be found in Ontopanel video tutorials:

Library

Ontopanel-Library is a XML library for ontology conceptualization that provides a set of shapes to represent each element of the OWL specification. It is based on Chowlk library.

EntityManager

EntityManager is a tool that allows user to upload their ontologies and export entities in graphs in diagrams.net.

Convertor:

Convertor is a tool that validates current graph and convert it into diagrams.net into OWL. It can also realize data mapping -- to combine experimental dataset with the method graph.

Backend

This project is the backend of Ontopanel and communicates with Ontopanel-frontend. Diagrams.net provides permission to add plugins so that users can load the Ontopanel interface. Please follow the tutorial of Ontopanel-frontend to set up the frontend.

Installation

Clone the project

git clone https://github.com/yuechenbam/Ontopanel-backend.git

Requirements:

pip install -r requirements.txt

Create .env file in root

# The variables in settings.py
SECRET_KEY="your secret key value"
DEBUG=1 # 1 is True, 0 is False

# Send mail server configuration, used for user password change
EMAIL_HOST_USER = your email address
EMAIL_HOST_PASSWORD = your email password

Database connection configuration

# change below in setting.py to your own database
DATABASES = {}
if 'test' in sys.argv:
    DATABASES = {
        'default': {
            'ENGINE': 'django.db.backends.sqlite3',
            'NAME': BASE_DIR / 'db.sqlite3',
        }
    }
else:
    DATABASES['default'] = dj_database_url.config(
        conn_max_age=600, ssl_require=True)

Run the app

python manage.py runserver

Related repositories and links

Ontopanel GithubPage repository with tutorials - repository of Ontopanel online demo.

Ontopanel online demo - diagrams.net, contains the Ontopanel plugin hosted on the GithubPage.

Ontopanel-fontend - Ontopanel's frontend source code.

Documentation

Swagger API documentation

Publications

Ontopanel: A Tool for Domain Experts Facilitating Visual Ontology Development and Mapping for FAIR Data Sharing in Materials Testing

Contact

Yue Chen ([email protected])

Markus Schilling ([email protected])

ontopanel-backend's People

Contributors

eliseyue avatar yuechenbam avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.