]> Lady’s Gitweb - Vocab/blob - data/classes/awol¦Content
Initial commit; initial set of vocabs
[Vocab] / data / classes / awol¦Content
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">Content</label>
9 <comment xml:lang="en">
10 <p>
11 A thing which represents a specific representation of an information resource: that conveyed by its <ref target="awol:body">body</ref> or by its <ref target="awol:src">source</ref>.
12 </p>
13 <p>
14 <ptr target="(AWOL)"/> remarks that this class encompasses things similar to “what one can get from a H·T·T·P connection”, in that it has a body as well as other associated metadata (provided by its other properties).
15 Providing a literal body, rather than a source, is strongly preferred.
16 </p>
17 <p>
18 The <ref target="awol:type">media type</ref> of the body may be provided, regardless of whether the body is provided literally or via a source.
19 However, there are restrictions on literal bodies :⁠—
20 </p>
21 <list>
22 <item>
23 <p>
24 If the media type ends in <code>/xml</code> or <code>+xml</code> (case‐insensitively), then the literal body must not be a <resource name="rdf:PlainLiteral"/>.
25 </p>
26 </item>
27 <item>
28 <p>
29 If the media type is present, but does not end in <code>/xml</code> or <code>+xml</code> (case‐insensitively), then the literal body must not be a <resource name="rdf:XMLLiteral"/>.
30 </p>
31 </item>
32 <item>
33 <p>
34 If the body is a language‐tagged string, then there must not be a media type.
35 </p>
36 </item>
37 </list>
38 </comment>
39 <isDefinedBy>
40 <SpecificResource source="(AWOL)" fragment="Content"/>
41 </isDefinedBy>
42 <equivalentClass>
43 <Class>
44 <unionOf>
45 <Class>
46 <intersectionOf>
47 <Restriction>
48 <onProperty>
49 <resource name="awol:body"/>
50 </onProperty>
51 <cardinality>1</cardinality>
52 </Restriction>
53 <Restriction>
54 <onProperty>
55 <resource name="awol:src"/>
56 </onProperty>
57 <cardinality>0</cardinality>
58 </Restriction>
59 </intersectionOf>
60 </Class>
61 <Class>
62 <intersectionOf>
63 <Restriction>
64 <onProperty>
65 <resource name="awol:body"/>
66 </onProperty>
67 <cardinality>0</cardinality>
68 </Restriction>
69 <Restriction>
70 <onProperty>
71 <resource name="awol:src"/>
72 </onProperty>
73 <cardinality>1</cardinality>
74 </Restriction>
75 </intersectionOf>
76 </Class>
77 </unionOf>
78 </Class>
79 </equivalentClass>
80 <subClassOf>
81 <Class>
82 <unionOf>
83 <Class>
84 <intersectionOf>
85 <Restriction>
86 <onProperty>
87 <resource name="awol:type"/>
88 </onProperty>
89 <allValuesFrom>
90 <Datatype>
91 <onDatatype>
92 <resource name="xsd:string"/>
93 </onDatatype>
94 <withRestrictions>
95 <pattern>.*[+/][Xx][Mm][Ll]</pattern>
96 </withRestrictions>
97 </Datatype>
98 </allValuesFrom>
99 </Restriction>
100 <Restriction>
101 <onProperty>
102 <resource name="awol:body"/>
103 </onProperty>
104 <qualifiedCardinality>0</qualifiedCardinality>
105 <onDataRange>
106 <resource name="rdf:PlainLiteral"/>
107 </onDataRange>
108 </Restriction>
109 </intersectionOf>
110 </Class>
111 <Class>
112 <intersectionOf>
113 <Restriction>
114 <onProperty>
115 <resource name="awol:type"/>
116 </onProperty>
117 <qualifiedCardinality>0</qualifiedCardinality>
118 <onDataRange>
119 <Datatype>
120 <onDatatype>
121 <resource name="xsd:string"/>
122 </onDatatype>
123 <withRestrictions>
124 <pattern>.*[+/][Xx][Mm][Ll]</pattern>
125 </withRestrictions>
126 </Datatype>
127 </onDataRange>
128 </Restriction>
129 <Restriction>
130 <onProperty>
131 <resource name="awol:body"/>
132 </onProperty>
133 <allValuesFrom>
134 <Datatype>
135 <unionOf>
136 <resource name="xsd:string"/>
137 <resource name="xsd:base64Binary"/>
138 </unionOf>
139 </Datatype>
140 </allValuesFrom>
141 </Restriction>
142 </intersectionOf>
143 </Class>
144 <Restriction>
145 <onProperty>
146 <resource name="awol:type"/>
147 </onProperty>
148 <cardinality>0</cardinality>
149 </Restriction>
150 </unionOf>
151 </Class>
152 </subClassOf>
153 </Class>
This page took 0.065822 seconds and 5 git commands to generate.