GithubHelp home page GithubHelp logo

brunopessanha / owlrevelio Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 109 KB

Translates SysML Diagrams into OWL Ontology

Home Page: https://github.com/brunopessanha/OWLRevelio

License: MIT License

Java 100.00%
sysml owl ontology-parser ontology owl-api owl-plugin owl-ontology ontologies systems-engineering model-based-design

owlrevelio's Introduction

OWL Revelio

Translates restricted SysML Block Diagrams & Internal Block Diagrams into OWL Ontology

Currently supported features mapping from SysML to OWL

  • Blocks -> Classes
  • Comments -> Comment Annotation
  • Attributes -> Data Properties
  • Generalization -> Subclass
  • Part Association -> Generates Min, Max, Exactly and Some (existential) sub class restriction using hasPart object property
  • Internal Blocks -> Individuals
  • Ports -> Individuals with object property relation hasPort with the individual of a internal block
  • Connection -> Individuals with with object property relation isConnectedTo with the individuals of ports
  • Data Types -> Only XSD_FLOAT, XSD_Integer and XSD_Boolean are currently supported

Default OWL Elements

Classes

  • Part
    • FlowPort
      • InputFlowPort
      • InputOutputFlowPort
      • OutputFlowPort
    • FullPort
    • ProxyPort
  • Port
  • Connection

Object Properties

  • hasPart
  • hasPort
  • isConnectedTo

Supported Tools

Installation

OWL Revelio is available through Maven Central Repository, just add the following dependency:

<dependency>
  <groupId>com.github.brunopessanha</groupId>
  <artifactId>revelio</artifactId>
  <version>1.0.3</version>
  <type>pom</type>
</dependency>

How to use?

/* Instatiate through one of the constructors: Input stream containing the content of a valid SysML file (.uml) */
Revelio revelio = new Revelio(inputStream, ontologyIRI);

/* Saves all axioms to a given file. */
revelio.saveOntology(file); 

/* Returns all axioms created by Revelio so you can add to your existing Ontology using OWL API 5.1.10. */
revelio.axioms(); 

Revelio?

Revelio is a revealing Charm from Harry Potter, which has several variations and applications. When Revelio is used directly on a person, it removes magical disguises. OWL Revelio reveals the Ontology hidden in SysML models.

owlrevelio's People

Contributors

brunopessanha avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

owlrevelio's Issues

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.