]> Lady’s Gitweb - Vocab/blobdiff - data/datatype_properties/awol¦lang
Add airports; contact:nearestAirport
[Vocab] / data / datatype_properties / awol¦lang
index 2ea2cb2bc145cc4aa536b81af88e533df5ccc389..009e029ae929612673b32423ad63015976ae9386 100644 (file)
@@ -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"/>
This page took 0.021819 seconds and 4 git commands to generate.