Powered by Zoomin Software. For more details please contactZoomin

Semaphore Knowledge Model Management (KMM) Administration

Manually Enabling Modelling Constraints

  • Last Updated: May 29, 2026
  • 1 minute read
    • Semaphore
    • Documentation

When new models are created all the default constraints are automatically registered for the model. However, if a model was created before a particular constraint was defined as a default it needs to be manually registered. This registration can be performed in batch through the SPARQL endpoint.

For example to add the “unique-concept-label-constraint” and “unique-concept-label-in-class-constraint” constraints to the “myExample” model, you just need to issue the following SPARQL statement:

INSERT {
  <urn:x-evn-master:myExample> <http://spinrdf.org/spin#imports> <http://www.smartlogic.com/2015/12/unique-concept-label-constraint> .
  <urn:x-evn-master:myExample> <http://spinrdf.org/spin#imports> <http://www.smartlogic.com/2015/12/unique-concept-label-in-class-constraint>
}
WHERE {}

The “unique-concept-label-constraint” constraint ensures that concept labels are globally unique in the model. This constraint is optional, meaning that a warning will be displayed along with an explanation of the reason and impact a “Save anyway” button.

The “unique-concept-label-in-class-constraint” constraint ensures that concept labels are unique for the given class. This constraint is optional, meaning that a warning will be displayed along with an explanation of the reason and impact a “Save anyway” button.

TitleResults for “How to create a CRG?”Also Available inAlert