Transforming UML Conceptual Schemas to SBVR: Tool description

Description

This tool allows transforming UML Conceptual Schemas (CSs) to SBVR vocabularies and, in addition, describe the generated SBVR specifiation in natural language (Structured English notation). In this preliminary version, OCL constraints are ommited. Thanks to this tool, stakeholders can easily validate the UML CS specified by designers as a faithful representation of the business domain by reading the natural language description of the CS. The tool is based on the paper "From UML/OCL to SBVR Specifications: a Challenging Transformation" by Jordi Cabot, Raquel Pau and Ruth Raventós . This tool is composed by two transformations:
  • A first model-to-model transformation from UML to SBVR using ATL.
    •  input: an XMI file with an UML class diagram.
    • output: an XMI file with the SBVR vocabulary.
  • A second model-to-text transformation from SBVR to Structured English using MofScript.
    • input: an XMI file with an SBVR Vocabulary.
    • output: an HTML file with the vocabulary in Structured English.

Screenshots

The following picture is an example from our input of the first transformation:
 


and a fragment of our generated SBVR Vocabulary and the equivalent Structured English presentation respectively:

 

Downloading and installing

In order to execute these transformations you will need the ECLiPSe IDE (prefered 3.4) with the following plugins:
  • ATL Runtime 2.0.
  • MofScript 1.3.3
  • Ecore Tools 0.8 (In Incubation)
  • UML2 Tools 0.8 (In Incubation)
You can download the tool and execute the example from here

Running the ATL transformation

  • Extracting the content of the tool in your Eclipse workspace
  • Importing a new project as an existing project in your workspace
  • Change the perspective to ATL
  • Create a Run Configuration for ATL.The presented example has the following configuration (click on the figure to see de details):

Running the MofScripot transformation

  • Configure the preferences optios for MofScript (Windows->Preferences) to indicate the paths where to find the models and metamodels
  • Right button on the MofScript transormation and select the MofScript->Compile and then the MofScript->Execute option
  • When executing MofSCript will ask for the input model (twice, introduce both times the result generated by the ATL transformation in the previuos step)