diff --git a/src/api/v2/ontology/ontologies-endpoint.spec.ts b/src/api/v2/ontology/ontologies-endpoint.spec.ts index 9e9d1c66f..7168a7bfd 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 = "2023-08-04T08:11:39.117125090Z"; + deleteCardinalitiesFromClassRequest.lastModificationDate = "2023-08-18T07:45:02.768682879Z"; 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 = "2023-08-04T08:11:39.117125090Z"; + deleteCardinalitiesFromClassRequest.lastModificationDate = "2023-08-18T07:45:02.768682879Z"; 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 d75e8d045..a1a908f81 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("2023-08-05T08:08:27.991143844Z"); + expect(res.lastModificationDate).toEqual("2023-08-19T07:41:52.629733384Z"); 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 = "2023-08-05T08:08:28.566595924Z"; + updateResourceMetadata.newModificationDate = "2023-08-19T07:41:53.118185328Z"; 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("2023-08-05T08:08:28.566595924Z"); + expect(res.lastModificationDate).toEqual("2023-08-19T07:41:53.118185328Z"); 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"] = "2023-08-05T08:08:28.566595924Z"; + expectedPayload["http://api.knora.org/ontology/knora-api/v2#newModificationDate"]["@value"] = "2023-08-19T07:41:53.118185328Z"; 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 8f04576b6..9b8b990af 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/hejQ5SGsQ1KOhk5RRmatIA","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://0.0.0.0:3333/ontology/00FF/images/v2"],"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/5X2crJTeSsuW89PSTWHPIA","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://0.0.0.0:3333/ontology/00FF/images/v2"],"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 a8b6c2cd5..8b03a095a 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/hejQ5SGsQ1KOhk5RRmatIA","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://0.0.0.0:3333/ontology/00FF/images/v2"],"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/5X2crJTeSsuW89PSTWHPIA","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://0.0.0.0:3333/ontology/00FF/images/v2"],"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 92bfb8d00..cef805f0b 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/hejQ5SGsQ1KOhk5RRmatIA","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://0.0.0.0:3333/ontology/00FF/images/v2"],"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/5X2crJTeSsuW89PSTWHPIA","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://0.0.0.0:3333/ontology/00FF/images/v2"],"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 8f04576b6..9b8b990af 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/hejQ5SGsQ1KOhk5RRmatIA","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://0.0.0.0:3333/ontology/00FF/images/v2"],"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/5X2crJTeSsuW89PSTWHPIA","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://0.0.0.0:3333/ontology/00FF/images/v2"],"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 00923acf5..8ced3e2f8 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/71RaWT2EQ4GKWUD1PAsA2Q", + "parentNodeIri": "http://rdfh.ch/lists/0001/iCUeC0DbS4mANSYBDL_0Pw", "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 993257a93..d3524d0e5 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/ttXlxXdQQaSCuWUREdTlPw","id":"http://rdfh.ch/lists/0001/PDEQAxL-TyeHs4araYvabg","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/qHpud_jzSlCXu-hBzq24kg","id":"http://rdfh.ch/lists/0001/awKUKNJlRj2qRWzKV_VhVQ","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 7e59acf45..1250cab4c 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/ttXlxXdQQaSCuWUREdTlPw", + "parentNodeIri": "http://rdfh.ch/lists/0001/qHpud_jzSlCXu-hBzq24kg", "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 b2feabae8..e77f10daa 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/ttXlxXdQQaSCuWUREdTlPw","id":"http://rdfh.ch/lists/0001/xnXleX_iQY29-PQXFs8BwA","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/qHpud_jzSlCXu-hBzq24kg","id":"http://rdfh.ch/lists/0001/95QgluptR2G156Og3DDTqg","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 2d2789c4b..4f7dc0db8 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/ttXlxXdQQaSCuWUREdTlPw", + "parentNodeIri": "http://rdfh.ch/lists/0001/qHpud_jzSlCXu-hBzq24kg", "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 a995f294a..d208bfd6f 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/ttXlxXdQQaSCuWUREdTlPw","id":"http://rdfh.ch/lists/0001/ynatMRjqTzWv0cgP4QpB4g","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/qHpud_jzSlCXu-hBzq24kg","id":"http://rdfh.ch/lists/0001/HZglKStWSvihK5MyuqCdcQ","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 42f994a6d..abdfee156 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/ttXlxXdQQaSCuWUREdTlPw","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/qHpud_jzSlCXu-hBzq24kg","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 f992ac782..85d17329e 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/ttXlxXdQQaSCuWUREdTlPw", + "parentNodeIri": "http://rdfh.ch/lists/0001/qHpud_jzSlCXu-hBzq24kg", "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 e3db8b8e3..b86b5b2b1 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/ttXlxXdQQaSCuWUREdTlPw","id":"http://rdfh.ch/lists/0001/71RaWT2EQ4GKWUD1PAsA2Q","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/qHpud_jzSlCXu-hBzq24kg","id":"http://rdfh.ch/lists/0001/iCUeC0DbS4mANSYBDL_0Pw","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 ac786ed1d..572743a24 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/1FqtvWFJQEC4fdKl8_-JBA"}} \ 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/rzzqW0KeTYiS7t3NP9hMLw"}} \ 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 887ed437c..3ed78c3ad 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/EBjVyIZ8S0mihv0LDRpbRw"}} \ 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/tbNMxxClQSeAfP1vcjtSDw"}} \ No newline at end of file diff --git a/test/data/api/admin/projects/create-project-response.json b/test/data/api/admin/projects/create-project-response.json index 6bf1946a7..e3b788cd0 100644 --- a/test/data/api/admin/projects/create-project-response.json +++ b/test/data/api/admin/projects/create-project-response.json @@ -1 +1 @@ -{"project":{"description":[{"value":"project description","language":"en"}],"id":"http://rdfh.ch/projects/ZZedoEE4RVaW8MWZH8rPwQ","keywords":["keywords"],"logo":"/fu/bar/baz.jpg","longname":"project longname","ontologies":[],"selfjoin":false,"shortcode":"1111","shortname":"newproject","status":true}} \ No newline at end of file +{"project":{"description":[{"value":"project description","language":"en"}],"id":"http://rdfh.ch/projects/cETtbvjARX2lEL5ZETc0RQ","keywords":["keywords"],"logo":"/fu/bar/baz.jpg","longname":"project longname","ontologies":[],"selfjoin":false,"shortcode":"1111","shortname":"newproject","status":true}} \ No newline at end of file diff --git a/test/data/api/admin/projects/delete-project-response.json b/test/data/api/admin/projects/delete-project-response.json index ca3775391..7ee7f0d44 100644 --- a/test/data/api/admin/projects/delete-project-response.json +++ b/test/data/api/admin/projects/delete-project-response.json @@ -1 +1 @@ -{"project":{"description":[{"value":"Test Project","language":"se"},{"value":"Test Project","language":"en"}],"id":"http://rdfh.ch/projects/ZZedoEE4RVaW8MWZH8rPwQ","keywords":["keywords","updated"],"logo":"/fu/bar/baz-updated.jpg","longname":"updated project longname","ontologies":[],"selfjoin":true,"shortcode":"1111","shortname":"updatedproject","status":false}} \ No newline at end of file +{"project":{"description":[{"value":"Test Project","language":"se"},{"value":"Test Project","language":"en"}],"id":"http://rdfh.ch/projects/cETtbvjARX2lEL5ZETc0RQ","keywords":["keywords","updated"],"logo":"/fu/bar/baz-updated.jpg","longname":"updated project longname","ontologies":[],"selfjoin":true,"shortcode":"1111","shortname":"updatedproject","status":false}} \ No newline at end of file diff --git a/test/data/api/admin/projects/update-project-response.json b/test/data/api/admin/projects/update-project-response.json index fc7024f01..21ee54cda 100644 --- a/test/data/api/admin/projects/update-project-response.json +++ b/test/data/api/admin/projects/update-project-response.json @@ -1 +1 @@ -{"project":{"description":[{"value":"updated project description","language":"en"}],"id":"http://rdfh.ch/projects/ZZedoEE4RVaW8MWZH8rPwQ","keywords":["keywords","updated"],"logo":"/fu/bar/baz-updated.jpg","longname":"updated project longname","ontologies":[],"selfjoin":true,"shortcode":"1111","shortname":"updatedproject","status":true}} \ No newline at end of file +{"project":{"description":[{"value":"updated project description","language":"en"}],"id":"http://rdfh.ch/projects/cETtbvjARX2lEL5ZETc0RQ","keywords":["keywords","updated"],"logo":"/fu/bar/baz-updated.jpg","longname":"updated project longname","ontologies":[],"selfjoin":true,"shortcode":"1111","shortname":"updatedproject","status":true}} \ No newline at end of file diff --git a/test/data/api/admin/projects/update-project-with-multiple-description-response.json b/test/data/api/admin/projects/update-project-with-multiple-description-response.json index e03dbec2b..2d01b9430 100644 --- a/test/data/api/admin/projects/update-project-with-multiple-description-response.json +++ b/test/data/api/admin/projects/update-project-with-multiple-description-response.json @@ -1 +1 @@ -{"project":{"description":[{"value":"Test Project","language":"se"},{"value":"Test Project","language":"en"}],"id":"http://rdfh.ch/projects/ZZedoEE4RVaW8MWZH8rPwQ","keywords":["keywords","updated"],"logo":"/fu/bar/baz-updated.jpg","longname":"updated project longname","ontologies":[],"selfjoin":true,"shortcode":"1111","shortname":"updatedproject","status":true}} \ No newline at end of file +{"project":{"description":[{"value":"Test Project","language":"se"},{"value":"Test Project","language":"en"}],"id":"http://rdfh.ch/projects/cETtbvjARX2lEL5ZETc0RQ","keywords":["keywords","updated"],"logo":"/fu/bar/baz-updated.jpg","longname":"updated project longname","ontologies":[],"selfjoin":true,"shortcode":"1111","shortname":"updatedproject","status":true}} \ 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 3caa3002f..54cf7eb14 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/12idRmFHQK2ahawCs71Y9w","lang":"en","password":null,"permissions":{"administrativePermissionsPerProject":{},"groupsPerProject":{}},"projects":[],"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/6mOkGiV6TPuRWm-JTROZRQ","lang":"en","password":null,"permissions":{"administrativePermissionsPerProject":{},"groupsPerProject":{}},"projects":[],"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 dcd8cafd6..01b0c5499 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/12idRmFHQK2ahawCs71Y9w","lang":"de","password":null,"permissions":{"administrativePermissionsPerProject":{},"groupsPerProject":{}},"projects":[],"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/6mOkGiV6TPuRWm-JTROZRQ","lang":"de","password":null,"permissions":{"administrativePermissionsPerProject":{},"groupsPerProject":{}},"projects":[],"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 d7aa8982d..b331aff35 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/12idRmFHQK2ahawCs71Y9w","lang":"de","password":null,"permissions":{"administrativePermissionsPerProject":{},"groupsPerProject":{}},"projects":[],"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/6mOkGiV6TPuRWm-JTROZRQ","lang":"de","password":null,"permissions":{"administrativePermissionsPerProject":{},"groupsPerProject":{}},"projects":[],"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 18ad2e7cf..6b2eaf23c 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/12idRmFHQK2ahawCs71Y9w","lang":"de","password":null,"permissions":{"administrativePermissionsPerProject":{},"groupsPerProject":{"http://www.knora.org/ontology/knora-admin#SystemProject":["http://www.knora.org/ontology/knora-admin#SystemAdmin"]}},"projects":[],"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/6mOkGiV6TPuRWm-JTROZRQ","lang":"de","password":null,"permissions":{"administrativePermissionsPerProject":{},"groupsPerProject":{"http://www.knora.org/ontology/knora-admin#SystemProject":["http://www.knora.org/ontology/knora-admin#SystemAdmin"]}},"projects":[],"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 642433d7e..80173e01c 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/29.1.2 akka-http/10.2.10 -Date: Fri, 04 Aug 2023 08:07:35 GMT \ No newline at end of file +Server: webapi/29.1.3 akka-http/10.2.10 +Date: Fri, 18 Aug 2023 07:41:00 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 0d465b358..7b4807447 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":"2023-08-04T08:11:26.979954122Z"}} \ 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":"2023-08-18T07:44:51.062328746Z"}} \ 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 98f735ec1..f388f03ca 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" : "2023-08-04T08:11:26.979954122Z" + "@value" : "2023-08-18T07:44:51.062328746Z" }, "@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 59d39f915..d200c8eb9 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":"2023-08-04T08:11:27.345130916Z"},"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":"2023-08-18T07:44:51.446236966Z"},"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 75c3a9c6b..bc656489b 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": "2023-08-04T08:11:27.345130916Z", + "@value": "2023-08-18T07:44:51.446236966Z", "@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 f9903e630..cf9ace188 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":"2023-08-04T08:11:39.117125090Z"}} \ 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":"2023-08-18T07:45:02.768682879Z"}} \ 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 d4168189e..700165df0 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" : "2023-08-04T08:11:39.117125090Z" + "@value" : "2023-08-18T07:45:02.768682879Z" }, "@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 bb79e315b..53024d9d1 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":"2023-08-04T08:11:39.117125090Z"}} \ 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":"2023-08-18T07:45:02.768682879Z"}} \ 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 e020e40a0..2a27bcbd7 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" : "2023-08-04T08:11:39.117125090Z" + "@value" : "2023-08-18T07:45:02.768682879Z" }, "@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 ab0bf5af8..cb569cc92 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":"2023-08-04T08:11:26.222319065Z"}} \ 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":"2023-08-18T07:44:50.358360678Z"}} \ 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 870092208..9e53ed491 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" : "2023-08-04T08:11:26.222319065Z" + "@value" : "2023-08-18T07:44:50.358360678Z" }, "@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 1a838dfd7..20f565cf4 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":"2023-08-04T08:11:25.836096676Z"}} \ 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":"2023-08-18T07:44:50.002492590Z"}} \ 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 fa39fe840..a34a5f66d 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" : "2023-08-04T08:11:25.836096676Z" + "@value" : "2023-08-18T07:44:50.002492590Z" }, "@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 552d0efb9..c02580d2a 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":"2023-08-04T08:11:31.072939819Z"}} \ 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":"2023-08-18T07:44:55.052573078Z"}} \ 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 1d9b2b075..365ed2cf7 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" : "2023-08-04T08:11:31.072939819Z" + "@value" : "2023-08-18T07:44:55.052573078Z" }, "@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 11fe1eefb..e92e9c83c 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":"2023-08-04T08:11:22.679553874Z"}} \ 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":"2023-08-18T07:44:46.893254966Z"}} \ 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 d046a1c6a..6a2b7d644 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" : "2023-08-04T08:11:22.679553874Z" + "@value" : "2023-08-18T07:44:46.893254966Z" }, "@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 ddca5ffbf..987721582 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":"2023-08-04T08:11:22.264393428Z"}} \ 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":"2023-08-18T07:44:46.495509188Z"}} \ 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 b9cd1ecfc..85419be8e 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" : "2023-08-04T08:11:22.264393428Z" + "@value" : "2023-08-18T07:44:46.495509188Z" }, "@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 02ae32dcd..053529ecf 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":"2023-08-04T08:11:25.476681076Z"}} \ 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":"2023-08-18T07:44:49.643443006Z"}} \ 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 42212f8dd..da64bb7d1 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" : "2023-08-04T08:11:25.476681076Z" + "@value" : "2023-08-18T07:44:49.643443006Z" }, "@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 3fced5361..76efa054b 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":"2023-08-04T08:11:25.836096676Z"},"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":"2023-08-18T07:44:50.002492590Z"},"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 1fd7643cc..7ec8a1799 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": "2023-08-04T08:11:25.836096676Z", + "@value": "2023-08-18T07:44:50.002492590Z", "@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 f566effff..a269b7d8e 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":"2023-08-04T08:11:19.619221859Z"},"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":"2023-08-18T07:44:44.008578438Z"},"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 b371e7089..b9667aac8 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": "2023-08-04T08:11:19.619221859Z", + "@value": "2023-08-18T07:44:44.008578438Z", "@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 79d83117a..244cf0297 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":"2023-08-04T08:11:26.623303617Z"}} \ 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":"2023-08-18T07:44:50.720254515Z"}} \ 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 57af1afcc..90dc3ba19 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" : "2023-08-04T08:11:26.623303617Z" + "@value" : "2023-08-18T07:44:50.720254515Z" }, "@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 497ff8c94..00a154756 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":"2023-08-04T08:11:26.979954122Z"},"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":"2023-08-18T07:44:51.062328746Z"},"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 8994478fe..25e7ac01f 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": "2023-08-04T08:11:26.979954122Z", + "@value": "2023-08-18T07:44:51.062328746Z", "@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 af6ce2841..7b7f229ff 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":"2023-08-04T08:11:22.264393428Z"},"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":"2023-08-18T07:44:46.495509188Z"},"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 1022f84be..35ea35a44 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": "2023-08-04T08:11:22.264393428Z", + "@value": "2023-08-18T07:44:46.495509188Z", "@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 359ea4f12..946224c91 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":"2023-08-04T08:11:32.957159852Z"}} \ 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":"2023-08-18T07:44:56.905236766Z"}} \ 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 72887012b..0eeff58bf 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" : "2023-08-04T08:11:32.957159852Z" + "@value" : "2023-08-18T07:44:56.905236766Z" }, "@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 8be3d7365..ded1b4247 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":"2023-08-04T08:11:31.880202610Z"}} \ 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":"2023-08-18T07:44:55.847621474Z"}} \ 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 ea6c6a950..50c6ba321 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" : "2023-08-04T08:11:31.880202610Z" + "@value" : "2023-08-18T07:44:55.847621474Z" }, "@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 4a36af824..c92a48739 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":"2023-08-05T08:08:28.566595924Z"}} \ 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":"2023-08-19T07:41:53.118185328Z"}} \ 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 4282d6631..e1ebf7494 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" : "2023-08-05T08:08:28.566595924Z" + "@value" : "2023-08-19T07:41:53.118185328Z" }, "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 015b9cad0..386d94e10 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":"2023-08-04T08:08:29.285445940Z"},"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":"2023-08-04T08:08:29.285445940Z"},"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.20230804T08082928544594Z"},"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":"2023-08-18T07:41:53.790947358Z"},"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":"2023-08-18T07:41:53.790947358Z"},"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.20230818T074153790947358Z"},"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 becacc2b3..a2624c348 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": "2023-08-04T08:08:29.285445940Z", + "@value": "2023-08-18T07:41:53.790947358Z", "@type": "xsd:dateTimeStamp" }, "rdfs:label": "Deleted Resource", "knora-api:versionArkUrl": { - "@value": "http://0.0.0.0:3336/ark:/72163/1/0001/a=thingO.20230804T08082928544594Z", + "@value": "http://0.0.0.0:3336/ark:/72163/1/0001/a=thingO.20230818T074153790947358Z", "@type": "xsd:anyURI" }, "knora-api:attachedToProject": { @@ -30,7 +30,7 @@ }, "knora-api:deleteDate": { "@type": "xsd:dateTimeStamp", - "@value": "2023-08-04T08:08:29.285445940Z" + "@value": "2023-08-18T07:41:53.790947358Z" }, "@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 666623b3c..c24eeb361 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":"2023-08-05T08:08:27.991143844Z"},"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":"2023-08-19T07:41:52.629733384Z"},"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 64e3e195e..b44d4d5a7 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":"2023-08-05T08:08:27.991143844Z"},"http://api.knora.org/ontology/knora-api/v2#newModificationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2023-08-05T08:08:28.566595924Z"},"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":"2023-08-19T07:41:52.629733384Z"},"http://api.knora.org/ontology/knora-api/v2#newModificationDate":{"@type":"http://www.w3.org/2001/XMLSchema#dateTimeStamp","@value":"2023-08-19T07:41:53.118185328Z"},"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 849e0787b..1a3312248 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" : "2023-08-05T08:08:27.991143844Z" + "@value" : "2023-08-19T07:41:52.629733384Z" }, "knora-api:newModificationDate" : { "@type" : "xsd:dateTimeStamp", - "@value" : "2023-08-05T08:08:28.566595924Z" + "@value" : "2023-08-19T07:41:53.118185328Z" }, "@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 ac0c4fb2f..8815ad339 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" : "2023-08-05T08:08:27.991143844Z" + "@value" : "2023-08-19T07:41:52.629733384Z" }, "@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 54e426e9e..72043adbb 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":"2023-08-05T08:08:27.991143844Z"},"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":"2023-08-19T07:41:52.629733384Z"},"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 ad061f39b..6d2000f55 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":"2023-08-05T08:08:28.566595924Z"},"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":"2023-08-19T07:41:53.118185328Z"},"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 63796ae6a..187be9896 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": "2023-08-05T08:08:28.566595924Z", + "@value": "2023-08-19T07:41:53.118185328Z", "@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 9b527b7a8..da31f8551 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": "2023-08-05T08:08:27.991143844Z", + "@value": "2023-08-19T07:41:52.629733384Z", "@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 81a4ea642..787561e86 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/VQV4Fz5oS3WZjUDXeJy-_g","@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":"2023-08-04T08:04:39.298461711Z"},"http://api.knora.org/ontology/knora-api/v2#valueHasUUID":"VQV4Fz5oS3WZjUDXeJy-_g"} \ No newline at end of file +{"@id":"http://rdfh.ch/0001/a-thing/values/n5HVkB-aTeWsh_HAPR23fQ","@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":"2023-08-18T07:38:10.991462068Z"},"http://api.knora.org/ontology/knora-api/v2#valueHasUUID":"n5HVkB-aTeWsh_HAPR23fQ"} \ 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 7919ffefb..fcb4c4937 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/VQV4Fz5oS3WZjUDXeJy-_g", + "@id": "http://rdfh.ch/0001/a-thing/values/n5HVkB-aTeWsh_HAPR23fQ", "@type": "knora-api:IntValue", - "knora-api:valueHasUUID": "VQV4Fz5oS3WZjUDXeJy-_g", + "knora-api:valueHasUUID": "n5HVkB-aTeWsh_HAPR23fQ", "knora-api:valueCreationDate": { - "@value": "2023-08-04T08:04:39.298461711Z", + "@value": "2023-08-18T07:38:10.991462068Z", "@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 2f56816a2..7676ddb3e 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/vckpCOrnQxGAKG4u2JujAQ","@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/0QKjoP80Su2HdEazsVidNw","@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 10d1da47e..e275c2010 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/vckpCOrnQxGAKG4u2JujAQ", + "@id" : "http://rdfh.ch/0001/a-thing/values/0QKjoP80Su2HdEazsVidNw", "@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 e52cda10f..9bfd60b15 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/r4b2JvTfRS6oirfhV890EA","@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/Q1wwIiPCQtGjoeKnbybNmw","@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 5eede9833..0d877a4aa 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/r4b2JvTfRS6oirfhV890EA", + "@id": "http://rdfh.ch/0001/a-thing/values/Q1wwIiPCQtGjoeKnbybNmw", "@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 fb6c3da33..066c59a32 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/c5pT3TmlSmWAH07nj-Cm6g","@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/gfzZQoD3T1KiKB-Qn7xRCg","@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 0529f4d07..17b6ee7d9 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/c5pT3TmlSmWAH07nj-Cm6g", + "@id" : "http://rdfh.ch/0001/a-thing/values/gfzZQoD3T1KiKB-Qn7xRCg", "@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 a0b980170..b11dec124 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/qJEdecjJQMW4Ox_dzwgMgQ","@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/3JAvmHCRRt6UNFUyxSF7hg","@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 7912b8082..b6e1acb20 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/qJEdecjJQMW4Ox_dzwgMgQ", + "@id" : "http://rdfh.ch/0001/a-thing/values/3JAvmHCRRt6UNFUyxSF7hg", "@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 31d2738ee..1895817a1 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/3kH25rUzRpWfUhdZTg2QVg","@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/y4fTcA-sR-2C5upbZ-OHoA","@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 db68f134f..97938e92c 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/3kH25rUzRpWfUhdZTg2QVg", + "@id" : "http://rdfh.ch/0001/a-thing/values/y4fTcA-sR-2C5upbZ-OHoA", "@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 5363d7787..5fd38217d 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/FNiEPKPuRbKJXDJHC-OdMQ","@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/45nSzmfHQ3WwfuSwO7Ydtw","@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 995af8a74..71fad6492 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/FNiEPKPuRbKJXDJHC-OdMQ", + "@id" : "http://rdfh.ch/0001/a-thing/values/45nSzmfHQ3WwfuSwO7Ydtw", "@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 84b4b7d59..3a3ce2e8d 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/0r_en9Q-SDuQlwwwrdRTeQ","@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/r4tSM116SMWExa6tLxIa3w","@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 618cccee6..77f94f707 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/0r_en9Q-SDuQlwwwrdRTeQ", + "@id" : "http://rdfh.ch/0001/a-thing/values/r4tSM116SMWExa6tLxIa3w", "@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 993068c99..bbb99939a 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/WWBKO0LvS7q3cpdbQauMzQ","@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/XKLilomzQn2CH1AMesQihA","@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 500a8591f..d5414364b 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/WWBKO0LvS7q3cpdbQauMzQ", + "@id" : "http://rdfh.ch/0001/a-thing/values/XKLilomzQn2CH1AMesQihA", "@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 afced1cbe..3375c1b58 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/RquHZmbdQTi7GweCjoj8Bg","@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/sDXpjBFAQs6QYwNRtTMcEQ","@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 378e760ad..20fee1c3c 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/RquHZmbdQTi7GweCjoj8Bg", + "@id" : "http://rdfh.ch/0001/a-thing/values/sDXpjBFAQs6QYwNRtTMcEQ", "@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 15a6610b4..44b428d3b 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/MGrD07LtRdCy1QsxRrx-NQ","@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/9Xn3v-5UTKm4qg6SY4jqZg","@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 7a3b9cf86..019e786bb 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/MGrD07LtRdCy1QsxRrx-NQ", + "@id" : "http://rdfh.ch/0001/a-thing/values/9Xn3v-5UTKm4qg6SY4jqZg", "@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 3779b617b..7aad3a1c5 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/A5q4uECLRfe-cJtBvfoXwA","@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/ydrG0qq6TACOtoZJ9DoSgA","@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 2f249532b..e4c1577e9 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/A5q4uECLRfe-cJtBvfoXwA", + "@id" : "http://rdfh.ch/0001/a-thing/values/ydrG0qq6TACOtoZJ9DoSgA", "@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 c12daed43..826f3a43a 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/VQV4Fz5oS3WZjUDXeJy-_g","@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/n5HVkB-aTeWsh_HAPR23fQ","@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 3b9cf7af2..c44789f6a 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/VQV4Fz5oS3WZjUDXeJy-_g", + "@id" : "http://rdfh.ch/0001/a-thing/values/n5HVkB-aTeWsh_HAPR23fQ", "@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 d7dfe2d2b..fa5f7e371 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/A5q4uECLRfe-cJtBvfoXwA","@type":"http://api.knora.org/ontology/knora-api/v2#IntValue","http://api.knora.org/ontology/knora-api/v2#valueHasUUID":"VQV4Fz5oS3WZjUDXeJy-_g"} \ No newline at end of file +{"@id":"http://rdfh.ch/0001/a-thing/values/ydrG0qq6TACOtoZJ9DoSgA","@type":"http://api.knora.org/ontology/knora-api/v2#IntValue","http://api.knora.org/ontology/knora-api/v2#valueHasUUID":"n5HVkB-aTeWsh_HAPR23fQ"} \ 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 ebb656d56..c011d5968 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/A5q4uECLRfe-cJtBvfoXwA", + "@id": "http://rdfh.ch/0001/a-thing/values/ydrG0qq6TACOtoZJ9DoSgA", "@type": "knora-api:IntValue", - "knora-api:valueHasUUID": "VQV4Fz5oS3WZjUDXeJy-_g", + "knora-api:valueHasUUID": "n5HVkB-aTeWsh_HAPR23fQ", "@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 c27b9b6fc..347d7bb70 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/UPTw0wwLR32MKsqPnUaeYQ","@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/vuslrQtMQNi2EWazYR5AJA","@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 380c1f423..9c1bfc025 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/UPTw0wwLR32MKsqPnUaeYQ", + "@id" : "http://rdfh.ch/0001/a-thing/values/vuslrQtMQNi2EWazYR5AJA", "@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 b76fec53b..5af81407d 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/567XIV6ZR268_NqVlIMcQg","@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/lkhnOblRTXO7pxZ43GJYuw","@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 2c9b99c86..62362266b 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/567XIV6ZR268_NqVlIMcQg", + "@id" : "http://rdfh.ch/0001/a-thing/values/lkhnOblRTXO7pxZ43GJYuw", "@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 a1e62309b..492e0a7d8 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/l0_NPVQLQeGxceXYoz74hA","@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/rfksOtMtQAKE4mP1IQiWVQ","@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 a9b0dd54c..8ba569858 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/l0_NPVQLQeGxceXYoz74hA", + "@id" : "http://rdfh.ch/0001/a-thing/values/rfksOtMtQAKE4mP1IQiWVQ", "@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 fc012ff4a..5f866f31f 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/cO78M-FcQzepfmBZCC-HuQ","@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/6MwLClSpSH2HKjdRazFUHQ","@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 75a4dea60..d88c88e53 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/cO78M-FcQzepfmBZCC-HuQ", + "@id" : "http://rdfh.ch/0001/a-thing/values/6MwLClSpSH2HKjdRazFUHQ", "@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 05c09f485..404a1825b 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/Km1KIAA0T8mVjzqhkwJ4FQ","@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/xu9wOw8mSu-fObW3gd5jVA","@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 795c646c1..d98a6c062 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/Km1KIAA0T8mVjzqhkwJ4FQ", + "@id" : "http://rdfh.ch/0001/a-thing/values/xu9wOw8mSu-fObW3gd5jVA", "@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 a82eaef43..5bd8e91e5 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/rX7Pw_zrRiKPo647-nRkiQ","@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/dTcLKLENTgqGh91s5ziGmw","@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 dadc21dfd..b447afb13 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/rX7Pw_zrRiKPo647-nRkiQ", + "@id" : "http://rdfh.ch/0001/a-thing/values/dTcLKLENTgqGh91s5ziGmw", "@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 392c988aa..8b794a2d6 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/FX1cpfALSx2aWoVpTSKh3A","@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/T1mz_pfNTciSo2g87PcklA","@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 4c34ed267..65cdf8efa 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/FX1cpfALSx2aWoVpTSKh3A", + "@id" : "http://rdfh.ch/0001/a-thing/values/T1mz_pfNTciSo2g87PcklA", "@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 3cc62e5a9..2c6edb0ee 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/LOj0e-6oQ2qcp_7cTBvjPw","@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/GbFzH4N5TmyNvvNdhQzOQA","@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 f3ff85f53..b7db411a3 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/LOj0e-6oQ2qcp_7cTBvjPw", + "@id" : "http://rdfh.ch/0001/a-thing/values/GbFzH4N5TmyNvvNdhQzOQA", "@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 5abee0008..24fec5d6f 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/uk9T_hJJQTCVfx0jpPtQvw","@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/5xxBvAq7QK2SBuhf_Ir7Rw","@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 a2d78869e..c8d4282ca 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/uk9T_hJJQTCVfx0jpPtQvw", + "@id" : "http://rdfh.ch/0001/a-thing/values/5xxBvAq7QK2SBuhf_Ir7Rw", "@type" : "knora-api:UriValue", "knora-api:uriValueAsUri" : { "@type" : "xsd:anyURI", diff --git a/vars.mk b/vars.mk index 0a44dc0ca..9886c7812 100644 --- a/vars.mk +++ b/vars.mk @@ -6,4 +6,4 @@ else endif API_REPO := dasch-swiss/dsp-api -API_VERSION := v29.1.2 +API_VERSION := v29.1.3