diff --git a/src/api/v2/ontology/ontologies-endpoint.spec.ts b/src/api/v2/ontology/ontologies-endpoint.spec.ts index 992737adb..66316084a 100644 --- a/src/api/v2/ontology/ontologies-endpoint.spec.ts +++ b/src/api/v2/ontology/ontologies-endpoint.spec.ts @@ -1220,7 +1220,7 @@ describe("OntologiesEndpoint", () => { deleteCardinalitiesFromClassRequest.id = "http://0.0.0.0:3333/ontology/0001/freetest/v2"; // update this timestamp after every release of dsp-api - deleteCardinalitiesFromClassRequest.lastModificationDate = "2022-09-09T07:52:15.273219859Z"; + deleteCardinalitiesFromClassRequest.lastModificationDate = "2022-09-23T08:03:38.468359102Z"; const cardinalityToRemove = new UpdateResourceClassCardinality(); @@ -1265,7 +1265,7 @@ describe("OntologiesEndpoint", () => { deleteCardinalitiesFromClassRequest.id = "http://0.0.0.0:3333/ontology/0001/freetest/v2"; // update this timestamp after every release of dsp-api - deleteCardinalitiesFromClassRequest.lastModificationDate = "2022-09-09T07:52:15.273219859Z"; + deleteCardinalitiesFromClassRequest.lastModificationDate = "2022-09-23T08:03:38.468359102Z"; const cardinalityToRemove = new UpdateResourceClassCardinality(); diff --git a/src/api/v2/resource/resources-endpoint.spec.ts b/src/api/v2/resource/resources-endpoint.spec.ts index 8ece65a2c..004a79e32 100644 --- a/src/api/v2/resource/resources-endpoint.spec.ts +++ b/src/api/v2/resource/resources-endpoint.spec.ts @@ -486,7 +486,7 @@ describe("ResourcesEndpoint", () => { expect(res.hasPermissions).toEqual("CR knora-admin:Creator|M knora-admin:ProjectMember|V knora-admin:ProjectMember"); // update this timestamp after every release of dsp-api - expect(res.lastModificationDate).toEqual("2022-09-10T07:41:03.157343158Z"); + expect(res.lastModificationDate).toEqual("2022-09-24T07:55:51.540428065Z"); done(); } ); @@ -550,7 +550,7 @@ describe("ResourcesEndpoint", () => { updateResourceMetadata.lastModificationDate = "2021-09-30T16:41:46.980756Z"; // update this timestamp after every release of dsp-api - updateResourceMetadata.newModificationDate = "2022-09-10T07:41:04.349155655Z"; + updateResourceMetadata.newModificationDate = "2022-09-24T07:55:52.603204095Z"; knoraApiConnection.v2.res.updateResourceMetadata(updateResourceMetadata).subscribe( (res: UpdateResourceMetadataResponse) => { @@ -560,7 +560,7 @@ describe("ResourcesEndpoint", () => { expect(res.hasPermissions).toEqual("CR knora-admin:ProjectMember|V knora-admin:ProjectMember"); // update this timestamp after every release of dsp-api - expect(res.lastModificationDate).toEqual("2022-09-10T07:41:04.349155655Z"); + expect(res.lastModificationDate).toEqual("2022-09-24T07:55:52.603204095Z"); done(); } ); @@ -578,7 +578,7 @@ describe("ResourcesEndpoint", () => { expectedPayload["http://api.knora.org/ontology/knora-api/v2#lastModificationDate"]["@value"] = "2021-09-30T16:41:46.980756Z"; // update this timestamp after every release of dsp-api - expectedPayload["http://api.knora.org/ontology/knora-api/v2#newModificationDate"]["@value"] = "2022-09-10T07:41:04.349155655Z"; + expectedPayload["http://api.knora.org/ontology/knora-api/v2#newModificationDate"]["@value"] = "2022-09-24T07:55:52.603204095Z"; expect(request.data()).toEqual(expectedPayload); diff --git a/test/data/api/admin/groups/change-group-status-response.json b/test/data/api/admin/groups/change-group-status-response.json index 64d75397d..a2ebe835b 100644 --- a/test/data/api/admin/groups/change-group-status-response.json +++ b/test/data/api/admin/groups/change-group-status-response.json @@ -1 +1 @@ -{"group":{"descriptions":[{"value":"UpdatedGroupDescription","language":"en"}],"id":"http://rdfh.ch/groups/00FF/0Q10U9g2SXeCGQv_7lPNsg","name":"UpdatedGroupName","project":{"description":[{"value":"A demo project of a collection of images","language":"en"}],"id":"http://rdfh.ch/projects/00FF","keywords":["collection","images"],"logo":null,"longname":"Image Collection Demo","ontologies":["http://www.knora.org/ontology/00FF/images"],"selfjoin":false,"shortcode":"00FF","shortname":"images","status":true},"selfjoin":false,"status":true}} \ No newline at end of file +{"group":{"descriptions":[{"value":"UpdatedGroupDescription","language":"en"}],"id":"http://rdfh.ch/groups/00FF/w6x9DYANQm23WVLp66ZdlA","name":"UpdatedGroupName","project":{"description":[{"value":"A demo project of a collection of images","language":"en"}],"id":"http://rdfh.ch/projects/00FF","keywords":["collection","images"],"logo":null,"longname":"Image Collection Demo","ontologies":["http://www.knora.org/ontology/00FF/images"],"selfjoin":false,"shortcode":"00FF","shortname":"images","status":true},"selfjoin":false,"status":true}} \ No newline at end of file diff --git a/test/data/api/admin/groups/create-group-response.json b/test/data/api/admin/groups/create-group-response.json index 551532cd3..e1bbc38fb 100644 --- a/test/data/api/admin/groups/create-group-response.json +++ b/test/data/api/admin/groups/create-group-response.json @@ -1 +1 @@ -{"group":{"descriptions":[{"value":"NewGroupDescription","language":"en"}],"id":"http://rdfh.ch/groups/00FF/0Q10U9g2SXeCGQv_7lPNsg","name":"NewGroup","project":{"description":[{"value":"A demo project of a collection of images","language":"en"}],"id":"http://rdfh.ch/projects/00FF","keywords":["collection","images"],"logo":null,"longname":"Image Collection Demo","ontologies":["http://www.knora.org/ontology/00FF/images"],"selfjoin":false,"shortcode":"00FF","shortname":"images","status":true},"selfjoin":false,"status":true}} \ No newline at end of file +{"group":{"descriptions":[{"value":"NewGroupDescription","language":"en"}],"id":"http://rdfh.ch/groups/00FF/w6x9DYANQm23WVLp66ZdlA","name":"NewGroup","project":{"description":[{"value":"A demo project of a collection of images","language":"en"}],"id":"http://rdfh.ch/projects/00FF","keywords":["collection","images"],"logo":null,"longname":"Image Collection Demo","ontologies":["http://www.knora.org/ontology/00FF/images"],"selfjoin":false,"shortcode":"00FF","shortname":"images","status":true},"selfjoin":false,"status":true}} \ No newline at end of file diff --git a/test/data/api/admin/groups/delete-group-response.json b/test/data/api/admin/groups/delete-group-response.json index 5541db1fb..f994ec92f 100644 --- a/test/data/api/admin/groups/delete-group-response.json +++ b/test/data/api/admin/groups/delete-group-response.json @@ -1 +1 @@ -{"group":{"descriptions":[{"value":"UpdatedGroupDescription","language":"en"}],"id":"http://rdfh.ch/groups/00FF/0Q10U9g2SXeCGQv_7lPNsg","name":"UpdatedGroupName","project":{"description":[{"value":"A demo project of a collection of images","language":"en"}],"id":"http://rdfh.ch/projects/00FF","keywords":["collection","images"],"logo":null,"longname":"Image Collection Demo","ontologies":["http://www.knora.org/ontology/00FF/images"],"selfjoin":false,"shortcode":"00FF","shortname":"images","status":true},"selfjoin":false,"status":false}} \ No newline at end of file +{"group":{"descriptions":[{"value":"UpdatedGroupDescription","language":"en"}],"id":"http://rdfh.ch/groups/00FF/w6x9DYANQm23WVLp66ZdlA","name":"UpdatedGroupName","project":{"description":[{"value":"A demo project of a collection of images","language":"en"}],"id":"http://rdfh.ch/projects/00FF","keywords":["collection","images"],"logo":null,"longname":"Image Collection Demo","ontologies":["http://www.knora.org/ontology/00FF/images"],"selfjoin":false,"shortcode":"00FF","shortname":"images","status":true},"selfjoin":false,"status":false}} \ No newline at end of file diff --git a/test/data/api/admin/groups/update-group-response.json b/test/data/api/admin/groups/update-group-response.json index 64d75397d..a2ebe835b 100644 --- a/test/data/api/admin/groups/update-group-response.json +++ b/test/data/api/admin/groups/update-group-response.json @@ -1 +1 @@ -{"group":{"descriptions":[{"value":"UpdatedGroupDescription","language":"en"}],"id":"http://rdfh.ch/groups/00FF/0Q10U9g2SXeCGQv_7lPNsg","name":"UpdatedGroupName","project":{"description":[{"value":"A demo project of a collection of images","language":"en"}],"id":"http://rdfh.ch/projects/00FF","keywords":["collection","images"],"logo":null,"longname":"Image Collection Demo","ontologies":["http://www.knora.org/ontology/00FF/images"],"selfjoin":false,"shortcode":"00FF","shortname":"images","status":true},"selfjoin":false,"status":true}} \ No newline at end of file +{"group":{"descriptions":[{"value":"UpdatedGroupDescription","language":"en"}],"id":"http://rdfh.ch/groups/00FF/w6x9DYANQm23WVLp66ZdlA","name":"UpdatedGroupName","project":{"description":[{"value":"A demo project of a collection of images","language":"en"}],"id":"http://rdfh.ch/projects/00FF","keywords":["collection","images"],"logo":null,"longname":"Image Collection Demo","ontologies":["http://www.knora.org/ontology/00FF/images"],"selfjoin":false,"shortcode":"00FF","shortname":"images","status":true},"selfjoin":false,"status":true}} \ No newline at end of file diff --git a/test/data/api/admin/lists/add-child-to-second-child-request.json b/test/data/api/admin/lists/add-child-to-second-child-request.json index fe8d8785b..503912481 100644 --- a/test/data/api/admin/lists/add-child-to-second-child-request.json +++ b/test/data/api/admin/lists/add-child-to-second-child-request.json @@ -1,5 +1,5 @@ { - "parentNodeIri": "http://rdfh.ch/lists/0001/Ccaiory_RhSyHqBg6jrryg", + "parentNodeIri": "http://rdfh.ch/lists/0001/_aBhbolSRF2lJZDz3ZwQSA", "projectIri": "http://rdfh.ch/projects/0001", "name": "third", "labels": [{ "value": "New Third Child List Node Value", "language": "en"}], diff --git a/test/data/api/admin/lists/add-child-to-second-child-response.json b/test/data/api/admin/lists/add-child-to-second-child-response.json index 615b1438e..44641a00f 100644 --- a/test/data/api/admin/lists/add-child-to-second-child-response.json +++ b/test/data/api/admin/lists/add-child-to-second-child-response.json @@ -1 +1 @@ -{"nodeinfo":{"comments":[{"value":"New Third Child List Node Comment","language":"en"}],"hasRootNode":"http://rdfh.ch/lists/0001/XR6IgHW_R5K7kQ3-cE4D1g","id":"http://rdfh.ch/lists/0001/SFpplsU7T4yY6ayIgKm1jg","labels":[{"value":"New Third Child List Node Value","language":"en"}],"name":"third","position":0}} \ No newline at end of file +{"nodeinfo":{"comments":[{"value":"New Third Child List Node Comment","language":"en"}],"hasRootNode":"http://rdfh.ch/lists/0001/5aMJFTKcQXCK4dNK_wLxlQ","id":"http://rdfh.ch/lists/0001/ZsW4et73RpyO-fuWZzL-tA","labels":[{"value":"New Third Child List Node Value","language":"en"}],"name":"third","position":0}} \ No newline at end of file diff --git a/test/data/api/admin/lists/add-second-child-to-root-request.json b/test/data/api/admin/lists/add-second-child-to-root-request.json index 4d8ececc2..eaf91f1ae 100644 --- a/test/data/api/admin/lists/add-second-child-to-root-request.json +++ b/test/data/api/admin/lists/add-second-child-to-root-request.json @@ -1,5 +1,5 @@ { - "parentNodeIri": "http://rdfh.ch/lists/0001/XR6IgHW_R5K7kQ3-cE4D1g", + "parentNodeIri": "http://rdfh.ch/lists/0001/5aMJFTKcQXCK4dNK_wLxlQ", "projectIri": "http://rdfh.ch/projects/0001", "name": "second", "labels": [{ "value": "New Second Child List Node Value", "language": "en"}], diff --git a/test/data/api/admin/lists/add-second-child-to-root-response.json b/test/data/api/admin/lists/add-second-child-to-root-response.json index 253d26ded..bb3c31c1d 100644 --- a/test/data/api/admin/lists/add-second-child-to-root-response.json +++ b/test/data/api/admin/lists/add-second-child-to-root-response.json @@ -1 +1 @@ -{"nodeinfo":{"comments":[{"value":"New Second Child List Node Comment","language":"en"}],"hasRootNode":"http://rdfh.ch/lists/0001/XR6IgHW_R5K7kQ3-cE4D1g","id":"http://rdfh.ch/lists/0001/lDbWM8DDSg-nNLGDxTJObA","labels":[{"value":"New Second Child List Node Value","language":"en"}],"name":"second","position":1}} \ No newline at end of file +{"nodeinfo":{"comments":[{"value":"New Second Child List Node Comment","language":"en"}],"hasRootNode":"http://rdfh.ch/lists/0001/5aMJFTKcQXCK4dNK_wLxlQ","id":"http://rdfh.ch/lists/0001/nLqAi2o5RISLL29CoIvf4w","labels":[{"value":"New Second Child List Node Value","language":"en"}],"name":"second","position":1}} \ No newline at end of file diff --git a/test/data/api/admin/lists/create-child-node-request.json b/test/data/api/admin/lists/create-child-node-request.json index aff547431..5301a4de8 100644 --- a/test/data/api/admin/lists/create-child-node-request.json +++ b/test/data/api/admin/lists/create-child-node-request.json @@ -1,5 +1,5 @@ { - "parentNodeIri": "http://rdfh.ch/lists/0001/XR6IgHW_R5K7kQ3-cE4D1g", + "parentNodeIri": "http://rdfh.ch/lists/0001/5aMJFTKcQXCK4dNK_wLxlQ", "projectIri": "http://rdfh.ch/projects/0001", "name": "first", "labels": [{ "value": "New First Child List Node Value", "language": "en"}], diff --git a/test/data/api/admin/lists/create-child-node-response.json b/test/data/api/admin/lists/create-child-node-response.json index 736d26a64..0c077dde5 100644 --- a/test/data/api/admin/lists/create-child-node-response.json +++ b/test/data/api/admin/lists/create-child-node-response.json @@ -1 +1 @@ -{"nodeinfo":{"comments":[{"value":"New First Child List Node Comment","language":"en"}],"hasRootNode":"http://rdfh.ch/lists/0001/XR6IgHW_R5K7kQ3-cE4D1g","id":"http://rdfh.ch/lists/0001/xFrq7w7MQou2HK5FMspcQA","labels":[{"value":"New First Child List Node Value","language":"en"}],"name":"first","position":0}} \ No newline at end of file +{"nodeinfo":{"comments":[{"value":"New First Child List Node Comment","language":"en"}],"hasRootNode":"http://rdfh.ch/lists/0001/5aMJFTKcQXCK4dNK_wLxlQ","id":"http://rdfh.ch/lists/0001/pJtTDLk2TDu0e_sDtZr1Ww","labels":[{"value":"New First Child List Node Value","language":"en"}],"name":"first","position":0}} \ No newline at end of file diff --git a/test/data/api/admin/lists/create-list-response.json b/test/data/api/admin/lists/create-list-response.json index 88ad9228e..d09076587 100644 --- a/test/data/api/admin/lists/create-list-response.json +++ b/test/data/api/admin/lists/create-list-response.json @@ -1 +1 @@ -{"list":{"children":[],"listinfo":{"comments":[{"value":"XXXXX","language":"en"}],"id":"http://rdfh.ch/lists/0001/XR6IgHW_R5K7kQ3-cE4D1g","isRootNode":true,"labels":[{"value":"Neue Liste","language":"de"}],"projectIri":"http://rdfh.ch/projects/0001"}}} \ No newline at end of file +{"list":{"children":[],"listinfo":{"comments":[{"value":"XXXXX","language":"en"}],"id":"http://rdfh.ch/lists/0001/5aMJFTKcQXCK4dNK_wLxlQ","isRootNode":true,"labels":[{"value":"Neue Liste","language":"de"}],"projectIri":"http://rdfh.ch/projects/0001"}}} \ No newline at end of file diff --git a/test/data/api/admin/lists/insert-childNode-in-position-request.json b/test/data/api/admin/lists/insert-childNode-in-position-request.json index e76862bb8..31239913b 100644 --- a/test/data/api/admin/lists/insert-childNode-in-position-request.json +++ b/test/data/api/admin/lists/insert-childNode-in-position-request.json @@ -1,5 +1,5 @@ { - "parentNodeIri": "http://rdfh.ch/lists/0001/XR6IgHW_R5K7kQ3-cE4D1g", + "parentNodeIri": "http://rdfh.ch/lists/0001/5aMJFTKcQXCK4dNK_wLxlQ", "projectIri": "http://rdfh.ch/projects/0001", "name": "child with position", "position": 1, diff --git a/test/data/api/admin/lists/insert-childNode-in-position-response.json b/test/data/api/admin/lists/insert-childNode-in-position-response.json index 71f87a823..5bfc666ef 100644 --- a/test/data/api/admin/lists/insert-childNode-in-position-response.json +++ b/test/data/api/admin/lists/insert-childNode-in-position-response.json @@ -1 +1 @@ -{"nodeinfo":{"comments":[{"value":"Inserted List Node Comment","language":"en"}],"hasRootNode":"http://rdfh.ch/lists/0001/XR6IgHW_R5K7kQ3-cE4D1g","id":"http://rdfh.ch/lists/0001/Ccaiory_RhSyHqBg6jrryg","labels":[{"value":"Inserted List Node Label","language":"en"}],"name":"child with position","position":1}} \ No newline at end of file +{"nodeinfo":{"comments":[{"value":"Inserted List Node Comment","language":"en"}],"hasRootNode":"http://rdfh.ch/lists/0001/5aMJFTKcQXCK4dNK_wLxlQ","id":"http://rdfh.ch/lists/0001/_aBhbolSRF2lJZDz3ZwQSA","labels":[{"value":"Inserted List Node Label","language":"en"}],"name":"child with position","position":1}} \ No newline at end of file diff --git a/test/data/api/admin/permissions/create-administrative-permission-response.json b/test/data/api/admin/permissions/create-administrative-permission-response.json index 69bfb77c8..977a6b026 100644 --- a/test/data/api/admin/permissions/create-administrative-permission-response.json +++ b/test/data/api/admin/permissions/create-administrative-permission-response.json @@ -1 +1 @@ -{"administrative_permission":{"forGroup":"http://rdfh.ch/groups/0001/thing-searcher","forProject":"http://rdfh.ch/projects/0001","hasPermissions":[{"additionalInformation":null,"name":"ProjectAdminGroupAllPermission","permissionCode":null}],"iri":"http://rdfh.ch/permissions/0001/oYXZFnt1T2eJNutntpS85A"}} \ No newline at end of file +{"administrative_permission":{"forGroup":"http://rdfh.ch/groups/0001/thing-searcher","forProject":"http://rdfh.ch/projects/0001","hasPermissions":[{"additionalInformation":null,"name":"ProjectAdminGroupAllPermission","permissionCode":null}],"iri":"http://rdfh.ch/permissions/0001/jKYnhICpRjG7UM4YWprI2A"}} \ No newline at end of file diff --git a/test/data/api/admin/permissions/create-defaultObjectAccess-permission-response.json b/test/data/api/admin/permissions/create-defaultObjectAccess-permission-response.json index 51f5003c3..dae53b82a 100644 --- a/test/data/api/admin/permissions/create-defaultObjectAccess-permission-response.json +++ b/test/data/api/admin/permissions/create-defaultObjectAccess-permission-response.json @@ -1 +1 @@ -{"default_object_access_permission":{"forGroup":"http://rdfh.ch/groups/0001/thing-searcher","forProject":"http://rdfh.ch/projects/0001","forProperty":null,"forResourceClass":null,"hasPermissions":[{"additionalInformation":"http://www.knora.org/ontology/knora-admin#ProjectMember","name":"D","permissionCode":7}],"iri":"http://rdfh.ch/permissions/0001/fUUfmCbxQqi9l7C0DSqPWw"}} \ No newline at end of file +{"default_object_access_permission":{"forGroup":"http://rdfh.ch/groups/0001/thing-searcher","forProject":"http://rdfh.ch/projects/0001","forProperty":null,"forResourceClass":null,"hasPermissions":[{"additionalInformation":"http://www.knora.org/ontology/knora-admin#ProjectMember","name":"D","permissionCode":7}],"iri":"http://rdfh.ch/permissions/0001/ewYjGIYeSt2ppCeag6Htxg"}} \ No newline at end of file diff --git a/test/data/api/admin/users/create-user-response.json b/test/data/api/admin/users/create-user-response.json index 871484712..392981b93 100644 --- a/test/data/api/admin/users/create-user-response.json +++ b/test/data/api/admin/users/create-user-response.json @@ -1 +1 @@ -{"user":{"email":"donald.duck@example.org","familyName":"Duck","givenName":"Donald","groups":[],"id":"http://rdfh.ch/users/XHz5eMtXS0m7PGsBVZrMxg","lang":"en","password":null,"permissions":{"administrativePermissionsPerProject":{},"groupsPerProject":{}},"projects":[],"sessionId":null,"status":true,"token":null,"username":"donald.duck"}} \ No newline at end of file +{"user":{"email":"donald.duck@example.org","familyName":"Duck","givenName":"Donald","groups":[],"id":"http://rdfh.ch/users/C3BKTf14Q1mFtHD4wK6R8A","lang":"en","password":null,"permissions":{"administrativePermissionsPerProject":{},"groupsPerProject":{}},"projects":[],"sessionId":null,"status":true,"token":null,"username":"donald.duck"}} \ No newline at end of file diff --git a/test/data/api/admin/users/update-user-response.json b/test/data/api/admin/users/update-user-response.json index b0a6a1668..d94816b6a 100644 --- a/test/data/api/admin/users/update-user-response.json +++ b/test/data/api/admin/users/update-user-response.json @@ -1 +1 @@ -{"user":{"email":"donald.big.duck@example.org","familyName":"Duckmann","givenName":"Big Donald","groups":[],"id":"http://rdfh.ch/users/XHz5eMtXS0m7PGsBVZrMxg","lang":"de","password":null,"permissions":{"administrativePermissionsPerProject":{},"groupsPerProject":{}},"projects":[],"sessionId":null,"status":true,"token":null,"username":"donald.big.duck"}} \ No newline at end of file +{"user":{"email":"donald.big.duck@example.org","familyName":"Duckmann","givenName":"Big Donald","groups":[],"id":"http://rdfh.ch/users/C3BKTf14Q1mFtHD4wK6R8A","lang":"de","password":null,"permissions":{"administrativePermissionsPerProject":{},"groupsPerProject":{}},"projects":[],"sessionId":null,"status":true,"token":null,"username":"donald.big.duck"}} \ No newline at end of file diff --git a/test/data/api/admin/users/update-user-status-response.json b/test/data/api/admin/users/update-user-status-response.json index 992a5bde1..4117e4ae8 100644 --- a/test/data/api/admin/users/update-user-status-response.json +++ b/test/data/api/admin/users/update-user-status-response.json @@ -1 +1 @@ -{"user":{"email":"donald.big.duck@example.org","familyName":"Duckmann","givenName":"Big Donald","groups":[],"id":"http://rdfh.ch/users/XHz5eMtXS0m7PGsBVZrMxg","lang":"de","password":null,"permissions":{"administrativePermissionsPerProject":{},"groupsPerProject":{}},"projects":[],"sessionId":null,"status":false,"token":null,"username":"donald.big.duck"}} \ No newline at end of file +{"user":{"email":"donald.big.duck@example.org","familyName":"Duckmann","givenName":"Big Donald","groups":[],"id":"http://rdfh.ch/users/C3BKTf14Q1mFtHD4wK6R8A","lang":"de","password":null,"permissions":{"administrativePermissionsPerProject":{},"groupsPerProject":{}},"projects":[],"sessionId":null,"status":false,"token":null,"username":"donald.big.duck"}} \ No newline at end of file diff --git a/test/data/api/admin/users/update-user-system-admin-membership-response.json b/test/data/api/admin/users/update-user-system-admin-membership-response.json index b40caa646..60210a3b4 100644 --- a/test/data/api/admin/users/update-user-system-admin-membership-response.json +++ b/test/data/api/admin/users/update-user-system-admin-membership-response.json @@ -1 +1 @@ -{"user":{"email":"donald.big.duck@example.org","familyName":"Duckmann","givenName":"Big Donald","groups":[],"id":"http://rdfh.ch/users/XHz5eMtXS0m7PGsBVZrMxg","lang":"de","password":null,"permissions":{"administrativePermissionsPerProject":{},"groupsPerProject":{"http://www.knora.org/ontology/knora-admin#SystemProject":["http://www.knora.org/ontology/knora-admin#SystemAdmin"]}},"projects":[],"sessionId":null,"status":false,"token":null,"username":"donald.big.duck"}} \ No newline at end of file +{"user":{"email":"donald.big.duck@example.org","familyName":"Duckmann","givenName":"Big Donald","groups":[],"id":"http://rdfh.ch/users/C3BKTf14Q1mFtHD4wK6R8A","lang":"de","password":null,"permissions":{"administrativePermissionsPerProject":{},"groupsPerProject":{"http://www.knora.org/ontology/knora-admin#SystemProject":["http://www.knora.org/ontology/knora-admin#SystemAdmin"]}},"projects":[],"sessionId":null,"status":false,"token":null,"username":"donald.big.duck"}} \ No newline at end of file diff --git a/test/data/api/system/health/response-headers.txt b/test/data/api/system/health/response-headers.txt index bbdf98a47..53c661431 100644 --- a/test/data/api/system/health/response-headers.txt +++ b/test/data/api/system/health/response-headers.txt @@ -1,2 +1,2 @@ -Server: webapi/24.0.2 akka-http/10.2.9 -Date: Fri, 09 Sep 2022 07:38:32 GMT \ No newline at end of file +Server: webapi/24.0.3 akka-http/10.2.10 +Date: Fri, 23 Sep 2022 07:54:08 GMT \ No newline at end of file diff --git a/test/data/api/v2/ontologies/add-cardinalities-to-class-nothing-request-expanded.json b/test/data/api/v2/ontologies/add-cardinalities-to-class-nothing-request-expanded.json index 5fae11f03..d3f979fe0 100644 --- a/test/data/api/v2/ontologies/add-cardinalities-to-class-nothing-request-expanded.json +++ b/test/data/api/v2/ontologies/add-cardinalities-to-class-nothing-request-expanded.json @@ -1 +1 @@ -{"@graph":[{"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2#Nothing","@type":"http://www.w3.org/2002/07/owl#Class","http://www.w3.org/2000/01/rdf-schema#subClassOf":{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://www.w3.org/2002/07/owl#maxCardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2#hasOtherNothing"}}}],"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#lastModificationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2022-09-09T07:51:52.881153800Z"}} \ No newline at end of file +{"@graph":[{"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2#Nothing","@type":"http://www.w3.org/2002/07/owl#Class","http://www.w3.org/2000/01/rdf-schema#subClassOf":{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://www.w3.org/2002/07/owl#maxCardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2#hasOtherNothing"}}}],"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#lastModificationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2022-09-23T08:03:21.083249921Z"}} \ No newline at end of file diff --git a/test/data/api/v2/ontologies/add-cardinalities-to-class-nothing-request.json b/test/data/api/v2/ontologies/add-cardinalities-to-class-nothing-request.json index c43231015..77994d9e6 100644 --- a/test/data/api/v2/ontologies/add-cardinalities-to-class-nothing-request.json +++ b/test/data/api/v2/ontologies/add-cardinalities-to-class-nothing-request.json @@ -4,7 +4,7 @@ "@type" : "owl:Ontology", "knora-api:lastModificationDate" : { "@type" : "xsd:dateTimeStamp", - "@value" : "2022-09-09T07:51:52.881153800Z" + "@value" : "2022-09-23T08:03:21.083249921Z" }, "@graph" : [ { "@id" : "anything:Nothing", diff --git a/test/data/api/v2/ontologies/add-cardinalities-to-class-nothing-response-expanded.json b/test/data/api/v2/ontologies/add-cardinalities-to-class-nothing-response-expanded.json index 0c5f79859..a4bcbddca 100644 --- a/test/data/api/v2/ontologies/add-cardinalities-to-class-nothing-response-expanded.json +++ b/test/data/api/v2/ontologies/add-cardinalities-to-class-nothing-response-expanded.json @@ -1 +1 @@ -{"@graph":[{"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2#Nothing","@type":"http://www.w3.org/2002/07/owl#Class","http://api.knora.org/ontology/knora-api/v2#canBeInstantiated":true,"http://api.knora.org/ontology/knora-api/v2#isResourceClass":true,"http://www.w3.org/2000/01/rdf-schema#comment":[{"@language":"en","@value":"Represents nothing"},{"@language":"fr","@value":"ne représente rien"}],"http://www.w3.org/2000/01/rdf-schema#label":[{"@language":"en","@value":"nothing"},{"@language":"fr","@value":"rien"}],"http://www.w3.org/2000/01/rdf-schema#subClassOf":[{"@id":"http://api.knora.org/ontology/knora-api/v2#Resource"},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://www.w3.org/2002/07/owl#maxCardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2#hasOtherNothing"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://www.w3.org/2002/07/owl#maxCardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2#hasOtherNothingValue"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#cardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#arkUrl"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#cardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#attachedToProject"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#cardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#attachedToUser"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#cardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#creationDate"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#maxCardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#deleteComment"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#maxCardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#deleteDate"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#maxCardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#deletedBy"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#minCardinality":0,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#hasIncomingLinkValue"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#cardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#hasPermissions"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#minCardinality":0,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#hasStandoffLinkTo"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#minCardinality":0,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#hasStandoffLinkToValue"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#maxCardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#isDeleted"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#maxCardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#lastModificationDate"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#cardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#userHasPermission"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#cardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#versionArkUrl"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#maxCardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#versionDate"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#cardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://www.w3.org/2000/01/rdf-schema#label"}}]}],"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#attachedToProject":{"@id":"http://rdfh.ch/projects/0001"},"http://api.knora.org/ontology/knora-api/v2#lastModificationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2022-09-09T07:51:53.494673566Z"},"http://www.w3.org/2000/01/rdf-schema#label":"The anything ontology"} \ No newline at end of file +{"@graph":[{"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2#Nothing","@type":"http://www.w3.org/2002/07/owl#Class","http://api.knora.org/ontology/knora-api/v2#canBeInstantiated":true,"http://api.knora.org/ontology/knora-api/v2#isResourceClass":true,"http://www.w3.org/2000/01/rdf-schema#comment":[{"@language":"en","@value":"Represents nothing"},{"@language":"fr","@value":"ne représente rien"}],"http://www.w3.org/2000/01/rdf-schema#label":[{"@language":"en","@value":"nothing"},{"@language":"fr","@value":"rien"}],"http://www.w3.org/2000/01/rdf-schema#subClassOf":[{"@id":"http://api.knora.org/ontology/knora-api/v2#Resource"},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://www.w3.org/2002/07/owl#maxCardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2#hasOtherNothing"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://www.w3.org/2002/07/owl#maxCardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2#hasOtherNothingValue"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#cardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#arkUrl"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#cardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#attachedToProject"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#cardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#attachedToUser"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#cardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#creationDate"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#maxCardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#deleteComment"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#maxCardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#deleteDate"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#maxCardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#deletedBy"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#minCardinality":0,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#hasIncomingLinkValue"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#cardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#hasPermissions"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#minCardinality":0,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#hasStandoffLinkTo"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#minCardinality":0,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#hasStandoffLinkToValue"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#maxCardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#isDeleted"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#maxCardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#lastModificationDate"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#cardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#userHasPermission"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#cardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#versionArkUrl"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#maxCardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#versionDate"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#cardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://www.w3.org/2000/01/rdf-schema#label"}}]}],"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#attachedToProject":{"@id":"http://rdfh.ch/projects/0001"},"http://api.knora.org/ontology/knora-api/v2#lastModificationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2022-09-23T08:03:21.589264360Z"},"http://www.w3.org/2000/01/rdf-schema#label":"The anything ontology"} \ No newline at end of file diff --git a/test/data/api/v2/ontologies/add-cardinalities-to-class-nothing-response.json b/test/data/api/v2/ontologies/add-cardinalities-to-class-nothing-response.json index 38a7560b9..78578fb77 100644 --- a/test/data/api/v2/ontologies/add-cardinalities-to-class-nothing-response.json +++ b/test/data/api/v2/ontologies/add-cardinalities-to-class-nothing-response.json @@ -1,6 +1,6 @@ { "knora-api:lastModificationDate": { - "@value": "2022-09-09T07:51:53.494673566Z", + "@value": "2022-09-23T08:03:21.589264360Z", "@type": "xsd:dateTimeStamp" }, "rdfs:label": "The anything ontology", diff --git a/test/data/api/v2/ontologies/candeletecardinalities-false-request-expanded.json b/test/data/api/v2/ontologies/candeletecardinalities-false-request-expanded.json index ba0078259..41916bed1 100644 --- a/test/data/api/v2/ontologies/candeletecardinalities-false-request-expanded.json +++ b/test/data/api/v2/ontologies/candeletecardinalities-false-request-expanded.json @@ -1 +1 @@ -{"@graph":[{"@id":"http://0.0.0.0:3333/ontology/0001/freetest/v2#FreeTest","@type":"http://www.w3.org/2002/07/owl#Class","http://www.w3.org/2000/01/rdf-schema#subClassOf":{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://www.w3.org/2002/07/owl#minCardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://0.0.0.0:3333/ontology/0001/freetest/v2#hasText"}}}],"@id":"http://0.0.0.0:3333/ontology/0001/freetest/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#lastModificationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2022-09-09T07:52:15.273219859Z"}} \ No newline at end of file +{"@graph":[{"@id":"http://0.0.0.0:3333/ontology/0001/freetest/v2#FreeTest","@type":"http://www.w3.org/2002/07/owl#Class","http://www.w3.org/2000/01/rdf-schema#subClassOf":{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://www.w3.org/2002/07/owl#minCardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://0.0.0.0:3333/ontology/0001/freetest/v2#hasText"}}}],"@id":"http://0.0.0.0:3333/ontology/0001/freetest/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#lastModificationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2022-09-23T08:03:38.468359102Z"}} \ No newline at end of file diff --git a/test/data/api/v2/ontologies/candeletecardinalities-false-request.json b/test/data/api/v2/ontologies/candeletecardinalities-false-request.json index f69a5576b..5d3062482 100644 --- a/test/data/api/v2/ontologies/candeletecardinalities-false-request.json +++ b/test/data/api/v2/ontologies/candeletecardinalities-false-request.json @@ -4,7 +4,7 @@ "@type" : "owl:Ontology", "knora-api:lastModificationDate" : { "@type" : "xsd:dateTimeStamp", - "@value" : "2022-09-09T07:52:15.273219859Z" + "@value" : "2022-09-23T08:03:38.468359102Z" }, "@graph" : [ { "@id" : "freetest:FreeTest", diff --git a/test/data/api/v2/ontologies/candeletecardinalities-true-request-expanded.json b/test/data/api/v2/ontologies/candeletecardinalities-true-request-expanded.json index c79f1cbde..1ad9fb3c2 100644 --- a/test/data/api/v2/ontologies/candeletecardinalities-true-request-expanded.json +++ b/test/data/api/v2/ontologies/candeletecardinalities-true-request-expanded.json @@ -1 +1 @@ -{"@graph":[{"@id":"http://0.0.0.0:3333/ontology/0001/freetest/v2#BlueFreeTestClass","@type":"http://www.w3.org/2002/07/owl#Class","http://www.w3.org/2000/01/rdf-schema#subClassOf":{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://www.w3.org/2002/07/owl#maxCardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://0.0.0.0:3333/ontology/0001/freetest/v2#hasBlueTestTextProp"}}}],"@id":"http://0.0.0.0:3333/ontology/0001/freetest/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#lastModificationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2022-09-09T07:52:15.273219859Z"}} \ No newline at end of file +{"@graph":[{"@id":"http://0.0.0.0:3333/ontology/0001/freetest/v2#BlueFreeTestClass","@type":"http://www.w3.org/2002/07/owl#Class","http://www.w3.org/2000/01/rdf-schema#subClassOf":{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://www.w3.org/2002/07/owl#maxCardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://0.0.0.0:3333/ontology/0001/freetest/v2#hasBlueTestTextProp"}}}],"@id":"http://0.0.0.0:3333/ontology/0001/freetest/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#lastModificationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2022-09-23T08:03:38.468359102Z"}} \ No newline at end of file diff --git a/test/data/api/v2/ontologies/candeletecardinalities-true-request.json b/test/data/api/v2/ontologies/candeletecardinalities-true-request.json index d5c7b3e3d..c74091efe 100644 --- a/test/data/api/v2/ontologies/candeletecardinalities-true-request.json +++ b/test/data/api/v2/ontologies/candeletecardinalities-true-request.json @@ -4,7 +4,7 @@ "@type" : "owl:Ontology", "knora-api:lastModificationDate" : { "@type" : "xsd:dateTimeStamp", - "@value" : "2022-09-09T07:52:15.273219859Z" + "@value" : "2022-09-23T08:03:38.468359102Z" }, "@graph" : [ { "@id" : "freetest:BlueFreeTestClass", diff --git a/test/data/api/v2/ontologies/change-class-comment-request-expanded.json b/test/data/api/v2/ontologies/change-class-comment-request-expanded.json index 286daf304..afacab303 100644 --- a/test/data/api/v2/ontologies/change-class-comment-request-expanded.json +++ b/test/data/api/v2/ontologies/change-class-comment-request-expanded.json @@ -1 +1 @@ -{"@graph":[{"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2#Nothing","@type":"http://www.w3.org/2002/07/owl#Class","http://www.w3.org/2000/01/rdf-schema#comment":[{"@language":"en","@value":"Represents nothing"},{"@language":"fr","@value":"ne représente rien"}]}],"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#lastModificationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2022-09-09T07:51:51.734352187Z"}} \ No newline at end of file +{"@graph":[{"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2#Nothing","@type":"http://www.w3.org/2002/07/owl#Class","http://www.w3.org/2000/01/rdf-schema#comment":[{"@language":"en","@value":"Represents nothing"},{"@language":"fr","@value":"ne représente rien"}]}],"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#lastModificationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2022-09-23T08:03:20.088065335Z"}} \ No newline at end of file diff --git a/test/data/api/v2/ontologies/change-class-comment-request.json b/test/data/api/v2/ontologies/change-class-comment-request.json index 3b0601929..5a1703e54 100644 --- a/test/data/api/v2/ontologies/change-class-comment-request.json +++ b/test/data/api/v2/ontologies/change-class-comment-request.json @@ -3,7 +3,7 @@ "@type" : "owl:Ontology", "knora-api:lastModificationDate" : { "@type" : "xsd:dateTimeStamp", - "@value" : "2022-09-09T07:51:51.734352187Z" + "@value" : "2022-09-23T08:03:20.088065335Z" }, "@graph" : [ { "@id" : "anything:Nothing", diff --git a/test/data/api/v2/ontologies/change-class-label-request-expanded.json b/test/data/api/v2/ontologies/change-class-label-request-expanded.json index 22ddd2f03..92446ad14 100644 --- a/test/data/api/v2/ontologies/change-class-label-request-expanded.json +++ b/test/data/api/v2/ontologies/change-class-label-request-expanded.json @@ -1 +1 @@ -{"@graph":[{"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2#Nothing","@type":"http://www.w3.org/2002/07/owl#Class","http://www.w3.org/2000/01/rdf-schema#label":[{"@language":"en","@value":"nothing"},{"@language":"fr","@value":"rien"}]}],"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#lastModificationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2022-09-09T07:51:51.157679595Z"}} \ No newline at end of file +{"@graph":[{"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2#Nothing","@type":"http://www.w3.org/2002/07/owl#Class","http://www.w3.org/2000/01/rdf-schema#label":[{"@language":"en","@value":"nothing"},{"@language":"fr","@value":"rien"}]}],"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#lastModificationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2022-09-23T08:03:19.588024326Z"}} \ No newline at end of file diff --git a/test/data/api/v2/ontologies/change-class-label-request.json b/test/data/api/v2/ontologies/change-class-label-request.json index 3cc96f872..2c25092a7 100644 --- a/test/data/api/v2/ontologies/change-class-label-request.json +++ b/test/data/api/v2/ontologies/change-class-label-request.json @@ -3,7 +3,7 @@ "@type" : "owl:Ontology", "knora-api:lastModificationDate" : { "@type" : "xsd:dateTimeStamp", - "@value" : "2022-09-09T07:51:51.157679595Z" + "@value" : "2022-09-23T08:03:19.588024326Z" }, "@graph" : [ { "@id" : "anything:Nothing", diff --git a/test/data/api/v2/ontologies/change-gui-order-request-expanded.json b/test/data/api/v2/ontologies/change-gui-order-request-expanded.json index e0f6a631a..0888ab1b7 100644 --- a/test/data/api/v2/ontologies/change-gui-order-request-expanded.json +++ b/test/data/api/v2/ontologies/change-gui-order-request-expanded.json @@ -1 +1 @@ -{"@graph":[{"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2#Nothing","@type":"http://www.w3.org/2002/07/owl#Class","http://www.w3.org/2000/01/rdf-schema#subClassOf":{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/salsah-gui/v2#guiOrder":2,"http://www.w3.org/2002/07/owl#maxCardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2#hasNothingness"}}}],"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#lastModificationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2022-09-09T07:52:03.993775520Z"}} \ No newline at end of file +{"@graph":[{"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2#Nothing","@type":"http://www.w3.org/2002/07/owl#Class","http://www.w3.org/2000/01/rdf-schema#subClassOf":{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/salsah-gui/v2#guiOrder":2,"http://www.w3.org/2002/07/owl#maxCardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2#hasNothingness"}}}],"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#lastModificationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2022-09-23T08:03:28.375611006Z"}} \ No newline at end of file diff --git a/test/data/api/v2/ontologies/change-gui-order-request.json b/test/data/api/v2/ontologies/change-gui-order-request.json index f8e42449d..156351b2c 100644 --- a/test/data/api/v2/ontologies/change-gui-order-request.json +++ b/test/data/api/v2/ontologies/change-gui-order-request.json @@ -3,7 +3,7 @@ "@type" : "owl:Ontology", "knora-api:lastModificationDate" : { "@type" : "xsd:dateTimeStamp", - "@value" : "2022-09-09T07:52:03.993775520Z" + "@value" : "2022-09-23T08:03:28.375611006Z" }, "@graph" : [ { "@id" : "anything:Nothing", diff --git a/test/data/api/v2/ontologies/change-property-comment-request-expanded.json b/test/data/api/v2/ontologies/change-property-comment-request-expanded.json index 53db84469..0506cfd95 100644 --- a/test/data/api/v2/ontologies/change-property-comment-request-expanded.json +++ b/test/data/api/v2/ontologies/change-property-comment-request-expanded.json @@ -1 +1 @@ -{"@graph":[{"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2#hasName","@type":"http://www.w3.org/2002/07/owl#ObjectProperty","http://www.w3.org/2000/01/rdf-schema#comment":[{"@language":"en","@value":"The name of a Thing"},{"@language":"fr","@value":"Le nom d'une chose"},{"@language":"de","@value":"Der Name eines Dinges"}]}],"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#lastModificationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2022-09-09T07:51:46.448049325Z"}} \ No newline at end of file +{"@graph":[{"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2#hasName","@type":"http://www.w3.org/2002/07/owl#ObjectProperty","http://www.w3.org/2000/01/rdf-schema#comment":[{"@language":"en","@value":"The name of a Thing"},{"@language":"fr","@value":"Le nom d'une chose"},{"@language":"de","@value":"Der Name eines Dinges"}]}],"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#lastModificationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2022-09-23T08:03:15.259346850Z"}} \ No newline at end of file diff --git a/test/data/api/v2/ontologies/change-property-comment-request.json b/test/data/api/v2/ontologies/change-property-comment-request.json index 1dd131926..35d9b661f 100644 --- a/test/data/api/v2/ontologies/change-property-comment-request.json +++ b/test/data/api/v2/ontologies/change-property-comment-request.json @@ -3,7 +3,7 @@ "@type" : "owl:Ontology", "knora-api:lastModificationDate" : { "@type" : "xsd:dateTimeStamp", - "@value" : "2022-09-09T07:51:46.448049325Z" + "@value" : "2022-09-23T08:03:15.259346850Z" }, "@graph" : [ { "@id" : "anything:hasName", diff --git a/test/data/api/v2/ontologies/change-property-label-request-expanded.json b/test/data/api/v2/ontologies/change-property-label-request-expanded.json index ece687e34..1ae3f3f7d 100644 --- a/test/data/api/v2/ontologies/change-property-label-request-expanded.json +++ b/test/data/api/v2/ontologies/change-property-label-request-expanded.json @@ -1 +1 @@ -{"@graph":[{"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2#hasName","@type":"http://www.w3.org/2002/07/owl#ObjectProperty","http://www.w3.org/2000/01/rdf-schema#label":[{"@language":"en","@value":"has name"},{"@language":"fr","@value":"a nom"},{"@language":"de","@value":"hat Namen"}]}],"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#lastModificationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2022-09-09T07:51:45.910754374Z"}} \ No newline at end of file +{"@graph":[{"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2#hasName","@type":"http://www.w3.org/2002/07/owl#ObjectProperty","http://www.w3.org/2000/01/rdf-schema#label":[{"@language":"en","@value":"has name"},{"@language":"fr","@value":"a nom"},{"@language":"de","@value":"hat Namen"}]}],"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#lastModificationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2022-09-23T08:03:14.750932048Z"}} \ No newline at end of file diff --git a/test/data/api/v2/ontologies/change-property-label-request.json b/test/data/api/v2/ontologies/change-property-label-request.json index 1f41f52d1..de77b6b28 100644 --- a/test/data/api/v2/ontologies/change-property-label-request.json +++ b/test/data/api/v2/ontologies/change-property-label-request.json @@ -3,7 +3,7 @@ "@type" : "owl:Ontology", "knora-api:lastModificationDate" : { "@type" : "xsd:dateTimeStamp", - "@value" : "2022-09-09T07:51:45.910754374Z" + "@value" : "2022-09-23T08:03:14.750932048Z" }, "@graph" : [ { "@id" : "anything:hasName", diff --git a/test/data/api/v2/ontologies/create-class-without-cardinalities-request-expanded.json b/test/data/api/v2/ontologies/create-class-without-cardinalities-request-expanded.json index 75bf10956..892c9a4e6 100644 --- a/test/data/api/v2/ontologies/create-class-without-cardinalities-request-expanded.json +++ b/test/data/api/v2/ontologies/create-class-without-cardinalities-request-expanded.json @@ -1 +1 @@ -{"@graph":[{"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2#Nothing","@type":"http://www.w3.org/2002/07/owl#Class","http://www.w3.org/2000/01/rdf-schema#comment":{"@language":"en","@value":"Represents nothing"},"http://www.w3.org/2000/01/rdf-schema#label":{"@language":"en","@value":"nothing"},"http://www.w3.org/2000/01/rdf-schema#subClassOf":{"@id":"http://api.knora.org/ontology/knora-api/v2#Resource"}}],"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#lastModificationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2022-09-09T07:51:50.542470869Z"}} \ No newline at end of file +{"@graph":[{"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2#Nothing","@type":"http://www.w3.org/2002/07/owl#Class","http://www.w3.org/2000/01/rdf-schema#comment":{"@language":"en","@value":"Represents nothing"},"http://www.w3.org/2000/01/rdf-schema#label":{"@language":"en","@value":"nothing"},"http://www.w3.org/2000/01/rdf-schema#subClassOf":{"@id":"http://api.knora.org/ontology/knora-api/v2#Resource"}}],"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#lastModificationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2022-09-23T08:03:19.064763814Z"}} \ No newline at end of file diff --git a/test/data/api/v2/ontologies/create-class-without-cardinalities-request.json b/test/data/api/v2/ontologies/create-class-without-cardinalities-request.json index 447166b49..68ec7abd6 100644 --- a/test/data/api/v2/ontologies/create-class-without-cardinalities-request.json +++ b/test/data/api/v2/ontologies/create-class-without-cardinalities-request.json @@ -4,7 +4,7 @@ "@type" : "owl:Ontology", "knora-api:lastModificationDate" : { "@type" : "xsd:dateTimeStamp", - "@value" : "2022-09-09T07:51:50.542470869Z" + "@value" : "2022-09-23T08:03:19.064763814Z" }, "@graph" : [ { "@id" : "anything:Nothing", diff --git a/test/data/api/v2/ontologies/create-class-without-cardinalities-response-expanded.json b/test/data/api/v2/ontologies/create-class-without-cardinalities-response-expanded.json index 4775b189f..946ac69b3 100644 --- a/test/data/api/v2/ontologies/create-class-without-cardinalities-response-expanded.json +++ b/test/data/api/v2/ontologies/create-class-without-cardinalities-response-expanded.json @@ -1 +1 @@ -{"@graph":[{"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2#Nothing","@type":"http://www.w3.org/2002/07/owl#Class","http://api.knora.org/ontology/knora-api/v2#canBeInstantiated":true,"http://api.knora.org/ontology/knora-api/v2#isResourceClass":true,"http://www.w3.org/2000/01/rdf-schema#comment":{"@language":"en","@value":"Represents nothing"},"http://www.w3.org/2000/01/rdf-schema#label":{"@language":"en","@value":"nothing"},"http://www.w3.org/2000/01/rdf-schema#subClassOf":[{"@id":"http://api.knora.org/ontology/knora-api/v2#Resource"},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#cardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#arkUrl"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#cardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#attachedToProject"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#cardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#attachedToUser"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#cardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#creationDate"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#maxCardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#deleteComment"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#maxCardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#deleteDate"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#maxCardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#deletedBy"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#minCardinality":0,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#hasIncomingLinkValue"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#cardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#hasPermissions"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#minCardinality":0,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#hasStandoffLinkTo"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#minCardinality":0,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#hasStandoffLinkToValue"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#maxCardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#isDeleted"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#maxCardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#lastModificationDate"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#cardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#userHasPermission"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#cardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#versionArkUrl"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#maxCardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#versionDate"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#cardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://www.w3.org/2000/01/rdf-schema#label"}}]}],"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#attachedToProject":{"@id":"http://rdfh.ch/projects/0001"},"http://api.knora.org/ontology/knora-api/v2#lastModificationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2022-09-09T07:51:51.157679595Z"},"http://www.w3.org/2000/01/rdf-schema#label":"The anything ontology"} \ No newline at end of file +{"@graph":[{"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2#Nothing","@type":"http://www.w3.org/2002/07/owl#Class","http://api.knora.org/ontology/knora-api/v2#canBeInstantiated":true,"http://api.knora.org/ontology/knora-api/v2#isResourceClass":true,"http://www.w3.org/2000/01/rdf-schema#comment":{"@language":"en","@value":"Represents nothing"},"http://www.w3.org/2000/01/rdf-schema#label":{"@language":"en","@value":"nothing"},"http://www.w3.org/2000/01/rdf-schema#subClassOf":[{"@id":"http://api.knora.org/ontology/knora-api/v2#Resource"},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#cardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#arkUrl"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#cardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#attachedToProject"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#cardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#attachedToUser"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#cardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#creationDate"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#maxCardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#deleteComment"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#maxCardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#deleteDate"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#maxCardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#deletedBy"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#minCardinality":0,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#hasIncomingLinkValue"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#cardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#hasPermissions"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#minCardinality":0,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#hasStandoffLinkTo"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#minCardinality":0,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#hasStandoffLinkToValue"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#maxCardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#isDeleted"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#maxCardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#lastModificationDate"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#cardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#userHasPermission"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#cardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#versionArkUrl"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#maxCardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://api.knora.org/ontology/knora-api/v2#versionDate"}},{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://api.knora.org/ontology/knora-api/v2#isInherited":true,"http://www.w3.org/2002/07/owl#cardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://www.w3.org/2000/01/rdf-schema#label"}}]}],"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#attachedToProject":{"@id":"http://rdfh.ch/projects/0001"},"http://api.knora.org/ontology/knora-api/v2#lastModificationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2022-09-23T08:03:19.588024326Z"},"http://www.w3.org/2000/01/rdf-schema#label":"The anything ontology"} \ No newline at end of file diff --git a/test/data/api/v2/ontologies/create-class-without-cardinalities-response.json b/test/data/api/v2/ontologies/create-class-without-cardinalities-response.json index ee9415fc9..31bf0c7a9 100644 --- a/test/data/api/v2/ontologies/create-class-without-cardinalities-response.json +++ b/test/data/api/v2/ontologies/create-class-without-cardinalities-response.json @@ -1,6 +1,6 @@ { "knora-api:lastModificationDate": { - "@value": "2022-09-09T07:51:51.157679595Z", + "@value": "2022-09-23T08:03:19.588024326Z", "@type": "xsd:dateTimeStamp" }, "rdfs:label": "The anything ontology", diff --git a/test/data/api/v2/ontologies/create-empty-foo-ontology-response-expanded.json b/test/data/api/v2/ontologies/create-empty-foo-ontology-response-expanded.json index 5450a38e5..2c67d9e60 100644 --- a/test/data/api/v2/ontologies/create-empty-foo-ontology-response-expanded.json +++ b/test/data/api/v2/ontologies/create-empty-foo-ontology-response-expanded.json @@ -1 +1 @@ -{"@id":"http://0.0.0.0:3333/ontology/0001/foo/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#attachedToProject":{"@id":"http://rdfh.ch/projects/0001"},"http://api.knora.org/ontology/knora-api/v2#lastModificationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2022-09-09T07:51:41.383033212Z"},"http://www.w3.org/2000/01/rdf-schema#label":"The foo ontology"} \ No newline at end of file +{"@id":"http://0.0.0.0:3333/ontology/0001/foo/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#attachedToProject":{"@id":"http://rdfh.ch/projects/0001"},"http://api.knora.org/ontology/knora-api/v2#lastModificationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2022-09-23T08:03:10.731023727Z"},"http://www.w3.org/2000/01/rdf-schema#label":"The foo ontology"} \ No newline at end of file diff --git a/test/data/api/v2/ontologies/create-empty-foo-ontology-response.json b/test/data/api/v2/ontologies/create-empty-foo-ontology-response.json index a955e4e28..5403ff827 100644 --- a/test/data/api/v2/ontologies/create-empty-foo-ontology-response.json +++ b/test/data/api/v2/ontologies/create-empty-foo-ontology-response.json @@ -1,6 +1,6 @@ { "knora-api:lastModificationDate": { - "@value": "2022-09-09T07:51:41.383033212Z", + "@value": "2022-09-23T08:03:10.731023727Z", "@type": "xsd:dateTimeStamp" }, "rdfs:label": "The foo ontology", diff --git a/test/data/api/v2/ontologies/create-link-property-request-expanded.json b/test/data/api/v2/ontologies/create-link-property-request-expanded.json index 3d14f73b5..559d1d4a6 100644 --- a/test/data/api/v2/ontologies/create-link-property-request-expanded.json +++ b/test/data/api/v2/ontologies/create-link-property-request-expanded.json @@ -1 +1 @@ -{"@graph":[{"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2#hasOtherNothing","@type":"http://www.w3.org/2002/07/owl#ObjectProperty","http://api.knora.org/ontology/knora-api/v2#objectType":{"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2#Nothing"},"http://api.knora.org/ontology/knora-api/v2#subjectType":{"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2#Nothing"},"http://www.w3.org/2000/01/rdf-schema#comment":{"@language":"en","@value":"Refers to the other Nothing of a Nothing"},"http://www.w3.org/2000/01/rdf-schema#label":{"@language":"en","@value":"has nothingness"},"http://www.w3.org/2000/01/rdf-schema#subPropertyOf":{"@id":"http://api.knora.org/ontology/knora-api/v2#hasLinkTo"}}],"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#lastModificationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2022-09-09T07:51:52.337391367Z"}} \ No newline at end of file +{"@graph":[{"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2#hasOtherNothing","@type":"http://www.w3.org/2002/07/owl#ObjectProperty","http://api.knora.org/ontology/knora-api/v2#objectType":{"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2#Nothing"},"http://api.knora.org/ontology/knora-api/v2#subjectType":{"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2#Nothing"},"http://www.w3.org/2000/01/rdf-schema#comment":{"@language":"en","@value":"Refers to the other Nothing of a Nothing"},"http://www.w3.org/2000/01/rdf-schema#label":{"@language":"en","@value":"has nothingness"},"http://www.w3.org/2000/01/rdf-schema#subPropertyOf":{"@id":"http://api.knora.org/ontology/knora-api/v2#hasLinkTo"}}],"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#lastModificationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2022-09-23T08:03:20.593513175Z"}} \ No newline at end of file diff --git a/test/data/api/v2/ontologies/create-link-property-request.json b/test/data/api/v2/ontologies/create-link-property-request.json index e4f1ee945..ba32c7528 100644 --- a/test/data/api/v2/ontologies/create-link-property-request.json +++ b/test/data/api/v2/ontologies/create-link-property-request.json @@ -4,7 +4,7 @@ "@type" : "owl:Ontology", "knora-api:lastModificationDate" : { "@type" : "xsd:dateTimeStamp", - "@value" : "2022-09-09T07:51:52.337391367Z" + "@value" : "2022-09-23T08:03:20.593513175Z" }, "@graph" : [ { "@id" : "anything:hasOtherNothing", diff --git a/test/data/api/v2/ontologies/create-link-property-response-expanded.json b/test/data/api/v2/ontologies/create-link-property-response-expanded.json index d02f62974..7d2cdedb7 100644 --- a/test/data/api/v2/ontologies/create-link-property-response-expanded.json +++ b/test/data/api/v2/ontologies/create-link-property-response-expanded.json @@ -1 +1 @@ -{"@graph":[{"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2#hasOtherNothing","@type":"http://www.w3.org/2002/07/owl#ObjectProperty","http://api.knora.org/ontology/knora-api/v2#isEditable":true,"http://api.knora.org/ontology/knora-api/v2#isLinkProperty":true,"http://api.knora.org/ontology/knora-api/v2#isResourceProperty":true,"http://api.knora.org/ontology/knora-api/v2#objectType":{"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2#Nothing"},"http://api.knora.org/ontology/knora-api/v2#subjectType":{"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2#Nothing"},"http://www.w3.org/2000/01/rdf-schema#comment":{"@language":"en","@value":"Refers to the other Nothing of a Nothing"},"http://www.w3.org/2000/01/rdf-schema#label":{"@language":"en","@value":"has nothingness"},"http://www.w3.org/2000/01/rdf-schema#subPropertyOf":{"@id":"http://api.knora.org/ontology/knora-api/v2#hasLinkTo"}}],"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#attachedToProject":{"@id":"http://rdfh.ch/projects/0001"},"http://api.knora.org/ontology/knora-api/v2#lastModificationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2022-09-09T07:51:52.881153800Z"},"http://www.w3.org/2000/01/rdf-schema#label":"The anything ontology"} \ No newline at end of file +{"@graph":[{"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2#hasOtherNothing","@type":"http://www.w3.org/2002/07/owl#ObjectProperty","http://api.knora.org/ontology/knora-api/v2#isEditable":true,"http://api.knora.org/ontology/knora-api/v2#isLinkProperty":true,"http://api.knora.org/ontology/knora-api/v2#isResourceProperty":true,"http://api.knora.org/ontology/knora-api/v2#objectType":{"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2#Nothing"},"http://api.knora.org/ontology/knora-api/v2#subjectType":{"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2#Nothing"},"http://www.w3.org/2000/01/rdf-schema#comment":{"@language":"en","@value":"Refers to the other Nothing of a Nothing"},"http://www.w3.org/2000/01/rdf-schema#label":{"@language":"en","@value":"has nothingness"},"http://www.w3.org/2000/01/rdf-schema#subPropertyOf":{"@id":"http://api.knora.org/ontology/knora-api/v2#hasLinkTo"}}],"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#attachedToProject":{"@id":"http://rdfh.ch/projects/0001"},"http://api.knora.org/ontology/knora-api/v2#lastModificationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2022-09-23T08:03:21.083249921Z"},"http://www.w3.org/2000/01/rdf-schema#label":"The anything ontology"} \ No newline at end of file diff --git a/test/data/api/v2/ontologies/create-link-property-response.json b/test/data/api/v2/ontologies/create-link-property-response.json index d54035512..ed2f2c858 100644 --- a/test/data/api/v2/ontologies/create-link-property-response.json +++ b/test/data/api/v2/ontologies/create-link-property-response.json @@ -1,6 +1,6 @@ { "knora-api:lastModificationDate": { - "@value": "2022-09-09T07:51:52.881153800Z", + "@value": "2022-09-23T08:03:21.083249921Z", "@type": "xsd:dateTimeStamp" }, "rdfs:label": "The anything ontology", diff --git a/test/data/api/v2/ontologies/create-value-property-response-expanded.json b/test/data/api/v2/ontologies/create-value-property-response-expanded.json index efc822e58..8273280ce 100644 --- a/test/data/api/v2/ontologies/create-value-property-response-expanded.json +++ b/test/data/api/v2/ontologies/create-value-property-response-expanded.json @@ -1 +1 @@ -{"@graph":[{"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2#hasName","@type":"http://www.w3.org/2002/07/owl#ObjectProperty","http://api.knora.org/ontology/knora-api/v2#isEditable":true,"http://api.knora.org/ontology/knora-api/v2#isResourceProperty":true,"http://api.knora.org/ontology/knora-api/v2#objectType":{"@id":"http://api.knora.org/ontology/knora-api/v2#TextValue"},"http://api.knora.org/ontology/knora-api/v2#subjectType":{"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2#Thing"},"http://api.knora.org/ontology/salsah-gui/v2#guiAttribute":["maxlength=100","size=80"],"http://api.knora.org/ontology/salsah-gui/v2#guiElement":{"@id":"http://api.knora.org/ontology/salsah-gui/v2#SimpleText"},"http://www.w3.org/2000/01/rdf-schema#comment":[{"@language":"de","@value":"Der Name eines Dinges"},{"@language":"en","@value":"The name of a Thing"}],"http://www.w3.org/2000/01/rdf-schema#label":[{"@language":"de","@value":"hat Namen"},{"@language":"en","@value":"has name"}],"http://www.w3.org/2000/01/rdf-schema#subPropertyOf":[{"@id":"http://api.knora.org/ontology/knora-api/v2#hasValue"},{"@id":"http://schema.org/name"}]}],"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#attachedToProject":{"@id":"http://rdfh.ch/projects/0001"},"http://api.knora.org/ontology/knora-api/v2#lastModificationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2022-09-09T07:51:45.910754374Z"},"http://www.w3.org/2000/01/rdf-schema#label":"The anything ontology"} \ No newline at end of file +{"@graph":[{"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2#hasName","@type":"http://www.w3.org/2002/07/owl#ObjectProperty","http://api.knora.org/ontology/knora-api/v2#isEditable":true,"http://api.knora.org/ontology/knora-api/v2#isResourceProperty":true,"http://api.knora.org/ontology/knora-api/v2#objectType":{"@id":"http://api.knora.org/ontology/knora-api/v2#TextValue"},"http://api.knora.org/ontology/knora-api/v2#subjectType":{"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2#Thing"},"http://api.knora.org/ontology/salsah-gui/v2#guiAttribute":["maxlength=100","size=80"],"http://api.knora.org/ontology/salsah-gui/v2#guiElement":{"@id":"http://api.knora.org/ontology/salsah-gui/v2#SimpleText"},"http://www.w3.org/2000/01/rdf-schema#comment":[{"@language":"de","@value":"Der Name eines Dinges"},{"@language":"en","@value":"The name of a Thing"}],"http://www.w3.org/2000/01/rdf-schema#label":[{"@language":"de","@value":"hat Namen"},{"@language":"en","@value":"has name"}],"http://www.w3.org/2000/01/rdf-schema#subPropertyOf":[{"@id":"http://api.knora.org/ontology/knora-api/v2#hasValue"},{"@id":"http://schema.org/name"}]}],"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#attachedToProject":{"@id":"http://rdfh.ch/projects/0001"},"http://api.knora.org/ontology/knora-api/v2#lastModificationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2022-09-23T08:03:14.750932048Z"},"http://www.w3.org/2000/01/rdf-schema#label":"The anything ontology"} \ No newline at end of file diff --git a/test/data/api/v2/ontologies/create-value-property-response.json b/test/data/api/v2/ontologies/create-value-property-response.json index 63af0e76b..dba1299e1 100644 --- a/test/data/api/v2/ontologies/create-value-property-response.json +++ b/test/data/api/v2/ontologies/create-value-property-response.json @@ -1,6 +1,6 @@ { "knora-api:lastModificationDate": { - "@value": "2022-09-09T07:51:45.910754374Z", + "@value": "2022-09-23T08:03:14.750932048Z", "@type": "xsd:dateTimeStamp" }, "rdfs:label": "The anything ontology", diff --git a/test/data/api/v2/ontologies/remove-class-cardinalities-request-expanded.json b/test/data/api/v2/ontologies/remove-class-cardinalities-request-expanded.json index b8345a109..5063677b0 100644 --- a/test/data/api/v2/ontologies/remove-class-cardinalities-request-expanded.json +++ b/test/data/api/v2/ontologies/remove-class-cardinalities-request-expanded.json @@ -1 +1 @@ -{"@graph":[{"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2#Nothing","@type":"http://www.w3.org/2002/07/owl#Class"}],"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#lastModificationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2022-09-09T07:52:06.633422438Z"}} \ No newline at end of file +{"@graph":[{"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2#Nothing","@type":"http://www.w3.org/2002/07/owl#Class"}],"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#lastModificationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2022-09-23T08:03:30.790189981Z"}} \ No newline at end of file diff --git a/test/data/api/v2/ontologies/remove-class-cardinalities-request.json b/test/data/api/v2/ontologies/remove-class-cardinalities-request.json index 3f72838e4..1b70871d0 100644 --- a/test/data/api/v2/ontologies/remove-class-cardinalities-request.json +++ b/test/data/api/v2/ontologies/remove-class-cardinalities-request.json @@ -3,7 +3,7 @@ "@type" : "owl:Ontology", "knora-api:lastModificationDate" : { "@type" : "xsd:dateTimeStamp", - "@value" : "2022-09-09T07:52:06.633422438Z" + "@value" : "2022-09-23T08:03:30.790189981Z" }, "@graph" : [ { "@id" : "anything:Nothing", diff --git a/test/data/api/v2/ontologies/replace-class-cardinalities-request-expanded.json b/test/data/api/v2/ontologies/replace-class-cardinalities-request-expanded.json index 15022885f..800cc644b 100644 --- a/test/data/api/v2/ontologies/replace-class-cardinalities-request-expanded.json +++ b/test/data/api/v2/ontologies/replace-class-cardinalities-request-expanded.json @@ -1 +1 @@ -{"@graph":[{"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2#Nothing","@type":"http://www.w3.org/2002/07/owl#Class","http://www.w3.org/2000/01/rdf-schema#subClassOf":{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://www.w3.org/2002/07/owl#maxCardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2#hasEmptiness"}}}],"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#lastModificationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2022-09-09T07:52:05.095652146Z"}} \ No newline at end of file +{"@graph":[{"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2#Nothing","@type":"http://www.w3.org/2002/07/owl#Class","http://www.w3.org/2000/01/rdf-schema#subClassOf":{"@type":"http://www.w3.org/2002/07/owl#Restriction","http://www.w3.org/2002/07/owl#maxCardinality":1,"http://www.w3.org/2002/07/owl#onProperty":{"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2#hasEmptiness"}}}],"@id":"http://0.0.0.0:3333/ontology/0001/anything/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#lastModificationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2022-09-23T08:03:29.382925416Z"}} \ No newline at end of file diff --git a/test/data/api/v2/ontologies/replace-class-cardinalities-request.json b/test/data/api/v2/ontologies/replace-class-cardinalities-request.json index c87370dc1..0cd91da00 100644 --- a/test/data/api/v2/ontologies/replace-class-cardinalities-request.json +++ b/test/data/api/v2/ontologies/replace-class-cardinalities-request.json @@ -3,7 +3,7 @@ "@type" : "owl:Ontology", "knora-api:lastModificationDate" : { "@type" : "xsd:dateTimeStamp", - "@value" : "2022-09-09T07:52:05.095652146Z" + "@value" : "2022-09-23T08:03:29.382925416Z" }, "@graph" : [ { "@id" : "anything:Nothing", diff --git a/test/data/api/v2/resources/delete-resource-request-expanded.json b/test/data/api/v2/resources/delete-resource-request-expanded.json index a415abbf6..b18ea3101 100644 --- a/test/data/api/v2/resources/delete-resource-request-expanded.json +++ b/test/data/api/v2/resources/delete-resource-request-expanded.json @@ -1 +1 @@ -{"@id":"http://rdfh.ch/0001/a-thing","@type":"http://0.0.0.0:3333/ontology/0001/anything/v2#Thing","http://api.knora.org/ontology/knora-api/v2#deleteComment":"This resource is too boring.","http://api.knora.org/ontology/knora-api/v2#lastModificationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2022-09-10T07:41:04.349155655Z"}} \ No newline at end of file +{"@id":"http://rdfh.ch/0001/a-thing","@type":"http://0.0.0.0:3333/ontology/0001/anything/v2#Thing","http://api.knora.org/ontology/knora-api/v2#deleteComment":"This resource is too boring.","http://api.knora.org/ontology/knora-api/v2#lastModificationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2022-09-24T07:55:52.603204095Z"}} \ No newline at end of file diff --git a/test/data/api/v2/resources/delete-resource-request.json b/test/data/api/v2/resources/delete-resource-request.json index 4d28f14be..f59ce0172 100644 --- a/test/data/api/v2/resources/delete-resource-request.json +++ b/test/data/api/v2/resources/delete-resource-request.json @@ -3,7 +3,7 @@ "@type" : "anything:Thing", "knora-api:lastModificationDate" : { "@type" : "xsd:dateTimeStamp", - "@value" : "2022-09-10T07:41:04.349155655Z" + "@value" : "2022-09-24T07:55:52.603204095Z" }, "knora-api:deleteComment" : "This resource is too boring.", "@context" : { diff --git a/test/data/api/v2/resources/deleted-resource-response-expanded.json b/test/data/api/v2/resources/deleted-resource-response-expanded.json index 53ef6ea85..447255b0d 100644 --- a/test/data/api/v2/resources/deleted-resource-response-expanded.json +++ b/test/data/api/v2/resources/deleted-resource-response-expanded.json @@ -1 +1 @@ -{"@id":"http://rdfh.ch/0001/a-thing","@type":"http://api.knora.org/ontology/knora-api/v2#DeletedResource","http://api.knora.org/ontology/knora-api/v2#arkUrl":{"@type":"http://www.w3.org/2001/XMLSchema#anyURI","@value":"http://0.0.0.0:3336/ark:/72163/1/0001/a=thingO"},"http://api.knora.org/ontology/knora-api/v2#attachedToProject":{"@id":"http://rdfh.ch/projects/0001"},"http://api.knora.org/ontology/knora-api/v2#attachedToUser":{"@id":"http://rdfh.ch/users/9XBCrDV3SRa7kS1WwynB4Q"},"http://api.knora.org/ontology/knora-api/v2#creationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2016-03-02T15:05:10Z"},"http://api.knora.org/ontology/knora-api/v2#deleteComment":"This resource is too boring.","http://api.knora.org/ontology/knora-api/v2#deleteDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2022-09-09T07:41:06.106756727Z"},"http://api.knora.org/ontology/knora-api/v2#hasPermissions":"CR knora-admin:ProjectMember|V knora-admin:ProjectMember","http://api.knora.org/ontology/knora-api/v2#isDeleted":true,"http://api.knora.org/ontology/knora-api/v2#lastModificationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2022-09-09T07:41:06.106756727Z"},"http://api.knora.org/ontology/knora-api/v2#userHasPermission":"CR","http://api.knora.org/ontology/knora-api/v2#versionArkUrl":{"@type":"http://www.w3.org/2001/XMLSchema#anyURI","@value":"http://0.0.0.0:3336/ark:/72163/1/0001/a=thingO.20220909T074106106756727Z"},"http://www.w3.org/2000/01/rdf-schema#label":"Deleted Resource"} \ No newline at end of file +{"@id":"http://rdfh.ch/0001/a-thing","@type":"http://api.knora.org/ontology/knora-api/v2#DeletedResource","http://api.knora.org/ontology/knora-api/v2#arkUrl":{"@type":"http://www.w3.org/2001/XMLSchema#anyURI","@value":"http://0.0.0.0:3336/ark:/72163/1/0001/a=thingO"},"http://api.knora.org/ontology/knora-api/v2#attachedToProject":{"@id":"http://rdfh.ch/projects/0001"},"http://api.knora.org/ontology/knora-api/v2#attachedToUser":{"@id":"http://rdfh.ch/users/9XBCrDV3SRa7kS1WwynB4Q"},"http://api.knora.org/ontology/knora-api/v2#creationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2016-03-02T15:05:10Z"},"http://api.knora.org/ontology/knora-api/v2#deleteComment":"This resource is too boring.","http://api.knora.org/ontology/knora-api/v2#deleteDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2022-09-23T07:55:54.056741571Z"},"http://api.knora.org/ontology/knora-api/v2#hasPermissions":"CR knora-admin:ProjectMember|V knora-admin:ProjectMember","http://api.knora.org/ontology/knora-api/v2#isDeleted":true,"http://api.knora.org/ontology/knora-api/v2#lastModificationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2022-09-23T07:55:54.056741571Z"},"http://api.knora.org/ontology/knora-api/v2#userHasPermission":"CR","http://api.knora.org/ontology/knora-api/v2#versionArkUrl":{"@type":"http://www.w3.org/2001/XMLSchema#anyURI","@value":"http://0.0.0.0:3336/ark:/72163/1/0001/a=thingO.20220923T075554056741571Z"},"http://www.w3.org/2000/01/rdf-schema#label":"Deleted Resource"} \ No newline at end of file diff --git a/test/data/api/v2/resources/deleted-resource-response.json b/test/data/api/v2/resources/deleted-resource-response.json index 491a95a67..f4a657c19 100644 --- a/test/data/api/v2/resources/deleted-resource-response.json +++ b/test/data/api/v2/resources/deleted-resource-response.json @@ -1,11 +1,11 @@ { "knora-api:lastModificationDate": { - "@value": "2022-09-09T07:41:06.106756727Z", + "@value": "2022-09-23T07:55:54.056741571Z", "@type": "xsd:dateTimeStamp" }, "rdfs:label": "Deleted Resource", "knora-api:versionArkUrl": { - "@value": "http://0.0.0.0:3336/ark:/72163/1/0001/a=thingO.20220909T074106106756727Z", + "@value": "http://0.0.0.0:3336/ark:/72163/1/0001/a=thingO.20220923T075554056741571Z", "@type": "xsd:anyURI" }, "knora-api:attachedToProject": { @@ -30,7 +30,7 @@ }, "knora-api:deleteDate": { "@type": "xsd:dateTimeStamp", - "@value": "2022-09-09T07:41:06.106756727Z" + "@value": "2022-09-23T07:55:54.056741571Z" }, "@context": { "rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#", diff --git a/test/data/api/v2/resources/update-resource-metadata-request-expanded.json b/test/data/api/v2/resources/update-resource-metadata-request-expanded.json index 1d383bff9..cfddc763c 100644 --- a/test/data/api/v2/resources/update-resource-metadata-request-expanded.json +++ b/test/data/api/v2/resources/update-resource-metadata-request-expanded.json @@ -1 +1 @@ -{"@id":"http://rdfh.ch/0001/a-thing","@type":"http://0.0.0.0:3333/ontology/0001/anything/v2#Thing","http://api.knora.org/ontology/knora-api/v2#hasPermissions":"CR knora-admin:Creator|M knora-admin:ProjectMember|V knora-admin:ProjectMember","http://api.knora.org/ontology/knora-api/v2#newModificationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2022-09-10T07:41:03.157343158Z"},"http://www.w3.org/2000/01/rdf-schema#label":"test thing with modified label"} \ No newline at end of file +{"@id":"http://rdfh.ch/0001/a-thing","@type":"http://0.0.0.0:3333/ontology/0001/anything/v2#Thing","http://api.knora.org/ontology/knora-api/v2#hasPermissions":"CR knora-admin:Creator|M knora-admin:ProjectMember|V knora-admin:ProjectMember","http://api.knora.org/ontology/knora-api/v2#newModificationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2022-09-24T07:55:51.540428065Z"},"http://www.w3.org/2000/01/rdf-schema#label":"test thing with modified label"} \ No newline at end of file diff --git a/test/data/api/v2/resources/update-resource-metadata-request-with-last-mod-date-expanded.json b/test/data/api/v2/resources/update-resource-metadata-request-with-last-mod-date-expanded.json index 1b9b14993..a734abfb0 100644 --- a/test/data/api/v2/resources/update-resource-metadata-request-with-last-mod-date-expanded.json +++ b/test/data/api/v2/resources/update-resource-metadata-request-with-last-mod-date-expanded.json @@ -1 +1 @@ -{"@id":"http://rdfh.ch/0001/a-thing","@type":"http://0.0.0.0:3333/ontology/0001/anything/v2#Thing","http://api.knora.org/ontology/knora-api/v2#hasPermissions":"CR knora-admin:ProjectMember|V knora-admin:ProjectMember","http://api.knora.org/ontology/knora-api/v2#lastModificationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2022-09-10T07:41:03.157343158Z"},"http://api.knora.org/ontology/knora-api/v2#newModificationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2022-09-10T07:41:04.349155655Z"},"http://www.w3.org/2000/01/rdf-schema#label":"test thing with modified label again"} \ No newline at end of file +{"@id":"http://rdfh.ch/0001/a-thing","@type":"http://0.0.0.0:3333/ontology/0001/anything/v2#Thing","http://api.knora.org/ontology/knora-api/v2#hasPermissions":"CR knora-admin:ProjectMember|V knora-admin:ProjectMember","http://api.knora.org/ontology/knora-api/v2#lastModificationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2022-09-24T07:55:51.540428065Z"},"http://api.knora.org/ontology/knora-api/v2#newModificationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2022-09-24T07:55:52.603204095Z"},"http://www.w3.org/2000/01/rdf-schema#label":"test thing with modified label again"} \ No newline at end of file diff --git a/test/data/api/v2/resources/update-resource-metadata-request-with-last-mod-date.json b/test/data/api/v2/resources/update-resource-metadata-request-with-last-mod-date.json index 76bc77ea3..f46ef810f 100644 --- a/test/data/api/v2/resources/update-resource-metadata-request-with-last-mod-date.json +++ b/test/data/api/v2/resources/update-resource-metadata-request-with-last-mod-date.json @@ -5,11 +5,11 @@ "knora-api:hasPermissions" : "CR knora-admin:ProjectMember|V knora-admin:ProjectMember", "knora-api:lastModificationDate" : { "@type" : "xsd:dateTimeStamp", - "@value" : "2022-09-10T07:41:03.157343158Z" + "@value" : "2022-09-24T07:55:51.540428065Z" }, "knora-api:newModificationDate" : { "@type" : "xsd:dateTimeStamp", - "@value" : "2022-09-10T07:41:04.349155655Z" + "@value" : "2022-09-24T07:55:52.603204095Z" }, "@context" : { "rdf" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#", diff --git a/test/data/api/v2/resources/update-resource-metadata-request.json b/test/data/api/v2/resources/update-resource-metadata-request.json index 15ca4eeca..6c1927b67 100644 --- a/test/data/api/v2/resources/update-resource-metadata-request.json +++ b/test/data/api/v2/resources/update-resource-metadata-request.json @@ -5,7 +5,7 @@ "knora-api:hasPermissions" : "CR knora-admin:Creator|M knora-admin:ProjectMember|V knora-admin:ProjectMember", "knora-api:newModificationDate" : { "@type" : "xsd:dateTimeStamp", - "@value" : "2022-09-10T07:41:03.157343158Z" + "@value" : "2022-09-24T07:55:51.540428065Z" }, "@context" : { "rdf" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#", diff --git a/test/data/api/v2/resources/update-resource-metadata-response-expanded.json b/test/data/api/v2/resources/update-resource-metadata-response-expanded.json index eb502a024..09beb70ef 100644 --- a/test/data/api/v2/resources/update-resource-metadata-response-expanded.json +++ b/test/data/api/v2/resources/update-resource-metadata-response-expanded.json @@ -1 +1 @@ -{"http://api.knora.org/ontology/knora-api/v2#hasPermissions":"CR knora-admin:Creator|M knora-admin:ProjectMember|V knora-admin:ProjectMember","http://api.knora.org/ontology/knora-api/v2#lastModificationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2022-09-10T07:41:03.157343158Z"},"http://api.knora.org/ontology/knora-api/v2#resourceClassIri":"http://0.0.0.0:3333/ontology/0001/anything/v2#Thing","http://api.knora.org/ontology/knora-api/v2#resourceIri":"http://rdfh.ch/0001/a-thing","http://www.w3.org/2000/01/rdf-schema#label":"test thing with modified label"} \ No newline at end of file +{"http://api.knora.org/ontology/knora-api/v2#hasPermissions":"CR knora-admin:Creator|M knora-admin:ProjectMember|V knora-admin:ProjectMember","http://api.knora.org/ontology/knora-api/v2#lastModificationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2022-09-24T07:55:51.540428065Z"},"http://api.knora.org/ontology/knora-api/v2#resourceClassIri":"http://0.0.0.0:3333/ontology/0001/anything/v2#Thing","http://api.knora.org/ontology/knora-api/v2#resourceIri":"http://rdfh.ch/0001/a-thing","http://www.w3.org/2000/01/rdf-schema#label":"test thing with modified label"} \ No newline at end of file diff --git a/test/data/api/v2/resources/update-resource-metadata-response-with-last-mod-date-expanded.json b/test/data/api/v2/resources/update-resource-metadata-response-with-last-mod-date-expanded.json index df5770d10..f0db4e687 100644 --- a/test/data/api/v2/resources/update-resource-metadata-response-with-last-mod-date-expanded.json +++ b/test/data/api/v2/resources/update-resource-metadata-response-with-last-mod-date-expanded.json @@ -1 +1 @@ -{"http://api.knora.org/ontology/knora-api/v2#hasPermissions":"CR knora-admin:ProjectMember|V knora-admin:ProjectMember","http://api.knora.org/ontology/knora-api/v2#lastModificationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2022-09-10T07:41:04.349155655Z"},"http://api.knora.org/ontology/knora-api/v2#resourceClassIri":"http://0.0.0.0:3333/ontology/0001/anything/v2#Thing","http://api.knora.org/ontology/knora-api/v2#resourceIri":"http://rdfh.ch/0001/a-thing","http://www.w3.org/2000/01/rdf-schema#label":"test thing with modified label again"} \ No newline at end of file +{"http://api.knora.org/ontology/knora-api/v2#hasPermissions":"CR knora-admin:ProjectMember|V knora-admin:ProjectMember","http://api.knora.org/ontology/knora-api/v2#lastModificationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2022-09-24T07:55:52.603204095Z"},"http://api.knora.org/ontology/knora-api/v2#resourceClassIri":"http://0.0.0.0:3333/ontology/0001/anything/v2#Thing","http://api.knora.org/ontology/knora-api/v2#resourceIri":"http://rdfh.ch/0001/a-thing","http://www.w3.org/2000/01/rdf-schema#label":"test thing with modified label again"} \ No newline at end of file diff --git a/test/data/api/v2/resources/update-resource-metadata-response-with-last-mod-date.json b/test/data/api/v2/resources/update-resource-metadata-response-with-last-mod-date.json index b60600a24..7bebc525d 100644 --- a/test/data/api/v2/resources/update-resource-metadata-response-with-last-mod-date.json +++ b/test/data/api/v2/resources/update-resource-metadata-response-with-last-mod-date.json @@ -1,6 +1,6 @@ { "knora-api:lastModificationDate": { - "@value": "2022-09-10T07:41:04.349155655Z", + "@value": "2022-09-24T07:55:52.603204095Z", "@type": "xsd:dateTimeStamp" }, "rdfs:label": "test thing with modified label again", diff --git a/test/data/api/v2/resources/update-resource-metadata-response.json b/test/data/api/v2/resources/update-resource-metadata-response.json index e66e92be6..8d9afa99e 100644 --- a/test/data/api/v2/resources/update-resource-metadata-response.json +++ b/test/data/api/v2/resources/update-resource-metadata-response.json @@ -1,6 +1,6 @@ { "knora-api:lastModificationDate": { - "@value": "2022-09-10T07:41:03.157343158Z", + "@value": "2022-09-24T07:55:51.540428065Z", "@type": "xsd:dateTimeStamp" }, "rdfs:label": "test thing with modified label", diff --git a/test/data/api/v2/values/create-int-value-response-expanded.json b/test/data/api/v2/values/create-int-value-response-expanded.json index a089f1fea..ced075f8d 100644 --- a/test/data/api/v2/values/create-int-value-response-expanded.json +++ b/test/data/api/v2/values/create-int-value-response-expanded.json @@ -1 +1 @@ -{"@id":"http://rdfh.ch/0001/a-thing/values/i8L52IIpTSK1aCZUXqLOzg","@type":"http://api.knora.org/ontology/knora-api/v2#IntValue","http://api.knora.org/ontology/knora-api/v2#valueCreationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2022-09-09T07:32:19.359863974Z"},"http://api.knora.org/ontology/knora-api/v2#valueHasUUID":"i8L52IIpTSK1aCZUXqLOzg"} \ No newline at end of file +{"@id":"http://rdfh.ch/0001/a-thing/values/StWaG12FQ5qFKoxIOM3Zgg","@type":"http://api.knora.org/ontology/knora-api/v2#IntValue","http://api.knora.org/ontology/knora-api/v2#valueCreationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2022-09-23T07:49:16.515389382Z"},"http://api.knora.org/ontology/knora-api/v2#valueHasUUID":"StWaG12FQ5qFKoxIOM3Zgg"} \ No newline at end of file diff --git a/test/data/api/v2/values/create-int-value-response.json b/test/data/api/v2/values/create-int-value-response.json index 053d0a30f..dcb964166 100644 --- a/test/data/api/v2/values/create-int-value-response.json +++ b/test/data/api/v2/values/create-int-value-response.json @@ -1,9 +1,9 @@ { - "@id": "http://rdfh.ch/0001/a-thing/values/i8L52IIpTSK1aCZUXqLOzg", + "@id": "http://rdfh.ch/0001/a-thing/values/StWaG12FQ5qFKoxIOM3Zgg", "@type": "knora-api:IntValue", - "knora-api:valueHasUUID": "i8L52IIpTSK1aCZUXqLOzg", + "knora-api:valueHasUUID": "StWaG12FQ5qFKoxIOM3Zgg", "knora-api:valueCreationDate": { - "@value": "2022-09-09T07:32:19.359863974Z", + "@value": "2022-09-23T07:49:16.515389382Z", "@type": "http://www.w3.org/2001/XMLSchema#dateTimeStamp" }, "@context": { diff --git a/test/data/api/v2/values/delete-int-value-request-expanded.json b/test/data/api/v2/values/delete-int-value-request-expanded.json index 42ee2f861..f0fac654d 100644 --- a/test/data/api/v2/values/delete-int-value-request-expanded.json +++ b/test/data/api/v2/values/delete-int-value-request-expanded.json @@ -1 +1 @@ -{"@id":"http://rdfh.ch/0001/a-thing","@type":"http://0.0.0.0:3333/ontology/0001/anything/v2#Thing","http://0.0.0.0:3333/ontology/0001/anything/v2#hasInteger":{"@id":"http://rdfh.ch/0001/a-thing/values/eW8ZvJXtQcSIlweUkzatyw","@type":"http://api.knora.org/ontology/knora-api/v2#IntValue","http://api.knora.org/ontology/knora-api/v2#deleteComment":"this value was incorrect"}} \ No newline at end of file +{"@id":"http://rdfh.ch/0001/a-thing","@type":"http://0.0.0.0:3333/ontology/0001/anything/v2#Thing","http://0.0.0.0:3333/ontology/0001/anything/v2#hasInteger":{"@id":"http://rdfh.ch/0001/a-thing/values/lhf_EARvQWa-PBcsFP7VHg","@type":"http://api.knora.org/ontology/knora-api/v2#IntValue","http://api.knora.org/ontology/knora-api/v2#deleteComment":"this value was incorrect"}} \ No newline at end of file diff --git a/test/data/api/v2/values/delete-int-value-request.json b/test/data/api/v2/values/delete-int-value-request.json index 8ff875f60..58d741eaa 100644 --- a/test/data/api/v2/values/delete-int-value-request.json +++ b/test/data/api/v2/values/delete-int-value-request.json @@ -2,7 +2,7 @@ "@id" : "http://rdfh.ch/0001/a-thing", "@type" : "anything:Thing", "anything:hasInteger" : { - "@id" : "http://rdfh.ch/0001/a-thing/values/eW8ZvJXtQcSIlweUkzatyw", + "@id" : "http://rdfh.ch/0001/a-thing/values/lhf_EARvQWa-PBcsFP7VHg", "@type" : "knora-api:IntValue", "knora-api:deleteComment" : "this value was incorrect" }, diff --git a/test/data/api/v2/values/delete-link-value-request-expanded.json b/test/data/api/v2/values/delete-link-value-request-expanded.json index 3dc9bd316..d1c7819fd 100644 --- a/test/data/api/v2/values/delete-link-value-request-expanded.json +++ b/test/data/api/v2/values/delete-link-value-request-expanded.json @@ -1 +1 @@ -{"@id":"http://rdfh.ch/0001/a-thing","@type":"http://0.0.0.0:3333/ontology/0001/anything/v2#Thing","http://0.0.0.0:3333/ontology/0001/anything/v2#hasOtherThingValue":{"@id":"http://rdfh.ch/0001/a-thing/values/4wfkXymVRA2gKb8BZ6h60A","@type":"http://api.knora.org/ontology/knora-api/v2#LinkValue"}} \ No newline at end of file +{"@id":"http://rdfh.ch/0001/a-thing","@type":"http://0.0.0.0:3333/ontology/0001/anything/v2#Thing","http://0.0.0.0:3333/ontology/0001/anything/v2#hasOtherThingValue":{"@id":"http://rdfh.ch/0001/a-thing/values/AhbPdSPTSK6owSHtb9GkLQ","@type":"http://api.knora.org/ontology/knora-api/v2#LinkValue"}} \ No newline at end of file diff --git a/test/data/api/v2/values/delete-link-value-request.json b/test/data/api/v2/values/delete-link-value-request.json index 0184a4f45..e1f86799a 100644 --- a/test/data/api/v2/values/delete-link-value-request.json +++ b/test/data/api/v2/values/delete-link-value-request.json @@ -2,7 +2,7 @@ "@id" : "http://rdfh.ch/0001/a-thing", "@type" : "anything:Thing", "anything:hasOtherThingValue" : { - "@id": "http://rdfh.ch/0001/a-thing/values/4wfkXymVRA2gKb8BZ6h60A", + "@id": "http://rdfh.ch/0001/a-thing/values/AhbPdSPTSK6owSHtb9GkLQ", "@type" : "knora-api:LinkValue" }, "@context" : { diff --git a/test/data/api/v2/values/update-boolean-value-request-expanded.json b/test/data/api/v2/values/update-boolean-value-request-expanded.json index 45859b298..d68aadfc0 100644 --- a/test/data/api/v2/values/update-boolean-value-request-expanded.json +++ b/test/data/api/v2/values/update-boolean-value-request-expanded.json @@ -1 +1 @@ -{"@id":"http://rdfh.ch/0001/a-thing","@type":"http://0.0.0.0:3333/ontology/0001/anything/v2#Thing","http://0.0.0.0:3333/ontology/0001/anything/v2#hasBoolean":{"@id":"http://rdfh.ch/0001/a-thing/values/TtdIpVHWTGq_pmBNlOpOcg","@type":"http://api.knora.org/ontology/knora-api/v2#BooleanValue","http://api.knora.org/ontology/knora-api/v2#booleanValueAsBoolean":false}} \ No newline at end of file +{"@id":"http://rdfh.ch/0001/a-thing","@type":"http://0.0.0.0:3333/ontology/0001/anything/v2#Thing","http://0.0.0.0:3333/ontology/0001/anything/v2#hasBoolean":{"@id":"http://rdfh.ch/0001/a-thing/values/lzXqPFMOQpGzVwSliGu6UQ","@type":"http://api.knora.org/ontology/knora-api/v2#BooleanValue","http://api.knora.org/ontology/knora-api/v2#booleanValueAsBoolean":false}} \ No newline at end of file diff --git a/test/data/api/v2/values/update-boolean-value-request.json b/test/data/api/v2/values/update-boolean-value-request.json index ffe9c1fac..af9994ed3 100644 --- a/test/data/api/v2/values/update-boolean-value-request.json +++ b/test/data/api/v2/values/update-boolean-value-request.json @@ -2,7 +2,7 @@ "@id" : "http://rdfh.ch/0001/a-thing", "@type" : "anything:Thing", "anything:hasBoolean" : { - "@id" : "http://rdfh.ch/0001/a-thing/values/TtdIpVHWTGq_pmBNlOpOcg", + "@id" : "http://rdfh.ch/0001/a-thing/values/lzXqPFMOQpGzVwSliGu6UQ", "@type" : "knora-api:BooleanValue", "knora-api:booleanValueAsBoolean" : false }, diff --git a/test/data/api/v2/values/update-color-value-request-expanded.json b/test/data/api/v2/values/update-color-value-request-expanded.json index ea96ee6b0..32410973c 100644 --- a/test/data/api/v2/values/update-color-value-request-expanded.json +++ b/test/data/api/v2/values/update-color-value-request-expanded.json @@ -1 +1 @@ -{"@id":"http://rdfh.ch/0001/a-thing","@type":"http://0.0.0.0:3333/ontology/0001/anything/v2#Thing","http://0.0.0.0:3333/ontology/0001/anything/v2#hasColor":{"@id":"http://rdfh.ch/0001/a-thing/values/uMPOZKIHRTCAf-wxiXSl4w","@type":"http://api.knora.org/ontology/knora-api/v2#ColorValue","http://api.knora.org/ontology/knora-api/v2#colorValueAsColor":"#ff3344"}} \ No newline at end of file +{"@id":"http://rdfh.ch/0001/a-thing","@type":"http://0.0.0.0:3333/ontology/0001/anything/v2#Thing","http://0.0.0.0:3333/ontology/0001/anything/v2#hasColor":{"@id":"http://rdfh.ch/0001/a-thing/values/aI88uEObQLWeSvPanex71g","@type":"http://api.knora.org/ontology/knora-api/v2#ColorValue","http://api.knora.org/ontology/knora-api/v2#colorValueAsColor":"#ff3344"}} \ No newline at end of file diff --git a/test/data/api/v2/values/update-color-value-request.json b/test/data/api/v2/values/update-color-value-request.json index 76621fb3d..a1f18dea1 100644 --- a/test/data/api/v2/values/update-color-value-request.json +++ b/test/data/api/v2/values/update-color-value-request.json @@ -2,7 +2,7 @@ "@id" : "http://rdfh.ch/0001/a-thing", "@type" : "anything:Thing", "anything:hasColor" : { - "@id" : "http://rdfh.ch/0001/a-thing/values/uMPOZKIHRTCAf-wxiXSl4w", + "@id" : "http://rdfh.ch/0001/a-thing/values/aI88uEObQLWeSvPanex71g", "@type" : "knora-api:ColorValue", "knora-api:colorValueAsColor" : "#ff3344" }, diff --git a/test/data/api/v2/values/update-date-value-with-day-precision-request-expanded.json b/test/data/api/v2/values/update-date-value-with-day-precision-request-expanded.json index 98bf5bfe3..82d5696ab 100644 --- a/test/data/api/v2/values/update-date-value-with-day-precision-request-expanded.json +++ b/test/data/api/v2/values/update-date-value-with-day-precision-request-expanded.json @@ -1 +1 @@ -{"@id":"http://rdfh.ch/0001/a-thing","@type":"http://0.0.0.0:3333/ontology/0001/anything/v2#Thing","http://0.0.0.0:3333/ontology/0001/anything/v2#hasDate":{"@id":"http://rdfh.ch/0001/a-thing/values/E6NhhEjQQWKAAKc3PL8XDA","@type":"http://api.knora.org/ontology/knora-api/v2#DateValue","http://api.knora.org/ontology/knora-api/v2#dateValueHasCalendar":"GREGORIAN","http://api.knora.org/ontology/knora-api/v2#dateValueHasEndDay":6,"http://api.knora.org/ontology/knora-api/v2#dateValueHasEndEra":"CE","http://api.knora.org/ontology/knora-api/v2#dateValueHasEndMonth":12,"http://api.knora.org/ontology/knora-api/v2#dateValueHasEndYear":2018,"http://api.knora.org/ontology/knora-api/v2#dateValueHasStartDay":5,"http://api.knora.org/ontology/knora-api/v2#dateValueHasStartEra":"CE","http://api.knora.org/ontology/knora-api/v2#dateValueHasStartMonth":10,"http://api.knora.org/ontology/knora-api/v2#dateValueHasStartYear":2018}} \ No newline at end of file +{"@id":"http://rdfh.ch/0001/a-thing","@type":"http://0.0.0.0:3333/ontology/0001/anything/v2#Thing","http://0.0.0.0:3333/ontology/0001/anything/v2#hasDate":{"@id":"http://rdfh.ch/0001/a-thing/values/gg655iPlTJGWtrIcsjCHqQ","@type":"http://api.knora.org/ontology/knora-api/v2#DateValue","http://api.knora.org/ontology/knora-api/v2#dateValueHasCalendar":"GREGORIAN","http://api.knora.org/ontology/knora-api/v2#dateValueHasEndDay":6,"http://api.knora.org/ontology/knora-api/v2#dateValueHasEndEra":"CE","http://api.knora.org/ontology/knora-api/v2#dateValueHasEndMonth":12,"http://api.knora.org/ontology/knora-api/v2#dateValueHasEndYear":2018,"http://api.knora.org/ontology/knora-api/v2#dateValueHasStartDay":5,"http://api.knora.org/ontology/knora-api/v2#dateValueHasStartEra":"CE","http://api.knora.org/ontology/knora-api/v2#dateValueHasStartMonth":10,"http://api.knora.org/ontology/knora-api/v2#dateValueHasStartYear":2018}} \ No newline at end of file diff --git a/test/data/api/v2/values/update-date-value-with-day-precision-request.json b/test/data/api/v2/values/update-date-value-with-day-precision-request.json index 87fd833de..88602dd76 100644 --- a/test/data/api/v2/values/update-date-value-with-day-precision-request.json +++ b/test/data/api/v2/values/update-date-value-with-day-precision-request.json @@ -2,7 +2,7 @@ "@id" : "http://rdfh.ch/0001/a-thing", "@type" : "anything:Thing", "anything:hasDate" : { - "@id" : "http://rdfh.ch/0001/a-thing/values/E6NhhEjQQWKAAKc3PL8XDA", + "@id" : "http://rdfh.ch/0001/a-thing/values/gg655iPlTJGWtrIcsjCHqQ", "@type" : "knora-api:DateValue", "knora-api:dateValueHasCalendar" : "GREGORIAN", "knora-api:dateValueHasStartYear" : 2018, diff --git a/test/data/api/v2/values/update-date-value-with-month-precision-request-expanded.json b/test/data/api/v2/values/update-date-value-with-month-precision-request-expanded.json index b9d8259fe..05e8a9373 100644 --- a/test/data/api/v2/values/update-date-value-with-month-precision-request-expanded.json +++ b/test/data/api/v2/values/update-date-value-with-month-precision-request-expanded.json @@ -1 +1 @@ -{"@id":"http://rdfh.ch/0001/a-thing","@type":"http://0.0.0.0:3333/ontology/0001/anything/v2#Thing","http://0.0.0.0:3333/ontology/0001/anything/v2#hasDate":{"@id":"http://rdfh.ch/0001/a-thing/values/dmQzxgmzSjm2RpdbLJ_v3Q","@type":"http://api.knora.org/ontology/knora-api/v2#DateValue","http://api.knora.org/ontology/knora-api/v2#dateValueHasCalendar":"GREGORIAN","http://api.knora.org/ontology/knora-api/v2#dateValueHasEndEra":"CE","http://api.knora.org/ontology/knora-api/v2#dateValueHasEndMonth":12,"http://api.knora.org/ontology/knora-api/v2#dateValueHasEndYear":2018,"http://api.knora.org/ontology/knora-api/v2#dateValueHasStartEra":"CE","http://api.knora.org/ontology/knora-api/v2#dateValueHasStartMonth":9,"http://api.knora.org/ontology/knora-api/v2#dateValueHasStartYear":2018}} \ No newline at end of file +{"@id":"http://rdfh.ch/0001/a-thing","@type":"http://0.0.0.0:3333/ontology/0001/anything/v2#Thing","http://0.0.0.0:3333/ontology/0001/anything/v2#hasDate":{"@id":"http://rdfh.ch/0001/a-thing/values/RxEWkSDsSc-YGpvxIo6B6w","@type":"http://api.knora.org/ontology/knora-api/v2#DateValue","http://api.knora.org/ontology/knora-api/v2#dateValueHasCalendar":"GREGORIAN","http://api.knora.org/ontology/knora-api/v2#dateValueHasEndEra":"CE","http://api.knora.org/ontology/knora-api/v2#dateValueHasEndMonth":12,"http://api.knora.org/ontology/knora-api/v2#dateValueHasEndYear":2018,"http://api.knora.org/ontology/knora-api/v2#dateValueHasStartEra":"CE","http://api.knora.org/ontology/knora-api/v2#dateValueHasStartMonth":9,"http://api.knora.org/ontology/knora-api/v2#dateValueHasStartYear":2018}} \ No newline at end of file diff --git a/test/data/api/v2/values/update-date-value-with-month-precision-request.json b/test/data/api/v2/values/update-date-value-with-month-precision-request.json index 793030208..968d1145d 100644 --- a/test/data/api/v2/values/update-date-value-with-month-precision-request.json +++ b/test/data/api/v2/values/update-date-value-with-month-precision-request.json @@ -2,7 +2,7 @@ "@id" : "http://rdfh.ch/0001/a-thing", "@type" : "anything:Thing", "anything:hasDate" : { - "@id" : "http://rdfh.ch/0001/a-thing/values/dmQzxgmzSjm2RpdbLJ_v3Q", + "@id" : "http://rdfh.ch/0001/a-thing/values/RxEWkSDsSc-YGpvxIo6B6w", "@type" : "knora-api:DateValue", "knora-api:dateValueHasCalendar" : "GREGORIAN", "knora-api:dateValueHasStartYear" : 2018, diff --git a/test/data/api/v2/values/update-date-value-with-year-precision-request-expanded.json b/test/data/api/v2/values/update-date-value-with-year-precision-request-expanded.json index c8a496f2f..ba2b445df 100644 --- a/test/data/api/v2/values/update-date-value-with-year-precision-request-expanded.json +++ b/test/data/api/v2/values/update-date-value-with-year-precision-request-expanded.json @@ -1 +1 @@ -{"@id":"http://rdfh.ch/0001/a-thing","@type":"http://0.0.0.0:3333/ontology/0001/anything/v2#Thing","http://0.0.0.0:3333/ontology/0001/anything/v2#hasDate":{"@id":"http://rdfh.ch/0001/a-thing/values/xEm8qF6MSxidllme24NUkQ","@type":"http://api.knora.org/ontology/knora-api/v2#DateValue","http://api.knora.org/ontology/knora-api/v2#dateValueHasCalendar":"GREGORIAN","http://api.knora.org/ontology/knora-api/v2#dateValueHasEndEra":"CE","http://api.knora.org/ontology/knora-api/v2#dateValueHasEndYear":2020,"http://api.knora.org/ontology/knora-api/v2#dateValueHasStartEra":"CE","http://api.knora.org/ontology/knora-api/v2#dateValueHasStartYear":2018}} \ No newline at end of file +{"@id":"http://rdfh.ch/0001/a-thing","@type":"http://0.0.0.0:3333/ontology/0001/anything/v2#Thing","http://0.0.0.0:3333/ontology/0001/anything/v2#hasDate":{"@id":"http://rdfh.ch/0001/a-thing/values/R8Szrda3S6maY5_jAjIv8w","@type":"http://api.knora.org/ontology/knora-api/v2#DateValue","http://api.knora.org/ontology/knora-api/v2#dateValueHasCalendar":"GREGORIAN","http://api.knora.org/ontology/knora-api/v2#dateValueHasEndEra":"CE","http://api.knora.org/ontology/knora-api/v2#dateValueHasEndYear":2020,"http://api.knora.org/ontology/knora-api/v2#dateValueHasStartEra":"CE","http://api.knora.org/ontology/knora-api/v2#dateValueHasStartYear":2018}} \ No newline at end of file diff --git a/test/data/api/v2/values/update-date-value-with-year-precision-request.json b/test/data/api/v2/values/update-date-value-with-year-precision-request.json index ed23844d5..151064739 100644 --- a/test/data/api/v2/values/update-date-value-with-year-precision-request.json +++ b/test/data/api/v2/values/update-date-value-with-year-precision-request.json @@ -2,7 +2,7 @@ "@id" : "http://rdfh.ch/0001/a-thing", "@type" : "anything:Thing", "anything:hasDate" : { - "@id" : "http://rdfh.ch/0001/a-thing/values/xEm8qF6MSxidllme24NUkQ", + "@id" : "http://rdfh.ch/0001/a-thing/values/R8Szrda3S6maY5_jAjIv8w", "@type" : "knora-api:DateValue", "knora-api:dateValueHasCalendar" : "GREGORIAN", "knora-api:dateValueHasStartYear" : 2018, diff --git a/test/data/api/v2/values/update-decimal-value-request-expanded.json b/test/data/api/v2/values/update-decimal-value-request-expanded.json index 12d00e489..fcaa76d81 100644 --- a/test/data/api/v2/values/update-decimal-value-request-expanded.json +++ b/test/data/api/v2/values/update-decimal-value-request-expanded.json @@ -1 +1 @@ -{"@id":"http://rdfh.ch/0001/a-thing","@type":"http://0.0.0.0:3333/ontology/0001/anything/v2#Thing","http://0.0.0.0:3333/ontology/0001/anything/v2#hasDecimal":{"@id":"http://rdfh.ch/0001/a-thing/values/q5hkk-fyTneO67ZylpbUfQ","@type":"http://api.knora.org/ontology/knora-api/v2#DecimalValue","http://api.knora.org/ontology/knora-api/v2#decimalValueAsDecimal":{"@type":"http://www.w3.org/2001/XMLSchema#decimal","@value":"5.6"}}} \ No newline at end of file +{"@id":"http://rdfh.ch/0001/a-thing","@type":"http://0.0.0.0:3333/ontology/0001/anything/v2#Thing","http://0.0.0.0:3333/ontology/0001/anything/v2#hasDecimal":{"@id":"http://rdfh.ch/0001/a-thing/values/-Wi-oBH6TZSFmNIDSqwBYA","@type":"http://api.knora.org/ontology/knora-api/v2#DecimalValue","http://api.knora.org/ontology/knora-api/v2#decimalValueAsDecimal":{"@type":"http://www.w3.org/2001/XMLSchema#decimal","@value":"5.6"}}} \ No newline at end of file diff --git a/test/data/api/v2/values/update-decimal-value-request.json b/test/data/api/v2/values/update-decimal-value-request.json index 17eab7f46..5cd39d0a8 100644 --- a/test/data/api/v2/values/update-decimal-value-request.json +++ b/test/data/api/v2/values/update-decimal-value-request.json @@ -2,7 +2,7 @@ "@id" : "http://rdfh.ch/0001/a-thing", "@type" : "anything:Thing", "anything:hasDecimal" : { - "@id" : "http://rdfh.ch/0001/a-thing/values/q5hkk-fyTneO67ZylpbUfQ", + "@id" : "http://rdfh.ch/0001/a-thing/values/-Wi-oBH6TZSFmNIDSqwBYA", "@type" : "knora-api:DecimalValue", "knora-api:decimalValueAsDecimal" : { "@type" : "xsd:decimal", diff --git a/test/data/api/v2/values/update-geometry-value-request-expanded.json b/test/data/api/v2/values/update-geometry-value-request-expanded.json index 82dd3a504..0529e723e 100644 --- a/test/data/api/v2/values/update-geometry-value-request-expanded.json +++ b/test/data/api/v2/values/update-geometry-value-request-expanded.json @@ -1 +1 @@ -{"@id":"http://rdfh.ch/0001/a-thing","@type":"http://0.0.0.0:3333/ontology/0001/anything/v2#Thing","http://0.0.0.0:3333/ontology/0001/anything/v2#hasGeometry":{"@id":"http://rdfh.ch/0001/a-thing/values/ScKEEZ6zRvKbBWiXeI8LVA","@type":"http://api.knora.org/ontology/knora-api/v2#GeomValue","http://api.knora.org/ontology/knora-api/v2#geometryValueAsGeometry":"{\"status\":\"active\",\"lineColor\":\"#ff3344\",\"lineWidth\":2,\"points\":[{\"x\":0.08098591549295775,\"y\":0.16741071428571427},{\"x\":0.7394366197183099,\"y\":0.7299107142857143}],\"type\":\"rectangle\",\"original_index\":0}"}} \ No newline at end of file +{"@id":"http://rdfh.ch/0001/a-thing","@type":"http://0.0.0.0:3333/ontology/0001/anything/v2#Thing","http://0.0.0.0:3333/ontology/0001/anything/v2#hasGeometry":{"@id":"http://rdfh.ch/0001/a-thing/values/30-Eg62DRHGI7ZUSFpW4QQ","@type":"http://api.knora.org/ontology/knora-api/v2#GeomValue","http://api.knora.org/ontology/knora-api/v2#geometryValueAsGeometry":"{\"status\":\"active\",\"lineColor\":\"#ff3344\",\"lineWidth\":2,\"points\":[{\"x\":0.08098591549295775,\"y\":0.16741071428571427},{\"x\":0.7394366197183099,\"y\":0.7299107142857143}],\"type\":\"rectangle\",\"original_index\":0}"}} \ No newline at end of file diff --git a/test/data/api/v2/values/update-geometry-value-request.json b/test/data/api/v2/values/update-geometry-value-request.json index 2ad134ce6..019be2b73 100644 --- a/test/data/api/v2/values/update-geometry-value-request.json +++ b/test/data/api/v2/values/update-geometry-value-request.json @@ -2,7 +2,7 @@ "@id" : "http://rdfh.ch/0001/a-thing", "@type" : "anything:Thing", "anything:hasGeometry" : { - "@id" : "http://rdfh.ch/0001/a-thing/values/ScKEEZ6zRvKbBWiXeI8LVA", + "@id" : "http://rdfh.ch/0001/a-thing/values/30-Eg62DRHGI7ZUSFpW4QQ", "@type" : "knora-api:GeomValue", "knora-api:geometryValueAsGeometry" : "{\"status\":\"active\",\"lineColor\":\"#ff3344\",\"lineWidth\":2,\"points\":[{\"x\":0.08098591549295775,\"y\":0.16741071428571427},{\"x\":0.7394366197183099,\"y\":0.7299107142857143}],\"type\":\"rectangle\",\"original_index\":0}" }, diff --git a/test/data/api/v2/values/update-geoname-value-request-expanded.json b/test/data/api/v2/values/update-geoname-value-request-expanded.json index 432e87c31..a262c9204 100644 --- a/test/data/api/v2/values/update-geoname-value-request-expanded.json +++ b/test/data/api/v2/values/update-geoname-value-request-expanded.json @@ -1 +1 @@ -{"@id":"http://rdfh.ch/0001/a-thing","@type":"http://0.0.0.0:3333/ontology/0001/anything/v2#Thing","http://0.0.0.0:3333/ontology/0001/anything/v2#hasGeoname":{"@id":"http://rdfh.ch/0001/a-thing/values/sPrFQBWGReiWyTUP00ySnQ","@type":"http://api.knora.org/ontology/knora-api/v2#GeonameValue","http://api.knora.org/ontology/knora-api/v2#geonameValueAsGeonameCode":"2988507"}} \ No newline at end of file +{"@id":"http://rdfh.ch/0001/a-thing","@type":"http://0.0.0.0:3333/ontology/0001/anything/v2#Thing","http://0.0.0.0:3333/ontology/0001/anything/v2#hasGeoname":{"@id":"http://rdfh.ch/0001/a-thing/values/RjQuD1IBQ7ChpF2NiShPSw","@type":"http://api.knora.org/ontology/knora-api/v2#GeonameValue","http://api.knora.org/ontology/knora-api/v2#geonameValueAsGeonameCode":"2988507"}} \ No newline at end of file diff --git a/test/data/api/v2/values/update-geoname-value-request.json b/test/data/api/v2/values/update-geoname-value-request.json index badf1316a..235624f9b 100644 --- a/test/data/api/v2/values/update-geoname-value-request.json +++ b/test/data/api/v2/values/update-geoname-value-request.json @@ -2,7 +2,7 @@ "@id" : "http://rdfh.ch/0001/a-thing", "@type" : "anything:Thing", "anything:hasGeoname" : { - "@id" : "http://rdfh.ch/0001/a-thing/values/sPrFQBWGReiWyTUP00ySnQ", + "@id" : "http://rdfh.ch/0001/a-thing/values/RjQuD1IBQ7ChpF2NiShPSw", "@type" : "knora-api:GeonameValue", "knora-api:geonameValueAsGeonameCode" : "2988507" }, diff --git a/test/data/api/v2/values/update-int-value-permissions-only-request-expanded.json b/test/data/api/v2/values/update-int-value-permissions-only-request-expanded.json index 2ad1a70da..e74121454 100644 --- a/test/data/api/v2/values/update-int-value-permissions-only-request-expanded.json +++ b/test/data/api/v2/values/update-int-value-permissions-only-request-expanded.json @@ -1 +1 @@ -{"@id":"http://rdfh.ch/0001/a-thing","@type":"http://0.0.0.0:3333/ontology/0001/anything/v2#Thing","http://0.0.0.0:3333/ontology/0001/anything/v2#hasInteger":{"@id":"http://rdfh.ch/0001/a-thing/values/YslMzRQvRPezfcqS2WA8IQ","@type":"http://api.knora.org/ontology/knora-api/v2#IntValue","http://api.knora.org/ontology/knora-api/v2#hasPermissions":"CR http://rdfh.ch/groups/0001/thing-searcher|V knora-admin:KnownUser"}} \ No newline at end of file +{"@id":"http://rdfh.ch/0001/a-thing","@type":"http://0.0.0.0:3333/ontology/0001/anything/v2#Thing","http://0.0.0.0:3333/ontology/0001/anything/v2#hasInteger":{"@id":"http://rdfh.ch/0001/a-thing/values/AN0vm5jfRlivQyfvZhi4zw","@type":"http://api.knora.org/ontology/knora-api/v2#IntValue","http://api.knora.org/ontology/knora-api/v2#hasPermissions":"CR http://rdfh.ch/groups/0001/thing-searcher|V knora-admin:KnownUser"}} \ No newline at end of file diff --git a/test/data/api/v2/values/update-int-value-permissions-only-request.json b/test/data/api/v2/values/update-int-value-permissions-only-request.json index ff37cde30..00cec19b5 100644 --- a/test/data/api/v2/values/update-int-value-permissions-only-request.json +++ b/test/data/api/v2/values/update-int-value-permissions-only-request.json @@ -2,7 +2,7 @@ "@id" : "http://rdfh.ch/0001/a-thing", "@type" : "anything:Thing", "anything:hasInteger" : { - "@id" : "http://rdfh.ch/0001/a-thing/values/YslMzRQvRPezfcqS2WA8IQ", + "@id" : "http://rdfh.ch/0001/a-thing/values/AN0vm5jfRlivQyfvZhi4zw", "@type" : "knora-api:IntValue", "knora-api:hasPermissions" : "CR http://rdfh.ch/groups/0001/thing-searcher|V knora-admin:KnownUser" }, diff --git a/test/data/api/v2/values/update-int-value-request-expanded.json b/test/data/api/v2/values/update-int-value-request-expanded.json index fd63a33a2..91e1a6eca 100644 --- a/test/data/api/v2/values/update-int-value-request-expanded.json +++ b/test/data/api/v2/values/update-int-value-request-expanded.json @@ -1 +1 @@ -{"@id":"http://rdfh.ch/0001/a-thing","@type":"http://0.0.0.0:3333/ontology/0001/anything/v2#Thing","http://0.0.0.0:3333/ontology/0001/anything/v2#hasInteger":{"@id":"http://rdfh.ch/0001/a-thing/values/i8L52IIpTSK1aCZUXqLOzg","@type":"http://api.knora.org/ontology/knora-api/v2#IntValue","http://api.knora.org/ontology/knora-api/v2#intValueAsInt":5}} \ No newline at end of file +{"@id":"http://rdfh.ch/0001/a-thing","@type":"http://0.0.0.0:3333/ontology/0001/anything/v2#Thing","http://0.0.0.0:3333/ontology/0001/anything/v2#hasInteger":{"@id":"http://rdfh.ch/0001/a-thing/values/StWaG12FQ5qFKoxIOM3Zgg","@type":"http://api.knora.org/ontology/knora-api/v2#IntValue","http://api.knora.org/ontology/knora-api/v2#intValueAsInt":5}} \ No newline at end of file diff --git a/test/data/api/v2/values/update-int-value-request.json b/test/data/api/v2/values/update-int-value-request.json index 10e25e1e8..a02a0dcb0 100644 --- a/test/data/api/v2/values/update-int-value-request.json +++ b/test/data/api/v2/values/update-int-value-request.json @@ -2,7 +2,7 @@ "@id" : "http://rdfh.ch/0001/a-thing", "@type" : "anything:Thing", "anything:hasInteger" : { - "@id" : "http://rdfh.ch/0001/a-thing/values/i8L52IIpTSK1aCZUXqLOzg", + "@id" : "http://rdfh.ch/0001/a-thing/values/StWaG12FQ5qFKoxIOM3Zgg", "@type" : "knora-api:IntValue", "knora-api:intValueAsInt" : 5 }, diff --git a/test/data/api/v2/values/update-int-value-response-expanded.json b/test/data/api/v2/values/update-int-value-response-expanded.json index c4c141bc9..1747ba812 100644 --- a/test/data/api/v2/values/update-int-value-response-expanded.json +++ b/test/data/api/v2/values/update-int-value-response-expanded.json @@ -1 +1 @@ -{"@id":"http://rdfh.ch/0001/a-thing/values/YslMzRQvRPezfcqS2WA8IQ","@type":"http://api.knora.org/ontology/knora-api/v2#IntValue","http://api.knora.org/ontology/knora-api/v2#valueHasUUID":"i8L52IIpTSK1aCZUXqLOzg"} \ No newline at end of file +{"@id":"http://rdfh.ch/0001/a-thing/values/AN0vm5jfRlivQyfvZhi4zw","@type":"http://api.knora.org/ontology/knora-api/v2#IntValue","http://api.knora.org/ontology/knora-api/v2#valueHasUUID":"StWaG12FQ5qFKoxIOM3Zgg"} \ No newline at end of file diff --git a/test/data/api/v2/values/update-int-value-response.json b/test/data/api/v2/values/update-int-value-response.json index e3c3838a5..0c37eb066 100644 --- a/test/data/api/v2/values/update-int-value-response.json +++ b/test/data/api/v2/values/update-int-value-response.json @@ -1,7 +1,7 @@ { - "@id": "http://rdfh.ch/0001/a-thing/values/YslMzRQvRPezfcqS2WA8IQ", + "@id": "http://rdfh.ch/0001/a-thing/values/AN0vm5jfRlivQyfvZhi4zw", "@type": "knora-api:IntValue", - "knora-api:valueHasUUID": "i8L52IIpTSK1aCZUXqLOzg", + "knora-api:valueHasUUID": "StWaG12FQ5qFKoxIOM3Zgg", "@context": { "knora-api": "http://api.knora.org/ontology/knora-api/v2#" } diff --git a/test/data/api/v2/values/update-int-value-with-custom-permissions-request-expanded.json b/test/data/api/v2/values/update-int-value-with-custom-permissions-request-expanded.json index 5b15d0672..0fd8fc15c 100644 --- a/test/data/api/v2/values/update-int-value-with-custom-permissions-request-expanded.json +++ b/test/data/api/v2/values/update-int-value-with-custom-permissions-request-expanded.json @@ -1 +1 @@ -{"@id":"http://rdfh.ch/0001/a-thing","@type":"http://0.0.0.0:3333/ontology/0001/anything/v2#Thing","http://0.0.0.0:3333/ontology/0001/anything/v2#hasInteger":{"@id":"http://rdfh.ch/0001/a-thing/values/HdwE7M1hRoKeA9IeW9ek5A","@type":"http://api.knora.org/ontology/knora-api/v2#IntValue","http://api.knora.org/ontology/knora-api/v2#hasPermissions":"CR http://rdfh.ch/groups/0001/thing-searcher","http://api.knora.org/ontology/knora-api/v2#intValueAsInt":3879}} \ No newline at end of file +{"@id":"http://rdfh.ch/0001/a-thing","@type":"http://0.0.0.0:3333/ontology/0001/anything/v2#Thing","http://0.0.0.0:3333/ontology/0001/anything/v2#hasInteger":{"@id":"http://rdfh.ch/0001/a-thing/values/pEtqrMLKRJyFNN14-_ZGXw","@type":"http://api.knora.org/ontology/knora-api/v2#IntValue","http://api.knora.org/ontology/knora-api/v2#hasPermissions":"CR http://rdfh.ch/groups/0001/thing-searcher","http://api.knora.org/ontology/knora-api/v2#intValueAsInt":3879}} \ No newline at end of file diff --git a/test/data/api/v2/values/update-int-value-with-custom-permissions-request.json b/test/data/api/v2/values/update-int-value-with-custom-permissions-request.json index ad2aa87e5..51da3f0a3 100644 --- a/test/data/api/v2/values/update-int-value-with-custom-permissions-request.json +++ b/test/data/api/v2/values/update-int-value-with-custom-permissions-request.json @@ -2,7 +2,7 @@ "@id" : "http://rdfh.ch/0001/a-thing", "@type" : "anything:Thing", "anything:hasInteger" : { - "@id" : "http://rdfh.ch/0001/a-thing/values/HdwE7M1hRoKeA9IeW9ek5A", + "@id" : "http://rdfh.ch/0001/a-thing/values/pEtqrMLKRJyFNN14-_ZGXw", "@type" : "knora-api:IntValue", "knora-api:intValueAsInt" : 3879, "knora-api:hasPermissions" : "CR http://rdfh.ch/groups/0001/thing-searcher" diff --git a/test/data/api/v2/values/update-interval-value-request-expanded.json b/test/data/api/v2/values/update-interval-value-request-expanded.json index 6280a7512..4b8548afd 100644 --- a/test/data/api/v2/values/update-interval-value-request-expanded.json +++ b/test/data/api/v2/values/update-interval-value-request-expanded.json @@ -1 +1 @@ -{"@id":"http://rdfh.ch/0001/a-thing","@type":"http://0.0.0.0:3333/ontology/0001/anything/v2#Thing","http://0.0.0.0:3333/ontology/0001/anything/v2#hasInterval":{"@id":"http://rdfh.ch/0001/a-thing/values/nlcIBaiRTWycm1qmYkFlNQ","@type":"http://api.knora.org/ontology/knora-api/v2#IntervalValue","http://api.knora.org/ontology/knora-api/v2#intervalValueHasEnd":{"@type":"http://www.w3.org/2001/XMLSchema#decimal","@value":"7.8"},"http://api.knora.org/ontology/knora-api/v2#intervalValueHasStart":{"@type":"http://www.w3.org/2001/XMLSchema#decimal","@value":"5.6"}}} \ No newline at end of file +{"@id":"http://rdfh.ch/0001/a-thing","@type":"http://0.0.0.0:3333/ontology/0001/anything/v2#Thing","http://0.0.0.0:3333/ontology/0001/anything/v2#hasInterval":{"@id":"http://rdfh.ch/0001/a-thing/values/XjqfNE9rQieX8ZQdl0lRCQ","@type":"http://api.knora.org/ontology/knora-api/v2#IntervalValue","http://api.knora.org/ontology/knora-api/v2#intervalValueHasEnd":{"@type":"http://www.w3.org/2001/XMLSchema#decimal","@value":"7.8"},"http://api.knora.org/ontology/knora-api/v2#intervalValueHasStart":{"@type":"http://www.w3.org/2001/XMLSchema#decimal","@value":"5.6"}}} \ No newline at end of file diff --git a/test/data/api/v2/values/update-interval-value-request.json b/test/data/api/v2/values/update-interval-value-request.json index b47aa473c..09f983d77 100644 --- a/test/data/api/v2/values/update-interval-value-request.json +++ b/test/data/api/v2/values/update-interval-value-request.json @@ -2,7 +2,7 @@ "@id" : "http://rdfh.ch/0001/a-thing", "@type" : "anything:Thing", "anything:hasInterval" : { - "@id" : "http://rdfh.ch/0001/a-thing/values/nlcIBaiRTWycm1qmYkFlNQ", + "@id" : "http://rdfh.ch/0001/a-thing/values/XjqfNE9rQieX8ZQdl0lRCQ", "@type" : "knora-api:IntervalValue", "knora-api:intervalValueHasStart" : { "@type" : "xsd:decimal", diff --git a/test/data/api/v2/values/update-link-value-request-expanded.json b/test/data/api/v2/values/update-link-value-request-expanded.json index 6817efce2..7cb83e923 100644 --- a/test/data/api/v2/values/update-link-value-request-expanded.json +++ b/test/data/api/v2/values/update-link-value-request-expanded.json @@ -1 +1 @@ -{"@id":"http://rdfh.ch/0001/a-thing","@type":"http://0.0.0.0:3333/ontology/0001/anything/v2#Thing","http://0.0.0.0:3333/ontology/0001/anything/v2#hasOtherThingValue":{"@id":"http://rdfh.ch/0001/a-thing/values/SzKMEDAbTJCsw9Va36ar4g","@type":"http://api.knora.org/ontology/knora-api/v2#LinkValue","http://api.knora.org/ontology/knora-api/v2#linkValueHasTargetIri":{"@id":"http://rdfh.ch/0001/5IEswyQFQp2bxXDrOyEfEA"}}} \ No newline at end of file +{"@id":"http://rdfh.ch/0001/a-thing","@type":"http://0.0.0.0:3333/ontology/0001/anything/v2#Thing","http://0.0.0.0:3333/ontology/0001/anything/v2#hasOtherThingValue":{"@id":"http://rdfh.ch/0001/a-thing/values/fydrK6fTRsGdDXn68t9Muw","@type":"http://api.knora.org/ontology/knora-api/v2#LinkValue","http://api.knora.org/ontology/knora-api/v2#linkValueHasTargetIri":{"@id":"http://rdfh.ch/0001/5IEswyQFQp2bxXDrOyEfEA"}}} \ No newline at end of file diff --git a/test/data/api/v2/values/update-link-value-request.json b/test/data/api/v2/values/update-link-value-request.json index 9f7929d26..ba5f72d09 100644 --- a/test/data/api/v2/values/update-link-value-request.json +++ b/test/data/api/v2/values/update-link-value-request.json @@ -2,7 +2,7 @@ "@id" : "http://rdfh.ch/0001/a-thing", "@type" : "anything:Thing", "anything:hasOtherThingValue" : { - "@id" : "http://rdfh.ch/0001/a-thing/values/SzKMEDAbTJCsw9Va36ar4g", + "@id" : "http://rdfh.ch/0001/a-thing/values/fydrK6fTRsGdDXn68t9Muw", "@type" : "knora-api:LinkValue", "knora-api:linkValueHasTargetIri" : { "@id" : "http://rdfh.ch/0001/5IEswyQFQp2bxXDrOyEfEA" diff --git a/test/data/api/v2/values/update-list-value-request-expanded.json b/test/data/api/v2/values/update-list-value-request-expanded.json index 558ef7132..e5b2b46e3 100644 --- a/test/data/api/v2/values/update-list-value-request-expanded.json +++ b/test/data/api/v2/values/update-list-value-request-expanded.json @@ -1 +1 @@ -{"@id":"http://rdfh.ch/0001/a-thing","@type":"http://0.0.0.0:3333/ontology/0001/anything/v2#Thing","http://0.0.0.0:3333/ontology/0001/anything/v2#hasListItem":{"@id":"http://rdfh.ch/0001/a-thing/values/a_ZVlNbhTMe16VOq4fJkow","@type":"http://api.knora.org/ontology/knora-api/v2#ListValue","http://api.knora.org/ontology/knora-api/v2#listValueAsListNode":{"@id":"http://rdfh.ch/lists/0001/treeList02"}}} \ No newline at end of file +{"@id":"http://rdfh.ch/0001/a-thing","@type":"http://0.0.0.0:3333/ontology/0001/anything/v2#Thing","http://0.0.0.0:3333/ontology/0001/anything/v2#hasListItem":{"@id":"http://rdfh.ch/0001/a-thing/values/I-n5AABNQi-7QucO7hTt2g","@type":"http://api.knora.org/ontology/knora-api/v2#ListValue","http://api.knora.org/ontology/knora-api/v2#listValueAsListNode":{"@id":"http://rdfh.ch/lists/0001/treeList02"}}} \ No newline at end of file diff --git a/test/data/api/v2/values/update-list-value-request.json b/test/data/api/v2/values/update-list-value-request.json index 3810d0518..41c89e62f 100644 --- a/test/data/api/v2/values/update-list-value-request.json +++ b/test/data/api/v2/values/update-list-value-request.json @@ -2,7 +2,7 @@ "@id" : "http://rdfh.ch/0001/a-thing", "@type" : "anything:Thing", "anything:hasListItem" : { - "@id" : "http://rdfh.ch/0001/a-thing/values/a_ZVlNbhTMe16VOq4fJkow", + "@id" : "http://rdfh.ch/0001/a-thing/values/I-n5AABNQi-7QucO7hTt2g", "@type" : "knora-api:ListValue", "knora-api:listValueAsListNode" : { "@id" : "http://rdfh.ch/lists/0001/treeList02" diff --git a/test/data/api/v2/values/update-text-value-with-comment-request-expanded.json b/test/data/api/v2/values/update-text-value-with-comment-request-expanded.json index 5ee08ba08..0db26682a 100644 --- a/test/data/api/v2/values/update-text-value-with-comment-request-expanded.json +++ b/test/data/api/v2/values/update-text-value-with-comment-request-expanded.json @@ -1 +1 @@ -{"@id":"http://rdfh.ch/0001/a-thing","@type":"http://0.0.0.0:3333/ontology/0001/anything/v2#Thing","http://0.0.0.0:3333/ontology/0001/anything/v2#hasText":{"@id":"http://rdfh.ch/0001/a-thing/values/zg6SsAsxST-Nv62SzrAhlg","@type":"http://api.knora.org/ontology/knora-api/v2#TextValue","http://api.knora.org/ontology/knora-api/v2#valueAsString":"text without standoff updated","http://api.knora.org/ontology/knora-api/v2#valueHasComment":"Adding a comment"}} \ No newline at end of file +{"@id":"http://rdfh.ch/0001/a-thing","@type":"http://0.0.0.0:3333/ontology/0001/anything/v2#Thing","http://0.0.0.0:3333/ontology/0001/anything/v2#hasText":{"@id":"http://rdfh.ch/0001/a-thing/values/pGKF6LkkR8ib8DEJIa691Q","@type":"http://api.knora.org/ontology/knora-api/v2#TextValue","http://api.knora.org/ontology/knora-api/v2#valueAsString":"text without standoff updated","http://api.knora.org/ontology/knora-api/v2#valueHasComment":"Adding a comment"}} \ No newline at end of file diff --git a/test/data/api/v2/values/update-text-value-with-comment-request.json b/test/data/api/v2/values/update-text-value-with-comment-request.json index 9851caaa5..66c6bb240 100644 --- a/test/data/api/v2/values/update-text-value-with-comment-request.json +++ b/test/data/api/v2/values/update-text-value-with-comment-request.json @@ -2,7 +2,7 @@ "@id" : "http://rdfh.ch/0001/a-thing", "@type" : "anything:Thing", "anything:hasText" : { - "@id" : "http://rdfh.ch/0001/a-thing/values/zg6SsAsxST-Nv62SzrAhlg", + "@id" : "http://rdfh.ch/0001/a-thing/values/pGKF6LkkR8ib8DEJIa691Q", "@type" : "knora-api:TextValue", "knora-api:valueAsString" : "text without standoff updated", "knora-api:valueHasComment" : "Adding a comment" diff --git a/test/data/api/v2/values/update-text-value-with-standoff-request-expanded.json b/test/data/api/v2/values/update-text-value-with-standoff-request-expanded.json index eb2424c0d..8590eb9d8 100644 --- a/test/data/api/v2/values/update-text-value-with-standoff-request-expanded.json +++ b/test/data/api/v2/values/update-text-value-with-standoff-request-expanded.json @@ -1 +1 @@ -{"@id":"http://rdfh.ch/0001/a-thing","@type":"http://0.0.0.0:3333/ontology/0001/anything/v2#Thing","http://0.0.0.0:3333/ontology/0001/anything/v2#hasText":{"@id":"http://rdfh.ch/0001/a-thing/values/c_6NaDtrR0GVNi0TwzIOSA","@type":"http://api.knora.org/ontology/knora-api/v2#TextValue","http://api.knora.org/ontology/knora-api/v2#textValueAsXml":"\n\n This updated text links to another resource.\n","http://api.knora.org/ontology/knora-api/v2#textValueHasMapping":{"@id":"http://rdfh.ch/standoff/mappings/StandardMapping"}}} \ No newline at end of file +{"@id":"http://rdfh.ch/0001/a-thing","@type":"http://0.0.0.0:3333/ontology/0001/anything/v2#Thing","http://0.0.0.0:3333/ontology/0001/anything/v2#hasText":{"@id":"http://rdfh.ch/0001/a-thing/values/OXTgWRxWR8CrxSjTm6hqkA","@type":"http://api.knora.org/ontology/knora-api/v2#TextValue","http://api.knora.org/ontology/knora-api/v2#textValueAsXml":"\n\n This updated text links to another resource.\n","http://api.knora.org/ontology/knora-api/v2#textValueHasMapping":{"@id":"http://rdfh.ch/standoff/mappings/StandardMapping"}}} \ No newline at end of file diff --git a/test/data/api/v2/values/update-text-value-with-standoff-request.json b/test/data/api/v2/values/update-text-value-with-standoff-request.json index 5ea540ed6..c3603c45b 100644 --- a/test/data/api/v2/values/update-text-value-with-standoff-request.json +++ b/test/data/api/v2/values/update-text-value-with-standoff-request.json @@ -2,7 +2,7 @@ "@id" : "http://rdfh.ch/0001/a-thing", "@type" : "anything:Thing", "anything:hasText" : { - "@id" : "http://rdfh.ch/0001/a-thing/values/c_6NaDtrR0GVNi0TwzIOSA", + "@id" : "http://rdfh.ch/0001/a-thing/values/OXTgWRxWR8CrxSjTm6hqkA", "@type" : "knora-api:TextValue", "knora-api:textValueAsXml" : "\n\n This updated text links to another resource.\n", "knora-api:textValueHasMapping" : { diff --git a/test/data/api/v2/values/update-text-value-without-standoff-request-expanded.json b/test/data/api/v2/values/update-text-value-without-standoff-request-expanded.json index 26a997656..c05b6076b 100644 --- a/test/data/api/v2/values/update-text-value-without-standoff-request-expanded.json +++ b/test/data/api/v2/values/update-text-value-without-standoff-request-expanded.json @@ -1 +1 @@ -{"@id":"http://rdfh.ch/0001/a-thing","@type":"http://0.0.0.0:3333/ontology/0001/anything/v2#Thing","http://0.0.0.0:3333/ontology/0001/anything/v2#hasText":{"@id":"http://rdfh.ch/0001/a-thing/values/U8WUHzFmQV2hDsnKNflNaA","@type":"http://api.knora.org/ontology/knora-api/v2#TextValue","http://api.knora.org/ontology/knora-api/v2#valueAsString":"text without standoff updated"}} \ No newline at end of file +{"@id":"http://rdfh.ch/0001/a-thing","@type":"http://0.0.0.0:3333/ontology/0001/anything/v2#Thing","http://0.0.0.0:3333/ontology/0001/anything/v2#hasText":{"@id":"http://rdfh.ch/0001/a-thing/values/DhTHsX5PTJiXm8cLF8PjVA","@type":"http://api.knora.org/ontology/knora-api/v2#TextValue","http://api.knora.org/ontology/knora-api/v2#valueAsString":"text without standoff updated"}} \ No newline at end of file diff --git a/test/data/api/v2/values/update-text-value-without-standoff-request.json b/test/data/api/v2/values/update-text-value-without-standoff-request.json index 6cf0b239b..87da8f0e8 100644 --- a/test/data/api/v2/values/update-text-value-without-standoff-request.json +++ b/test/data/api/v2/values/update-text-value-without-standoff-request.json @@ -2,7 +2,7 @@ "@id" : "http://rdfh.ch/0001/a-thing", "@type" : "anything:Thing", "anything:hasText" : { - "@id" : "http://rdfh.ch/0001/a-thing/values/U8WUHzFmQV2hDsnKNflNaA", + "@id" : "http://rdfh.ch/0001/a-thing/values/DhTHsX5PTJiXm8cLF8PjVA", "@type" : "knora-api:TextValue", "knora-api:valueAsString" : "text without standoff updated" }, diff --git a/test/data/api/v2/values/update-time-value-request-expanded.json b/test/data/api/v2/values/update-time-value-request-expanded.json index 4f27a453a..023854b79 100644 --- a/test/data/api/v2/values/update-time-value-request-expanded.json +++ b/test/data/api/v2/values/update-time-value-request-expanded.json @@ -1 +1 @@ -{"@id":"http://rdfh.ch/0001/a-thing","@type":"http://0.0.0.0:3333/ontology/0001/anything/v2#Thing","http://0.0.0.0:3333/ontology/0001/anything/v2#hasTimeStamp":{"@id":"http://rdfh.ch/0001/a-thing/values/SB4WfTasTsWmLgI01g6KtA","@type":"http://api.knora.org/ontology/knora-api/v2#TimeValue","http://api.knora.org/ontology/knora-api/v2#timeValueAsTimeStamp":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2019-12-16T09:14:56.409249Z"}}} \ No newline at end of file +{"@id":"http://rdfh.ch/0001/a-thing","@type":"http://0.0.0.0:3333/ontology/0001/anything/v2#Thing","http://0.0.0.0:3333/ontology/0001/anything/v2#hasTimeStamp":{"@id":"http://rdfh.ch/0001/a-thing/values/jcIPKAzCRiSP1ncjCkxxhg","@type":"http://api.knora.org/ontology/knora-api/v2#TimeValue","http://api.knora.org/ontology/knora-api/v2#timeValueAsTimeStamp":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2019-12-16T09:14:56.409249Z"}}} \ No newline at end of file diff --git a/test/data/api/v2/values/update-time-value-request.json b/test/data/api/v2/values/update-time-value-request.json index 2450cb0ae..b626d3101 100644 --- a/test/data/api/v2/values/update-time-value-request.json +++ b/test/data/api/v2/values/update-time-value-request.json @@ -2,7 +2,7 @@ "@id" : "http://rdfh.ch/0001/a-thing", "@type" : "anything:Thing", "anything:hasTimeStamp" : { - "@id" : "http://rdfh.ch/0001/a-thing/values/SB4WfTasTsWmLgI01g6KtA", + "@id" : "http://rdfh.ch/0001/a-thing/values/jcIPKAzCRiSP1ncjCkxxhg", "@type" : "knora-api:TimeValue", "knora-api:timeValueAsTimeStamp" : { "@type" : "xsd:dateTimeStamp", diff --git a/test/data/api/v2/values/update-uri-value-request-expanded.json b/test/data/api/v2/values/update-uri-value-request-expanded.json index eb9949bc9..5f6c2d3e1 100644 --- a/test/data/api/v2/values/update-uri-value-request-expanded.json +++ b/test/data/api/v2/values/update-uri-value-request-expanded.json @@ -1 +1 @@ -{"@id":"http://rdfh.ch/0001/a-thing","@type":"http://0.0.0.0:3333/ontology/0001/anything/v2#Thing","http://0.0.0.0:3333/ontology/0001/anything/v2#hasUri":{"@id":"http://rdfh.ch/0001/a-thing/values/qd0DJzWFRxqA0IH-FkF_dQ","@type":"http://api.knora.org/ontology/knora-api/v2#UriValue","http://api.knora.org/ontology/knora-api/v2#uriValueAsUri":{"@type":"http://www.w3.org/2001/XMLSchema#anyURI","@value":"https://docs.knora.org"}}} \ No newline at end of file +{"@id":"http://rdfh.ch/0001/a-thing","@type":"http://0.0.0.0:3333/ontology/0001/anything/v2#Thing","http://0.0.0.0:3333/ontology/0001/anything/v2#hasUri":{"@id":"http://rdfh.ch/0001/a-thing/values/PybFtDKaTTq7zf7kaUzDOg","@type":"http://api.knora.org/ontology/knora-api/v2#UriValue","http://api.knora.org/ontology/knora-api/v2#uriValueAsUri":{"@type":"http://www.w3.org/2001/XMLSchema#anyURI","@value":"https://docs.knora.org"}}} \ No newline at end of file diff --git a/test/data/api/v2/values/update-uri-value-request.json b/test/data/api/v2/values/update-uri-value-request.json index 30bd3e2ce..17dc8f054 100644 --- a/test/data/api/v2/values/update-uri-value-request.json +++ b/test/data/api/v2/values/update-uri-value-request.json @@ -2,7 +2,7 @@ "@id" : "http://rdfh.ch/0001/a-thing", "@type" : "anything:Thing", "anything:hasUri" : { - "@id" : "http://rdfh.ch/0001/a-thing/values/qd0DJzWFRxqA0IH-FkF_dQ", + "@id" : "http://rdfh.ch/0001/a-thing/values/PybFtDKaTTq7zf7kaUzDOg", "@type" : "knora-api:UriValue", "knora-api:uriValueAsUri" : { "@type" : "xsd:anyURI", diff --git a/vars.mk b/vars.mk index 96ea988c4..773187943 100644 --- a/vars.mk +++ b/vars.mk @@ -6,4 +6,4 @@ else endif API_REPO := dasch-swiss/dsp-api -API_VERSION := v24.0.2 \ No newline at end of file +API_VERSION := v24.0.3