Skip to content

Class: Person

Represents a Person

URI: linkml_tutorial_2024:Person

classDiagram class Person click Person href "../Person" NamedThing <|-- Person click NamedThing href "../NamedThing" Person : age_in_years Person : birth_date Person : description Person : id Person : name Person : primary_email Person : vital_status Person --> "0..1" PersonStatus : vital_status click PersonStatus href "../PersonStatus"

Inheritance

Slots

Name Cardinality and Range Description Inheritance
primary_email 0..1
String
The main email address of a person direct
birth_date 0..1
Date
Date on which a person is born direct
age_in_years 0..1
Integer
Number of years since birth direct
vital_status 0..1
PersonStatus
living or dead status direct
id 1
Uriorcurie
A unique identifier for a thing NamedThing
name 0..1
String
A human-readable name for a thing NamedThing
description 0..1
String
A human-readable description for a thing NamedThing

Usages

used by used in type used
PersonCollection entries range Person

Identifier and Mapping Information

Schema Source

  • from schema: https://w3id.org/my-org/linkml-tutorial-2024

Mappings

Mapping Type Mapped Value
self linkml_tutorial_2024:Person
native linkml_tutorial_2024:Person

LinkML Source

Direct

name: Person
description: Represents a Person
from_schema: https://w3id.org/my-org/linkml-tutorial-2024
is_a: NamedThing
slots:
- primary_email
- birth_date
- age_in_years
- vital_status
slot_usage:
  primary_email:
    name: primary_email
    domain_of:
    - Person
    pattern: ^\S+@[\S+\.]+\S+

Induced

name: Person
description: Represents a Person
from_schema: https://w3id.org/my-org/linkml-tutorial-2024
is_a: NamedThing
slot_usage:
  primary_email:
    name: primary_email
    domain_of:
    - Person
    pattern: ^\S+@[\S+\.]+\S+
attributes:
  primary_email:
    name: primary_email
    description: The main email address of a person
    from_schema: https://w3id.org/my-org/linkml-tutorial-2024
    rank: 1000
    slot_uri: schema:email
    alias: primary_email
    owner: Person
    domain_of:
    - Person
    range: string
    pattern: ^\S+@[\S+\.]+\S+
  birth_date:
    name: birth_date
    description: Date on which a person is born
    from_schema: https://w3id.org/my-org/linkml-tutorial-2024
    rank: 1000
    slot_uri: schema:birthDate
    alias: birth_date
    owner: Person
    domain_of:
    - Person
    range: date
  age_in_years:
    name: age_in_years
    description: Number of years since birth
    from_schema: https://w3id.org/my-org/linkml-tutorial-2024
    rank: 1000
    alias: age_in_years
    owner: Person
    domain_of:
    - Person
    range: integer
  vital_status:
    name: vital_status
    description: living or dead status
    from_schema: https://w3id.org/my-org/linkml-tutorial-2024
    rank: 1000
    alias: vital_status
    owner: Person
    domain_of:
    - Person
    range: PersonStatus
  id:
    name: id
    description: A unique identifier for a thing
    from_schema: https://w3id.org/my-org/linkml-tutorial-2024
    rank: 1000
    slot_uri: schema:identifier
    identifier: true
    alias: id
    owner: Person
    domain_of:
    - NamedThing
    range: uriorcurie
    required: true
  name:
    name: name
    description: A human-readable name for a thing
    from_schema: https://w3id.org/my-org/linkml-tutorial-2024
    rank: 1000
    slot_uri: schema:name
    alias: name
    owner: Person
    domain_of:
    - NamedThing
    range: string
  description:
    name: description
    description: A human-readable description for a thing
    from_schema: https://w3id.org/my-org/linkml-tutorial-2024
    rank: 1000
    slot_uri: schema:description
    alias: description
    owner: Person
    domain_of:
    - NamedThing
    range: string