Skip to content

Class: Relationship

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

URI: comet:Relationship

classDiagram class Relationship click Relationship href "../Relationship" Relationship : has_time Relationship --> "0..1" Duration : has_time click Duration href "../Duration" Relationship : object Relationship --> "0..1" Thing : object click Thing href "../Thing" Relationship : predicate Relationship --> "0..1" Concept : predicate click Concept href "../Concept" Relationship : subject Relationship --> "0..1" Thing : subject click Thing href "../Thing"

Slots

Name Cardinality and Range Description Inheritance
has_time 0..1
Duration
direct
subject 0..1
Thing
direct
predicate 0..1
Concept
direct
object 0..1
Thing
direct

Usages

used by used in type used
Dataset relationships range Relationship

Identifier and Mapping Information

Schema Source

  • from schema: https://w3id.org/comet

Mappings

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

LinkML Source

Direct

name: Relationship
from_schema: https://w3id.org/comet
close_mappings:
- rdfs:Statement
abstract: true
slots:
- has_time
attributes:
  subject:
    name: subject
    from_schema: https://w3id.org/comet/core
    domain_of:
    - Relationship
    range: Thing
  predicate:
    name: predicate
    from_schema: https://w3id.org/comet/core
    rank: 1000
    domain_of:
    - Relationship
    range: Concept
  object:
    name: object
    from_schema: https://w3id.org/comet/core
    domain_of:
    - Relationship
    range: Thing

Induced

name: Relationship
from_schema: https://w3id.org/comet
close_mappings:
- rdfs:Statement
abstract: true
attributes:
  subject:
    name: subject
    from_schema: https://w3id.org/comet/core
    alias: subject
    owner: Relationship
    domain_of:
    - Relationship
    range: Thing
  predicate:
    name: predicate
    from_schema: https://w3id.org/comet/core
    rank: 1000
    alias: predicate
    owner: Relationship
    domain_of:
    - Relationship
    range: Concept
  object:
    name: object
    from_schema: https://w3id.org/comet/core
    alias: object
    owner: Relationship
    domain_of:
    - Relationship
    range: Thing
  has_time:
    name: has_time
    from_schema: https://w3id.org/comet
    rank: 1000
    alias: has_time
    owner: Relationship
    domain_of:
    - Thing
    - Observation
    - Event
    - Investigation
    - Relationship
    range: Duration