Skip to content

Commit

Permalink
[#29] Refactor state to phase in ontology and jopa model
Browse files Browse the repository at this point in the history
  • Loading branch information
kostobog committed Dec 12, 2023
1 parent 1da56ae commit 164974d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion src/main/java/cz/cvut/kbss/study/model/PatientRecord.java
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
34 changes: 17 additions & 17 deletions src/main/resources/model.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -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 .


#################################################################
Expand Down Expand Up @@ -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

0 comments on commit 164974d

Please sign in to comment.