diff --git a/ontology-generator/ontology/fta-fmea-model.ttl b/ontology-generator/ontology/fta-fmea-model.ttl index a0cb187a..a5283f08 100644 --- a/ontology-generator/ontology/fta-fmea-model.ttl +++ b/ontology-generator/ontology/fta-fmea-model.ttl @@ -6,6 +6,7 @@ @prefix rdfs: . @prefix dc-terms: . @prefix fta-fmea: . +@prefix foaf: . @base . rdf:type owl:Ontology ; @@ -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" . @@ -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" . @@ -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 diff --git a/src/main/java/cz/cvut/kbss/analysis/model/User.java b/src/main/java/cz/cvut/kbss/analysis/model/User.java index 4c3f5c54..23d1dde0 100755 --- a/src/main/java/cz/cvut/kbss/analysis/model/User.java +++ b/src/main/java/cz/cvut/kbss/analysis/model/User.java @@ -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 { diff --git a/src/main/java/cz/cvut/kbss/analysis/model/UserReference.java b/src/main/java/cz/cvut/kbss/analysis/model/UserReference.java index cd2ebf55..d3736532 100644 --- a/src/main/java/cz/cvut/kbss/analysis/model/UserReference.java +++ b/src/main/java/cz/cvut/kbss/analysis/model/UserReference.java @@ -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{