X-Git-Url: https://git.ladys.computer/Vocab/blobdiff_plain/0a76464f0d4d1f8aa89f86ab71417942fed37d7f..2f9af9a7ee7f501ca6bc102f0f0a6f689f391b51:/data/datatype_properties/awol%C2%A6lang 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 <label xml:lang="en">language</label> <comment xml:lang="en"> <p> - The language of the thing this <ref target="awol:Link">Link</ref> is <ref target="awol:to">linking to</ref>. + The language of this thing. </p> <p> - When the <ref target="awol:rel">link relation</ref> of this Link is <ptr target="rel:alternate" type="individual"/>, the presence of a language implies that the thing being linked to is a translation of the Links <ptr target="awol:subject"/>. + For <ref target="awol:Content">Content</ref> which <ref target="awol:body">has a body</ref>, the language is the base language of that body. + For <ref target="awol:Content">Content</ref> which <ref target="awol:src">has a source</ref>, the language is the base language of the source. + For <ref target="awol:Link">Links</ref>, the language is that of the thing being <ref target="awol:to">linked to</ref>. + </p> + <p> + This property cannot be used on Content whose body is a languageātagged string. </p> <p> - <ptr target="(AWOL)"/> defines the domain of this property as being <ptr target="awol:Content"/> instead, but this appears to be a confusion; the documentation clearly links to the specification for <code>hreflang</code> (a property of Links in <ptr target="(RFC4287)"/>), not language signification in general. + When the <ref target="awol:rel">link relation</ref> of this Link is <ptr target="rel:alternate" type="individual"/>, the presence of a language implies that the thing being linked to is a translation of the Links <ptr target="awol:subject"/>. </p> </comment> <isDefinedBy> <SpecificResource source="(AWOL)" fragment="lang"/> </isDefinedBy> + <subPropertyOf> + <resource name="dc11:language"/> + </subPropertyOf> <domain> - <resource name="awol:Link"/> + <Class> + <complementOf> + <Restriction> + <onProperty> + <resource name="awol:body"/> + </onProperty> + <someValuesFrom> + <Datatype> + <intersectionOf> + <resource name="rdf:PlainLiteral"/> + <Datatype> + <datatypeComplementOf> + <resource name="xsd:string"/> + </datatypeComplementOf> + </Datatype> + </intersectionOf> + </Datatype> + </someValuesFrom> + </Restriction> + </complementOf> + </Class> </domain> <range> <resource name="xsd:language"/>