<?xml version="1.0"?>
<!--
SPDX-FileCopyrightText: 2024 Lady <https://www.ladys.computer/about/#lady>
SPDX-License-Identifier: CC0-1.0
-->
<!DOCTYPE DatatypeProperty SYSTEM "../../DTD">
<DatatypeProperty functional="yes">
	<label xml:lang="en">language</label>
	<comment xml:lang="en">
		<p>
			The language of this thing.
		</p>
		<p>
			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>
			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>
		<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"/>
	</range>
</DatatypeProperty>