]> Lady’s Gitweb - Vocab/blob - data/classes/anno¦TextQuoteSelector
Initial commit; initial set of vocabs
[Vocab] / data / classes / anno¦TextQuoteSelector
1 <?xml version="1.0"?>
2 <!--
3 SPDX-FileCopyrightText: 2024 Lady <https://www.ladys.computer/about/#lady>
4 SPDX-License-Identifier: CC0-1.0
5 -->
6 <!DOCTYPE Class SYSTEM "../../DTD">
7 <Class>
8 <label xml:lang="en">Text Quote Selector</label>
9 <comment xml:lang="en">
10 <p>
11 A <ref target="anno:Selector">Selector</ref> which describes an area of interest in another thing which matches an <ref target="anno:exact">exact</ref> string.
12 </p>
13 <p>
14 To disambiguate multiple potential matches, one can also specify text which <ref target="anno:prefix">prefixes</ref> and <ref target="anno:suffix">suffixes</ref> the match.
15 Text is matched based on Unicode scalar values and is encoding‐agnostic.
16 Text matching must follow the logical, not rendered, order of the text.
17 Text must be normalized to plaintext before matching; this selector does not match markup.
18 In X·M·L and H·T·M·L, that means it selects only on the sequence of text nodes in the document, in document order, after all entities have been expanded.
19 </p>
20 <p>
21 If there are multiple matches, even after taking into account any prefix or suffix, then this selector selects all of them.
22 </p>
23 </comment>
24 <isDefinedBy>
25 <SpecificResource source="(ANNO)" fragment="textquoteselector"/>
26 </isDefinedBy>
27 <subClassOf>
28 <resource name="anno:Selector"/>
29 </subClassOf>
30 <subClassOf>
31 <Restriction>
32 <onProperty>
33 <resource name="anno:exact"/>
34 </onProperty>
35 <cardinality>1</cardinality>
36 </Restriction>
37 </subClassOf>
38 <subClassOf>
39 <Restriction>
40 <onProperty>
41 <resource name="anno:prefix"/>
42 </onProperty>
43 <maxCardinality>1</maxCardinality>
44 </Restriction>
45 </subClassOf>
46 <subClassOf>
47 <Restriction>
48 <onProperty>
49 <resource name="anno:suffix"/>
50 </onProperty>
51 <maxCardinality>1</maxCardinality>
52 </Restriction>
53 </subClassOf>
54 </Class>
This page took 0.13789 seconds and 5 git commands to generate.