https://github.com/dasch-swiss/082e-rosetta-scripts

https://github.com/dasch-swiss/082e-rosetta-scripts

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (6.3%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: dasch-swiss
  • License: gpl-3.0
  • Default Branch: main
  • Size: 187 MB
Statistics
  • Stars: 0
  • Watchers: 10
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 5 years ago · Last pushed almost 2 years ago
Metadata Files
Readme License

README.md

082E-rosetta-scripts

Rosetta is the sample project for the DaSCH Service Platform. On the one hand, it is intended to illustrate the possibilities currently offered by the platform, but on the other hand, it also shows internally where there is still room for improvement.

Basic usage

  • start a local DSP API as described here
  • install dsp-tools with pip3 install dsp-tools
  • create the ontologies rosetta and rosetta2 with dsp-tools create rosetta.json
  • upload the first data file with dsp-tools xmlupload rosetta.xml

Advanced usage

In the previous paragraph, you have populated the ontology "rosetta" with data from the file "rosetta.xml". However, there is also a second ontology, "rosetta2", which can be populated with data from "rosetta2.xml". But this file contains a resptr-prop link to an image from the first file: img_obj_0. In order to create this link, the ID img_obj_0 has to be replaced by its IRI.

The IRI is the identifier of an resource inside DSP. It was created during the upload and can now be retrieved in the DSP-APP or from "id2irirosettamapping_(timestamp).json".

To upload "rosetta2.xml", do the following: - run dsp-tools id2iri rosetta2.xml id2iri_rosetta_mapping_(timestamp).json. - A new file named "rosetta2replaced(timestamp).xml" will be created. It contains the IRI of img_obj_0 instead of the old ID. - upload the second data file with dsp-tools xmlupload --incremental rosetta2_replaced_(timestamp).xml

Owner

  • Name: DaSCH - Swiss National Data and Service Center for the Humanities
  • Login: dasch-swiss
  • Kind: organization
  • Email: info@dasch.swiss
  • Location: Switzerland

Development repositories of the DaSCH.

GitHub Events

Total
Last Year

Dependencies

.github/workflows/automated-tests.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite