Skip to content

Commit

Permalink
Merge pull request #36 from /issues/29-add-record-state
Browse files Browse the repository at this point in the history
Issues/29 fix phase resource labels and new phase
  • Loading branch information
blcham authored Dec 13, 2023
2 parents c0f1a7e + 815f536 commit 6b3511f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
4 changes: 3 additions & 1 deletion src/main/java/cz/cvut/kbss/study/model/RecordPhase.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
15 changes: 10 additions & 5 deletions src/main/resources/model.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -172,26 +172,31 @@ 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 .

### 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

0 comments on commit 6b3511f

Please sign in to comment.