Basic annotations for fundamental data concepts #74

Merged
mih merged 1 commit from flatentry into main 2025-05-26 05:48:53 +00:00
3 changed files with 180 additions and 1 deletions

View file

@ -155,6 +155,22 @@ classes:
slots:
- name
- short_name
slot_usage:
name:
recommended: true
annotations:
sh:order: 1
short_name:
annotations:
sh:order: 2
description:
annotations:
sh:order: 3
dash:singleLine: false
display_label:
recommended: true
annotations:
sh:order: 4
DataItem:
class_uri: inm7fd:DataItem
@ -187,6 +203,22 @@ classes:
slots:
- name
- short_name
slot_usage:
name:
recommended: true
annotations:
sh:order: 1
short_name:
annotations:
sh:order: 2
description:
annotations:
sh:order: 3
dash:singleLine: false
display_label:
recommended: true
annotations:
sh:order: 4
Factor:
class_uri: inm7fd:Factor
@ -204,6 +236,25 @@ classes:
comments:
- The relationship of a factor "level" with the broader factor can be
described via `broader_mappings`.
slot_usage:
name:
recommended: true
annotations:
sh:order: 1
short_name:
annotations:
sh:order: 2
factor_level_of:
annotations:
sh:order: 3
description:
annotations:
sh:order: 4
dash:singleLine: false
display_label:
recommended: true
annotations:
sh:order: 5
Instrument:
class_uri: inm7fd:Instrument
@ -218,6 +269,22 @@ classes:
- short_name
exact_mappings:
- obo:OBI_0000968
slot_usage:
name:
recommended: true
annotations:
sh:order: 1
short_name:
annotations:
sh:order: 2
description:
annotations:
sh:order: 3
dash:singleLine: false
display_label:
recommended: true
annotations:
sh:order: 4
Protocol:
class_uri: inm7fd:Protocol
@ -234,6 +301,22 @@ classes:
- short_name
exact_mappings:
- obo:OBI_0000272
slot_usage:
name:
recommended: true
annotations:
sh:order: 1
short_name:
annotations:
sh:order: 2
description:
annotations:
sh:order: 3
dash:singleLine: false
display_label:
recommended: true
annotations:
sh:order: 4
Study:
class_uri: inm7fd:Study
@ -254,6 +337,37 @@ classes:
- implements
- name
- short_name
slot_usage:
name:
recommended: true
annotations:
sh:order: 1
short_name:
annotations:
sh:order: 2
implements:
recommended: true
annotations:
sh:order: 3
factors:
recommended: true
annotations:
sh:order: 4
instruments:
annotations:
sh:order: 5
dimensions:
recommended: true
annotations:
sh:order: 6
description:
annotations:
sh:order: 7
dash:singleLine: false
display_label:
recommended: true
annotations:
sh:order: 8
StudyActivity:
class_uri: inm7fd:StudyActivity
@ -270,6 +384,34 @@ classes:
- implements
- study
- subjects
slot_usage:
study:
required: true
annotations:
sh:order: 1
subjects:
recommended: true
annotations:
sh:order: 2
implements:
recommended: true
annotations:
sh:order: 3
factors:
recommended: true
annotations:
sh:order: 4
instruments:
annotations:
sh:order: 5
description:
annotations:
sh:order: 6
dash:singleLine: false
display_label:
recommended: true
annotations:
sh:order: 7
Subject:
class_uri: inm7fd:Subject
@ -286,8 +428,30 @@ classes:
- study
- subject_type
slot_usage:
study:
required: true
annotations:
sh:order: 1
name:
recommended: true
annotations:
sh:order: 2
subject_type:
recommended: true
annotations:
sh:order: 3
specimen_of:
range: Subject
annotations:
sh:order: 4
description:
annotations:
sh:order: 5
dash:singleLine: false
display_label:
recommended: true
annotations:
sh:order: 6
SubjectType:
class_uri: inm7fd:SubjectType
@ -298,3 +462,16 @@ classes:
Classifier for the nature of a subject.
slots:
- name
slot_usage:
name:
recommended: true
annotations:
sh:order: 1
description:
annotations:
sh:order: 2
dash:singleLine: false
display_label:
recommended: true
annotations:
sh:order: 3

View file

@ -34,11 +34,13 @@
"inm7:sub/hgd54732": {
"pid": "inm7:sub/hgd54732",
"schema_type": "inm7fd:Subject",
"study": "inm7:study/demo",
"name": "HGD54732"
},
"inm7:studyact/demo/sub1-sess1-demographics": {
"pid": "inm7:studyact/demo/sub1-sess1-demographics",
"schema_type": "inm7fd:StudyActivity",
"study": "inm7:study/demo",
"factors": [
"inm7:fac/site/fzj"
],
@ -48,7 +50,6 @@
"implements": [
"inm7:prot/demographics-v1"
],
"study": "inm7:study/demo",
"subjects": [
"inm7:sub/hgd54732"
]

View file

@ -27,6 +27,7 @@ relations:
inm7:sub/hgd54732:
schema_type: inm7fd:Subject
name: HGD54732
study: inm7:study/demo
inm7:studyact/demo/sub1-sess1-demographics:
schema_type: inm7fd:StudyActivity
study: inm7:study/demo