From c648abd2a4c240511a0c0fae13d008c061d7a88a Mon Sep 17 00:00:00 2001 From: uscholdm Date: Mon, 23 Oct 2023 21:42:10 -0400 Subject: [PATCH 1/9] Remove tagText property --- gistCore.ttl | 25 ++++++++----------------- 1 file changed, 8 insertions(+), 17 deletions(-) diff --git a/gistCore.ttl b/gistCore.ttl index 4ba97b85..f1c2feb1 100644 --- a/gistCore.ttl +++ b/gistCore.ttl @@ -2286,17 +2286,14 @@ gist:System gist:Tag a owl:Class ; - owl:equivalentClass [ - a owl:Class ; - owl:intersectionOf ( - gist:Category - [ - a owl:Restriction ; - owl:onProperty gist:tagText ; - owl:someValuesFrom xsd:string ; - ] - ) ; - ] ; + rdfs:subClassOf + gist:Category , + [ + a owl:Restriction ; + owl:onProperty gist:containedText ; + owl:someValuesFrom xsd:string ; + ] + ; skos:definition "This is for folksonomy type terms, which can be made up on the fly by users."^^xsd:string ; skos:prefLabel "Tag"^^xsd:string ; . @@ -3840,12 +3837,6 @@ gist:startDateTime ; . -gist:tagText - a owl:DatatypeProperty ; - skos:definition "Used for folksonomy style categories (non controlled vocabulary)"^^xsd:string ; - skos:prefLabel "tag text"^^xsd:string ; - . - gist:uniqueText a owl:DatatypeProperty , From 1552afadb7f32dba071c6ebbe4bd7130b961daf3 Mon Sep 17 00:00:00 2001 From: uscholdm Date: Mon, 23 Oct 2023 21:52:58 -0400 Subject: [PATCH 2/9] Mad uniqueText a subproperty of containedText --- gistCore.ttl | 1 + 1 file changed, 1 insertion(+) diff --git a/gistCore.ttl b/gistCore.ttl index f1c2feb1..92f886c4 100644 --- a/gistCore.ttl +++ b/gistCore.ttl @@ -3842,6 +3842,7 @@ gist:uniqueText owl:DatatypeProperty , owl:FunctionalProperty ; + rdfs:subPropertyOf gist:containedText ; rdfs:range xsd:string ; skos:definition "The unique string value of some content object; i.e., there is no possibility of having more than one value."^^xsd:string ; skos:example "The unique string for a vehicle identification number."^^xsd:string ; From c6ffbc182ee8cdf2dc1fc0db72536ee10c4f7d48 Mon Sep 17 00:00:00 2001 From: uscholdm Date: Mon, 23 Oct 2023 21:59:10 -0400 Subject: [PATCH 3/9] Removed reference to Text class in the definition of containedText --- gistCore.ttl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gistCore.ttl b/gistCore.ttl index 92f886c4..8adaade9 100644 --- a/gistCore.ttl +++ b/gistCore.ttl @@ -2934,8 +2934,9 @@ gist:conformsTo gist:containedText a owl:DatatypeProperty ; rdfs:range xsd:string ; - skos:definition "Links to the string corresponding to Text"^^xsd:string ; + skos:definition "A string that is closely associated with an individual."^^xsd:string ; skos:prefLabel "contained text"^^xsd:string ; + gist:domainIncludes gist:Text ; . gist:contributesTo From 0a893811d51f5ae32d5828eb1148f2af594a7dc3 Mon Sep 17 00:00:00 2001 From: uscholdm Date: Mon, 23 Oct 2023 22:03:43 -0400 Subject: [PATCH 4/9] Braodened range of containedText to include anyURI --- gistCore.ttl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gistCore.ttl b/gistCore.ttl index 8adaade9..1b7517be 100644 --- a/gistCore.ttl +++ b/gistCore.ttl @@ -2933,7 +2933,13 @@ gist:conformsTo gist:containedText a owl:DatatypeProperty ; - rdfs:range xsd:string ; + rdfs:range [ + a owl:Class ; + owl:unionOf ( + xsd:string + xsd:anyURI + ) ; + ] ; skos:definition "A string that is closely associated with an individual."^^xsd:string ; skos:prefLabel "contained text"^^xsd:string ; gist:domainIncludes gist:Text ; From f257c719ebd58fc388459905862a664e74e5cb65 Mon Sep 17 00:00:00 2001 From: uscholdm Date: Tue, 24 Oct 2023 10:09:55 -0400 Subject: [PATCH 5/9] Added examples and domainIncludes for containedText --- gistCore.ttl | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gistCore.ttl b/gistCore.ttl index 1b7517be..6b826db7 100644 --- a/gistCore.ttl +++ b/gistCore.ttl @@ -2941,8 +2941,15 @@ gist:containedText ) ; ] ; skos:definition "A string that is closely associated with an individual."^^xsd:string ; + skos:example + "The string associated with a tag."^^xsd:string , + "The string associated with text content."^^xsd:string + ; skos:prefLabel "contained text"^^xsd:string ; - gist:domainIncludes gist:Text ; + gist:domainIncludes + gist:Tag , + gist:Text + ; . gist:contributesTo From b7265939d9475ba5394074aeddbd0542cf4ceca6 Mon Sep 17 00:00:00 2001 From: uscholdm Date: Wed, 25 Oct 2023 19:57:23 -0400 Subject: [PATCH 6/9] Undid some chagnes that would make it a major versrion --- gistCore.ttl | 37 ++++++++++++++++++++----------------- 1 file changed, 20 insertions(+), 17 deletions(-) diff --git a/gistCore.ttl b/gistCore.ttl index 6b826db7..f1993c28 100644 --- a/gistCore.ttl +++ b/gistCore.ttl @@ -2286,15 +2286,18 @@ gist:System gist:Tag a owl:Class ; - rdfs:subClassOf - gist:Category , - [ - a owl:Restriction ; - owl:onProperty gist:containedText ; - owl:someValuesFrom xsd:string ; - ] - ; - skos:definition "This is for folksonomy type terms, which can be made up on the fly by users."^^xsd:string ; + owl:equivalentClass [ + a owl:Class ; + owl:intersectionOf ( + gist:Category + [ + a owl:Restriction ; + owl:onProperty gist:tagText ; + owl:someValuesFrom xsd:string ; + ] + ) ; + ] ; + skos:definition "A term in a folksonomy used to categorize things. Tags can be made up on the fly by users."^^xsd:string ; skos:prefLabel "Tag"^^xsd:string ; . @@ -2933,13 +2936,7 @@ gist:conformsTo gist:containedText a owl:DatatypeProperty ; - rdfs:range [ - a owl:Class ; - owl:unionOf ( - xsd:string - xsd:anyURI - ) ; - ] ; + rdfs:range xsd:string ; skos:definition "A string that is closely associated with an individual."^^xsd:string ; skos:example "The string associated with a tag."^^xsd:string , @@ -3851,12 +3848,18 @@ gist:startDateTime ; . +gist:tagText + a owl:DatatypeProperty ; + owl:deprecated "true"^^xsd:boolean ; + skos:definition "Used for folksonomy style categories (non controlled vocabulary)"^^xsd:string ; + skos:prefLabel "tag text"^^xsd:string ; + . + gist:uniqueText a owl:DatatypeProperty , owl:FunctionalProperty ; - rdfs:subPropertyOf gist:containedText ; rdfs:range xsd:string ; skos:definition "The unique string value of some content object; i.e., there is no possibility of having more than one value."^^xsd:string ; skos:example "The unique string for a vehicle identification number."^^xsd:string ; From 024ce756740811a609b061b14efcbfdd02e4599d Mon Sep 17 00:00:00 2001 From: uscholdm Date: Wed, 25 Oct 2023 20:12:36 -0400 Subject: [PATCH 7/9] Add release notes --- docs/release_notes/372-text-datatype-properties.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 docs/release_notes/372-text-datatype-properties.md diff --git a/docs/release_notes/372-text-datatype-properties.md b/docs/release_notes/372-text-datatype-properties.md new file mode 100644 index 00000000..87a953ee --- /dev/null +++ b/docs/release_notes/372-text-datatype-properties.md @@ -0,0 +1,8 @@ +### Minor Updates +Issue [#372](https://github.com/semanticarts/gist/issues/372). Changes: + +- Deprecated `tagText`, to be replaced by `containedText`. +- `containedText` + - Added domainIncludes `Tag` and `Text` + - Removed reference to Text class in the definition + - Added examples From 76d0c65629b2437f7bb36c6b55d2c3f80037d866 Mon Sep 17 00:00:00 2001 From: uscholdm Date: Wed, 25 Oct 2023 20:25:31 -0400 Subject: [PATCH 8/9] ADded editorial note to Tag class. --- gistCore.ttl | 1 + 1 file changed, 1 insertion(+) diff --git a/gistCore.ttl b/gistCore.ttl index f1993c28..a1a48d70 100644 --- a/gistCore.ttl +++ b/gistCore.ttl @@ -2298,6 +2298,7 @@ gist:Tag ) ; ] ; skos:definition "A term in a folksonomy used to categorize things. Tags can be made up on the fly by users."^^xsd:string ; + skos:editorialNote "See guidance on removing tagText property in the next major release at https://github.com/semanticarts/gist/issues/947#issuecomment-1780220876."^^xsd:string ; skos:prefLabel "Tag"^^xsd:string ; . From dc5db955ef852320ddbee5ef5f45e27cde634eff Mon Sep 17 00:00:00 2001 From: uscholdm Date: Mon, 30 Oct 2023 10:08:43 -0400 Subject: [PATCH 9/9] Updated release notes --- docs/release_notes/372-text-datatype-properties.md | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/docs/release_notes/372-text-datatype-properties.md b/docs/release_notes/372-text-datatype-properties.md index 87a953ee..a4927144 100644 --- a/docs/release_notes/372-text-datatype-properties.md +++ b/docs/release_notes/372-text-datatype-properties.md @@ -1,8 +1,7 @@ ### Minor Updates -Issue [#372](https://github.com/semanticarts/gist/issues/372). Changes: - -- Deprecated `tagText`, to be replaced by `containedText`. -- `containedText` - - Added domainIncludes `Tag` and `Text` - - Removed reference to Text class in the definition - - Added examples + - `gist:tagText` to be replaced by `gist:containedText`Issue [#372](https://github.com/semanticarts/gist/issues/372). + - Deprecated `gist:tagText`. + - `containedText`: + - Added domainIncludes `Tag` and `Text` + - Removed reference to Text class in the definition + - Added examples