Class: Asset Relation (AssetRelation)
An AssetRelation represents a relationship between two assets in the context of an asset management system. It captures the nature (predicate) of the relationship and the assets (subject and object) involved.
URI: base:AssetRelation
classDiagram
class AssetRelation
click AssetRelation href "../AssetRelation/"
AssetRelation : is_bidirectional
AssetRelation : predicate
AssetRelation : related_asset
AssetRelation --> "1" RelatedAsset : related_asset
click RelatedAsset href "../RelatedAsset/"
AssetRelation : relational_role_of_related_asset
AssetRelation --> "1" RelationalRoleOfRelatedAssetValues : relational_role_of_related_asset
click RelationalRoleOfRelatedAssetValues href "../RelationalRoleOfRelatedAssetValues/"
Slots
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| predicate | 1 String |
The nature of the relationship between the subject and object assets | direct |
| related_asset | 1 RelatedAsset |
The other asset participating in the relation, identified by one or more asse... | direct |
| relational_role_of_related_asset | 1 RelationalRoleOfRelatedAssetValues |
Specifies whether the related asset is the subject or object in the relation ... | direct |
| is_bidirectional | 0..1 Boolean |
Indicates whether the relation can be interpreted in both directions | direct |
Usages
| used by | used in | type | used |
|---|---|---|---|
| Asset | asset_relations | range | AssetRelation |
| Device | asset_relations | range | AssetRelation |
| SoftwareArtifact | asset_relations | range | AssetRelation |
| Gateway | asset_relations | range | AssetRelation |
Identifier and Mapping Information
Schema Source
- from schema: https://industrial-assets.io/schemas/iah/base-schema/released/v1/iah-base.yaml
Mappings
| Mapping Type | Mapped Value |
|---|---|
| self | base:AssetRelation |
| native | base:AssetRelation |
LinkML Source
Direct
name: AssetRelation
description: An AssetRelation represents a relationship between two assets in the
context of an asset management system. It captures the nature (predicate) of the
relationship and the assets (subject and object) involved.
title: Asset Relation
from_schema: https://industrial-assets.io/schemas/iah/base-schema/released/v1/iah-base.yaml
slots:
- predicate
- related_asset
- relational_role_of_related_asset
- is_bidirectional
Induced
name: AssetRelation
description: An AssetRelation represents a relationship between two assets in the
context of an asset management system. It captures the nature (predicate) of the
relationship and the assets (subject and object) involved.
title: Asset Relation
from_schema: https://industrial-assets.io/schemas/iah/base-schema/released/v1/iah-base.yaml
attributes:
predicate:
name: predicate
description: The nature of the relationship between the subject and object assets.
The predicate should be a concise, lowercase string that describes the relationship
(e.g., "is_part_of", "is_module_of", "is_connected_to"). It should follow a
consistent naming convention, such as using underscores to separate words and
avoiding special characters. The maximum length of the predicate string should
be reasonable (256 characters) to ensure clarity and maintainability. An asset
management system should check that the length constraint is not violated and
that the predicate follows the specified naming convention.
title: Predicate
from_schema: https://industrial-assets.io/schemas/iah/base-schema/released/v1/iah-base.yaml
rank: 1000
alias: predicate
owner: AssetRelation
domain_of:
- AssetRelation
range: string
required: true
pattern: ^[a-z][a-z0-9]*(_[a-z0-9]+)*$
related_asset:
name: related_asset
description: The other asset participating in the relation, identified by one
or more asset identifiers.
title: Related Asset
from_schema: https://industrial-assets.io/schemas/iah/base-schema/released/v1/iah-base.yaml
rank: 1000
alias: related_asset
owner: AssetRelation
domain_of:
- AssetRelation
range: RelatedAsset
required: true
inlined: true
relational_role_of_related_asset:
name: relational_role_of_related_asset
description: Specifies whether the related asset is the subject or object in the
relation expressed by the predicate.
title: Relational Role Of Related Asset
from_schema: https://industrial-assets.io/schemas/iah/base-schema/released/v1/iah-base.yaml
rank: 1000
alias: relational_role_of_related_asset
owner: AssetRelation
domain_of:
- AssetRelation
range: RelationalRoleOfRelatedAssetValues
required: true
is_bidirectional:
name: is_bidirectional
description: Indicates whether the relation can be interpreted in both directions.
title: Is Bidirectional
from_schema: https://industrial-assets.io/schemas/iah/base-schema/released/v1/iah-base.yaml
rank: 1000
ifabsent: 'False'
alias: is_bidirectional
owner: AssetRelation
domain_of:
- AssetRelation
range: boolean