From 164974dc726d8e9d3ce3ac1db8534be5c30cbafb Mon Sep 17 00:00:00 2001 From: Bogdan Kostov Date: Tue, 12 Dec 2023 11:56:25 +0100 Subject: [PATCH] [#29] Refactor state to phase in ontology and jopa model --- .../cvut/kbss/study/model/PatientRecord.java | 2 +- src/main/resources/model.ttl | 34 +++++++++---------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src/main/java/cz/cvut/kbss/study/model/PatientRecord.java b/src/main/java/cz/cvut/kbss/study/model/PatientRecord.java index 249c7dda..7afedf16 100644 --- a/src/main/java/cz/cvut/kbss/study/model/PatientRecord.java +++ b/src/main/java/cz/cvut/kbss/study/model/PatientRecord.java @@ -46,7 +46,7 @@ public class PatientRecord implements Serializable, HasOwlKey { private Question question; @Enumerated(EnumType.OBJECT_ONE_OF) - @OWLObjectProperty(iri = Vocabulary.s_p_has_state) + @OWLObjectProperty(iri = Vocabulary.s_p_has_phase) private RecordPhase phase; public URI getUri() { diff --git a/src/main/resources/model.ttl b/src/main/resources/model.ttl index 30f3bc43..168363f9 100644 --- a/src/main/resources/model.ttl +++ b/src/main/resources/model.ttl @@ -75,10 +75,10 @@ rm:relates-to rdf:type owl:ObjectProperty . rm:was-treated-at rdf:type owl:ObjectProperty ; rdfs:subPropertyOf rm:relates-to . -### http://onto.fel.cvut.cz/ontologies/record-manager/has-state -rm:has-state rdf:type owl:ObjectProperty ; +### http://onto.fel.cvut.cz/ontologies/record-manager/has-phase +rm:has-phase rdf:type owl:ObjectProperty ; rdfs:subPropertyOf rdf:type ; - rdfs:label "has state"@en . + rdfs:label "has phase"@en . ################################################################# @@ -169,29 +169,29 @@ rm:user rdf:type owl:Class ; rm:impersonator rdf:type owl:Class ; rdfs:label "Impersonator"@en . -### http://onto.fel.cvut.cz/ontologies/record-manager/record-state -rm:record-state 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 . -### http://onto.fel.cvut.cz/ontologies/record-manager/open-record-state -rm:open-record-state rdf:type owl:Class ; - rdfs:subClassOf rm:record-state ; +### 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 . -### http://onto.fel.cvut.cz/ontologies/record-manager/valid-record-state -rm:valid-record-state rdf:type owl:Class ; - rdfs:subClassOf rm:record-state ; +### 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 . -### http://onto.fel.cvut.cz/ontologies/record-manager/completed-record-state -rm:completed-record-state rdf:type owl:Class ; - rdfs:subClassOf rm:record-state ; +### 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 . -### http://onto.fel.cvut.cz/ontologies/record-manager/published-record-state -rm:published-record-state rdf:type owl:Class ; - rdfs:subClassOf rm:record-state ; +### 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 . ### Generated by the OWL API (version 4.2.8.20170104-2310) https://github.com/owlcs/owlapi