You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/relations-fields.md
+32-6Lines changed: 32 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Relations Fields
2
2
3
-
Fields in the "relations" group are used to describe how records relate to each other. All these fields are designed to store the [ID(s)](https://opengeometadata.org/ogm-aardvark/#id) of related records. More than one record can be listed within each relationship type.
3
+
Fields in the "relations" group are used to describe how records relate to each other. All of them are designed to store the [ID(s)](https://opengeometadata.org/ogm-aardvark/#id) of related records. More than one record can be listed within each relationship field.
4
4
5
5
Starting in GeoBlacklight version 4.0, these fields are used to populate relationship widgets in the application sidebar, allowing users to easily explore related records and understand how they are connected. The relationship widgets are customizable in the `geoblacklight.en.yml` and `settings.yml` files.
6
6
@@ -19,7 +19,7 @@ Starting in GeoBlacklight version 4.0, these fields are used to populate relatio
19
19
20
20
!!! warn
21
21
22
-
This field should only be used for *one* of a pair of related records. If both records use this field, it will duplicate the "Related records..." widget. To disable this behavior, you can customize the `geoblacklight.en.yml` and `settings.yml` files in your local application.
22
+
This field should only be used for *one* of a pair of related records. If both records use this field, it will duplicate the "Related records..." widget on each item's show page. To disable this behavior, you can customize the `geoblacklight.en.yml` and `settings.yml` files in your local application.
23
23
24
24
Use this field to link to records that are related in a general or non-specific way. IDs entered in this field will populate a "Related records..." widget on the item's show page, as well as on the related item's show page. Nothing needs to be entered in the related item's metadata.
25
25
@@ -99,10 +99,10 @@ IDs entered in this field will populate a "Source records..." widget on the deri
99
99
100
100
## Is Version Of
101
101
102
-
Use this field to link an item that is a version, variation, or adaptation to its source dataset. The field can contain:
102
+
Use this field to link an item that is a version, variation, or adaptation of a pre-existing dataset. The field can contain:
103
103
104
104
* The ID of the most recent related record(s), or
105
-
* The ID of a parent record (see "Member Of" and "Is Part Of" for similar examples)
105
+
* The ID of a parent record (see "Member Of" and "Is Part Of" for similar examples).
106
106
107
107
IDs entered in this field will populate an "Is version of..." widget on the item's show page and a "Has version..." widget on the linked item's show page. Nothing needs to be entered in the linked item's metadata.
108
108
@@ -112,8 +112,34 @@ IDs entered in this field will populate an "Is version of..." widget on the item
112
112
113
113
**Item's show page**
114
114
115
-

115
+

116
116
117
117
**Linked item's show page**
118
118
119
-

119
+

120
+
121
+
## Replaces
122
+
123
+
This field links to a deprecated version of the dataset. It is especially useful when the deprecated version is needed for reference, such as when it has been cited in a publication and must be retained in a repository.
124
+
125
+
IDs entered in this field will populate a "Replaces..." widget on the newer item's show page and an "Is replaced by..." widget on the deprecated item's show page. Nothing needs to be entered in the deprecated item's metadata.
126
+
127
+
```
128
+
"dct_replaces_sm": ["harvard-g7064-s2-1834-k3"]
129
+
```
130
+
131
+
**Newer item's show page**
132
+
133
+

134
+
135
+
**Deprecated item's show page**
136
+
137
+

138
+
139
+
## Is Replaced By
140
+
141
+
!!! note
142
+
143
+
This field does not trigger a relationship widget. To do so, use the "Replaces" field in the newer item's metadata record.
144
+
145
+
This field links to a newer version of the dataset. It is used for documentation purposes only, such as in the event that a deprecated record is shared with another institution. In practice, however, it may be cumbersome to update deprecated metadata records whenever a new version is created.
0 commit comments