owl:DeprecatedClass                             

Definition

Deprecation is a feature commonly used in versioning software (for example, see the Java programming language) to indicate that a particular feature is preserved for backward-compatibility purposes, but may be phased out in the future.

Here, a specific identifier is said to be of type owl:DeprecatedClass, a subclass of rdfs:Class.

Schema

    <rdfs:Class rdf:ID="DeprecatedClass">

        <rdfs:label>DeprecatedClass</rdfs:label>

        <rdfs:subClassOf rdf:resource="&rdfs;Class"/>

    </rdfs:Class>

Example listing

Triple

 

RDF/XML

An example of deprecation is:

    <owl:Ontology rdf:about="">

        <rdfs:comment>Vehicle Ontology, v. 1.1</rdfs:comment>

        <owl:backwardCompatibleWith rdf:resource="http://www.example.org/vehicle-1.0"/>

        <owl:priorVersion rdf:resource="http://www.example.org/vehicle-1.0"/>

    </owl:Ontology>

 

    <owl:DeprecatedClass rdf:ID="Automobile">

        <owl:equivalentClass rdf:resource="#Car"/>

        <rdfs:comment>Car is now preferred</rdfs:comment>

            <!-- note that equivalentClass only means that the classes have the same extension,

                   so this DOES NOT lead to the entailment that Car is of type DeprecatedClass too -->

    </owl:DeprecatedClass>

 

    <owl:Class rdf:ID="Car"/>

Other information

By deprecating a term, it means that the term should not be used in new documents that commit to the ontology. This allows an ontology to maintain backward-compatibility while phasing out an old vocabulary (thus, it only makes sense to use deprecation in combination with backward compatibility). As a result, it it easier for old data and applications to migrate to a new version, and thus can increase the level of adoption of the new version. This has no meaning in the model theoretic semantics other than that given by the RDF(S) model theory. However, authoring tools may use it to warn users when checking OWL markup.

Use in ISO 15926

Do not use.