Skip to content

Commit

Permalink
Add resourceModification supertype of contentModification and metadat…
Browse files Browse the repository at this point in the history
…aModification

- Add AllDifferent block asserting event types are all different

Resolves: https://jira.duraspace.org/browse/FCREPO-1475
  • Loading branch information
escowles authored and Andrew Woods committed Apr 23, 2015
1 parent 53756a2 commit c77d81b
Showing 1 changed file with 27 additions and 4 deletions.
31 changes: 27 additions & 4 deletions audit.rdf
Expand Up @@ -26,18 +26,19 @@
<owl:NamedIndividual rdf:about="http://fedora.info/definitions/v4/audit#contentModification">
<rdfs:label xml:lang="en">content modification</rdfs:label>
<skos:prefLabel xml:lang="en">content modification</skos:prefLabel>
<rdfs:comment xml:lang="en">A content file is modified.</rdfs:comment>
<skos:definition xml:lang="en">A content file is modified.</skos:definition>
<rdfs:comment xml:lang="en">A content file (bitstream) is modified.</rdfs:comment>
<skos:definition xml:lang="en">A content file (bitstream) is modified.</skos:definition>
<skos:inScheme rdf:resource="http://id.loc.gov/vocabulary/preservation/eventType"/>
<skos:inScheme rdf:resource="http://id.loc.gov/vocabulary/preservation"/>
<skos:broader rdf:resource="http://fedora.info/definitions/v4/audit#resourceModification"/>
<rdf:type rdf:resource="http://www.w3.org/2004/02/skos/core#Concept"/>
</owl:NamedIndividual>

<owl:NamedIndividual rdf:about="http://fedora.info/definitions/v4/audit#contentRemoval">
<rdfs:label xml:lang="en">content removal</rdfs:label>
<skos:prefLabel xml:lang="en">content removal</skos:prefLabel>
<rdfs:comment xml:lang="en">A content file is removed from the repository.</rdfs:comment>
<skos:definition xml:lang="en">A content file is removed from the repository.</skos:definition>
<rdfs:comment xml:lang="en">A content file (bitstream) is removed.</rdfs:comment>
<skos:definition xml:lang="en">A content file (bitstream) is removed.</skos:definition>
<skos:inScheme rdf:resource="http://id.loc.gov/vocabulary/preservation/eventType"/>
<skos:inScheme rdf:resource="http://id.loc.gov/vocabulary/preservation"/>
<rdf:type rdf:resource="http://www.w3.org/2004/02/skos/core#Concept"/>
Expand All @@ -51,7 +52,29 @@
updated.</skos:definition>
<skos:inScheme rdf:resource="http://id.loc.gov/vocabulary/preservation/eventType"/>
<skos:inScheme rdf:resource="http://id.loc.gov/vocabulary/preservation"/>
<skos:broader rdf:resource="http://fedora.info/definitions/v4/audit#resourceModification"/>
<rdf:type rdf:resource="http://www.w3.org/2004/02/skos/core#Concept"/>
</owl:NamedIndividual>

<owl:NamedIndividual rdf:about="http://fedora.info/definitions/v4/audit#resourceModification">
<rdfs:label xml:lang="en">resource modification</rdfs:label>
<skos:prefLabel xml:lang="en">resource modification</skos:prefLabel>
<rdfs:comment xml:lang="en">A content file or metadata is modified.</rdfs:comment>
<skos:definition xml:lang="en">A content file or metadata is modified.</skos:definition>
<skos:inScheme rdf:resource="http://id.loc.gov/vocabulary/preservation/eventType"/>
<skos:inScheme rdf:resource="http://id.loc.gov/vocabulary/preservation"/>
<skos:narrower rdf:resource="http://fedora.info/definitions/v4/audit#contentModification"/>
<skos:narrower rdf:resource="http://fedora.info/definitions/v4/audit#metadataModification"/>
<rdf:type rdf:resource="http://www.w3.org/2004/02/skos/core#Concept"/>
</owl:NamedIndividual>

<owl:AllDifferent>
<owl:distinctMembers rdf:parseType="Collection">
<owl:NamedIndividual rdf:about="http://fedora.info/definitions/v4/audit#contentModification"/>
<owl:NamedIndividual rdf:about="http://fedora.info/definitions/v4/audit#contentRemoval"/>
<owl:NamedIndividual rdf:about="http://fedora.info/definitions/v4/audit#metadataModification"/>
<owl:NamedIndividual rdf:about="http://fedora.info/definitions/v4/audit#resourceModification"/>
</owl:distinctMembers>
</owl:AllDifferent>

</rdf:RDF>

0 comments on commit c77d81b

Please sign in to comment.