-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
T1: Implement "Status-based filtering" feature #226
Comments
The description below presents the solution design that was discussed during an early feedback meeting. The solution includes specification of the status representation and model2owl configuration. List of status valuesThe status-based filtering feature will be fully configurable. That means that no assumptions about any fixed status value will be made. A list of used statuses describing a UML element needs to be established for a project that uses model2owl.
How status will be representedThe proposed way to set a status for a UML element is by using UML tags (tagged values). For a project, a special datatype property to describe the status should be chosen. Then tags using a compact URI representing that property should be set for UML elements for which the status-based filtering feature needs to be applied. In addition to that explicit method, status-based filtering could be applied to other elements that don't have the tag set (yet). For these, the default status set in the configuration will be applied. model2owl status configurationThe following four configuration parameters defined in the
ExampleThe following example presents a set of terms with their tags as well as model2owl configuration and shows the outcome in terms of what would or wouldn't be generated. Terms and tags (input)
model2owl config<xsl:variable name="statusProperty" select="'epo:status'"/>
<xsl:variable name="validStatusesList" select="('proposed', 'approved', 'implemented')"/>
<xsl:variable name="excludedElementStatusesList" select="('proposed', 'approved')"/>
<xsl:variable name="unspecifiedStatusInterpretation" select="'implemented'"/> Outcome
|
The conceptual model contains elements that are not ready for inclusion in the semantic data specification or that reference elements defined in other ontologies. The objective of this task is to implement a mechanism that lets the user select what elements will be included in the transformation.
The mechanism should be controllable through configuration files where the user can list inclusion rules for the transformation. The user should also be able to define the target artifact of each inclusion rule so that it can be applied to specific OWL or SHACL artefacts.
The following configuration options are required:
The implementor is expected to:
Important
The following pre-existing tickets must be also resolved in this context: model2owl#225, model2owl#202
The text was updated successfully, but these errors were encountered: