Giter Site home page Giter Site logo

plc-dev / regraph Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kappa-dev/regraph

0.0 0.0 0.0 107.81 MB

Tool for building graph-based hierarchical knowledge representation systems

Home Page: http://dev.executableknowledge.org/ReGraph/

License: MIT License

Python 100.00%

regraph's Introduction

alt text

Graph rewriting and graph-based knowledge representation library. Documentation is available at http://dev.executableknowledge.org/ReGraph.

About project

The ReGraph Python library is a generic framework for modelling graph-based systems. In this context models are viewed as graphs and graph transformations --- as a tool to describe both the system evolution and the model evolution read more about the approach.

ReGraph provides various utilities for graph rewriting which can be used for modelling the evolution of a system represented by a graph subject to rewriting. The rewriting functionality is based on the sesqui-pushout rewriting procedure [7]. In addition, the library enables a user to define a typing for models (graphs) that gives specifications for the structure of the models. This later functionality allows both to preserve the specified structure during rewriting and to propagate the changes to the specifications up to the models.

ReGraph contains a collection of utilities for rewriting graphs and hierarchies of graphs. It supports two backends: NetworkX graph objects and on Neo4j property graphs stored in a graph database.

Installation

In order to install the ReGraph library you can either use the latest version in PyPI:

pip install regraph

or install from the source by cloning the repository using SSH

git clone [email protected]:Kappa-Dev/ReGraph.git

or using HTTPS

https://github.com/Kappa-Dev/ReGraph.git

Install the library using Pythin setup tools:

python setup.py install

Neo4j installation and configuration

If you want to use the Neo4j-based backend of ReGraph, you need to install the Neo4j database (see installation instructions).

Moreover, ReGraph uses the APOC Neo4j plugin, currently not included in the community edition. To install the plugin see the instructions.

ReGraph uses Neo4j Bolt Driver for Python, therefore, having set up your database, you need to provide to ReGraph's API the address of the bolt server (for example, bolt://127.0.0.1:7687) and your credentials for connecting the database (i.e. user and password).

Run tests

Nosetests

nosetests -v -s

regraph's People

Contributors

eugeniashurko avatar ismailbennani avatar florianperon avatar ylecornec avatar raimon-fa avatar plc-dev avatar pirbo avatar sergred 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.