From 247fe7522dc999aff8957723fbbb24fc817db976 Mon Sep 17 00:00:00 2001 From: russell-d-e Date: Mon, 24 Oct 2022 16:29:14 -0400 Subject: [PATCH] created a new NODE property to have the dataInsertedBy property, this allows the SAME_AS to have a dataInsertedBy property without having to have an identifier. --- RACK-Ontology/ontology/PROV-S.sadl | 6 ++++-- RACK-Ontology/ontology/RESOLUTIONS.sadl | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/RACK-Ontology/ontology/PROV-S.sadl b/RACK-Ontology/ontology/PROV-S.sadl index 46f3eb39..8270c0ad 100644 --- a/RACK-Ontology/ontology/PROV-S.sadl +++ b/RACK-Ontology/ontology/PROV-S.sadl @@ -19,15 +19,17 @@ uri "http://arcos.rack/PROV-S" alias provs (note "a basic Implementation of PROV Data Model standard in SADL based on table https://www.w3.org/TR/prov-dm/#relations-at-a-glance"). +NODE is a class. + dataInsertedBy (note "The activity that caused this data to be added to RACK") describes NODE with values of type ACTIVITY. -THING (note "A piece of data stored in RACK") is a class. + +THING (note "A piece of data stored in RACK") is a type of NODE. identifier (note "identifier is any data item that is used to associate items on when loading into the data store.") describes THING with values of type string. identifier describes THING with at most 1 value. title (note "A short, human-readable identifying label.") describes THING with values of type string. title describes THING with at most 1 value. description (note "A free-form, multi-line, human-readable explanation of this data element.") describes THING with values of type string. description describes THING with at most 1 value. - dataInsertedBy (note "The activity that caused this data to be added to RACK") describes THING with values of type ACTIVITY. ENTITY (note "An entity is a physical, digital, conceptual, or other kind of thing with some fixed aspects; entities may be real or imaginary.") is a type of THING. diff --git a/RACK-Ontology/ontology/RESOLUTIONS.sadl b/RACK-Ontology/ontology/RESOLUTIONS.sadl index 84a68a72..665aff48 100644 --- a/RACK-Ontology/ontology/RESOLUTIONS.sadl +++ b/RACK-Ontology/ontology/RESOLUTIONS.sadl @@ -18,6 +18,6 @@ uri "http://arcos.rack/RESOLUTIONS" alias Rs. import "http://arcos.rack/PROV-S". -SAME_AS (note "Used to create curation relationships between two nodes. When two THINGs are connected via the SAME_AS relationship it means that the THINGs are actually describing the same. SAME_AS relationships will be collapsed into a single THING by the resolution process.") is a class. +SAME_AS (note "Used to create curation relationships between two nodes. When two THINGs are connected via the SAME_AS relationship it means that the THINGs are actually describing the same. SAME_AS relationships will be collapsed into a single THING by the resolution process.") is a type of NODE. primary (note "The primary THING is the one which will remain after the merge processes any conflicts will be resolved by using the primary's value, for example the resulting identifier will be the identifier from the primary") describes SAME_AS with a single value of type THING. secondary (note "the secondary THINGs are the entity that will be removed during the resolution process, any attributes that do not conflict will be copied to the to the primary,") describes SAME_AS with values of type THING. \ No newline at end of file