You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: principles/fp-019-term-stability.md
+15-15Lines changed: 15 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ Recommendations and Requirements
21
21
22
22
If changing a term definition would change its referents, then instead a new term MUST be created with a new IRI and the new definition. Minor changes to the definition for clarity, grammar, and/or proper punctuation that do not change the referents are permitted. What is considered a 'minor change' will likely need to be considered on a case-by-case basis; it is left to the ontology developers to decide. However, any feedback from users MUST be taken into account.
23
23
24
-
Conditions under which a term must be deprecated according to this principle, or for which term deprecation should be considered, include:
24
+
The creation of a new term/definition implies that the old term should possibly be deprecated/obsoleted. Conditions under which a term MUST be deprecated according to this principle, or for which term deprecation SHOULD be considered, include:
25
25
26
26
1) The old textual definition misses its intended target. This includes cases where the term refers to non-existent referents (as might happen, for example, when new research reveals that the referent does not exist in reality).
27
27
1) The original term definition is considered sufficiently “damaged” (too vague, too restrictive, too misused or too misunderstood).
@@ -37,24 +37,24 @@ Detailed procedures for obsoleting a term are described on the OBO Academy page
37
37
1) Mark the term as obsolete
38
38
- OWL format: Add an "owl:deprecated" annotation property with value of "true^xsd:boolean"
39
39
- OBO format: Add an "is_obsolete: true" tag
40
-
2) Prepend the string "obsolete " (including the space) to the term label
40
+
2) Prepend the string "obsolete " (including the space) to the term label <i>and</i> the `editor preferred term` (IAO:0000111), if present
41
41
- NOTE: To be consistent with [Principle 12](https://obofoundry.org/principles/fp-012-naming-conventions.html) "Naming Conventions", the syntax/format MUST be precisely as given above (that is, the exact string as shown, lowercase and space included, with no other punctuation before or after). Thus, the following are disallowed: "Obsolete {label}", "obsolete_{label}", "OBSOLETE {label}" (and variations thereof).
42
42
3) Remove all existing logical axioms from the term
43
-
4) Remove or replace all usages of the term elsewhere in the ontology
43
+
4) Remove or replace all usages of the term elsewhere in the ontology. For example, if an ontology has A part-of B, and B has been deprecated with replacement by C, then the corrected axiom would be A part-of C. Likewise, if A part-of B, and B part-of C, if B is deprecated, then any part-of axiom involving B MUST be removed; that is, by stating instead A part-of C.
44
44
45
45
It is not necessary (and not advisable) to delete the textual definition.
46
46
47
47
<i><b>To obsolete a term, the ontology developer</b></i> SHOULD:
48
48
1) Indicate any exact term replacement:
49
-
- OWL: Use the "term replaced by" annotation property from OMO ([IAO:0100001](http://purl.obolibrary.org/obo/IAO_0100001)) with the value set to the IRI of the relevant term
50
-
- OBO: Use the "replaced_by:" tag with the value set to the CURIE of the relevant term
49
+
- OWL: Use the `term replaced by` annotation property from OMO ([IAO:0100001](http://purl.obolibrary.org/obo/IAO_0100001)) with the value set to the IRI of the relevant term
50
+
- OBO: Use the `replaced_by:` tag with the value set to the CURIE of the relevant term
51
51
2) Indicate any inexact term replacements:
52
-
- OWL: Use the "oboInOwl:consider" annotation property with the value set to the full IRI(s) of the relevant term(s)
52
+
- OWL: Use the `oboInOwl:consider` annotation property with the value set to the full IRI(s) of the relevant term(s)
- OBO: Use the "consider:" tag with the value set to the CURIE(s) of the relevant term(s)
57
+
- OBO: Use the `consider:` tag with the value set to the CURIE(s) of the relevant term(s)
58
58
```
59
59
consider: OBI:0001544
60
60
```
@@ -68,8 +68,8 @@ Note that some older implementations in OWL used the CURIE method as shown below
68
68
69
69
1) Prepend the string "OBSOLETE. " (this precise string, including the space) to the term definition. NOTE: This MUST be implemented consistently. That is, if applied at all, it has to be applied to every obsoleted term definition.
70
70
2) Indicate the reason(s) for obsoleting:
71
-
- OWL: Use the "has obsolescence reason" annotation property from OMO ([IAO:0000231](http://purl.obolibrary.org/obo/IAO_0000231)) with the value set to the IRI of one of the individuals of the "obsolescence reason specification" term [IAO:0000225](http://purl.obolibrary.org/obo/IAO_0000225). See below for example.
72
-
- OBO: Use "relationship:" with the CURIE for the annotation property (IAO:0000231) and a CURIE for the specific reason (an individual from the "obsolescence reason specification" term [IAO:0000225](http://purl.obolibrary.org/obo/IAO_0000225)). See below for example. Note that older implementations often used alternative methods (described after the examples). These methods are still valid, but are not preferred.
71
+
- OWL: Use the `has obsolescence reason` annotation property from OMO ([IAO:0000231](http://purl.obolibrary.org/obo/IAO_0000231)) with the value set to the IRI of one of the individuals of the "obsolescence reason specification" term [IAO:0000225](http://purl.obolibrary.org/obo/IAO_0000225). See below for example.
72
+
- OBO: Use `relationship:` with the CURIE for the annotation property (IAO:0000231) and a CURIE for the specific reason (an individual from the "obsolescence reason specification" term [IAO:0000225](http://purl.obolibrary.org/obo/IAO_0000225)). See below for example. Note that older implementations often used alternative methods (described after the examples). These methods are still valid, but are not preferred.
1)Use "property_value:" instead of "relationship:".
103
-
1)Use a free text "comment:".
104
-
1)Use the annotation property label (with underscores) instead of the CURIE "IAO:0000231", and the obsolescence reason label instead of the relevant CURIE. Note that the underscore version of the property label will need to be created in the ontology:
101
+
Obsolescence reasons have, historically, been indicated multiple ways. In addition to the preferred methods shown above, the following alternatives are in current use:
102
+
1)As a free text comment (`rdfs:comment` in OWL or `comment:` in OBO).
103
+
1)In OBO format, using a `property_value:` tag instead of a `relationship:` tag.
104
+
1)In OBO format, using an annotation property label-as-identifier (with underscores) instead of the CURIE `IAO:0000231`, and the obsolescence reason label instead of the relevant CURIE. Note that the underscore version of the property label will need to be created in the ontology:
105
105
```
106
106
[Typedef]
107
107
id: has_obsolescence_reason
@@ -127,8 +127,8 @@ Criteria for review
127
127
-------
128
128
129
129
The OBO Dashboard will show:
130
-
- An ERROR if any obsolete term (that is, a term with an "owl:deprecated" property or "is_obsolete: true" tag) does not also have 'obsolete ' (that exact string, lowercase and space included, with no other punctuation) prepended to the label
131
-
- An ERROR if any obsolete term (as indicated by term label or definition) lacks an "owl:deprecated" property or "is_obsolete: true" tag
130
+
- An ERROR if any obsolete term (that is, a term with an `owl:deprecated` property or `is_obsolete: true` tag) does not also have 'obsolete ' (that exact string, lowercase and space included, with no other punctuation) prepended to the label
131
+
- An ERROR if any obsolete term (as indicated by term label or definition) lacks an `owl:deprecated` property or `is_obsolete: true` tag
132
132
- An ERROR if an obsolete term has, itself, any logical axioms (including any subClassOf/is_a declarations) or if it is referenced by logical axioms from other terms
133
133
- A WARN if there is at least one term with 'OBSOLETE. ' prepended to the definition but not all obsolete terms are likewise prepended
0 commit comments