Skip to content

Class: TaxonomyRelation

A relationship between a taxonomy item and a CVE or another taxonomy item. Provides subject (taxonomyId), predicate (relationshipName), and object (relationshipValue).

URI: cve:TaxonomyRelation

 classDiagram
    class TaxonomyRelation
    click TaxonomyRelation href "../TaxonomyRelation/"
      TaxonomyRelation : relationship_name

      TaxonomyRelation : relationship_value

      TaxonomyRelation : taxonomy_id

Slots

Name Cardinality and Range Description Inheritance
taxonomy_id 1
String
Identifier of the item in the taxonomy direct
relationship_name 1
String
A description of the relationship between the taxonomy item and the CVE direct
relationship_value 1
String
The target of the relationship direct

Usages

used by used in type used
TaxonomyMapping taxonomy_relations range TaxonomyRelation

Identifier and Mapping Information

Schema Source

Mappings

Mapping Type Mapped Value
self cve:TaxonomyRelation
native cve:TaxonomyRelation
close cwe:Relationship

LinkML Source

Direct

name: TaxonomyRelation
description: A relationship between a taxonomy item and a CVE or another taxonomy
  item. Provides subject (taxonomyId), predicate (relationshipName), and object (relationshipValue).
from_schema: https://w3id.org/lmodel/cve
close_mappings:
- cwe:Relationship
slots:
- taxonomy_id
- relationship_name
- relationship_value
slot_usage:
  taxonomy_id:
    name: taxonomy_id
    required: true
  relationship_name:
    name: relationship_name
    required: true
  relationship_value:
    name: relationship_value
    required: true

Induced

name: TaxonomyRelation
description: A relationship between a taxonomy item and a CVE or another taxonomy
  item. Provides subject (taxonomyId), predicate (relationshipName), and object (relationshipValue).
from_schema: https://w3id.org/lmodel/cve
close_mappings:
- cwe:Relationship
slot_usage:
  taxonomy_id:
    name: taxonomy_id
    required: true
  relationship_name:
    name: relationship_name
    required: true
  relationship_value:
    name: relationship_value
    required: true
attributes:
  taxonomy_id:
    name: taxonomy_id
    description: Identifier of the item in the taxonomy. Used as the subject of the
      relationship.
    from_schema: https://w3id.org/lmodel/cve
    aliases:
    - taxonomyId
    rank: 1000
    alias: taxonomy_id
    owner: TaxonomyRelation
    domain_of:
    - TaxonomyRelation
    range: string
    required: true
  relationship_name:
    name: relationship_name
    description: A description of the relationship between the taxonomy item and the
      CVE.
    from_schema: https://w3id.org/lmodel/cve
    aliases:
    - relationshipName
    rank: 1000
    alias: relationship_name
    owner: TaxonomyRelation
    domain_of:
    - TaxonomyRelation
    range: string
    required: true
  relationship_value:
    name: relationship_value
    description: The target of the relationship. Can be the CVE ID or another taxonomy
      identifier.
    from_schema: https://w3id.org/lmodel/cve
    aliases:
    - relationshipValue
    rank: 1000
    alias: relationship_value
    owner: TaxonomyRelation
    domain_of:
    - TaxonomyRelation
    range: string
    required: true