Skip to content

Commit

Permalink
Merge pull request #86 from kbss-cvut/change-rm-user-to-foaf-person
Browse files Browse the repository at this point in the history
[kbss-cvut/23ava-distribution#78] Change rm:user to foaf:Person
  • Loading branch information
blcham authored May 3, 2024
2 parents 60b604e + 81668ea commit 1bc45f9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
9 changes: 5 additions & 4 deletions ontology-generator/ontology/fta-fmea-model.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix dc-terms: <http://purl.org/dc/terms/> .
@prefix fta-fmea: <http://onto.fel.cvut.cz/ontologies/fta-fmea-application/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@base <http://onto.fel.cvut.cz/ontologies/reliability-analysis-application> .

<http://onto.fel.cvut.cz/ontologies/reliability-analysis-application> rdf:type owl:Ontology ;
Expand Down Expand Up @@ -459,7 +460,7 @@ fta-fmea:occurrence rdf:type owl:DatatypeProperty ;

### http://onto.fel.cvut.cz/ontologies/fta-fmea-application/password
fta-fmea:password rdf:type owl:DatatypeProperty ;
rdfs:domain fta-fmea:user ;
rdfs:domain foaf:Person ;
rdfs:range xsd:string ;
rdfs:label "password" .

Expand Down Expand Up @@ -487,7 +488,7 @@ fta-fmea:severity rdf:type owl:DatatypeProperty ;

### http://onto.fel.cvut.cz/ontologies/fta-fmea-application/username
fta-fmea:username rdf:type owl:DatatypeProperty ;
rdfs:domain fta-fmea:user ;
rdfs:domain foaf:Person ;
rdfs:range xsd:string ;
rdfs:label "username" .

Expand Down Expand Up @@ -602,8 +603,8 @@ fta-fmea:system rdf:type owl:Class ;
rdfs:label "system" .


### http://onto.fel.cvut.cz/ontologies/fta-fmea-application/user
fta-fmea:user rdf:type owl:Class ;
### http://xmlns.com/foaf/0.1/Person
foaf:Person rdf:type owl:Class ;
rdfs:label "user" .

### http://onto.fel.cvut.cz/ontologies/fta-fmea-application/editor
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/cz/cvut/kbss/analysis/model/User.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

import static java.util.stream.Collectors.toList;

@OWLClass(iri = Vocabulary.s_c_user)
@OWLClass(iri = Vocabulary.s_c_Person)
@Getter
@Setter
public class User extends AbstractEntity implements UserDetails {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import lombok.Getter;
import lombok.Setter;

@OWLClass(iri = Vocabulary.s_c_user)
@OWLClass(iri = Vocabulary.s_c_Person)
@Getter
@Setter
public class UserReference extends AbstractEntity{
Expand Down

0 comments on commit 1bc45f9

Please sign in to comment.