Skip to main content

Business Concepts Configuration

This guide explains how Platform Teams configure Business Concept Models, the Business Concept Map, Product and Consumable linkage, and external Business Concept sources.

You need the platform.settings-edit permission to change these settings. Open Administration > Configuration > Marketplace > Business Concepts.

Business Concept Models​

Business Concept Models define how Witboost interprets your vocabulary: which RDF resources represent Root Concepts, Concepts, and Property Concepts, which fields describe them, and how they relate. The Business Concept Map, the Business Concept API, and the model preset in the Entity Search Picker all use the same active model.

Manage Models​

Open Business Concept Models to manage the available models. Exactly one model is active; SKOS is the default selection.

  • Built-in SKOS model maps concept schemes, concepts, broader/narrower hierarchy, and related concepts.
  • Built-in OWL model maps ontologies, classes, datatype properties, and object-property relationships.
  • Custom models map the types and predicates used by your own vocabulary.

These built-in models provide starting points; clone them to customize their mappings.

To configure a model:

  1. Clone a model, or select Add model, and provide a unique name and optional description.
  2. Edit the new custom model's YAML and save it. Validation identifies invalid fields; the model must also match your source data.
  3. Activate the model to use it across the Map and model-based selectors.

Built-in models are read-only; clone one to change its mappings. An active custom model can be edited, but cannot be deleted until another model is activated.

After activating a different model or changing its searchable fields, allow some time for search results to reflect the change. If an expected concept does not appear immediately, wait and search again.

Model YAML Reference​

The model has three required sections, prefixes, concept, and rootConcept, and an optional propertyConcept section.

The concept, rootConcept, and propertyConcept sections describe the structure and mappings of Concepts, Root Concepts, and Property Concepts, respectively. See Concept Categories for an explanation of these categories in the Business Concept Map.

Prefixes and Shared Fields​

prefixes is a non-empty map of prefix names to absolute IRI bases. Prefix names start with a letter or underscore and contain letters, digits, underscores, dots, or hyphens. Use an absolute IRI such as https://glossary.example.com/concepts/customer or a compact IRI such as skos:Concept in the mapping fields below. Every compact IRI must use a declared prefix.

These fields apply to concept, rootConcept, and propertyConcept:

FieldRequiredDescription
typeYesRDF type IRI, or a non-empty list of type IRIs, identifying resources in this category.
labelPredicateYesPredicate supplying the display label.
descriptionPredicateYesPredicate supplying the description.
synonymsPredicateNoPredicate supplying alternative labels.
warning

Keep the model mappings unambiguous:

  • Distinct types and roles: RDF types configured for Root Concepts, Concepts, Property Concepts, and typed relations should not overlap. To avoid ambiguity, it is recommended not to assign types matching different roles to the same RDF resource, such as both owl:Class and owl:Ontology in the OWL built-in model.
  • Consistent relationship meanings: the same predicate should not be configured for incompatible roles, such as root membership (memberToRootPredicates), concept hierarchy (childPredicates or parentPredicates), and a direct relation (predicate). Likewise, a hierarchy predicate should not be configured for both parent-to-child and child-to-parent traversal.

Metadata​

Metadata lets you define extra details from your vocabulary, such as a concept's notation, for inspection in the Business Concept Map or through the Business Concept API.

Add the optional metadata object under concept or rootConcept. Each key names a metadata field, and its definition specifies which RDF predicate supplies the values. propertyConcept does not currently support metadata.

FieldRequiredDescription
predicateYesPredicate supplying the metadata values.
kindNoliteral is currently the only supported value. It reads literal values, such as text or numbers, rather than links to other RDF resources. Defaults to literal when omitted.

For example, add the following under concept or rootConcept to expose values of skos:notation as the metadata field notation:

metadata:
notation:
predicate: skos:notation

This is equivalent to explicitly setting kind: literal on the notation entry.

Concepts and Hierarchy​

Field under conceptRequiredDescription
hierarchyYesHierarchical relationships between concepts. Supply at least one of the two predicate lists below.
hierarchy.childPredicatesOne list requiredNon-empty list of predicates pointing from a parent to its children, such as skos:narrower.
hierarchy.parentPredicatesOne list requiredNon-empty list of predicates pointing from a child to its parents, such as rdfs:subClassOf.
relationsNoNon-empty object of named relationship definitions; see Relations.

Roots​

Roots group concepts, for example SKOS concept schemes or OWL ontologies.

Field under rootConceptRequiredDescription
memberToRootPredicatesYesNon-empty list of predicates pointing from a member resource to its root, such as skos:inScheme or rdfs:isDefinedBy.
warning

Every Concept and Property Concept should be explicitly linked to a Root Concept using one of the predicates configured in rootConcept.memberToRootPredicates. Concepts without an explicit and valid root membership may not appear correctly in the Business Concept Map.

Properties​

Use propertyConcept when your vocabulary represents properties as separate resources. The property itself is the graph item; its datatype range is not another property node.

Field under propertyConceptRequiredDescription
sourcePredicateYesPredicate on the property pointing to the concept it describes, such as rdfs:domain.
dataTypePredicateYesPredicate on the property pointing to its datatype, such as rdfs:range.
hierarchyNoProperty-to-property hierarchy, using childPredicates and/or parentPredicates as above.
dataTypesNoProvides human-readable labels for known or expected Property Concept datatypes. For example, { iri: xsd:string, label: String } displays String for xsd:string. This mapping does not restrict which datatypes are queried or returned. Datatypes not defined in this list are displayed as raw IRIs. If provided, the list must contain at least one entry; IRIs must be unique and labels must not be empty.

Relations​

Each entry in concept.relations has a name and a kind. Names start with a letter and contain letters, digits, underscores, or hyphens. The kind determines how relationships are discovered in the RDF graph:

  • A direct relation matches a specific predicate connecting concepts. For example, configuring predicate: skos:related discovers links that use skos:related between concepts. All these links use the display label configured in the model.
  • A typed relation matches relationship resources of a configured RDF type. Each matching resource supplies its own source, target, and label through the configured predicates. For example, configuring type: owl:ObjectProperty, with rdfs:domain as the source, rdfs:range as the target, and rdfs:label as the label, can discover multiple distinct relationships, such as worksFor and locatedIn.
FieldDirectTypedDescription
kinddirecttypedRequired relationship representation.
predicateRequiredNot usedPredicate connecting source and target concepts.
labelRequiredNot usedDisplay label for a direct relation.
directionOptionalNot usedCurrently controls arrow rendering in the graph: directed shows an arrow from the source concept to the target concept; undirected shows no arrow. Default: undirected.
typeNot usedRequiredRDF type of the relationship resource.
sourcePredicateNot usedRequiredPredicate from the relationship resource to its source concept.
targetPredicateNot usedRequiredPredicate from the relationship resource to its target concept.
labelPredicateNot usedRequiredPredicate supplying the relationship label.
inversePredicateNot usedOptionalPredicate linking a typed relationship resource to another resource representing its inverse. For example, owl:inverseOf can link employs to isEmployedBy, expressing the relationship in the opposite direction. Witboost recognizes the link when declared on either resource and keeps the two resources distinct.
map:revealOptionalOptionalGraph UI-only option. expand automatically shows the relationship on the graph when expanding a node; manual leaves it for explicit exploration from the concept detail panel. Default: manual.
map:styleOptionalOptionalGraph UI-only option. Controls the appearance of the line connecting related concepts: standard draws a solid line; dotted draws a dotted line. Default: standard.

Examples​

The built-in models below can be cloned as starting points. Adjust their types and predicates to match the JSON-LD supplied by your Source Adapter.

SKOS model
prefixes:
skos: 'http://www.w3.org/2004/02/skos/core#'

concept:
type: skos:Concept
labelPredicate: skos:prefLabel
descriptionPredicate: skos:definition
synonymsPredicate: skos:altLabel
metadata:
notation:
predicate: skos:notation
kind: literal
hierarchy:
childPredicates: [skos:narrower]
parentPredicates: [skos:broader]
relations:
related:
kind: direct
predicate: skos:related
label: Related
direction: undirected
map:reveal: manual
map:style: dotted
closeMatch:
kind: direct
predicate: skos:closeMatch
label: Close Match
direction: undirected
map:reveal: manual
map:style: dotted
exactMatch:
kind: direct
predicate: skos:exactMatch
label: Exact Match
direction: undirected
map:reveal: manual
map:style: dotted
broadMatch:
kind: direct
predicate: skos:broadMatch
label: Broad Match
direction: directed
map:reveal: manual
map:style: dotted
narrowMatch:
kind: direct
predicate: skos:narrowMatch
label: Narrow Match
direction: directed
map:reveal: manual
map:style: dotted
relatedMatch:
kind: direct
predicate: skos:relatedMatch
label: Related Match
direction: undirected
map:reveal: manual
map:style: dotted

rootConcept:
type: skos:ConceptScheme
labelPredicate: skos:prefLabel
descriptionPredicate: skos:definition
synonymsPredicate: skos:altLabel
memberToRootPredicates: [skos:inScheme]
OWL model
prefixes:
owl: 'http://www.w3.org/2002/07/owl#'
rdf: 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'
rdfs: 'http://www.w3.org/2000/01/rdf-schema#'
xsd: 'http://www.w3.org/2001/XMLSchema#'

concept:
type: owl:Class
labelPredicate: rdfs:label
descriptionPredicate: rdfs:comment
hierarchy:
parentPredicates: [rdfs:subClassOf]
relations:
objectProperties:
kind: typed
type: owl:ObjectProperty
sourcePredicate: rdfs:domain
targetPredicate: rdfs:range
labelPredicate: rdfs:label
inversePredicate: owl:inverseOf
map:reveal: expand

propertyConcept:
type: owl:DatatypeProperty
labelPredicate: rdfs:label
descriptionPredicate: rdfs:comment
sourcePredicate: rdfs:domain
dataTypePredicate: rdfs:range
hierarchy:
parentPredicates: [rdfs:subPropertyOf]
dataTypes:
- iri: xsd:integer
label: Integer
- iri: xsd:decimal
label: Decimal
- iri: xsd:string
label: String
- iri: xsd:boolean
label: Boolean
- iri: xsd:date
label: Date
- iri: xsd:dateTime
label: DateTime

rootConcept:
type: owl:Ontology
labelPredicate: rdfs:label
descriptionPredicate: rdfs:comment
memberToRootPredicates: [rdfs:isDefinedBy]

Product and Consumable Linkage​

Products and Consumables can be linked to Business Concepts through their descriptors, as described in How to Integrate Business Concepts. These settings define the descriptor paths where concepts can be assigned and whether internal concepts can be linked by label or only by IRI.

Open Product and Consumable linkage in the Business Concepts group.

Displaying Business Concepts

Business Concepts are meant to be displayed through the business_concepts Custom View component. For its configuration, supported default views, and examples, see Business Concepts Component.

Descriptor Paths​

Add one dot-separated path per field containing Business Concept values, for example businessConcepts.tagFQN. The defaults are:

  • tags.tagFQN
  • dataContract.schema.tags.tagFQN
  • businessConcepts.tagFQN
  • dataContract.schema.businessConcepts.tagFQN

Enforce IRI​

By default, internal Business Concepts can be linked by their full HTTP(S) IRI or label.

tip

IRI-based linkage is a more stable and straightforward way to link Business Concepts: different concepts may share the same label, and labels may change, breaking existing links. Prefer IRI-based linkage whenever possible.

When Enforce IRI is enabled, Witboost treats Business Concept identifiers in descriptors as HTTP(S) IRIs. Label-based linkage will fail.

warning

Changing this setting does not automatically update descriptors that link Business Concepts by label. Before enabling it, verify that Data Teams already use IRIs to link Business Concepts in their descriptors.

warning

External Business Concepts can only be linked by IRI, never by label, regardless of the Enforce IRI setting.

External Business Concept Sources​

External Business Concepts are concepts maintained in an external system, such as a corporate glossary or catalog. Witboost can display them on Products and Consumables and link to their definitions in that system, without importing them into the Business Concept Map.

note

External Business Concepts can be used independently of the Business Concept Map. You do not need to enable the Map to link them to Products and Consumables, display their labels, or access their definitions in the source system.

External concepts are resolved by an adapter for their source system, not through the Business Concept Map. The adapter is responsible for providing Witboost with the essential metadata to display them and link to their definitions, including a display label and destination URL.

How External Concepts Are Identified​

External concepts are represented by their full HTTP(S) IRIs at the configured descriptor paths. No separate marker is needed to identify a concept as external. When Witboost resolves a supplied concept value:

  1. It checks whether the value is an HTTP(S) IRI whose beginning matches a configured external source's prefix. Matching is case-sensitive; labels cannot identify external concepts.
  2. If multiple prefixes match, it selects the source with the longest matching prefix, independently of the order in which sources are configured. For example, https://glossary.example.com/concepts/customer matches both https://glossary.example.com/ and https://glossary.example.com/concepts/; the latter selects the source.
  3. If a source matches, Witboost treats the IRI as external and routes it only to that source's adapter. If no source matches, the value follows internal Business Concept resolution instead.

When External Concepts Are Resolved​

External concepts are resolved when the interface requests labels and links for concept values, for example when the Business Concepts component displays them in a Product or Consumable Custom View.

The backend sends the complete IRI, without removing the prefix, to the selected adapter's POST /v1/business-concepts/lookup endpoint. The adapter looks up the concept in its source system and returns its display label and destination URL.

For example, with the corporate-glossary source registered below, a Product descriptor could contain:

businessConcepts:
- tagFQN: https://glossary.example.com/concepts/customer

When a Business Concepts component configured with path: businessConcepts and identifier: tagFQN displays this value, Witboost calls POST http://glossary-adapter:8080/v1/business-concepts/lookup with:

{
"identifiers": ["https://glossary.example.com/concepts/customer"]
}

The adapter queries the external glossary and translates its response into the extension-point contract, for example:

{
"items": [
{
"id": "https://glossary.example.com/concepts/customer",
"status": "resolved",
"label": "Customer",
"url": "https://glossary.example.com/terms/customer"
}
]
}

The component displays Customer as a link to https://glossary.example.com/terms/customer, rather than opening the Business Concept Map. If the adapter cannot resolve the identifier or is unavailable, the original value remains visible without a link.

Implement an External Source​

Implement the External Business Concept Source API in a service that can query your glossary or catalog. Witboost calls POST /v1/business-concepts/lookup on the adapter with a batch of identifiers. Return one result per distinct requested identifier, preserving the identifier in id:

  • resolved: include a non-empty label and an HTTP(S) url pointing to the concept's definition.
  • not_found: the identifier does not exist in the source system.
  • error: the source system is temporarily unavailable; use code: UPSTREAM_UNAVAILABLE.

The OpenAPI reference defines the request and response schemas. Responses should not include duplicate or unrequested identifiers, omit requested identifiers, or add fields outside the defined schemas. If an API key is configured, the adapter should validate the X-API-Key header.

Register an External Source​

External Business Concept sources are currently configured in the static Witboost chart configuration under ui.appConfig.mesh.marketplace.externalBusinessConcepts.sources. Restart Witboost after changing them:

ui:
appConfig:
mesh:
marketplace:
externalBusinessConcepts:
sources:
- id: corporate-glossary
prefix: https://glossary.example.com/concepts/
baseUrl: http://glossary-adapter:8080
warning

External Business Concept lookups are performed by the Witboost backend. Each adapter's configured baseUrl must be reachable from within the cluster (i.e. from the Witboost backend pod).

Source fieldRequiredDefaultDescription
idYesSource identifier shown in Administration.
prefixYesCase-sensitive prefix of the concept IRI. The longest matching prefix selects the source.
baseUrlYesAdapter service URL, without embedded credentials.
apiKeyNoCredential sent to the adapter in the X-API-Key header. Supply it through your deployment's secret management.
maxBatchSizeNo100Maximum identifiers per adapter request, from 1 to 200.
timeoutMsNo5000Request timeout in milliseconds, from 1 to 2147483647.
info

You can view the configured sources and configuration errors under External Concepts in Administration. This view is currently read-only.

Business Concept Map​

Enable the Business Concept Map​

Open Administration > Configuration > Marketplace > Business Concepts Map and turn on Enable Business Concept Map.

Related Products Max Depth limits how many membership or hierarchy steps the Map follows from the selected Business Concept when finding linked Products and Consumables.

info

Setting the depth to 0 means that only the selected concept is considered when finding linked Products and Consumables.