Skip to content

Commit b7974a4

Browse files
committed
Revised logical relationships for consistency across layers. Added abstract vs. concrete conception into constitutive, regulative and collection layer. Added equation layer to annotated embedded equations.
1 parent 3939ce5 commit b7974a4

6 files changed

Lines changed: 459 additions & 40 deletions

IG Core/IG Collection Relationship.json

Lines changed: 98 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,68 +1,71 @@
11
[ {
22
"name" : "webanno.custom.IGElementRelationship",
33
"features" : [ {
4+
"name" : "Exhaustive",
5+
"tag_set" : null,
6+
"uiName" : "Exhaustive",
7+
"type" : "uima.cas.Boolean",
8+
"enabled" : true,
9+
"visible" : true,
10+
"include_in_hover" : false,
11+
"required" : false,
12+
"remember" : false,
13+
"hideUnconstraintFeature" : true,
14+
"description" : "Indicates that listing or collection is exhaustive (i.e., statement does not use terms that signal open-ended relationships, such as \"included\")",
15+
"project_name" : "IG-Inception-Layer Development",
16+
"multi_value_mode" : "NONE",
17+
"link_mode" : "NONE",
18+
"link_type_name" : null,
19+
"link_type_role_feature_name" : null,
20+
"link_type_target_feature_name" : null,
21+
"traits" : null
22+
}, {
423
"name" : "ElementRelationship",
524
"tag_set" : {
6-
"name" : "IG Collection Relationships",
25+
"name" : "IG Component Relationships",
726
"typeUiName" : null,
8-
"description" : "Collection Element Relationships to decompose collections into element and collection entities",
27+
"description" : "Logical Component Relationships",
928
"language" : null,
1029
"type" : null,
1130
"type_name" : null,
1231
"type_description" : null,
1332
"tags" : [ {
14-
"tag_name" : "AND Relationship",
15-
"tag_description" : "Identifies elements as AND-combined"
33+
"tag_name" : "AND",
34+
"tag_description" : "Indicates AND relationship, i.e., conjunction of components. The relationship is undirected."
1635
}, {
17-
"tag_name" : "NOR Relationship",
18-
"tag_description" : "Identifies elements as NEITHER/NOR (NOR)-combined"
36+
"tag_name" : "AND NOT",
37+
"tag_description" : "Describes a combination of statements, where the occurrence of the action specified in the first statement is combined with the non-occurrence of the action specified in the second statement. The relationship is directed; the target is the non-occurring action statement."
1938
}, {
20-
"tag_name" : "OR Relationship",
21-
"tag_description" : "Identifies elements as AND/OR-combined"
39+
"tag_name" : "AND/OR",
40+
"tag_description" : "Indicates AND/OR relationship (OR) in which both components may apply, or either one of those, i.e., an inclusive disjunction. The relationship is undirected."
2241
}, {
23-
"tag_name" : "Parent-Child Relationship (Target is Parent)",
24-
"tag_description" : "Identifies a parent-child relationship between elements, with the parent being the element defined or composed, and the child as a component."
42+
"tag_name" : "Child-to-Parent Relationship (Target is Parent)",
43+
"tag_description" : "Identifies a parent-child relationship between elements, with the parent being the element defined or composed, and the child its component or property.\r\nThis relationship type applies to various forms of annotations, but most notably to \r\n- component-level combinations (logical combinations of same components)\r\n- relationships between objects and properties, and\r\n- properties and sub-properties (Object-Property Hierarchy)."
2544
}, {
26-
"tag_name" : "XOR Relationship",
27-
"tag_description" : "Identifies elements as EITHER/OR (XOR)-combined"
45+
"tag_name" : "NOR",
46+
"tag_description" : "Describes a NEITHER-NOR (NOR) relationship of components, where the non-occurrence of the first component is combined with the non-occurrence of the second component of the same type. The relationship is undirected."
47+
}, {
48+
"tag_name" : "XOR",
49+
"tag_description" : "Indicates an EITHER-OR (XOR) relationship, i.e., exclusive disjunction. The relationship is undirected."
2850
} ],
2951
"create_tag" : true
3052
},
31-
"uiName" : "Element Relationship",
53+
"uiName" : "Logical Relationship",
3254
"type" : "uima.cas.String",
3355
"enabled" : true,
3456
"visible" : true,
3557
"include_in_hover" : false,
3658
"required" : false,
3759
"remember" : false,
3860
"hideUnconstraintFeature" : false,
39-
"description" : "Indicate element relationship",
61+
"description" : "Indicate logical relationship between elements",
4062
"project_name" : "IG-Inception-Layer Development",
4163
"multi_value_mode" : "NONE",
4264
"link_mode" : "NONE",
4365
"link_type_name" : null,
4466
"link_type_role_feature_name" : null,
4567
"link_type_target_feature_name" : null,
46-
"traits" : "{\"multipleRows\":false,\"collapsedRows\":1,\"expandedRows\":1,\"keyBindings\":[{\"keyCombo\":\"a\",\"value\":\"AND Relationship\"},{\"keyCombo\":\"o\",\"value\":\"OR Relationship\"},{\"keyCombo\":\"p\",\"value\":\"Parent-Child Relationship (Target is Parent)\"},{\"keyCombo\":\"x\",\"value\":\"XOR Relationship\"},{\"keyCombo\":\"n\",\"value\":\"NOR Relationship\"}]}"
47-
}, {
48-
"name" : "Exhaustive",
49-
"tag_set" : null,
50-
"uiName" : "Exhaustive",
51-
"type" : "uima.cas.Boolean",
52-
"enabled" : true,
53-
"visible" : true,
54-
"include_in_hover" : false,
55-
"required" : false,
56-
"remember" : false,
57-
"hideUnconstraintFeature" : true,
58-
"description" : "Indicates that listing or collection is exhaustive (i.e., statement does not use terms that signal open-ended relationships, such as \"included\")",
59-
"project_name" : "IG-Inception-Layer Development",
60-
"multi_value_mode" : "NONE",
61-
"link_mode" : "NONE",
62-
"link_type_name" : null,
63-
"link_type_role_feature_name" : null,
64-
"link_type_target_feature_name" : null,
65-
"traits" : null
68+
"traits" : "{\"multipleRows\":false,\"dynamicSize\":false,\"collapsedRows\":1,\"expandedRows\":1,\"keyBindings\":[{\"keyCombo\":\"a\",\"value\":\"AND\"},{\"keyCombo\":\"m\",\"value\":\"AND NOT\"},{\"keyCombo\":\"o\",\"value\":\"AND/OR\"},{\"keyCombo\":\"p\",\"value\":\"Child-to-Parent Relationship (Target is Parent)\"},{\"keyCombo\":\"n\",\"value\":\"NOR\"},{\"keyCombo\":\"x\",\"value\":\"XOR\"}]}"
6669
}, {
6770
"name" : "PrecedenceOrder",
6871
"tag_set" : null,
@@ -103,10 +106,46 @@
103106
"multiple_tokens" : true,
104107
"project_name" : "IG-Inception-Layer Development",
105108
"linked_list_behavior" : false,
106-
"on_click_javascript_action" : null
109+
"on_click_javascript_action" : null,
110+
"traits" : null
107111
}, {
108112
"name" : "webanno.custom.IGElement",
109113
"features" : [ {
114+
"name" : "AbstractvsConcrete",
115+
"tag_set" : {
116+
"name" : "IG Entity Characteristic",
117+
"typeUiName" : null,
118+
"description" : "Indicates the nature of the entity characteristics",
119+
"language" : null,
120+
"type" : null,
121+
"type_name" : null,
122+
"type_description" : null,
123+
"tags" : [ {
124+
"tag_name" : "abstract",
125+
"tag_description" : "Signals an abstract entity (e.g., thought, institutional statement, etc.)"
126+
}, {
127+
"tag_name" : "concrete",
128+
"tag_description" : "Indicates a concrete physical entity"
129+
} ],
130+
"create_tag" : true
131+
},
132+
"uiName" : "Abstract vs. Concrete",
133+
"type" : "uima.cas.String",
134+
"enabled" : true,
135+
"visible" : true,
136+
"include_in_hover" : false,
137+
"required" : false,
138+
"remember" : false,
139+
"hideUnconstraintFeature" : false,
140+
"description" : "Indicates whether entity is abstract (e.g., belief) or concrete (physical).",
141+
"project_name" : "IG-Inception-Layer Development",
142+
"multi_value_mode" : "NONE",
143+
"link_mode" : "NONE",
144+
"link_type_name" : null,
145+
"link_type_role_feature_name" : null,
146+
"link_type_target_feature_name" : null,
147+
"traits" : "{\"multipleRows\":false,\"dynamicSize\":false,\"collapsedRows\":1,\"expandedRows\":1,\"keyBindings\":[]}"
148+
}, {
110149
"name" : "ElementType",
111150
"tag_set" : {
112151
"name" : "IG Collection Element Type",
@@ -119,6 +158,9 @@
119158
"tags" : [ {
120159
"tag_name" : "Action",
121160
"tag_description" : "Identifies element type as action"
161+
}, {
162+
"tag_name" : "Collection",
163+
"tag_description" : null
122164
}, {
123165
"tag_name" : "Object",
124166
"tag_description" : "Identifies element type as object"
@@ -144,6 +186,25 @@
144186
"link_type_role_feature_name" : null,
145187
"link_type_target_feature_name" : null,
146188
"traits" : "{\"multipleRows\":false,\"collapsedRows\":1,\"expandedRows\":1,\"keyBindings\":[{\"keyCombo\":\"a\",\"value\":\"Action\"},{\"keyCombo\":\"o\",\"value\":\"Object\"},{\"keyCombo\":\"P\",\"value\":\"Property\"}]}"
189+
}, {
190+
"name" : "EmbedsInstitutionalStatement",
191+
"tag_set" : null,
192+
"uiName" : "Embeds Institutional Statement",
193+
"type" : "uima.cas.Boolean",
194+
"enabled" : true,
195+
"visible" : true,
196+
"include_in_hover" : false,
197+
"required" : false,
198+
"remember" : false,
199+
"hideUnconstraintFeature" : false,
200+
"description" : "Indicates whether the component is or embeds an institutional statement in its own right.",
201+
"project_name" : "IG-Inception-Layer Development",
202+
"multi_value_mode" : "NONE",
203+
"link_mode" : "NONE",
204+
"link_type_name" : null,
205+
"link_type_role_feature_name" : null,
206+
"link_type_target_feature_name" : null,
207+
"traits" : null
147208
} ],
148209
"uiName" : "IG Collection",
149210
"type" : "span",
@@ -163,5 +224,6 @@
163224
"multiple_tokens" : true,
164225
"project_name" : "IG-Inception-Layer Development",
165226
"linked_list_behavior" : false,
166-
"on_click_javascript_action" : null
227+
"on_click_javascript_action" : null,
228+
"traits" : null
167229
} ]

IG Core/IG Complex Data Structure Relationship.json

Lines changed: 90 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,72 @@
11
[ {
22
"name" : "webanno.custom.IGComplexDataRelationship",
3-
"features" : [ ],
3+
"features" : [ {
4+
"name" : "LogicalRelationship",
5+
"tag_set" : {
6+
"name" : "IG Component Relationships",
7+
"typeUiName" : null,
8+
"description" : "Logical Component Relationships",
9+
"language" : null,
10+
"type" : null,
11+
"type_name" : null,
12+
"type_description" : null,
13+
"tags" : [ {
14+
"tag_name" : "AND",
15+
"tag_description" : "Indicates AND relationship, i.e., conjunction of components. The relationship is undirected."
16+
}, {
17+
"tag_name" : "AND NOT",
18+
"tag_description" : "Describes a combination of statements, where the occurrence of the action specified in the first statement is combined with the non-occurrence of the action specified in the second statement. The relationship is directed; the target is the non-occurring action statement."
19+
}, {
20+
"tag_name" : "AND/OR",
21+
"tag_description" : "Indicates AND/OR relationship (OR) in which both components may apply, or either one of those, i.e., an inclusive disjunction. The relationship is undirected."
22+
}, {
23+
"tag_name" : "Child-to-Parent Relationship (Target is Parent)",
24+
"tag_description" : "Identifies a parent-child relationship between elements, with the parent being the element defined or composed, and the child its component or property.\r\nThis relationship type applies to various forms of annotations, but most notably to \r\n- component-level combinations (logical combinations of same components)\r\n- relationships between objects and properties, and\r\n- properties and sub-properties (Object-Property Hierarchy)."
25+
}, {
26+
"tag_name" : "NOR",
27+
"tag_description" : "Describes a NEITHER-NOR (NOR) relationship of components, where the non-occurrence of the first component is combined with the non-occurrence of the second component of the same type. The relationship is undirected."
28+
}, {
29+
"tag_name" : "XOR",
30+
"tag_description" : "Indicates an EITHER-OR (XOR) relationship, i.e., exclusive disjunction. The relationship is undirected."
31+
} ],
32+
"create_tag" : true
33+
},
34+
"uiName" : "Logical Relationship",
35+
"type" : "uima.cas.String",
36+
"enabled" : true,
37+
"visible" : true,
38+
"include_in_hover" : false,
39+
"required" : false,
40+
"remember" : false,
41+
"hideUnconstraintFeature" : false,
42+
"description" : "Describes the logical relationship between elements.",
43+
"project_name" : "IG-Inception-Layer Development",
44+
"multi_value_mode" : "NONE",
45+
"link_mode" : "NONE",
46+
"link_type_name" : null,
47+
"link_type_role_feature_name" : null,
48+
"link_type_target_feature_name" : null,
49+
"traits" : "{\"multipleRows\":false,\"dynamicSize\":false,\"collapsedRows\":1,\"expandedRows\":1,\"keyBindings\":[{\"keyCombo\":\"a\",\"value\":\"AND\"},{\"keyCombo\":\"o\",\"value\":\"AND/OR\"},{\"keyCombo\":\"p\",\"value\":\"Child-to-Parent Relationship (Target is Parent)\"},{\"keyCombo\":\"x\",\"value\":\"XOR\"},{\"keyCombo\":\"m\",\"value\":\"AND NOT\"},{\"keyCombo\":\"n\",\"value\":\"NOR\"}]}"
50+
}, {
51+
"name" : "PrecedenceofElementRelationships",
52+
"tag_set" : null,
53+
"uiName" : "Precedence of Element Relationships",
54+
"type" : "uima.cas.Integer",
55+
"enabled" : true,
56+
"visible" : true,
57+
"include_in_hover" : false,
58+
"required" : false,
59+
"remember" : false,
60+
"hideUnconstraintFeature" : false,
61+
"description" : "Indicates precedence among component relationships. Lower values imply lower precedence/priority.",
62+
"project_name" : "IG-Inception-Layer Development",
63+
"multi_value_mode" : "NONE",
64+
"link_mode" : "NONE",
65+
"link_type_name" : null,
66+
"link_type_role_feature_name" : null,
67+
"link_type_target_feature_name" : null,
68+
"traits" : "{\"limited\":true,\"minimum\":1,\"maximum\":99,\"editorType\":\"SPINNER\"}"
69+
} ],
470
"uiName" : "IG Complex Data Structure Relationship",
571
"type" : "relation",
672
"description" : "Links components of complex data structure to ensure association",
@@ -21,7 +87,8 @@
2187
"multiple_tokens" : true,
2288
"project_name" : "IG-Inception-Layer Development",
2389
"linked_list_behavior" : false,
24-
"on_click_javascript_action" : null
90+
"on_click_javascript_action" : null,
91+
"traits" : null
2592
}, {
2693
"name" : "webanno.custom.IGComplexDataStructure",
2794
"features" : [ {
@@ -71,6 +138,25 @@
71138
"link_type_role_feature_name" : null,
72139
"link_type_target_feature_name" : null,
73140
"traits" : "{\"multipleRows\":false,\"collapsedRows\":1,\"expandedRows\":1,\"keyBindings\":[]}"
141+
}, {
142+
"name" : "InferredComponentValues",
143+
"tag_set" : null,
144+
"uiName" : "Inferred Component Value(s)",
145+
"type" : "uima.cas.String",
146+
"enabled" : true,
147+
"visible" : true,
148+
"include_in_hover" : false,
149+
"required" : false,
150+
"remember" : false,
151+
"hideUnconstraintFeature" : false,
152+
"description" : "Indicates the inferred value(s) of the component. Where multiple values are inferred, separate those by '|'.",
153+
"project_name" : "IG-Inception-Layer Development",
154+
"multi_value_mode" : "NONE",
155+
"link_mode" : "NONE",
156+
"link_type_name" : null,
157+
"link_type_role_feature_name" : null,
158+
"link_type_target_feature_name" : null,
159+
"traits" : "{\"multipleRows\":false,\"dynamicSize\":false,\"collapsedRows\":1,\"expandedRows\":1,\"keyBindings\":[]}"
74160
} ],
75161
"uiName" : "IG Complex Data Structure",
76162
"type" : "span",
@@ -90,5 +176,6 @@
90176
"multiple_tokens" : true,
91177
"project_name" : "IG-Inception-Layer Development",
92178
"linked_list_behavior" : false,
93-
"on_click_javascript_action" : null
179+
"on_click_javascript_action" : null,
180+
"traits" : null
94181
} ]

IG Core/IG Core Constitutive Component Relationship.json

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,41 @@
130130
}, {
131131
"name" : "webanno.custom.IGCoreConstitutiveSyntax",
132132
"features" : [ {
133+
"name" : "AbstractvsConcrete",
134+
"tag_set" : {
135+
"name" : "IG Entity Characteristic",
136+
"typeUiName" : null,
137+
"description" : "Indicates the nature of the entity characteristics",
138+
"language" : null,
139+
"type" : null,
140+
"type_name" : null,
141+
"type_description" : null,
142+
"tags" : [ {
143+
"tag_name" : "abstract",
144+
"tag_description" : "Signals an abstract entity (e.g., thought, institutional statement, etc.)"
145+
}, {
146+
"tag_name" : "concrete",
147+
"tag_description" : "Indicates a concrete physical entity"
148+
} ],
149+
"create_tag" : true
150+
},
151+
"uiName" : "Abstract vs. Concrete",
152+
"type" : "uima.cas.String",
153+
"enabled" : true,
154+
"visible" : true,
155+
"include_in_hover" : false,
156+
"required" : false,
157+
"remember" : false,
158+
"hideUnconstraintFeature" : false,
159+
"description" : "Indicates entity as either abstract (e.g., conceptual) or concrete (physical) in kind.",
160+
"project_name" : "IG-Inception-Layer Development",
161+
"multi_value_mode" : "NONE",
162+
"link_mode" : "NONE",
163+
"link_type_name" : null,
164+
"link_type_role_feature_name" : null,
165+
"link_type_target_feature_name" : null,
166+
"traits" : "{\"multipleRows\":false,\"dynamicSize\":false,\"collapsedRows\":1,\"expandedRows\":1,\"keyBindings\":[]}"
167+
}, {
133168
"name" : "AdditionalLabels",
134169
"tag_set" : null,
135170
"uiName" : "Additional Label(s)",

0 commit comments

Comments
 (0)