Create an application profile
An application profile records how your context uses the terms of an existing specification: which classes and properties apply, what you tighten, and what you add. This guide takes you from an empty workspace to a profile with its first term profiled and constrained. For what a profile is and how ModelDesk resolves it, see Application profiles.
A profile is created on top of one or more base models, so you need at least one base already in ModelDesk before you start.
Prerequisites
Section titled “Prerequisites”- An active seat for the Application Profile metamodel in one of your organizations. Without it, the Application profile card does not appear when you create a model.
- At least one model you can open that can serve as a base: a model on a metamodel one of the profile families is bound to (MIM, or RDF Schema and metamodels built on it such as OWL), holding a specification element.
Create the profile
Section titled “Create the profile”-
In the model list, select New model. The Create model dialog opens on the metamodel gallery.
-
Below the grid of metamodels, select the Application profile card, which reads Build a profile on one or more existing models. The dialog switches to the profile wizard, with its three steps: Family, Base models, and Details.
-
On the Family step, select the profile family that matches the kind of specification you are profiling: MIM Application Profile or DSV Application Profile. Each card’s description names the base metamodel that family declares. Select Next. If only one family is available, the wizard opens on the next step instead.
-
On the Base models step, tick every model your profile is of. The list only offers models the chosen family admits, and only models that hold a specification. A model that is itself a profile carries a Profile of a profile badge, which is how you layer a profile over another one.
If a model holds more than one specification, the wizard asks which one to profile and shows them as options under that model. Pick one. Select Next.
-
On the Details step, fill in your profile’s own attributes, then select Create profile:
- Name: what the profile is called.
- Namespace: the base IRI used to mint identifiers for the terms this profile defines itself, for example
https://example.org/profiles/my-profile#. - Description: optional.
- Owner: the organization you work in, which will own the profile.
- Access mode: Shared (visible to all organization members) or Individual (only visible to you).
-
The profile is created and opens on its overview page. Select Open editor, or Model editor in the left navigation.
Profile your first term
Section titled “Profile your first term”The editor opens with the model tree on the left, the profile’s reading surface in the middle, and the Properties form on the right. The middle pane starts on the profile overview: the bases under Profile of with how many of their terms you cover, an empty Classes index, and any Findings.
-
In the right-hand panel, open the Coverage tab. Each base is listed with its profilable terms split into Profiled and Not profiled.
-
Find a term under Not profiled and select the add (+) button on its row. ModelDesk creates the term profile in the right place, selects it, and switches the panel to Properties.
-
Set only what deviates from the base, leaving the rest inherited. The form groups the fields:
- Profiling holds Profiled element, already filled in with the term you picked, and Term kind, which applies only when a term profile defines a term of its own rather than profiling one.
- Constraints holds Minimum cardinality and Maximum cardinality (a maximum of
-1means unbounded), Target constraint to narrow the values or targets the property may take, and Specializes to point at another term profile this one further refines. - Documentation holds Definition and Usage note; Label sits under General. Use these to state your own wording.
- Conformance appears when the model pins the SEMIC Conformance extension beside its family, holding Requirement level (mandatory, recommended, optional, deprecated, or conditional) and Class role (main or supportive), which applies to a class.
Hover the small question mark next to a field label to read what that property means.
-
Select Save changes.
Read the result
Section titled “Read the result”-
Select the class your term belongs to. The middle pane shows a table with one row per property: the property, its IRI, its effective Cardinality, its Target, and an Origin badge reading This profile, Inherited, or Base. A Facets column appears when your family contributes facets. Rows you authored here carry a left accent; inherited rows are listed alongside them.
-
Select an individual property. The pane switches to the term detail: the Chain from the base through every layer to your profile, the Effective values as facet, value, and origin, and the term’s Findings.
-
Switch the toggle in the bar at the top from Structure to Diagram to see the resolved profile as a read-only class diagram, and back again. The download button in the top-right of the diagram saves it as a PNG image; to save it as an SVG instead, select the arrow beside it (More download formats), then Download as SVG. See View and download diagrams for how the two formats differ.
Result
Section titled “Result”You have a profile that names its bases as a conformance claim, holds one profiled term, and resolves against those bases. The Coverage tab now counts that term as profiled, and the Classes index on the overview lists the class it belongs to.
The profile stores only your deviations. Everything you did not state is still inherited from the base, and the reading surface shows the resolved picture with the origin of each value. Repeat the steps above for every term your context constrains. From here the profile behaves like any other model: it has a history, it validates, and you can export it.
Add a term that is not in ModelDesk
Section titled “Add a term that is not in ModelDesk”When a specification names a term that has no model here, add an ExternalTerm to the profile from the model tree and give it the term’s IRI, which is required. Set Kind hint to what you take the term to be, so the profile can still say what kind of thing it constrains. Your term profiles can then point at that stand-in.
Once the vocabulary that owns the term is available in ModelDesk, graduate the stand-in:
-
Select the external term in the model tree. The Unresolved reference card at the top of the Properties panel names its IRI.
-
Select Resolve…. In the Resolve this reference dialog, choose the Model to look in.
-
Select Resolve. ModelDesk matches the IRI in that model, adds the dependency if it is not there yet, rewires every reference to the real element, and removes the stand-in. This is saved to
maindirectly, not to your draft, and Resolve… is unavailable on a term that exists only in your draft. On a branch other thanmain, Resolve… is unavailable, and the card says “Changed on main only.” with Switch to main.
Exchange a profile
Section titled “Exchange a profile”Export the profile from the bar at the top of the model’s pages: select Export, leave Mapping on None (direct export), and choose one of DSV - Turtle, DSV - RDF/XML, DSV - JSON-LD, or DSV - N-Triples. See Export a model for the full walkthrough.
To bring in a profile published elsewhere, run an import and select Application Profile on the Metamodel step. On the Configure step, tick the profile family that matches the profile you are importing, so its base governance applies and its family facets are available. See Import a model.
If this goes wrong
Section titled “If this goes wrong”- The “Application profile” card is not in the Create model dialog. The card appears only if you have an active seat for the Application Profile metamodel. Ask your organization administrator to assign one.
- The Family step says no profile families are available. A family is an extension of the Application Profile metamodel, and none has been released in your environment. Ask an administrator to release one.
- The family you picked declares no base metamodel. Some extensions of the Application Profile metamodel add facets rather than bind a base, and SEMIC Conformance is one of them. The Base models step says so and offers nothing; go back and pick a family that declares a base.
- The Base models step is empty. If it says no accessible model can serve as a base yet, the family is bound to a base metamodel but you have no model on it that holds a specification. Import or create that base model first.
- A model you know is an RDF vocabulary is missing from the base list. A profile’s bases must sit in its family’s metamodel tower. A vocabulary on the RDF (legacy) metamodel is outside that tower, and no family declares it. Import the vocabulary again, open the RDF tower card and choose A vocabulary: classes and properties (or An ontology with logical definitions for OWL), then build the profile on that model.
- A model you expected is missing from the base list. Expand the note at the bottom of the list: models that are eligible but hold no specification are listed there and cannot be a base. The step also warns you when the search was cut short or when a model could not be read, so an absence is never presented silently.
- The Coverage tab says coverage cannot be judged. The base’s metamodel does not declare which of its elements are terms, so ModelDesk will not guess a number. You can still profile terms by adding an ElementProfile in the model tree and setting its Profiled element.
- The Coverage tab warns that coverage is not scoped to this specification. The base’s terms could not be narrowed to the specification you profile, so the whole base model is listed. Read the count as indicative rather than exact.
- A finding says the profile loosens a cardinality. A profile may only tighten what the base or an earlier layer already states. Compare your Minimum cardinality and Maximum cardinality with the effective values shown on the term, and tighten rather than widen them.
- A finding says the profile references a term outside its family. A profile may only profile terms from the family it declared. Point the term profile at a term in one of its bases, or at an external term, instead.
- A finding says the profile declares no namespace. Exporting to DSV mints term IRIs from the profile’s namespace, so it cannot run without one. Select the profile root in the model tree and set Namespace.
Related pages
Section titled “Related pages”- Application profiles: what a profile is, how it resolves, and what the findings mean.
- Validate your model: work through a profile’s findings in the validation report.
- Export a model: download the profile as DSV.
- Import a model: bring in a profile published elsewhere as DSV.
- Metamodels & standards: the standards your base models follow.