@@ -5,15 +5,10 @@ title: linkml-tutorial-2025
55description : |-
66 This is a demo schema for use in training LinkML Schema developers in key LinkML model and build features.
77license : MIT
8- see_also :
9- - https://linkml.github.io/linkml-tutorial-2025
108
119prefixes :
1210 linkml_tutorial_2025 : https://w3id.org/linkml/linkml-tutorial-2025/
1311 linkml : https://w3id.org/linkml/
14- biolink : https://w3id.org/biolink/
15- schema : http://schema.org/
16- PATO : http://purl.obolibrary.org/obo/PATO_
1712 example : https://example.org/
1813default_prefix : linkml_tutorial_2025
1914default_range : string
@@ -22,75 +17,16 @@ imports:
2217 - linkml:types
2318
2419classes :
25-
2620 NamedThing :
2721 description : >-
2822 A generic grouping for any identifiable entity
2923 slots :
3024 - id
31- - name
32- - description
3325 class_uri : schema:Thing
3426
35- Person :
36- is_a : NamedThing
37- description : >-
38- Represents a Person
39- slots :
40- - primary_email
41- - birth_date
42- - age_in_years
43- - vital_status
44- slot_usage :
45- primary_email :
46- pattern : " ^\\ S+@[\\ S+\\ .]+\\ S+"
47-
48- PersonCollection :
49- tree_root : true
50- description : >-
51- A holder for Person objects
52- attributes :
53- entries :
54- range : Person
55- multivalued : true
56- inlined_as_list : true
57-
5827slots :
5928 id :
6029 identifier : true
6130 slot_uri : schema:identifier
6231 range : uriorcurie
6332 description : A unique identifier for a thing
64- name :
65- slot_uri : schema:name
66- description : A human-readable name for a thing
67- description :
68- slot_uri : schema:description
69- description : A human-readable description for a thing
70- primary_email :
71- slot_uri : schema:email
72- description : The main email address of a person
73- birth_date :
74- slot_uri : schema:birthDate
75- range : date
76- description : Date on which a person is born
77- age_in_years :
78- range : integer
79- description : Number of years since birth
80- vital_status :
81- range : PersonStatus
82- description : living or dead status
83-
84- enums :
85- PersonStatus :
86- permissible_values :
87- ALIVE :
88- description : the person is living
89- meaning : PATO:0001421
90- DEAD :
91- description : the person is deceased
92- meaning : PATO:0001422
93- UNKNOWN :
94- description : the vital status is not known
95- todos :
96- - map this to an ontology
0 commit comments