From 3c137e8bb10f6c8708d4e40f2807c95d46bd2536 Mon Sep 17 00:00:00 2001 From: Bogdan Kostov Date: Wed, 13 Dec 2023 12:02:01 +0100 Subject: [PATCH 1/2] [#29] Fix labels of record phase classes in model.ttl --- src/main/resources/model.ttl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/resources/model.ttl b/src/main/resources/model.ttl index 168363f9..b92a8399 100644 --- a/src/main/resources/model.ttl +++ b/src/main/resources/model.ttl @@ -172,26 +172,26 @@ rm:impersonator rdf:type owl:Class ; ### http://onto.fel.cvut.cz/ontologies/record-manager/record-phase rm:record-phase rdf:type owl:Class ; rdfs:subClassOf ufo:phase ; - rdfs:label "record state"@en . + rdfs:label "record phase"@en . ### http://onto.fel.cvut.cz/ontologies/record-manager/open-record-phase rm:open-record-phase rdf:type owl:Class ; rdfs:subClassOf rm:record-phase ; - rdfs:label "open record state"@en . + rdfs:label "open record phase"@en . ### http://onto.fel.cvut.cz/ontologies/record-manager/valid-record-phase rm:valid-record-phase rdf:type owl:Class ; rdfs:subClassOf rm:record-phase ; - rdfs:label "valid record state"@en . + rdfs:label "valid record phase"@en . ### http://onto.fel.cvut.cz/ontologies/record-manager/completed-record-phase rm:completed-record-phase rdf:type owl:Class ; rdfs:subClassOf rm:record-phase ; - rdfs:label "completed record state"@en . + rdfs:label "completed record phase"@en . ### http://onto.fel.cvut.cz/ontologies/record-manager/published-record-phase rm:published-record-phase rdf:type owl:Class ; rdfs:subClassOf rm:record-phase ; - rdfs:label "published record state"@en . + rdfs:label "published record phase"@en . ### Generated by the OWL API (version 4.2.8.20170104-2310) https://github.com/owlcs/owlapi From 815f536e052a64b93e8ab8208de8b5e00fb540ee Mon Sep 17 00:00:00 2001 From: Bogdan Kostov Date: Wed, 13 Dec 2023 12:04:51 +0100 Subject: [PATCH 2/2] [#29] Add rejected record phase --- src/main/java/cz/cvut/kbss/study/model/RecordPhase.java | 4 +++- src/main/resources/model.ttl | 5 +++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/main/java/cz/cvut/kbss/study/model/RecordPhase.java b/src/main/java/cz/cvut/kbss/study/model/RecordPhase.java index 042ad262..398a39d9 100644 --- a/src/main/java/cz/cvut/kbss/study/model/RecordPhase.java +++ b/src/main/java/cz/cvut/kbss/study/model/RecordPhase.java @@ -10,7 +10,9 @@ public enum RecordPhase { @Individual(iri = Vocabulary.s_c_completed_record_phase) completed(Vocabulary.s_c_completed_record_phase), @Individual(iri = Vocabulary.s_c_published_record_phase) - published(Vocabulary.s_c_published_record_phase); + published(Vocabulary.s_c_published_record_phase), + @Individual(iri = Vocabulary.s_c_rejected_record_phase) + rejected(Vocabulary.s_c_rejected_record_phase); private final String iri; diff --git a/src/main/resources/model.ttl b/src/main/resources/model.ttl index b92a8399..6cd835e2 100644 --- a/src/main/resources/model.ttl +++ b/src/main/resources/model.ttl @@ -194,4 +194,9 @@ rm:published-record-phase rdf:type owl:Class ; rdfs:subClassOf rm:record-phase ; rdfs:label "published record phase"@en . +### http://onto.fel.cvut.cz/ontologies/record-manager/rejected-record-phase +rm:rejected-record-phase rdf:type owl:Class ; + rdfs:subClassOf rm:record-phase ; + rdfs:label "rejected record phase"@en . + ### Generated by the OWL API (version 4.2.8.20170104-2310) https://github.com/owlcs/owlapi