Created
July 25, 2016 22:28
-
-
Save andrewmagill/1e5b4623b83a90eab9fc1909b1ccc39a to your computer and use it in GitHub Desktop.
Relationships between IDS Objects
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Relationships between IDS Objects: | |
---------------------------- | |
Project to Specimen | |
[Contains, <specimen_id>] (alternate option: HasPart) | |
Specimen to Project | |
[ContainedBy, <project_id>] (alternate option: IsContainedBy, IsPartOf) | |
---------------------------- | |
Specimen to Process | |
[PrecursorTo, <process_id>] (alternate options: IsPrecursorTo, IsSourceOf, HasDerivative) | |
Process to Specimen | |
[IsDerivedFrom, <specimen_id>] | |
---------------------------- | |
Process to Process | |
[PrecursorTo, <process_id>] (alternate options: IsPrecursorTo, IsSourceOf, HasDerivative) | |
Reciprocal | |
[IsDerivedFrom, <process_id>] | |
---------------------------- | |
Process to Data | |
[HasInput, <data_id>] (also: HasOutput) | |
Data to Process | |
[IsInputTo, <process_id>] (also: IsOutputOf) | |
---------------------------- | |
Dataset to Data | |
[Contains, <data_id>] (alternate option: HasPart) | |
Data to Dataset | |
[ContainedBy, <dataset_id>] (alternate option: IsContainedBy, IsPartOf) | |
---------------------------- | |
Project to Dataset | |
[Contains, <dataset_id>] (alternate option: HasPart) | |
Dataset to Project | |
[ContainedBy, <project_id>] (alternate option: IsPartOf) | |
---------------------------- | |
Project to Data | |
[Contains, <data_id>] (alternate option: HasPart) | |
Data to Project | |
[ContainedBy, <project_id>] (alternate option: IsContainedBy, IsPartOf) | |
* I'm assuming the data is associated with the project directly, and temporarily (may be later | |
associated with a process), and that the data does not specifically describe the project. | |
---------------------------- | |
Project to Process | |
[Contains, <process_id>] (alternate option: HasPart) | |
Process to Project | |
[ContainedBy, <project_id>] (alternate option: IsContainedBy, IsPartOf) | |
* I'm assuming the process will later be associated to a Specimen. | |
---------------------------- | |
namespace = 'idsvc' | |
key = '@idsvc:rel:type' or '@idsvc:rel_type' or '@idsvc:type'? | |
example: | |
Relationships = [ | |
{ | |
'@idsvc:type': 'Contains', | |
'@id': '866268035673231846-242ac11f-0001-012' | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment