Giter VIP home page Giter VIP logo

bbo-to-oslo-steps-poc's Introduction

bbo-to-oslo-steps-poc

PoC exploring the feasibility of an automated BBO to OSLO-Steps mapping

Context

Investigating the feasibility generating OSLO steps starting from BPMN.

The goal is not to provide a fully working solution, rather understand

  • how far this could be automated
  • what has to be taken into account when creating BPMNs in order to have a working BPMN -> OSLO steps solution.
  • what extra information is needed next to BPMN and mappings to create OSLO-Steps.

A bit more context on BPMN and BBO can be found in the bpmn_bbo_mapping repo.

Implementation

BPMN to linked data

bpmn_bbo_mapping maps BPMN (xml) to linked expressed using the BBO and BBO-ext ontologies.

BBO to OSLO-Steps

This repo maps the data (partially) to OSLO steps.

The mapping rules and queries are written in Notation3 and can be executed using the (EYE Reasoner)[https://github.com/eyereasoner/eye].

In a nutshell:

  • Flow elements are States in OSLO Steps
    • Naming Step: concatenation of upstream activity/gateway name + flow annotation.
  • Activities are Steps in OSLO Steps
  • State shapes are out of scope of the mapping

Run the code

The easiest way is using the playground/playground.ipynb Jupyter Notebook.

Below are instructions to execute the steps using eye directly with input.nq being the bpmn data generated by bpmn_bbo_mapping

EYE native

eye --nope --quiet --pass input.nq https://www.irit.fr/recherches/MELODI/ontologies/BBO/ontology.ttl bbo-to-oslo-steps.n3 > oslo-steps.ttl

Docker on Linux/OSX

docker run --net=host --rm -v $HOME:$HOME -w $(pwd) -ti eyereasoner/eye --nope --quiet --pass input.nq https://www.irit.fr/recherches/MELODI/ontologies/BBO/ontology.ttl bbo-to-oslo-steps.n3 > oslo-steps.ttl

bbo-to-oslo-steps-poc's People

Contributors

bdevloed avatar

Watchers

 avatar  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.