Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[kbss-cvut/23ava-distribution#78] Change rm:user to foaf:Person #86

Merged
merged 1 commit into from
May 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading