Skip to content

Class: Relationship

  • NOTE: this is an abstract class and should not be instantiated directly

URI: linkml_common:Relationship

classDiagram class Relationship click Relationship href "../Relationship" Intangible <|-- Relationship click Intangible href "../Intangible" Relationship <|-- TemporalRelationship click TemporalRelationship href "../TemporalRelationship" Relationship <|-- PersonInRole click PersonInRole href "../PersonInRole" Relationship <|-- OrganizationPersonnelRelationship click OrganizationPersonnelRelationship href "../OrganizationPersonnelRelationship" Relationship <|-- OrganismalRelationship click OrganismalRelationship href "../OrganismalRelationship" Relationship : object Relationship --> "0..1" Entity : object click Entity href "../Entity" Relationship : predicate Relationship --> "0..1" Concept : predicate click Concept href "../Concept" Relationship : subject Relationship --> "0..1" Entity : subject click Entity href "../Entity" Relationship : type

Inheritance

Slots

Name Cardinality and Range Description Inheritance
subject 0..1
Entity
direct
predicate 0..1
Concept
direct
object 0..1
Entity
direct
type 0..1
String
A type for a thing Typed

Identifier and Mapping Information

Schema Source

  • from schema: https://w3id.org/linkml/linkml-common

Mappings

Mapping Type Mapped Value
self linkml_common:Relationship
native linkml_common:Relationship
close rdfs:Statement

LinkML Source

Direct

name: Relationship
from_schema: https://w3id.org/linkml/linkml-common
close_mappings:
- rdfs:Statement
is_a: Intangible
abstract: true
attributes:
  subject:
    name: subject
    from_schema: https://w3id.org/linkml-common/core
    domain_of:
    - Relationship
    - ClinicalHistory
    - SubjectHistory
    - OrganizationPersonnelRelationship
    range: Entity
  predicate:
    name: predicate
    from_schema: https://w3id.org/linkml-common/core
    rank: 1000
    domain_of:
    - Relationship
    - TemporalRelationship
    - OrganizationPersonnelRelationship
    range: Concept
  object:
    name: object
    from_schema: https://w3id.org/linkml-common/core
    domain_of:
    - Relationship
    - OrganizationPersonnelRelationship
    range: Entity

Induced

name: Relationship
from_schema: https://w3id.org/linkml/linkml-common
close_mappings:
- rdfs:Statement
is_a: Intangible
abstract: true
attributes:
  subject:
    name: subject
    from_schema: https://w3id.org/linkml-common/core
    alias: subject
    owner: Relationship
    domain_of:
    - Relationship
    - ClinicalHistory
    - SubjectHistory
    - OrganizationPersonnelRelationship
    range: Entity
  predicate:
    name: predicate
    from_schema: https://w3id.org/linkml-common/core
    rank: 1000
    alias: predicate
    owner: Relationship
    domain_of:
    - Relationship
    - TemporalRelationship
    - OrganizationPersonnelRelationship
    range: Concept
  object:
    name: object
    from_schema: https://w3id.org/linkml-common/core
    alias: object
    owner: Relationship
    domain_of:
    - Relationship
    - OrganizationPersonnelRelationship
    range: Entity
  type:
    name: type
    description: A type for a thing. The range of this should be a class within the
      schema. It is intended for schema-based classification. Anything beneath the
      shoreline of the schema should use `classification`.
    from_schema: https://w3id.org/linkml/linkml-common
    rank: 1000
    designates_type: true
    alias: type
    owner: Relationship
    domain_of:
    - Typed
    range: string