Skip to content

Commit 6a5f2f0

Browse files
committed
more relations fields work
1 parent ac99e53 commit 6a5f2f0

5 files changed

Lines changed: 47 additions & 8 deletions

File tree

25 KB
Loading

docs/images/rel-has-version.png

12.5 KB
Loading

docs/images/rel-is-version-of.png

11.3 KB
Loading

docs/images/rel-source-records.png

9.1 KB
Loading

docs/relations-fields.md

Lines changed: 47 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Starting in GeoBlacklight version 4.0, these fields are used to populate relatio
1616
| [Is Replaced By](../ogm-aardvark/#is-replaced-by) | `dct_isReplacedBy_sm` | Optional |
1717

1818
## Relation
19-
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 record's show page. Nothing needs to be entered in the related record's metadata.
19+
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.
2020

2121
```
2222
"dct_relation_sm": ["nyu_2451_34636"]
@@ -26,7 +26,7 @@ Use this field to link to records that are related in a general or non-specific
2626

2727
![related records widget - source](images/rel-related-record-source.png)
2828

29-
**Related record's show page**
29+
**Related item's show page**
3030

3131
![related records widget - link](images/rel-related-record-link.png)
3232

@@ -36,9 +36,9 @@ Use this field to link to records that are related in a general or non-specific
3636

3737
To link items in a book or atlas, use "Is Part Of" instead.
3838

39-
This field links an item to its collection(s). The first step is to create a separate collection record and assign it a unique ID. Then, enter the collection record's ID in the *member item's* metadata.
39+
This field links an item to its collection(s). The first step is to create a separate collection record and assign it a unique ID. Then, enter the collection item's ID in the *member item's* metadata.
4040

41-
IDs entered in this field in the *member item's* metadata will populate a "Belongs to collection..." widget on the member item's show page and a "Collection records..." widget on the collection's show page. Nothing needs to be entered in the collection record's metadata.
41+
IDs entered in this field in the *member item's* metadata will populate a "Belongs to collection..." widget on the member item's show page and a "Collection records..." widget on the collection item's show page. Nothing needs to be entered in the collection item's metadata.
4242

4343
```
4444
"pcdm_memberOf_sm": ["umass-macconnell-1951"]
@@ -48,7 +48,7 @@ IDs entered in this field in the *member item's* metadata will populate a "Belon
4848

4949
![belongs to collection widget](images/rel-belongs-collection.png)
5050

51-
**Collection's show page**
51+
**Collection item's show page**
5252

5353
![collection records widget](images/rel-collection-records.png)
5454

@@ -58,9 +58,9 @@ IDs entered in this field in the *member item's* metadata will populate a "Belon
5858

5959
To link items in a collection, use "Member Of" instead.
6060

61-
This field is similar to "Member Of" but is intended to link to items that are a subset of another item, like a book or atlas. The first step is to create a separate parent record and assign it a unique ID. Then, enter the parent record's ID in the *member item's* metadata.
61+
This field is similar to "Member Of" but is intended to link to items that are a subset of another item, like a book or atlas. The first step is to create a separate parent record and assign it a unique ID. Then, enter the parent item's ID in the *member item's* metadata.
6262

63-
IDs entered in this field in the *member item's* metadata will populate a "Is part of..." widget on the member item's show page and a "Has part..." widget on the parent's show page. Nothing needs to be entered in the parent record's metadata.
63+
IDs entered in this field in the *member item's* metadata will populate an "Is part of..." widget on the member item's show page and a "Has part..." widget on the parent item's show page. Nothing needs to be entered in the parent item's metadata.
6464

6565
```
6666
"dct_isPartOf_sm": ["88cc9b19-3294-4da9-9edd-775c81fb1c59"]
@@ -70,6 +70,45 @@ IDs entered in this field in the *member item's* metadata will populate a "Is pa
7070

7171
![is part of widget](images/rel-is-part-of.png)
7272

73-
**Parent's show page**
73+
**Parent item's show page**
7474

7575
![has part widget](images/rel-has-part.png)
76+
77+
## Source
78+
79+
This field links an item to the dataset from which it was derived. For example, if a point shapefile is created to digitize the toponyms on a historical map, the historical map's ID would be entered in this field.
80+
81+
IDs entered in this field will populate a "Source records..." widget on the derived item's show page and a "Derived records..." widget on the source item's show page. Nothing needs to be entered in the source item's metadata.
82+
83+
```
84+
"dct_source_sm": ["princeton-1r66j405w"]
85+
```
86+
87+
**Derived item's show page**
88+
89+
![source record widget](images/rel-source-records.png)
90+
91+
**Source item's show page**
92+
93+
![dervied records widget](images/rel-derived-records.png)
94+
95+
## Is Version Of
96+
97+
Use this field to link an item that is a version, variation, or adaptation to its source dataset. The field can contain:
98+
99+
* The ID of the most recent related record(s), or
100+
* The ID of a parent record (see "Member Of" and "Is Part Of" for similar examples)
101+
102+
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.
103+
104+
```
105+
"dct_isVersionOf_sm": ["nyu_2451_34636"]
106+
```
107+
108+
**Item's show page**
109+
110+
![related records widget - source](images/rel-is-version-of.png)
111+
112+
**Linked item's show page**
113+
114+
![related records widget - link](images/rel-has-version.png)

0 commit comments

Comments
 (0)