Skip to content

Commit

Permalink
Update SampleDB example to contain compressed form JSON-LD
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianRhiem committed Aug 22, 2024
1 parent 0c632de commit c482d55
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 43 deletions.
74 changes: 31 additions & 43 deletions examples/SampleDB/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,11 @@ Each export contains one or more SampleDB objects, identified by their ID, with
"@id": "SampleDB"
},
"version": "1.0",
"dateCreated": "2024-08-20T07:55:48.764238"
"dateCreated": "2024-08-22T13:13:14.588759"
},
{
"@id": "./",
"@type": [
"Dataset"
],
"@type": "Dataset",
"hasPart": [
{
"@id": "./objects/7"
Expand All @@ -101,13 +99,11 @@ Each export contains one or more SampleDB objects, identified by their ID, with
"identifier": "7",
"name": "Measurement",
"description": "Object #7",
"dateCreated": "2024-08-20T07:46:40.566495",
"dateModified": "2024-08-20T07:46:40.566495",
"author": [
{
"@id": "./users/3"
}
],
"dateCreated": "2024-08-22T13:12:15.196040",
"dateModified": "2024-08-22T13:12:15.196040",
"author": {
"@id": "./users/3"
},
"creator": {
"@id": "./users/3"
},
Expand All @@ -132,17 +128,15 @@ Each export contains one or more SampleDB objects, identified by their ID, with
"name": "Comment"
},
{
"value": "2024-08-20T07:46:40.000000",
"value": "2024-08-22T13:12:15.000000",
"@type": "PropertyValue",
"propertyID": "datetime",
"name": "Measurement Date/Time"
}
],
"mentions": [
{
"@id": "./objects/1"
}
],
"mentions": {
"@id": "./objects/1"
},
"comment": [],
"hasPart": [
{
Expand All @@ -160,15 +154,13 @@ Each export contains one or more SampleDB objects, identified by their ID, with
"@type": "Dataset",
"name": "Measurement",
"description": "Object #7 version #0",
"dateCreated": "2024-08-20T07:46:40.566495",
"dateCreated": "2024-08-22T13:12:15.196040",
"creator": {
"@id": "./users/3"
},
"author": [
{
"@id": "./users/3"
}
],
"author": {
"@id": "./users/3"
},
"url": "http://localhost:5000/objects/7/versions/0",
"variableMeasured": [
{
Expand All @@ -190,7 +182,7 @@ Each export contains one or more SampleDB objects, identified by their ID, with
"name": "Comment"
},
{
"value": "2024-08-20T07:46:40.000000",
"value": "2024-08-22T13:12:15.000000",
"@type": "PropertyValue",
"propertyID": "datetime",
"name": "Measurement Date/Time"
Expand Down Expand Up @@ -221,7 +213,7 @@ Each export contains one or more SampleDB objects, identified by their ID, with
"name": "data.json",
"encodingFormat": "application/json",
"contentSize": 551,
"sha256": "cb357fa8e55c71d4931c5a30925cd302a349c045b7b3d91aa196633669e10cda"
"sha256": "bae26cd574671803b79a0d6c44182dfe733d6dd864bc92df576c35a9b529a977"
},
{
"@id": "./objects/7/files.json",
Expand All @@ -238,13 +230,11 @@ Each export contains one or more SampleDB objects, identified by their ID, with
"identifier": "1",
"name": "OMBE-1",
"description": "Object #1",
"dateCreated": "2024-08-20T07:46:40.184975",
"dateModified": "2024-08-20T07:46:40.184975",
"author": [
{
"@id": "./users/2"
}
],
"dateCreated": "2024-08-22T13:12:14.823844",
"dateModified": "2024-08-22T13:12:14.823844",
"author": {
"@id": "./users/2"
},
"creator": {
"@id": "./users/2"
},
Expand Down Expand Up @@ -552,15 +542,13 @@ Each export contains one or more SampleDB objects, identified by their ID, with
"@type": "Dataset",
"name": "OMBE-1",
"description": "Object #1 version #0",
"dateCreated": "2024-08-20T07:46:40.184975",
"dateCreated": "2024-08-22T13:12:14.823844",
"creator": {
"@id": "./users/2"
},
"author": [
{
"@id": "./users/2"
}
],
"author": {
"@id": "./users/2"
},
"url": "http://localhost:5000/objects/1/versions/0",
"variableMeasured": [
{
Expand Down Expand Up @@ -872,7 +860,7 @@ Each export contains one or more SampleDB objects, identified by their ID, with
"author": {
"@id": "./users/2"
},
"dateCreated": "2024-08-20T07:46:40.291173",
"dateCreated": "2024-08-22T13:12:14.931692",
"text": "This comment is very long. This comment is very long. This comment is very long. This comment is very long. This comment is very long. This comment is very long. This comment is very long. This comment is very long. This comment is very long. This comment is very long. This comment is very long. This comment is very long. This comment is very long. This comment is very long. This comment is very long. This comment is very long. This comment is very long. This comment is very long. This comment is very long. This comment is very long. \nThis comment has three paragraphs. This comment has three paragraphs. This comment has three paragraphs. This comment has three paragraphs. This comment has three paragraphs. This comment has three paragraphs. This comment has three paragraphs. This comment has three paragraphs. This comment has three paragraphs. This comment has three paragraphs. This comment has three paragraphs. This comment has three paragraphs. This comment has three paragraphs. This comment has three paragraphs. This comment has three paragraphs. This comment has three paragraphs. This comment has three paragraphs. This comment has three paragraphs. This comment has three paragraphs. This comment has three paragraphs. \n\nThis comment has three paragraphs. This comment has three paragraphs. This comment has three paragraphs. This comment has three paragraphs. This comment has three paragraphs. This comment has three paragraphs. This comment has three paragraphs. This comment has three paragraphs. This comment has three paragraphs. This comment has three paragraphs. This comment has three paragraphs. This comment has three paragraphs. This comment has three paragraphs. This comment has three paragraphs. This comment has three paragraphs. This comment has three paragraphs. This comment has three paragraphs. This comment has three paragraphs. This comment has three paragraphs. This comment has three paragraphs. "
},
{
Expand All @@ -884,7 +872,7 @@ Each export contains one or more SampleDB objects, identified by their ID, with
"author": {
"@id": "./users/2"
},
"dateCreated": "2024-08-20T07:46:40.298782",
"dateCreated": "2024-08-22T13:12:14.938640",
"text": "This is another, shorter comment"
},
{
Expand All @@ -894,7 +882,7 @@ Each export contains one or more SampleDB objects, identified by their ID, with
"name": "files.json",
"encodingFormat": "application/json",
"contentSize": 763,
"sha256": "2c1c7f3f46729a368dafb3c9db22d15b8fb08ae7a0014c1ca1437875f270bac0"
"sha256": "f5ce84286724361b27832afda621e7c4f287cfdfd75b1034586f9c69648e6b4f"
},
{
"@id": "./objects/1/files/0/example.txt",
Expand All @@ -904,7 +892,7 @@ Each export contains one or more SampleDB objects, identified by their ID, with
"author": {
"@id": "./users/2"
},
"dateCreated": "2024-08-20T07:46:40.307734",
"dateCreated": "2024-08-22T13:12:14.948203",
"encodingFormat": "text/plain",
"contentSize": 17,
"contentUrl": "http://localhost:5000/objects/1/files/0",
Expand All @@ -918,7 +906,7 @@ Each export contains one or more SampleDB objects, identified by their ID, with
"author": {
"@id": "./users/2"
},
"dateCreated": "2024-08-20T07:46:40.317983",
"dateCreated": "2024-08-22T13:12:14.958039",
"encodingFormat": "image/png",
"contentSize": 9952,
"contentUrl": "http://localhost:5000/objects/1/files/1",
Expand Down
Binary file modified examples/SampleDB/sampledb_export.eln
Binary file not shown.

0 comments on commit c482d55

Please sign in to comment.