Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt parsing of an ontology's lastModificationDate #58

Merged
merged 20 commits into from Jan 21, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
f140035
fix (ontology): adapt parsing of an ontology's lastModificationDate
Sep 24, 2019
7d56846
Merge branch 'master' into wip/47-modification-date
tobiasschweizer Sep 25, 2019
de56318
Merge branch 'master' into wip/47-modification-date
tobiasschweizer Sep 26, 2019
35ed956
Merge branch 'master' into wip/47-modification-date
tobiasschweizer Oct 23, 2019
934bca0
Merge branch 'master' into wip/47-modification-date
tobiasschweizer Oct 24, 2019
ecdcb2c
Merge branch 'master' into wip/47-modification-date
tobiasschweizer Nov 4, 2019
ad20ef0
refactor (ontologies): all metadata
Nov 4, 2019
ce152b7
Merge branch 'master' into wip/47-modification-date
tobiasschweizer Nov 4, 2019
5954566
Merge branch 'master' into wip/47-modification-date
tobiasschweizer Nov 5, 2019
dccbc66
Merge branch 'master' into wip/47-modification-date
tobiasschweizer Nov 7, 2019
0a6af2d
Merge branch 'master' into wip/47-modification-date
tobiasschweizer Nov 11, 2019
8fe2496
Merge branch 'master' into wip/47-modification-date
tobiasschweizer Nov 12, 2019
d22b07c
Merge branch 'master' into wip/47-modification-date
Dec 2, 2019
a784e99
Merge branch 'master' into wip/47-modification-date
tobiasschweizer Dec 10, 2019
eb02465
test (e2e): use Knora branch wip/1439-last-modification-date
Dec 10, 2019
08660aa
Merge branch 'master' into wip/47-modification-date
Dec 12, 2019
f80580d
feature (generated data): inegrate generated data
Dec 12, 2019
115ad2c
Merge branch 'master' into wip/47-modification-date
tobiasschweizer Dec 23, 2019
61e8d1b
Merge branch 'master' into wip/47-modification-date
tobiasschweizer Jan 16, 2020
ab57339
test (test framework): use Knora develop branch
Jan 21, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -48,4 +48,4 @@ script:
- yarn webdriver-update
- yarn e2e
- yarn build
- docker build .
- docker build .
Expand Up @@ -3,7 +3,7 @@ import { Constants } from "../Constants";
import { CustomConverterUtils } from "../../../util/utils";

@JsonConverter
export class DateTimeStamp implements JsonCustomConvert<string> {
export class DateTimeStampConverter implements JsonCustomConvert<string> {
serialize(dateTimeStamp: string): any {
return {
"@type": Constants.dateTimeStamp,
Expand Down
5 changes: 3 additions & 2 deletions src/models/v2/ontologies/ontology-metadata.ts
@@ -1,5 +1,6 @@
import { JsonObject, JsonProperty } from "json2typescript";
import { Constants } from "../Constants";
import { DateTimeStampConverter } from "../custom-converters/date-time-stamp-converter";
import { IdConverter } from "../custom-converters/id-converter";

@JsonObject("OntologyMetadata")
Expand All @@ -14,8 +15,8 @@ export class OntologyMetadata {
@JsonProperty(Constants.Label, String)
label: string = "";

@JsonProperty(Constants.LastModificationDate, String, true)
lastModificationDate?: string = undefined; // TODO: adapt this once this is serialized as an object, see https://github.com/dhlab-basel/Knora/issues/1439
@JsonProperty(Constants.LastModificationDate, DateTimeStampConverter, true)
lastModificationDate?: string = undefined;

@JsonProperty(Constants.AttachedToProject, IdConverter)
attachedToProject: string = "";
Expand Down
5 changes: 3 additions & 2 deletions src/models/v2/ontologies/read-ontology.ts
@@ -1,5 +1,6 @@
import { JsonObject, JsonProperty } from "json2typescript";
import { Constants } from "../Constants";
import { DateTimeStampConverter } from "../custom-converters/date-time-stamp-converter";
import { ClassDefinition } from "./class-definition";
import { PropertyDefinition } from "./property-definition";

Expand All @@ -9,8 +10,8 @@ export class ReadOntology {
@JsonProperty("@id", String)
id: string = "";

@JsonProperty(Constants.LastModificationDate, String, true)
lastModificationDate?: string = undefined; // TODO: adapt this once this is serialized as an object, see https://github.com/dhlab-basel/Knora/issues/1439
@JsonProperty(Constants.LastModificationDate, DateTimeStampConverter, true)
lastModificationDate?: string = undefined;

properties: { [index: string]: PropertyDefinition } = {};
classes: { [index: string]: ClassDefinition } = {};
Expand Down
4 changes: 2 additions & 2 deletions src/models/v2/resources/create/create-resource.ts
@@ -1,7 +1,7 @@
import { JsonObject, JsonProperty } from "json2typescript";
import { CreateValue } from "../../../../models/v2/resources/values/create/create-value";
import { Constants } from "../../Constants";
import { DateTimeStamp } from "../../custom-converters/date-time-stamp-converter";
import { DateTimeStampConverter } from "../../custom-converters/date-time-stamp-converter";
import { IdConverter } from "../../custom-converters/id-converter";

@JsonObject("CreateResource")
Expand All @@ -22,7 +22,7 @@ export class CreateResource {
@JsonProperty(Constants.AttachedToUser, IdConverter, true)
attachedToUser?: string = undefined;

@JsonProperty(Constants.CreationDate, DateTimeStamp, true)
@JsonProperty(Constants.CreationDate, DateTimeStampConverter, true)
creationDate?: string = undefined;

properties: { [index: string]: CreateValue[] } = {};
Expand Down
4 changes: 2 additions & 2 deletions src/models/v2/resources/delete/delete-resource.ts
@@ -1,6 +1,6 @@
import { JsonObject, JsonProperty } from "json2typescript";
import { Constants } from "../../Constants";
import { DateTimeStamp } from "../../custom-converters/date-time-stamp-converter";
import { DateTimeStampConverter } from "../../custom-converters/date-time-stamp-converter";

@JsonObject("DeleteResource")
export class DeleteResource {
Expand All @@ -11,7 +11,7 @@ export class DeleteResource {
@JsonProperty("@type", String)
type: string = "";

@JsonProperty(Constants.LastModificationDate, DateTimeStamp, true)
@JsonProperty(Constants.LastModificationDate, DateTimeStampConverter, true)
lastModificationDateDate?: string = undefined;

@JsonProperty(Constants.DeleteComment, String, true)
Expand Down
6 changes: 3 additions & 3 deletions src/models/v2/resources/read/read-resource.ts
@@ -1,7 +1,7 @@
import { JsonObject, JsonProperty } from "json2typescript";
import { IResourceClassAndPropertyDefinitions } from "../../../../cache/OntologyCache";
import { Constants } from "../../Constants";
import { DateTimeStamp } from "../../custom-converters/date-time-stamp-converter";
import { DateTimeStampConverter } from "../../custom-converters/date-time-stamp-converter";
import { IdConverter } from "../../custom-converters/id-converter";
import { UriConverter } from "../../custom-converters/uri-converter";
import { ReadWriteResource } from "../read-write-resource";
Expand Down Expand Up @@ -32,10 +32,10 @@ export class ReadResource extends ReadWriteResource {
@JsonProperty(Constants.VersionArkUrl, UriConverter)
versionArkUrl: string = "";

@JsonProperty(Constants.CreationDate, DateTimeStamp)
@JsonProperty(Constants.CreationDate, DateTimeStampConverter)
creationDate: string = "";

@JsonProperty(Constants.LastModificationDate, DateTimeStamp, true)
@JsonProperty(Constants.LastModificationDate, DateTimeStampConverter, true)
lastModificationDateDate?: string = undefined;

resourceClassLabel?: string;
Expand Down
6 changes: 3 additions & 3 deletions src/models/v2/resources/update/update-resource-metadata.ts
@@ -1,6 +1,6 @@
import { JsonObject, JsonProperty } from "json2typescript";
import { Constants } from "../../Constants";
import { DateTimeStamp } from "../../custom-converters/date-time-stamp-converter";
import { DateTimeStampConverter } from "../../custom-converters/date-time-stamp-converter";

@JsonObject("UpdateResourceMetadata")
export class UpdateResourceMetadata {
Expand All @@ -11,7 +11,7 @@ export class UpdateResourceMetadata {
@JsonProperty("@type", String)
type: string = "";

@JsonProperty(Constants.LastModificationDate, DateTimeStamp, true)
@JsonProperty(Constants.LastModificationDate, DateTimeStampConverter, true)
lastModificationDateDate?: string = undefined;

@JsonProperty(Constants.Label, String, true)
Expand All @@ -20,7 +20,7 @@ export class UpdateResourceMetadata {
@JsonProperty(Constants.HasPermissions, String, true)
hasPermissions?: string = undefined;

@JsonProperty(Constants.NewModificationDate, DateTimeStamp, true)
@JsonProperty(Constants.NewModificationDate, DateTimeStampConverter, true)
newModificationDateDate?: string = undefined;

}
4 changes: 2 additions & 2 deletions src/models/v2/resources/values/read/read-value.ts
@@ -1,6 +1,6 @@
import { JsonObject, JsonProperty } from "json2typescript";
import { Constants } from "../../../Constants";
import { DateTimeStamp } from "../../../custom-converters/date-time-stamp-converter";
import { DateTimeStampConverter } from "../../../custom-converters/date-time-stamp-converter";
import { IdConverter } from "../../../custom-converters/id-converter";
import { UriConverter } from "../../../custom-converters/uri-converter";

Expand All @@ -22,7 +22,7 @@ export class ReadValue {
@JsonProperty(Constants.VersionArkUrl, UriConverter)
versionArkUrl: string = "";

@JsonProperty(Constants.ValueCreationDate, DateTimeStamp)
@JsonProperty(Constants.ValueCreationDate, DateTimeStampConverter)
valueCreationDate: string = "";

@JsonProperty(Constants.HasPermissions, String)
Expand Down
@@ -1 +1 @@
{"@graph":[{"@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":"2017-12-19T15:23:42.166Z","http://www.w3.org/2000/01/rdf-schema#label":"The anything ontology"},{"@id":"http://0.0.0.0:3333/ontology/0001/minimal/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":"2019-09-10T08:57:46.633162Z","http://www.w3.org/2000/01/rdf-schema#label":"A minimal ontology"},{"@id":"http://0.0.0.0:3333/ontology/0001/something/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://www.w3.org/2000/01/rdf-schema#label":"The something ontology"},{"@id":"http://0.0.0.0:3333/ontology/00FF/images/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#attachedToProject":{"@id":"http://rdfh.ch/projects/00FF"},"http://www.w3.org/2000/01/rdf-schema#label":"The images demo ontology"},{"@id":"http://0.0.0.0:3333/ontology/0801/beol/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#attachedToProject":{"@id":"http://rdfh.ch/projects/yTerZGyxjZVqFMNNKXCDPF"},"http://www.w3.org/2000/01/rdf-schema#label":"The BEOL ontology"},{"@id":"http://0.0.0.0:3333/ontology/0801/biblio/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#attachedToProject":{"@id":"http://rdfh.ch/projects/yTerZGyxjZVqFMNNKXCDPF"},"http://www.w3.org/2000/01/rdf-schema#label":"The Biblio ontology"},{"@id":"http://0.0.0.0:3333/ontology/0801/leibniz/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#attachedToProject":{"@id":"http://rdfh.ch/projects/yTerZGyxjZVqFMNNKXCDPF"},"http://www.w3.org/2000/01/rdf-schema#label":"The Briefportal Leibniz ontology"},{"@id":"http://0.0.0.0:3333/ontology/0801/newton/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#attachedToProject":{"@id":"http://rdfh.ch/projects/yTerZGyxjZVqFMNNKXCDPF"},"http://www.w3.org/2000/01/rdf-schema#label":"The Newton-Project ontology"},{"@id":"http://0.0.0.0:3333/ontology/0803/incunabula/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#attachedToProject":{"@id":"http://rdfh.ch/projects/0803"},"http://www.w3.org/2000/01/rdf-schema#label":"The incunabula ontology"},{"@id":"http://0.0.0.0:3333/ontology/0804/dokubib/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#attachedToProject":{"@id":"http://rdfh.ch/projects/0804"},"http://www.w3.org/2000/01/rdf-schema#label":"The dokubib ontology"},{"@id":"http://0.0.0.0:3333/ontology/08AE/webern/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#attachedToProject":{"@id":"http://rdfh.ch/projects/08AE"},"http://www.w3.org/2000/01/rdf-schema#label":"The Anton Webern project ontology"},{"@id":"http://api.knora.org/ontology/knora-admin/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#attachedToProject":{"@id":"http://www.knora.org/ontology/knora-admin#SystemProject"},"http://api.knora.org/ontology/knora-api/v2#isBuiltIn":true,"http://www.w3.org/2000/01/rdf-schema#label":"The Knora admin ontology"},{"@id":"http://api.knora.org/ontology/knora-api/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#attachedToProject":{"@id":"http://www.knora.org/ontology/knora-admin#SystemProject"},"http://api.knora.org/ontology/knora-api/v2#isBuiltIn":true,"http://www.w3.org/2000/01/rdf-schema#label":"The knora-api ontology in the complex schema"},{"@id":"http://api.knora.org/ontology/salsah-gui/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#attachedToProject":{"@id":"http://www.knora.org/ontology/knora-admin#SystemProject"},"http://api.knora.org/ontology/knora-api/v2#isBuiltIn":true,"http://www.w3.org/2000/01/rdf-schema#label":"The salsah-gui ontology"},{"@id":"http://api.knora.org/ontology/standoff/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#attachedToProject":{"@id":"http://www.knora.org/ontology/knora-admin#SystemProject"},"http://api.knora.org/ontology/knora-api/v2#isBuiltIn":true,"http://www.w3.org/2000/01/rdf-schema#label":"The standoff ontology"}]}
{"@graph":[{"@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":"2017-12-19T15:23:42.166Z"},"http://www.w3.org/2000/01/rdf-schema#label":"The anything ontology"},{"@id":"http://0.0.0.0:3333/ontology/0001/minimal/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":"2019-09-10T08:57:46.633162Z"},"http://www.w3.org/2000/01/rdf-schema#label":"A minimal ontology"},{"@id":"http://0.0.0.0:3333/ontology/0001/something/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://www.w3.org/2000/01/rdf-schema#label":"The something ontology"},{"@id":"http://0.0.0.0:3333/ontology/00FF/images/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#attachedToProject":{"@id":"http://rdfh.ch/projects/00FF"},"http://www.w3.org/2000/01/rdf-schema#label":"The images demo ontology"},{"@id":"http://0.0.0.0:3333/ontology/0801/beol/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#attachedToProject":{"@id":"http://rdfh.ch/projects/yTerZGyxjZVqFMNNKXCDPF"},"http://www.w3.org/2000/01/rdf-schema#label":"The BEOL ontology"},{"@id":"http://0.0.0.0:3333/ontology/0801/biblio/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#attachedToProject":{"@id":"http://rdfh.ch/projects/yTerZGyxjZVqFMNNKXCDPF"},"http://www.w3.org/2000/01/rdf-schema#label":"The Biblio ontology"},{"@id":"http://0.0.0.0:3333/ontology/0801/leibniz/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#attachedToProject":{"@id":"http://rdfh.ch/projects/yTerZGyxjZVqFMNNKXCDPF"},"http://www.w3.org/2000/01/rdf-schema#label":"The Briefportal Leibniz ontology"},{"@id":"http://0.0.0.0:3333/ontology/0801/newton/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#attachedToProject":{"@id":"http://rdfh.ch/projects/yTerZGyxjZVqFMNNKXCDPF"},"http://www.w3.org/2000/01/rdf-schema#label":"The Newton-Project ontology"},{"@id":"http://0.0.0.0:3333/ontology/0803/incunabula/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#attachedToProject":{"@id":"http://rdfh.ch/projects/0803"},"http://www.w3.org/2000/01/rdf-schema#label":"The incunabula ontology"},{"@id":"http://0.0.0.0:3333/ontology/0804/dokubib/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#attachedToProject":{"@id":"http://rdfh.ch/projects/0804"},"http://www.w3.org/2000/01/rdf-schema#label":"The dokubib ontology"},{"@id":"http://0.0.0.0:3333/ontology/08AE/webern/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#attachedToProject":{"@id":"http://rdfh.ch/projects/08AE"},"http://www.w3.org/2000/01/rdf-schema#label":"The Anton Webern project ontology"},{"@id":"http://api.knora.org/ontology/knora-admin/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#attachedToProject":{"@id":"http://www.knora.org/ontology/knora-admin#SystemProject"},"http://api.knora.org/ontology/knora-api/v2#isBuiltIn":true,"http://www.w3.org/2000/01/rdf-schema#label":"The Knora admin ontology"},{"@id":"http://api.knora.org/ontology/knora-api/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#attachedToProject":{"@id":"http://www.knora.org/ontology/knora-admin#SystemProject"},"http://api.knora.org/ontology/knora-api/v2#isBuiltIn":true,"http://www.w3.org/2000/01/rdf-schema#label":"The knora-api ontology in the complex schema"},{"@id":"http://api.knora.org/ontology/salsah-gui/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#attachedToProject":{"@id":"http://www.knora.org/ontology/knora-admin#SystemProject"},"http://api.knora.org/ontology/knora-api/v2#isBuiltIn":true,"http://www.w3.org/2000/01/rdf-schema#label":"The salsah-gui ontology"},{"@id":"http://api.knora.org/ontology/standoff/v2","@type":"http://www.w3.org/2002/07/owl#Ontology","http://api.knora.org/ontology/knora-api/v2#attachedToProject":{"@id":"http://www.knora.org/ontology/knora-admin#SystemProject"},"http://api.knora.org/ontology/knora-api/v2#isBuiltIn":true,"http://www.w3.org/2000/01/rdf-schema#label":"The standoff ontology"}]}
11 changes: 9 additions & 2 deletions test/data/api/v2/ontologies/all-ontology-metadata.json
Expand Up @@ -5,15 +5,21 @@
"knora-api:attachedToProject" : {
"@id" : "http://rdfh.ch/projects/0001"
},
"knora-api:lastModificationDate" : "2017-12-19T15:23:42.166Z",
"knora-api:lastModificationDate" : {
"@type" : "xsd:dateTimeStamp",
"@value" : "2017-12-19T15:23:42.166Z"
},
"rdfs:label" : "The anything ontology"
}, {
"@id" : "http://0.0.0.0:3333/ontology/0001/minimal/v2",
"@type" : "owl:Ontology",
"knora-api:attachedToProject" : {
"@id" : "http://rdfh.ch/projects/0001"
},
"knora-api:lastModificationDate" : "2019-09-10T08:57:46.633162Z",
"knora-api:lastModificationDate" : {
"@type" : "xsd:dateTimeStamp",
"@value" : "2019-09-10T08:57:46.633162Z"
},
"rdfs:label" : "A minimal ontology"
}, {
"@id" : "http://0.0.0.0:3333/ontology/0001/something/v2",
Expand Down Expand Up @@ -113,6 +119,7 @@
} ],
"@context" : {
"knora-api" : "http://api.knora.org/ontology/knora-api/v2#",
"xsd" : "http://www.w3.org/2001/XMLSchema#",
"rdfs" : "http://www.w3.org/2000/01/rdf-schema#",
"owl" : "http://www.w3.org/2002/07/owl#"
}
Expand Down

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion test/data/api/v2/ontologies/anything-ontology.json
Expand Up @@ -2236,7 +2236,10 @@
"knora-api:attachedToProject" : {
"@id" : "http://rdfh.ch/projects/0001"
},
"knora-api:lastModificationDate" : "2017-12-19T15:23:42.166Z",
"knora-api:lastModificationDate" : {
"@type" : "xsd:dateTimeStamp",
"@value" : "2017-12-19T15:23:42.166Z"
},
"rdfs:label" : "The anything ontology",
"@context" : {
"rdf" : "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
Expand Down