Skip to content

Class: RelationInstance

Abstract class for relation definitions

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

URI: dgb:RelationInstance

erDiagram
Container {

}
Item {
    string content  
    string format  
}
NodeSchema {
    datetime created  
    datetime modified  
    string title  
    string content  
    string format  
}
RelationInstance {
    string content  
    datetime created  
    string format  
    datetime modified  
    string title  
}
Resource {

}
UserAccount {
    string accountName  
}

Item ||--|o Container : "has_container"
Item ||--}o UserAccount : "creator"
NodeSchema ||--|o Container : "has_container"
NodeSchema ||--|o Item : "description"
NodeSchema ||--}o UserAccount : "creator"
RelationInstance ||--|o Container : "has_container"
RelationInstance ||--|o Item : "description"
RelationInstance ||--|o NodeSchema : "destination, source"
RelationInstance ||--|o Resource : "rdf_object, rdf_predicate, rdf_subject"
RelationInstance ||--}o UserAccount : "creator"

Inheritance

Class Properties

Property Value
Class URI dgb:RelationInstance
Mixin Yes

Slots

Name Cardinality and Range Description Inheritance
source 0..1
NodeSchema
The source of a binary relation direct
destination 0..1
NodeSchema
The destination of a binary relation direct
rdf_subject 0..1
Resource
The subject of the subject RDF statement Statement
rdf_predicate 0..1
Resource
The predicate of the subject RDF statement Statement
rdf_object 0..1
Resource
The object of the subject RDF statement Statement
created 0..1
Datetime
NodeSchema
modified 0..1
Datetime
NodeSchema
creator *
UserAccount
Examples of a Creator include a person, an organization, or a service NodeSchema, Item
title 0..1
String
A name given to the resource NodeSchema
description 0..1
Item
Description may include but is not limited to: an abstract, a table of conten... NodeSchema
has_container 0..1
Container
The Container to which this Item belongs NodeSchema, Item
format 0..1
String
Examples of dimensions include size and duration Item
content 0..1
String
The content of the Item in plain text format Item

Mixin Usage

mixed into description

Usages

used by used in type used
RelationInstance source domain RelationInstance
RelationInstance destination domain RelationInstance

Identifier and Mapping Information

Schema Source

Mappings

Mapping Type Mapped Value
self dgb:RelationInstance
native mira:RelationInstance

LinkML Source

Direct

name: RelationInstance
description: Abstract class for relation definitions
from_schema: http://purl.org/mira-science/mira#
rank: 1000
abstract: true
mixin: true
mixins:
- Statement
- NodeSchema
slots:
- source
- destination
class_uri: dgb:RelationInstance

Induced

name: RelationInstance
description: Abstract class for relation definitions
from_schema: http://purl.org/mira-science/mira#
rank: 1000
abstract: true
mixin: true
mixins:
- Statement
- NodeSchema
attributes:
  source:
    name: source
    description: The source of a binary relation
    from_schema: http://purl.org/mira-science/mira#
    rank: 1000
    domain: RelationInstance
    slot_uri: dgb:source
    owner: RelationInstance
    domain_of:
    - RelationInstance
    subproperty_of: rdf_subject
    range: NodeSchema
  destination:
    name: destination
    description: The destination of a binary relation
    from_schema: http://purl.org/mira-science/mira#
    rank: 1000
    domain: RelationInstance
    slot_uri: dgb:destination
    owner: RelationInstance
    domain_of:
    - RelationInstance
    subproperty_of: rdf_object
    range: NodeSchema
  rdf_subject:
    name: rdf_subject
    description: The subject of the subject RDF statement.
    from_schema: http://purl.org/mira-science/mira#
    rank: 1000
    domain: Statement
    slot_uri: rdf:subject
    owner: RelationInstance
    domain_of:
    - Statement
    range: Resource
  rdf_predicate:
    name: rdf_predicate
    description: The predicate of the subject RDF statement.
    from_schema: http://purl.org/mira-science/mira#
    rank: 1000
    domain: Statement
    slot_uri: rdf:predicate
    owner: RelationInstance
    domain_of:
    - Statement
    range: Resource
  rdf_object:
    name: rdf_object
    description: The object of the subject RDF statement.
    from_schema: http://purl.org/mira-science/mira#
    rank: 1000
    domain: Statement
    slot_uri: rdf:object
    owner: RelationInstance
    domain_of:
    - Statement
    range: Resource
  created:
    name: created
    from_schema: http://purl.org/mira-science/mira#
    rank: 1000
    slot_uri: dct:created
    owner: RelationInstance
    domain_of:
    - NodeSchema
    range: datetime
  modified:
    name: modified
    from_schema: http://purl.org/mira-science/mira#
    rank: 1000
    slot_uri: dct:modified
    owner: RelationInstance
    domain_of:
    - NodeSchema
    range: datetime
  creator:
    name: creator
    description: Examples of a Creator include a person, an organization, or a service.
      Typically, the name of a Creator should be used to indicate the entity.
    from_schema: http://purl.org/mira-science/mira#
    rank: 1000
    slot_uri: dct:creator
    owner: RelationInstance
    domain_of:
    - Item
    - NodeSchema
    range: UserAccount
    multivalued: true
  title:
    name: title
    description: A name given to the resource.
    from_schema: http://purl.org/mira-science/mira#
    rank: 1000
    slot_uri: dct:title
    owner: RelationInstance
    domain_of:
    - NodeSchema
    range: string
  description:
    name: description
    description: 'Description may include but is not limited to: an abstract, a table
      of contents, a graphical representation, or a free-text account of the resource.'
    from_schema: http://purl.org/mira-science/mira#
    rank: 1000
    domain: NodeSchema
    slot_uri: dct:description
    owner: RelationInstance
    domain_of:
    - NodeSchema
    range: Item
  has_container:
    name: has_container
    description: The Container to which this Item belongs.
    from_schema: http://purl.org/mira-science/mira#
    rank: 1000
    domain: Item
    slot_uri: sioc:has_container
    owner: RelationInstance
    domain_of:
    - Item
    - NodeSchema
    inverse: container_of
    range: Container
    inlined: false
  format:
    name: format
    description: Examples of dimensions include size and duration. Recommended best
      practice is to use a controlled vocabulary such as the list of Internet Media
      Types [MIME].
    from_schema: http://purl.org/mira-science/mira#
    rank: 1000
    slot_uri: dct:format
    owner: RelationInstance
    domain_of:
    - Item
    range: string
  content:
    name: content
    description: The content of the Item in plain text format.
    from_schema: http://purl.org/mira-science/mira#
    rank: 1000
    slot_uri: sioc:content
    owner: RelationInstance
    domain_of:
    - Item
    range: string
    inlined: true
class_uri: dgb:RelationInstance