Skip to content

Commit 87f4b32

Browse files
authored
Merge pull request #130 from brain-bican/autogenerated-yaml-20241220000418
Auto PR: assertion_evidence.yaml generated from google spreadsheets using schemasheets
2 parents 514a269 + 8073cc6 commit 87f4b32

File tree

10 files changed

+749
-492
lines changed

10 files changed

+749
-492
lines changed
Lines changed: 49 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,71 @@
11
```mermaid
22
erDiagram
3+
Activity {
4+
datetime ended_at_time
5+
datetime started_at_time
6+
}
7+
Agent {
8+
9+
}
10+
Annotation {
11+
12+
}
313
Assertion {
414
Categories has_assertion_category
5-
string has_assertion_text
15+
string has_assertion_description
16+
string has_assertion_summary
17+
}
18+
CellAnnotation {
19+
620
}
721
Document {
22+
uri identifier
23+
}
24+
EvidenceItem {
825
926
}
10-
Activity {
11-
datetime ended_at_time
12-
datetime started_at_time
27+
EvidenceLine {
28+
EvidenceDirection evidence_direction
29+
EvidenceStrength evidence_line_strength
30+
Categories has_evidence_category
31+
string has_evidenceline_description
1332
}
14-
Agent {
33+
Group {
1534
1635
}
17-
AssertionSummary {
18-
string has_assertion_summary
36+
Identifier {
37+
1938
}
20-
EvidenceSummary {
21-
string has_evidence_summary
39+
OrcidIdentifier {
40+
2241
}
23-
AssertionMethod {
42+
Organization {
2443
2544
}
26-
DataAnnotation {
45+
Person {
2746
2847
}
29-
Evidence {
30-
Categories has_evidence_category
31-
string has_evidence_text
48+
PersonIdentifier {
49+
50+
}
51+
SoftwareAgent {
52+
3253
}
3354
34-
Assertion ||--|o AssertionMethod : "has_assertion_method"
35-
Assertion ||--|o AssertionSummary : "is_associated_with"
36-
Assertion ||--|o DataAnnotation : "has_data_annotation"
37-
Agent ||--|o Activity : "is_associated_with"
38-
Evidence ||--|o Assertion : "used_in"
39-
Evidence ||--|o EvidenceSummary : "is_associated_with"
55+
Activity ||--|o Agent : "was_associate_with"
56+
Agent ||--|o Identifier : "has_identifier"
57+
Assertion ||--|o Annotation : "has_annotation"
58+
Assertion ||--|o Activity : "was_generated_by"
59+
Assertion ||--|o EvidenceLine : "has_evidence_line"
60+
Document ||--|o Document : "reference"
61+
EvidenceItem ||--|o Document : "reference"
62+
EvidenceLine ||--|o EvidenceItem : "has_evidence_item"
63+
EvidenceLine ||--|o Activity : "was_generated_by"
64+
Group ||--|o Identifier : "has_identifier"
65+
Organization ||--|o Identifier : "has_identifier"
66+
Person ||--|o Organization : "member"
67+
Person ||--|o Identifier : "has_identifier"
68+
SoftwareAgent ||--|o Identifier : "has_identifier"
4069
4170
```
4271

json-schema-autogen/assertion_evidence.json

Lines changed: 137 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
"description": "The prov:startedAtTime establishes the relationship between prov:Activity and xsd:DateTime that allows one to specify the time when the activity started.",
1414
"format": "date-time",
1515
"type": "string"
16+
},
17+
"was_associate_with": {
18+
"$ref": "#/$defs/Agent"
1619
}
1720
},
1821
"title": "Activity",
@@ -22,69 +25,48 @@
2225
"additionalProperties": false,
2326
"description": "An agent is something that bears some form of responsibility for an activity taking place, for the existence of an entity, or for another agent's activity.",
2427
"properties": {
25-
"is_associated_with": {
26-
"$ref": "#/$defs/Activity",
27-
"description": "The brainkb:isAssociatedWith property establishes relationships between different entities: it connects prov:Agent to prov:Activity, reflecting the involvement or connection between an agent and an activity."
28+
"has_identifier": {
29+
"$ref": "#/$defs/Identifier"
2830
}
2931
},
3032
"title": "Agent",
3133
"type": "object"
3234
},
35+
"Annotation": {
36+
"additionalProperties": false,
37+
"description": "An annotation is a written explanatory or critical description, or other in-context information (e.g., pattern, motif, link), that has been associated with data or other types of information.",
38+
"title": "Annotation",
39+
"type": "object"
40+
},
3341
"Assertion": {
3442
"additionalProperties": false,
3543
"description": "A statement made by a particular agent on a particular occasion that a particular proposition is true, based on the evaluation of one or more lines of evidence.",
3644
"properties": {
37-
"hasAssertionCategory": {
45+
"has_annotation": {
46+
"$ref": "#/$defs/Annotation"
47+
},
48+
"has_assertion_category": {
3849
"$ref": "#/$defs/Categories",
3950
"description": "The brainkb:hasAssertionCategory property relates brainkb:Evidence and brainkb:Categories, specifying the classification or category that the assertion belongs to."
4051
},
41-
"hasAssertionMethod": {
42-
"$ref": "#/$defs/AssertionMethod",
43-
"description": "The brainkb:hasAssertionMethod property relates an eco:Assertion to an brainkb:AssertionMethod that differentiates different types of assertions techniques used while making an assertion."
52+
"has_assertion_description": {
53+
"type": "string"
4454
},
45-
"hasAssertionText": {
46-
"description": "The brainkb:hasAssertionText property relates an eco:Assertion to an xsd:string, providing a textual excerpt of the assertion being made.",
55+
"has_assertion_summary": {
56+
"description": "The brainkb:has_assertion_text property relates an eco:Assertion to an xsd:string, providing a textual excerpt of the assertion being made.",
4757
"type": "string"
4858
},
49-
"has_data_annotation": {
50-
"$ref": "#/$defs/DataAnnotation"
59+
"has_evidence_line": {
60+
"$ref": "#/$defs/EvidenceLine",
61+
"description": "A relationship between an assertion or proposition and an evidence line used in evaluating its validity."
5162
},
52-
"is_associated_with": {
53-
"$ref": "#/$defs/AssertionSummary",
54-
"description": "The brainkb:isAssociatedWith property establishes relationships between different entities:it links sepio:Assertion to brainkb:AssertionSummary, indicating the association between an assertion and its corresponding summary."
63+
"was_generated_by": {
64+
"$ref": "#/$defs/Activity"
5565
}
5666
},
5767
"title": "Assertion",
5868
"type": "object"
5969
},
60-
"AssertionMethod": {
61-
"additionalProperties": false,
62-
"description": "A means by which a statement is made about the entity",
63-
"title": "AssertionMethod",
64-
"type": "object"
65-
},
66-
"AssertionSummary": {
67-
"additionalProperties": false,
68-
"description": "A summary is a brief statement or description of the main points, especially as a conclusion to a work about the assertion.",
69-
"properties": {
70-
"hasAssertionSummary": {
71-
"description": "The brainkb:hasAssertionSummary property relates a brainkb:AssertionSummary to an xsd:string, providing a concise overview that differentiates various assertions. This summary encapsulates the core content of the assertion, allowing for easy identification and understanding of its essence.",
72-
"type": "string"
73-
}
74-
},
75-
"title": "AssertionSummary",
76-
"type": "object"
77-
},
78-
"AssertionType": {
79-
"description": "",
80-
"enum": [
81-
"Positive",
82-
"Negative",
83-
"Inconclusive"
84-
],
85-
"title": "AssertionType",
86-
"type": "string"
87-
},
8870
"Categories": {
8971
"description": "",
9072
"enum": [
@@ -120,64 +102,77 @@
120102
"title": "Categories",
121103
"type": "string"
122104
},
123-
"DataAnnotation": {
105+
"CellAnnotation": {
124106
"additionalProperties": false,
125107
"description": "",
126-
"title": "DataAnnotation",
108+
"title": "CellAnnotation",
127109
"type": "object"
128110
},
129111
"Document": {
130112
"additionalProperties": false,
131113
"description": "A collection of information content entities intended to be understood together as a whole",
114+
"properties": {
115+
"identifier": {
116+
"type": "string"
117+
},
118+
"reference": {
119+
"$ref": "#/$defs/Document"
120+
}
121+
},
132122
"title": "Document",
133123
"type": "object"
134124
},
135-
"Evidence": {
125+
"EvidenceDirection": {
126+
"description": "",
127+
"enum": [
128+
"supporting",
129+
"disputing",
130+
"inconclusive"
131+
],
132+
"title": "EvidenceDirection",
133+
"type": "string"
134+
},
135+
"EvidenceItem": {
136136
"additionalProperties": false,
137137
"description": "",
138138
"properties": {
139-
"hasEvidenceCategory": {
140-
"$ref": "#/$defs/Categories",
141-
"description": "The brainkb:hasEvidenceCategory property relates brainkb:Evidence and brainkb:Categories, specifying the classification or category that the evidence belongs to."
142-
},
143-
"hasEvidenceText": {
144-
"description": "The brainkb:hasEvidenceText property relates an eco:Evidence to an xsd:string, providing a textual excerpt of the evidence supporting the assertion.",
145-
"type": "string"
146-
},
147-
"is_associated_with": {
148-
"$ref": "#/$defs/EvidenceSummary",
149-
"description": "The brainkb:isAssociatedWith property establishes relationships between different entities: it associates eco:Evidence with brainkb:EvidenceSummary, signifying the connection between evidence and its summarized representation."
150-
},
151-
"used_in": {
152-
"$ref": "#/$defs/Assertion",
153-
"description": "The eco:used_in property establishes a relationship between eco:Evidence and eco:Assertion, indicating that the evidence is utilized to support the corresponding assertion."
139+
"reference": {
140+
"$ref": "#/$defs/Document"
154141
}
155142
},
156-
"title": "Evidence",
143+
"title": "EvidenceItem",
157144
"type": "object"
158145
},
159-
"EvidenceSummary": {
146+
"EvidenceLine": {
160147
"additionalProperties": false,
161-
"description": "A summary is a brief statement or description of the main points, especially as a conclusion to a work about the evidence.",
148+
"description": "An evidence line represents an independent and meaningful argument for or against a particular proposition, that is based on the interpretation of one or more pieces of information as evidence.",
162149
"properties": {
163-
"hasEvidenceSummary": {
164-
"description": "The brainkb:hasEvidenceSummary property relates a brainkb:EvidenceSummary to an xsd:string, providing a concise overview that differentiates various evidence. This summary encapsulates the core content of the evidence, allowing for easy identification and understanding of its essence.",
150+
"evidence_direction": {
151+
"$ref": "#/$defs/EvidenceDirection",
152+
"description": "A relation indicating whether an evidence line supports or disputes a target proposition (or represents inconclusive evidence that is not sufficient for either)."
153+
},
154+
"evidence_line_strength": {
155+
"$ref": "#/$defs/EvidenceStrength",
156+
"description": "A relation describing the degree of support provided by an evidence line for a target assertion or proposition."
157+
},
158+
"has_evidence_category": {
159+
"$ref": "#/$defs/Categories"
160+
},
161+
"has_evidence_item": {
162+
"$ref": "#/$defs/EvidenceItem",
163+
"description": "A relation holding between an evidence line and an individual information entity that contributes to the argument it represents."
164+
},
165+
"has_evidenceline_description": {
165166
"type": "string"
167+
},
168+
"was_generated_by": {
169+
"$ref": "#/$defs/Activity"
166170
}
167171
},
168-
"title": "EvidenceSummary",
172+
"title": "EvidenceLine",
169173
"type": "object"
170174
},
171-
"Significance": {
172-
"description": "",
173-
"enum": [
174-
"Clinical",
175-
"NonClinical"
176-
],
177-
"title": "Significance",
178-
"type": "string"
179-
},
180-
"SignificanceLevel": {
175+
"EvidenceStrength": {
181176
"description": "",
182177
"enum": [
183178
"HighlySignificant",
@@ -186,8 +181,73 @@
186181
"NotSignificant",
187182
"Unknown"
188183
],
189-
"title": "SignificanceLevel",
184+
"title": "EvidenceStrength",
190185
"type": "string"
186+
},
187+
"Group": {
188+
"additionalProperties": false,
189+
"description": "",
190+
"properties": {
191+
"has_identifier": {
192+
"$ref": "#/$defs/Identifier"
193+
}
194+
},
195+
"title": "Group",
196+
"type": "object"
197+
},
198+
"Identifier": {
199+
"additionalProperties": false,
200+
"description": "",
201+
"title": "Identifier",
202+
"type": "object"
203+
},
204+
"OrcidIdentifier": {
205+
"additionalProperties": false,
206+
"description": "",
207+
"title": "OrcidIdentifier",
208+
"type": "object"
209+
},
210+
"Organization": {
211+
"additionalProperties": false,
212+
"description": "",
213+
"properties": {
214+
"has_identifier": {
215+
"$ref": "#/$defs/Identifier"
216+
}
217+
},
218+
"title": "Organization",
219+
"type": "object"
220+
},
221+
"Person": {
222+
"additionalProperties": false,
223+
"description": "",
224+
"properties": {
225+
"has_identifier": {
226+
"$ref": "#/$defs/Identifier"
227+
},
228+
"member": {
229+
"$ref": "#/$defs/Organization"
230+
}
231+
},
232+
"title": "Person",
233+
"type": "object"
234+
},
235+
"PersonIdentifier": {
236+
"additionalProperties": false,
237+
"description": "",
238+
"title": "PersonIdentifier",
239+
"type": "object"
240+
},
241+
"SoftwareAgent": {
242+
"additionalProperties": false,
243+
"description": "",
244+
"properties": {
245+
"has_identifier": {
246+
"$ref": "#/$defs/Identifier"
247+
}
248+
},
249+
"title": "SoftwareAgent",
250+
"type": "object"
191251
}
192252
},
193253
"$id": "https://identifiers.org/brain-bican/assertion-evidence-schema",

0 commit comments

Comments
 (0)