From: Lady Date: Fri, 13 Sep 2024 03:21:12 +0000 (-0400) Subject: Refine Awol model X-Git-Url: https://git.ladys.computer/Vocab/commitdiff_plain/795c962df1df941a81b9a8072ba096c502506008?hp=4784155dc1747d17da2249e4c09cf70f4347906b Refine Awol model - awol:Content can simply be equivalent to “anything with an awol:body or an awol:src”, and its restrictions are consequently inherited by any object which uses those properties. This simplifies the model, and makes it better match intended usage. awol:Content and awol:Link are made disjoint to prevent confusion with awol:lang and awol:type, which can (now) apply to either. - awol:lang in particular is refined to not just provide the language of awol:Link¦s, but potentially any resource (as is true of awol:type). However, a domain restriction is made: If awol:Content has an awol:body which is a language‐tagged string, it must not also have an awol:lang. This continues to offer two possible encodings for plaintext content, one as an xsd:string with an awol:type of `text/plain` and an awol:lang, and another as a language‐tagged string with no awol:type or awol:lang. The latter is preferred. - Many things are now classified as foaf:Document¦s which previously weren¦t, but reasonably should have been. --- diff --git "a/data/classes/awol\302\246Content" "b/data/classes/awol\302\246Content" index 3728772..5ff1bf0 100644 --- "a/data/classes/awol\302\246Content" +++ "b/data/classes/awol\302\246Content" @@ -42,38 +42,18 @@ SPDX-License-Identifier: CC0-1.0 - - - - - - - 1 - - - - - - 0 - - - - - - - - - - 0 - - - - - - 1 - - - + + + + + 1 + + + + + + 1 + @@ -150,4 +130,7 @@ SPDX-License-Identifier: CC0-1.0 + + + diff --git "a/data/classes/awol\302\246HTML" "b/data/classes/awol\302\246HTML" index d71058c..cfffc64 100644 --- "a/data/classes/awol\302\246HTML" +++ "b/data/classes/awol\302\246HTML" @@ -17,7 +17,6 @@ SPDX-License-Identifier: CC0-1.0 - diff --git "a/data/classes/awol\302\246PlainText" "b/data/classes/awol\302\246PlainText" index da6a61b..e2f41bc 100644 --- "a/data/classes/awol\302\246PlainText" +++ "b/data/classes/awol\302\246PlainText" @@ -17,7 +17,12 @@ SPDX-License-Identifier: CC0-1.0 - + + + + + 1 + diff --git "a/data/classes/awol\302\246Version" "b/data/classes/awol\302\246Version" index 8a1f973..7448b9d 100644 --- "a/data/classes/awol\302\246Version" +++ "b/data/classes/awol\302\246Version" @@ -8,7 +8,7 @@ SPDX-License-Identifier: CC0-1.0

- A version of something. + A versioned Document.

Following , Versions must have exactly one , used to associate related Versions with one another, and one , used to determine the most recent Version. @@ -18,6 +18,9 @@ SPDX-License-Identifier: CC0-1.0 + + + diff --git "a/data/classes/awol\302\246XHTML" "b/data/classes/awol\302\246XHTML" index 5af7c6b..fdd0fe8 100644 --- "a/data/classes/awol\302\246XHTML" +++ "b/data/classes/awol\302\246XHTML" @@ -20,7 +20,6 @@ SPDX-License-Identifier: CC0-1.0 - diff --git "a/data/datatype_properties/awol\302\246body" "b/data/datatype_properties/awol\302\246body" index 01dd89e..dbae65a 100644 --- "a/data/datatype_properties/awol\302\246body" +++ "b/data/datatype_properties/awol\302\246body" @@ -8,7 +8,7 @@ SPDX-License-Identifier: CC0-1.0

- The body of this thing. + The body of this Content.

X·M·L data should be provided as a ; binary data may be provided as a . @@ -24,11 +24,8 @@ SPDX-License-Identifier: CC0-1.0 - - - - - + + diff --git "a/data/datatype_properties/awol\302\246lang" "b/data/datatype_properties/awol\302\246lang" index 2ea2cb2..009e029 100644 --- "a/data/datatype_properties/awol\302\246lang" +++ "b/data/datatype_properties/awol\302\246lang" @@ -8,20 +8,48 @@ SPDX-License-Identifier: CC0-1.0

- The language of the thing this Link is linking to. + The language of this thing.

- When the link relation of this Link is , the presence of a language implies that the thing being linked to is a translation of the Links . + For Content which has a body, the language is the base language of that body. + For Content which has a source, the language is the base language of the source. + For Links, the language is that of the thing being linked to. +

+

+ This property cannot be used on Content whose body is a language‐tagged string.

- defines the domain of this property as being instead, but this appears to be a confusion; the documentation clearly links to the specification for hreflang (a property of Links in ), not language signification in general. + When the link relation of this Link is , the presence of a language implies that the thing being linked to is a translation of the Links .

+ + + - + + + + + + + + + + + + + + + + + + + + + diff --git "a/data/datatype_properties/awol\302\246type" "b/data/datatype_properties/awol\302\246type" index 0265f85..20856c6 100644 --- "a/data/datatype_properties/awol\302\246type" +++ "b/data/datatype_properties/awol\302\246type" @@ -11,8 +11,8 @@ SPDX-License-Identifier: CC0-1.0 The media type of this thing.

- For things which have a body, the media type is the type of that body. - For things which have a source, the media type is the type of the source. + For Content which has a body, the media type is the type of that body. + For Content which has a source, the media type is the type of the source. For Links, the media type is that of the thing being linked to.

diff --git "a/data/object_properties/awol\302\246src" "b/data/object_properties/awol\302\246src" index d29d772..c2ac17d 100644 --- "a/data/object_properties/awol\302\246src" +++ "b/data/object_properties/awol\302\246src" @@ -8,17 +8,16 @@ SPDX-License-Identifier: CC0-1.0

- The resource which provides the body of this thing. + The Document which provides the body of this Content.

- - - - - + + + +