]> Lady’s Gitweb - Vocab/blob - data/classes/awol¦Content
Improve agential modelling
[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 <Restriction>
46 <onProperty>
47 <resource name="awol:body"/>
48 </onProperty>
49 <cardinality>1</cardinality>
50 </Restriction>
51 <Restriction>
52 <onProperty>
53 <resource name="awol:src"/>
54 </onProperty>
55 <cardinality>1</cardinality>
56 </Restriction>
57 </unionOf>
58 </Class>
59 </equivalentClass>
60 <subClassOf>
61 <Class>
62 <unionOf>
63 <Class>
64 <intersectionOf>
65 <Restriction>
66 <onProperty>
67 <resource name="awol:type"/>
68 </onProperty>
69 <allValuesFrom>
70 <Datatype>
71 <onDatatype>
72 <resource name="xsd:string"/>
73 </onDatatype>
74 <withRestrictions>
75 <pattern>.*[+/][Xx][Mm][Ll]</pattern>
76 </withRestrictions>
77 </Datatype>
78 </allValuesFrom>
79 </Restriction>
80 <Restriction>
81 <onProperty>
82 <resource name="awol:body"/>
83 </onProperty>
84 <qualifiedCardinality>0</qualifiedCardinality>
85 <onDataRange>
86 <resource name="rdf:PlainLiteral"/>
87 </onDataRange>
88 </Restriction>
89 </intersectionOf>
90 </Class>
91 <Class>
92 <intersectionOf>
93 <Restriction>
94 <onProperty>
95 <resource name="awol:type"/>
96 </onProperty>
97 <qualifiedCardinality>0</qualifiedCardinality>
98 <onDataRange>
99 <Datatype>
100 <onDatatype>
101 <resource name="xsd:string"/>
102 </onDatatype>
103 <withRestrictions>
104 <pattern>.*[+/][Xx][Mm][Ll]</pattern>
105 </withRestrictions>
106 </Datatype>
107 </onDataRange>
108 </Restriction>
109 <Restriction>
110 <onProperty>
111 <resource name="awol:body"/>
112 </onProperty>
113 <allValuesFrom>
114 <Datatype>
115 <unionOf>
116 <resource name="xsd:string"/>
117 <resource name="xsd:base64Binary"/>
118 </unionOf>
119 </Datatype>
120 </allValuesFrom>
121 </Restriction>
122 </intersectionOf>
123 </Class>
124 <Restriction>
125 <onProperty>
126 <resource name="awol:type"/>
127 </onProperty>
128 <cardinality>0</cardinality>
129 </Restriction>
130 </unionOf>
131 </Class>
132 </subClassOf>
133 <disjointWith>
134 <resource name="awol:Link"/>
135 </disjointWith>
136 </Class>
This page took 0.052181 seconds and 5 git commands to generate.