ecrin-github / rms-portal

The RMS front-end
MIT License
0 stars 0 forks source link

DO class and type #77

Open sergiocontrino opened 1 year ago

sergiocontrino commented 1 year ago

at the moment we define both an object class and a object type. object types are listed in the table lup.object_types, with a flag to mark which one to display (?) and with a object class id.

where is defined the object class?

we need to restrict the types displayed according to the class (and/or to come out with a smaller list of types).

sergiocontrino commented 1 year ago

this actually duplicate #40

scanhamman commented 1 year ago

Hi For information, the object classes are defined originally by DataCite, which is the base schema for the data object part of the ECRIN metadata scheme, and represent the major 'groups of types' of data objects. We have added id values and a type 0, but other than that the MDR object classes are unchanged from the original DataCite definitions. Almost all data objects in the MDR are either text (23) or Dataset data (14). Explicit use of the object_class value is relatively rare in the MDR and (I presume) also in the RMS. I would imagine that they could therefore be safely ignored. Within the MDR systems the classes are defined in the context database, in the lup.object_classes table. I have included the list below. I am not sure if they are included or not in the RMS version of the context tables. This list is very unlikely to change (unless DataCite revises them). Cheers Steve

0 Not yet known Dummy value supplied by default on entity creation. 11 Audiovisual A series of visual representations imparting an impression of motion when shown in succession. May or may not include sound. May be used for films, video, etc. 12 Collection An aggregation of resources, which may encompass collections of one resource type as well as those of mixed types. A collection is described as a group; its parts may also be separately described, e.g. a collection of samples, or various files making up a report. 13 Data paper A factual and objective publication with a focused intent to identify and describe specific data, sets of data, or data collections to facilitate discoverability. A data paper describes data provenance and methodologies used in the gathering, processing, organizing, and representing the data. 14 Dataset Data encoded in a defined structure. A data file or files. 15 Event A non-persistent, time based occurrence. Descriptive information and/or content that is the basis for discovery of the purpose, location, duration, and responsible agents associated with an event such as a webcast or convention. 16 Image A visual representation other than text, e.g. digitised or born digital images, drawings or photographs. 17 Interactive resource A resource requiring interaction from the user to be understood, executed, or experienced, e.g. training modules, files that require use of a viewer, or query/response portals. 18 Model An abstract, conceptual, graphical, mathematical or visualization model that represents empirical objects, phenomena, or physical processes, e.g. modelled descriptions of different aspects of languages or a molecular biology reaction chain. 19 Physical object An inanimate, three dimensional object or substance, e.g. artefacts, specimens. 20 Service An organized system of apparatus, appliances, staff, etc., for supplying some function(s) required by end users, e.g. a data management service, or long term preservation service. 21 Software A computer program in source code (text) or compiled form. Use this type for all software components supporting scholarly research. 22 Sound A resource primarily intended to be heard, e.g. an audio recording. 23 Text A resource consisting primarily of words for reading, includes grey literature, lab notes, accompanying materials as well as published articles. 24 Workflow A structured series of steps which can be executed to produce a final outcome, allowing users a means to specify and enact their work in a more reproducible manner. 90 Other Object class not listed elsewhere.

From: sergio contrino @.> Sent: Friday, July 28, 2023 11:06 AM To: ecrin-github/rms-portal @.> Cc: Subscribed @.***> Subject: [ecrin-github/rms-portal] DO class and type (Issue #77)

at the moment we define both an object class and a object type. object types are listed in the table lup.object_types, with a flag to mark which one to display (?) and with a object class id.

where is defined the object class?

we need to restrict the types displayed according to the class (and/or to come out with a smaller list of types).

- Reply to this email directly, view it on GitHubhttps://github.com/ecrin-github/rms-portal/issues/77, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAOMCYWJXEUKGNV2EH6ERRTXSOFHBANCNFSM6AAAAAA23JAKEA. You are receiving this because you are subscribed to this thread.Message ID: @.**@.>>

sergiocontrino commented 1 year ago

thank you @scanhamman , i think it is clear now, and i finally found the table with classes in remote_lup.object_classes. i guess that this remote_lup schema duplicates lookup tables from the mdr, meaning that the lup schema contains lookups particular to rms? thanks!