<?xml version="1.0"?>
<!--
SPDX-FileCopyrightText: 2024 Lady <https://www.ladys.computer/about/#lady>
SPDX-License-Identifier: CC0-1.0
-->
<!DOCTYPE Class SYSTEM "../../DTD">
<Class>
	<label xml:lang="en">Fragment Selector</label>
	<comment xml:lang="en">
		<p>
			A <ref target="anno:Selector">Selector</ref> which describes the area of interest which results from interpreting its <ref target="rdf:value">value</ref> as an I·R·I fragment.
		</p>
		<p>
			It is recommended that a <ptr target="dcterms:conformsTo"/> property provide a relevant specification describing the correct interpretation of the fragment identifier.
			This ontology recommends the following values :⁠—
		</p>
		<table>
			<row role="label">
				<cell>Specification</cell>
				<cell>Specified Behaviour</cell>
			</row>
			<row>
				<cell role="label"><ptr target="(RFC5147)"/></cell>
				<cell>Fragment identifiers for plaintext resources</cell>
			</row>
			<row>
				<cell role="label"><ptr target="(RFC7303)"/></cell>
				<cell>Fragment identifiers for X·M·L resources (including X·H·T·M·L)</cell>
			</row>
			<row>
				<cell role="label"><ptr target="(HTML)"/></cell>
				<cell>Fragment identifiers for H·T·M·L resources</cell>
			</row>
			<row>
				<cell role="label"><ptr target="(SVG2)"/></cell>
				<cell>Fragment identifiers for S·V·G resources</cell>
			</row>
			<row>
				<cell role="label"><ptr target="(MEDIA-FRAGS)"/></cell>
				<cell>Fragment identifiers for multimedia resources</cell>
			</row>
		</table>
		<p>
			Note that above values are <em>not</em> the same as specified by <ptr target="(ANNO)"/>, which favours old, legacy R·F·C¦s in many instances.
		</p>
	</comment>
	<isDefinedBy>
		<SpecificResource source="(ANNO)" fragment="fragmentselector"/>
	</isDefinedBy>
	<subClassOf>
		<resource name="anno:Selector"/>
	</subClassOf>
	<subClassOf>
		<Restriction>
			<onProperty>
				<resource name="rdf:value"/>
			</onProperty>
			<cardinality>1</cardinality>
		</Restriction>
	</subClassOf>
	<subClassOf>
		<Restriction>
			<onProperty>
				<resource name="rdf:value"/>
			</onProperty>
			<allValuesFrom>
				<resource name="xsd:string"/>
			</allValuesFrom>
		</Restriction>
	</subClassOf>
</Class>