Skip to content

Commit

Permalink
Merge pull request #53 from nhanlon2/master
Browse files Browse the repository at this point in the history
add rspace eln archive
  • Loading branch information
NicolasCARPi authored Dec 5, 2023
2 parents 8b9c223 + c28a6c4 commit 5c2dcd1
Show file tree
Hide file tree
Showing 3 changed files with 164 additions and 0 deletions.
159 changes: 159 additions & 0 deletions examples/RSpace/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,159 @@
# RSpace

- Home page: https://www.researchspace.com/

- Documentation: https://researchspace.helpdocs.io/article/s3j29if453-export-formats

### Structure of the RSpace example
This exported archive includes an RSpace document which has:
- An embedded image from the RSpace 'Gallery'
- A link to another RSpace document.
- Links are generated as DataSets that have a composite id of 'linking doc/linked doc'. Links also contain an identifier attribute which gives the real ID of the linked document.



### Example export
```json
{
"@context" : "https://w3id.org/ro/crate/1.1/context",
"@graph" : [ {
"name" : "user user_2023-12-05_14:17:05",
"description" : "",
"@id" : "./",
"@type" : "Dataset",
"identifier" : "http://localhost:8080",
"datePublished" : "2023-12-05",
"hasPart" : [ {
"@id" : "./documentSchema.xsd"
}, {
"@id" : "./resources"
}, {
"@id" : "./formSchema.xsd"
}, {
"@id" : "./doc_Editable2-32"
}, {
"@id" : "./doc_Experiment-1-25"
} ]
}, {
"about" : {
"@id" : "./"
},
"conformsTo" : {
"@id" : "https://w3id.org/ro/crate/1.1"
},
"sdPublisher" : {
"@id" : "#RSpace"
},
"@id" : "ro-crate-metadata.json",
"@type" : "CreativeWork"
}, {
"encodingFormat" : "application/xml",
"sha256" : "762401a8e020f8ade08aa53a4026090ce1b4a6befe50d2becef9a6cc3713b399",
"additionalType" : "Experiment",
"description" : "A Form used to create an RSpace Structured Document",
"dateCreated" : "05:12:23:11:26:11",
"dateModified" : "05:12:23:11:26:11",
"@id" : "./doc_Experiment-1-25/doc_Experiment-1-25_form.xml",
"@type" : "File"
}, {
"encodingFormat" : "application/xml",
"description" : "schema for RSpace documents",
"sha256" : "429f05d9daf5d77ac8edac1aa0dd7b98e05e3103651463168ddc1ecd42a795f0",
"@id" : "./documentSchema.xsd",
"@type" : "File"
}, {
"encodingFormat" : "application/xml",
"sha256" : "35a982994113f399af27d2678fe9a5c29522cae0fd73bbac9a6c0919e667e38d",
"additionalType" : "Selenium",
"description" : "A Form used to create an RSpace Structured Document",
"dateCreated" : "05:12:23:11:26:12",
"dateModified" : "05:12:23:11:26:11",
"@id" : "./doc_Editable2-32/doc_Editable2-32_form.xml",
"@type" : "File"
}, {
"description" : "Common resources shared among exported data",
"@id" : "./resources",
"@type" : "Dataset"
}, {
"sha256" : "200d2196966f89fc7f93a4a6aa1785c20c982b08fbdf828919881043504cfe7c",
"encodingFormat" : "image/gif",
"description" : "A file linked by an exported document or in a user Gallery",
"dateCreated" : "05:12:23:11:26:13",
"dateModified" : "05:12:23:11:26:13",
"@id" : "./doc_Editable2-32/lemmings_1701775573172.gif",
"@type" : "File"
}, {
"identifier" : "./doc_Experiment-1-25",
"description" : "A file linked by an exported document or in a user Gallery",
"@id" : "./doc_Editable2-32/doc_Experiment-1-25",
"@type" : "Dataset"
}, {
"encodingFormat" : "application/xml",
"sha256" : "bd7688f5e3ec881a84eac713fe79f2ad9512c8f75c488d9ddb7a6f069668e8f2",
"description" : "An RSpace Structured Document",
"dateCreated" : "05:12:23:11:26:12",
"dateModified" : "05:12:23:11:26:12",
"@id" : "./doc_Experiment-1-25/doc_Experiment-1-25.xml",
"@type" : "File"
}, {
"description" : "schema for RSpace forms",
"encodingFormat" : "application/xml",
"sha256" : "3381f83d983a75f49673659805599476f5cf507b36e402528fcf972848295a6c",
"@id" : "./formSchema.xsd",
"@type" : "File"
}, {
"@id" : "./doc_Editable2-32",
"@type" : "Dataset",
"keywords" : "",
"hasPart" : [ {
"@id" : "./doc_Editable2-32/doc_Editable2-32_form.xml"
}, {
"@id" : "./doc_Editable2-32/lemmings_1701775573172.gif"
}, {
"@id" : "./doc_Editable2-32/doc_Experiment-1-25"
}, {
"@id" : "./doc_Editable2-32/doc_Editable2-32.xml"
} ]
}, {
"encodingFormat" : "application/xml",
"sha256" : "6640cfa7e629c4fa8c4a9b7565094dbc4ab8849e38fd67591515da6d98c7e6e7",
"description" : "An RSpace Structured Document",
"dateCreated" : "05:12:23:11:26:13",
"dateModified" : "05:12:23:11:48:29",
"@id" : "./doc_Editable2-32/doc_Editable2-32.xml",
"@type" : "File"
}, {
"sha256" : "cb51c02b436a3db4207193ca4d58dbb14143a376a16c61c44fcbd7c38ed196ee",
"encodingFormat" : "image/x-png",
"description" : "A file linked by an exported document or in a user Gallery",
"dateCreated" : "05:12:23:11:26:12",
"dateModified" : "05:12:23:11:26:12",
"@id" : "./doc_Experiment-1-25/Picture1_1701775572474.png",
"@type" : "File"
}, {
"@id" : "./doc_Experiment-1-25",
"@type" : "Dataset",
"keywords" : "'exampleExperimentTag'",
"hasPart" : [ {
"@id" : "./doc_Experiment-1-25/doc_Experiment-1-25_form.xml"
}, {
"@id" : "./doc_Experiment-1-25/doc_Experiment-1-25.xml"
}, {
"@id" : "./doc_Experiment-1-25/Picture1_1701775572474.png"
} ]
}, {
"description" : "The RSpace user who exported this data",
"@id" : "user user",
"email" : "[email protected]",
"givenName" : "user",
"familyName" : "user",
"@type" : "Person"
}, {
"name" : "RSpace",
"url" : "https://www.researchspace.com/",
"@id" : "#RSpace",
"email" : "[email protected]",
"@type" : "Organization"
} ]
}
```
5 changes: 5 additions & 0 deletions examples/RSpace/README_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# RSpace

- Home page: https://www.researchspace.com/

- Documentation: https://researchspace.helpdocs.io/article/s3j29if453-export-formats
Binary file added examples/RSpace/RSpace-example.eln
Binary file not shown.

0 comments on commit 5c2dcd1

Please sign in to comment.