Skip to content

Commit

Permalink
[kbss-cvut/23ava-distribution#78] Change rm:user to foaf:Person
Browse files Browse the repository at this point in the history
Refactor sources and data.
  • Loading branch information
blcham committed May 3, 2024
1 parent 924c26f commit f14c551
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
DELETE {
?u a ?userClass .
}
INSERT {
?u a <http://xmlns.com/foaf/0.1/Person> .
}
WHERE {
?u a ?userClass .
FILTER(?userClass = <http://onto.fel.cvut.cz/ontologies/fta-fmea-application/user>)
}
3 changes: 2 additions & 1 deletion src/utils/VocabularyUtils.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
const _NS_FTA_FMEA = "http://onto.fel.cvut.cz/ontologies/fta-fmea-application/";
const _NS_FOAF = "http://xmlns.com/foaf/0.1/";
const DC_TERMS = "http://purl.org/dc/terms/";

export default {
PREFIX: _NS_FTA_FMEA,
DC_TERMS: DC_TERMS,
USER: _NS_FTA_FMEA + "user",
USER: _NS_FOAF + "Person",
COMPONENT: _NS_FTA_FMEA + "component",
MITIGATION: _NS_FTA_FMEA + "mitigation",
FUNCTION: _NS_FTA_FMEA + "function",
Expand Down

0 comments on commit f14c551

Please sign in to comment.