aboutsummaryrefslogtreecommitdiffstats
path: root/lv2/atom/atom.ttl
blob: b0b7e0cfa8fa541da6058b1bfc56b5fc0f35500a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
@prefix atom: <http://lv2plug.in/ns/ext/atom#> .
@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix ui: <http://lv2plug.in/ns/extensions/ui#> .
@prefix units: <http://lv2plug.in/ns/extensions/units#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<http://lv2plug.in/ns/ext/atom>
	a owl:Ontology ;
	rdfs:seeAlso <atom.h> ,
		<util.h> ,
		<forge.h> ,
		<atom.meta.ttl> ;
	rdfs:label "LV2 Atom" ;
	rdfs:comment "A generic value container and several data types." .

atom:cType
	a rdf:Property ,
		owl:DatatypeProperty ,
		owl:FunctionalProperty ;
	rdfs:label "C type" ;
	rdfs:comment "The C type that describes the binary representation of an Atom type." ;
	rdfs:domain rdfs:Class ;
	rdfs:range lv2:Symbol .

atom:Atom
	a rdfs:Class ;
	rdfs:label "Atom" ;
	rdfs:comment "Abstract base class for all atoms." ;
	atom:cType "LV2_Atom" .

atom:Chunk
	a rdfs:Class ,
		rdfs:Datatype ;
	rdfs:subClassOf atom:Atom ;
	rdfs:label "Chunk" ;
	rdfs:comment "A chunk of memory with undefined contents." ;
	owl:onDatatype xsd:base64Binary .

atom:Number
	a rdfs:Class ;
	rdfs:subClassOf atom:Atom ;
	rdfs:label "Number" ;
	rdfs:comment "Base class for numeric types." .

atom:Int
	a rdfs:Class ,
		rdfs:Datatype ;
	rdfs:subClassOf atom:Number ;
	rdfs:label "Int" ;
	rdfs:comment "A native `int32_t`." ;
	atom:cType "LV2_Atom_Int" ;
	owl:onDatatype xsd:int .

atom:Long
	a rdfs:Class ,
		rdfs:Datatype ;
	rdfs:subClassOf atom:Number ;
	rdfs:label "Long" ;
	rdfs:comment "A native `int64_t`." ;
	atom:cType "LV2_Atom_Long" ;
	owl:onDatatype xsd:long .

atom:Float
	a rdfs:Class ,
		rdfs:Datatype ;
	rdfs:subClassOf atom:Number ;
	rdfs:label "Float" ;
	rdfs:comment "A native `float`." ;
	atom:cType "LV2_Atom_Float" ;
	owl:onDatatype xsd:float .

atom:Double
	a rdfs:Class ,
		rdfs:Datatype ;
	rdfs:subClassOf atom:Number ;
	rdfs:label "Double" ;
	rdfs:comment "A native `double`." ;
	atom:cType "LV2_Atom_Double" ;
	owl:onDatatype xsd:double .

atom:Bool
	a rdfs:Class ,
		rdfs:Datatype ;
	rdfs:subClassOf atom:Atom ;
	rdfs:label "Bool" ;
	rdfs:comment "An atom:Int where 0 is false and any other value is true." ;
	atom:cType "LV2_Atom_Bool" ;
	owl:onDatatype xsd:boolean .

atom:String
	a rdfs:Class ,
		rdfs:Datatype ;
	rdfs:subClassOf atom:Atom ;
	rdfs:label "String" ;
	rdfs:comment "A UTF-8 string." ;
	atom:cType "LV2_Atom_String" ;
	owl:onDatatype xsd:string .

atom:Literal
	a rdfs:Class ;
	rdfs:subClassOf atom:Atom ;
	rdfs:label "Literal" ;
	rdfs:comment "A UTF-8 string literal with optional datatype or language." ;
	atom:cType "LV2_Atom_Literal" .

atom:Path
	a rdfs:Class ,
		rdfs:Datatype ;
	rdfs:subClassOf atom:URI ;
	owl:onDatatype atom:URI ;
	rdfs:label "Path" ;
	rdfs:comment "A local file path." .

atom:URI
	a rdfs:Class ,
		rdfs:Datatype ;
	rdfs:subClassOf atom:String ;
	owl:onDatatype xsd:anyURI ;
	rdfs:label "URI" ;
	rdfs:comment "A URI string." .

atom:URID
	a rdfs:Class ;
	rdfs:subClassOf atom:Atom ;
	rdfs:label "URID" ;
	rdfs:comment "An unsigned 32-bit integer ID for a URI." ;
	atom:cType "LV2_Atom_URID" .

atom:Vector
	a rdfs:Class ;
	rdfs:subClassOf atom:Atom ;
	rdfs:label "Vector" ;
	rdfs:comment "A homogeneous sequence of atom bodies with equivalent type and size." ;
	atom:cType "LV2_Atom_Vector" .

atom:Tuple
	a rdfs:Class ;
	rdfs:subClassOf atom:Atom ;
	rdfs:label "Tuple" ;
	rdfs:comment "A sequence of atoms with varying type and size." .

atom:Property
	a rdfs:Class ;
	rdfs:subClassOf atom:Atom ;
	rdfs:label "Property" ;
	rdfs:comment "A property of an atom:Object." ;
	atom:cType "LV2_Atom_Property" .

atom:Object
	a rdfs:Class ;
	rdfs:subClassOf atom:Atom ;
	rdfs:label "Object" ;
	rdfs:comment "A collection of properties." ;
	atom:cType "LV2_Atom_Object" .

atom:Resource
	a rdfs:Class ;
	rdfs:subClassOf atom:Object ;
	rdfs:label "Resource" ;
	rdfs:comment "A named collection of properties with a URI." ;
	owl:deprecated "true"^^xsd:boolean ;
	atom:cType "LV2_Atom_Object" .

atom:Blank
	a rdfs:Class ;
	rdfs:subClassOf atom:Object ;
	rdfs:label "Blank" ;
	rdfs:comment "An anonymous collection of properties without a URI." ;
	owl:deprecated "true"^^xsd:boolean ;
	atom:cType "LV2_Atom_Object" .

atom:Sound
	a rdfs:Class ;
	rdfs:subClassOf atom:Vector ;
	rdfs:label "Sound" ;
	rdfs:comment "A atom:Vector of atom:Float which represents an audio waveform." ;
	atom:cType "LV2_Atom_Sound" .

atom:frameTime
	a rdf:Property ,
		owl:DatatypeProperty ,
		owl:FunctionalProperty ;
	rdfs:range xsd:decimal ;
	rdfs:label "frame time" ;
	rdfs:comment "A time stamp in audio frames." .

atom:beatTime
	a rdf:Property ,
		owl:DatatypeProperty ,
		owl:FunctionalProperty ;
	rdfs:range xsd:decimal ;
	rdfs:label "beat time" ;
	rdfs:comment "A time stamp in beats." .

atom:Event
	a rdfs:Class ;
	rdfs:label "Event" ;
	atom:cType "LV2_Atom_Event" ;
	rdfs:comment "An atom with a time stamp prefix in a sequence." .

atom:Sequence
	a rdfs:Class ;
	rdfs:subClassOf atom:Atom ;
	rdfs:label "Sequence" ;
	atom:cType "LV2_Atom_Sequence" ;
	rdfs:comment "A sequence of events." .

atom:AtomPort
	a rdfs:Class ;
	rdfs:subClassOf lv2:Port ;
	rdfs:label "Atom Port" ;
	rdfs:comment "A port which contains an atom:Atom." .

atom:bufferType
	a rdf:Property ,
		owl:ObjectProperty ;
	rdfs:domain atom:AtomPort ;
	rdfs:range rdfs:Class ;
	rdfs:label "buffer type" ;
	rdfs:comment "An atom type that a port may be connected to." .

atom:childType
	a rdf:Property ,
		owl:ObjectProperty ;
	rdfs:label "child type" ;
	rdfs:comment "The type of children in a container." .

atom:supports
	a rdf:Property ,
		owl:ObjectProperty ;
	rdfs:label "supports" ;
	rdfs:comment "A supported atom type." ;
	rdfs:range rdfs:Class .

atom:eventTransfer
	a ui:PortProtocol ;
	rdfs:label "event transfer" ;
	rdfs:comment "A port protocol for transferring events." .

atom:atomTransfer
	a ui:PortProtocol ;
	rdfs:label "atom transfer" ;
	rdfs:comment "A port protocol for transferring atoms." .