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: slots:
- name - name
- short_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: DataItem:
class_uri: inm7fd:DataItem class_uri: inm7fd:DataItem
@ -187,6 +203,22 @@ classes:
slots: slots:
- name - name
- short_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: Factor:
class_uri: inm7fd:Factor class_uri: inm7fd:Factor
@ -204,6 +236,25 @@ classes:
comments: comments:
- The relationship of a factor "level" with the broader factor can be - The relationship of a factor "level" with the broader factor can be
described via `broader_mappings`. 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: Instrument:
class_uri: inm7fd:Instrument class_uri: inm7fd:Instrument
@ -218,6 +269,22 @@ classes:
- short_name - short_name
exact_mappings: exact_mappings:
- obo:OBI_0000968 - 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: Protocol:
class_uri: inm7fd:Protocol class_uri: inm7fd:Protocol
@ -234,6 +301,22 @@ classes:
- short_name - short_name
exact_mappings: exact_mappings:
- obo:OBI_0000272 - 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: Study:
class_uri: inm7fd:Study class_uri: inm7fd:Study
@ -254,6 +337,37 @@ classes:
- implements - implements
- name - name
- short_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: StudyActivity:
class_uri: inm7fd:StudyActivity class_uri: inm7fd:StudyActivity
@ -270,6 +384,34 @@ classes:
- implements - implements
- study - study
- subjects - 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: Subject:
class_uri: inm7fd:Subject class_uri: inm7fd:Subject
@ -286,8 +428,30 @@ classes:
- study - study
- subject_type - subject_type
slot_usage: 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: specimen_of:
range: Subject range: Subject
annotations:
sh:order: 4
description:
annotations:
sh:order: 5
dash:singleLine: false
display_label:
recommended: true
annotations:
sh:order: 6
SubjectType: SubjectType:
class_uri: inm7fd:SubjectType class_uri: inm7fd:SubjectType
@ -298,3 +462,16 @@ classes:
Classifier for the nature of a subject. Classifier for the nature of a subject.
slots: slots:
- name - 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": { "inm7:sub/hgd54732": {
"pid": "inm7:sub/hgd54732", "pid": "inm7:sub/hgd54732",
"schema_type": "inm7fd:Subject", "schema_type": "inm7fd:Subject",
"study": "inm7:study/demo",
"name": "HGD54732" "name": "HGD54732"
}, },
"inm7:studyact/demo/sub1-sess1-demographics": { "inm7:studyact/demo/sub1-sess1-demographics": {
"pid": "inm7:studyact/demo/sub1-sess1-demographics", "pid": "inm7:studyact/demo/sub1-sess1-demographics",
"schema_type": "inm7fd:StudyActivity", "schema_type": "inm7fd:StudyActivity",
"study": "inm7:study/demo",
"factors": [ "factors": [
"inm7:fac/site/fzj" "inm7:fac/site/fzj"
], ],
@ -48,7 +50,6 @@
"implements": [ "implements": [
"inm7:prot/demographics-v1" "inm7:prot/demographics-v1"
], ],
"study": "inm7:study/demo",
"subjects": [ "subjects": [
"inm7:sub/hgd54732" "inm7:sub/hgd54732"
] ]

View file

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