Skip to content

Commit 82c3610

Browse files
committed
more work on relations fields
1 parent 6c1ff26 commit 82c3610

1 file changed

Lines changed: 32 additions & 6 deletions

File tree

docs/relations-fields.md

Lines changed: 32 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Relations Fields
22

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.
44

55
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.
66

@@ -19,7 +19,7 @@ Starting in GeoBlacklight version 4.0, these fields are used to populate relatio
1919

2020
!!! warn
2121

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.
2323

2424
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.
2525

@@ -99,10 +99,10 @@ IDs entered in this field will populate a "Source records..." widget on the deri
9999

100100
## Is Version Of
101101

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:
103103

104104
* 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).
106106

107107
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.
108108

@@ -112,8 +112,34 @@ IDs entered in this field will populate an "Is version of..." widget on the item
112112

113113
**Item's show page**
114114

115-
![related records widget - source](images/rel-is-version-of.png)
115+
![is version of widget](images/rel-is-version-of.png)
116116

117117
**Linked item's show page**
118118

119-
![related records widget - link](images/rel-has-version.png)
119+
![has version widget](images/rel-has-version.png)
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+
![replaces widget](images/rel-replaces.png)
134+
135+
**Deprecated item's show page**
136+
137+
![is replaced by widget](images/rel-is-replaced-by.png)
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

Comments
 (0)