Skip to content

Commit

Permalink
Create new objState ontology.
Browse files Browse the repository at this point in the history
Remove status from repository ontology.

Resolves: https://jira.duraspace.org/browse/FCREPO-1363
  • Loading branch information
whikloj authored and Andrew Woods committed Mar 13, 2015
1 parent 9bade9e commit 8876610
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 21 deletions.
49 changes: 49 additions & 0 deletions objState.rdf
@@ -0,0 +1,49 @@
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="owl2html.xsl"?>

<!DOCTYPE rdf:RDF [
<!ENTITY owl "http://www.w3.org/2002/07/owl#" >
<!ENTITY xsd "http://www.w3.org/2001/XMLSchema#" >
<!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#" >
<!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#" >
]>


<rdf:RDF xmlns="http://fedora.info/definitions/1/0/access/objState"
xml:base="http://fedora.info/definitions/1/0/access"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">

<owl:Ontology rdf:about="http://fedora.info/definitions/1/0/access/objState">
<rdfs:label xml:lang="en">Fedora Commons Repository - Object Status Property</rdfs:label>
<rdfs:comment xml:lang="en">Object status property</rdfs:comment>
<owl:versionInfo>v4/2015/03/10</owl:versionInfo>
</owl:Ontology>

<owl:ObjectProperty rdf:about="http://fedora.info/definitions/1/0/access/objState">
<rdfs:label xml:lang="en">status</rdfs:label>
<rdfs:comment xml:lang="en">Describes the state of a resource, such as active or deleted.</rdfs:comment>
<rdfs:domain rdf:resource="http://fedora.info/definitions/v4/repository#Resource"/>
<rdfs:range rdf:resource="http://fedora.info/definitions/1/0/access/ResourceStatus"/>
</owl:ObjectProperty>

<owl:Class rdf:about="http://fedora.info/definitions/1/0/access/ResourceStatus">
<rdfs:label xml:lang="en">resource state</rdfs:label>
<rdfs:comment xml:lang="en">Values of the state property. The out-of-the-box values are active and deleted -- but additional values can be created.</rdfs:comment>
</owl:Class>

<owl:NamedIndividual rdf:about="http://fedora.info/definitions/1/0/access/active">
<rdfs:label xml:lang="en">active</rdfs:label>
<rdfs:comment xml:lang="en">The resource is active.</rdfs:comment>
<rdf:type rdf:resource="http://fedora.info/definitions/1/0/access/ResourceStatus"/>
</owl:NamedIndividual>

<owl:NamedIndividual rdf:about="http://fedora.info/definitions/1/0/access/deleted">
<rdfs:label xml:lang="en">deleted</rdfs:label>
<rdfs:comment xml:lang="en">The resource has been marked for deletion.</rdfs:comment>
<rdf:type rdf:resource="http://fedora.info/definitions/1/0/access/ResourceStatus"/>
</owl:NamedIndividual>

</rdf:RDF>
21 changes: 0 additions & 21 deletions repository.rdf
Expand Up @@ -799,27 +799,6 @@
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#boolean"/>
</owl:DatatypeProperty>

<owl:ObjectProperty rdf:about="http://fedora.info/definitions/v4/repository#status">
<rdfs:label xml:lang="en">status</rdfs:label>
<rdfs:comment xml:lang="en">Describes the status of a resource, such as active or deleted.</rdfs:comment>
<rdfs:domain rdf:resource="http://fedora.info/definitions/v4/repository#Resource"/>
<rdfs:range rdf:resource="http://fedora.info/definitions/v4/repository#ResourceStatus"/>
</owl:ObjectProperty>
<owl:Class rdf:about="http://fedora.info/definitions/v4/repository#ResourceStatus">
<rdfs:label xml:lang="en">resource status</rdfs:label>
<rdfs:comment xml:lang="en">Values of the status property. The default values are active and deleted -- but additional values can be created.</rdfs:comment>
</owl:Class>
<owl:NamedIndividual rdf:about="http://fedora.info/definitions/v4/repository#active">
<rdfs:label xml:lang="en">active</rdfs:label>
<rdfs:comment xml:lang="en">The resource is active.</rdfs:comment>
<rdf:type rdf:resource="http://fedora.info/definitions/v4/repository#ResourceStatus"/>
</owl:NamedIndividual>
<owl:NamedIndividual rdf:about="http://fedora.info/definitions/v4/repository#deleted">
<rdfs:label xml:lang="en">deleted</rdfs:label>
<rdfs:comment xml:lang="en">The resource has been marked for deletion.</rdfs:comment>
<rdf:type rdf:resource="http://fedora.info/definitions/v4/repository#ResourceStatus"/>
</owl:NamedIndividual>

</rdf:RDF>


Expand Down

0 comments on commit 8876610

Please sign in to comment.