cannam@135
|
1 @prefix owl: <http://www.w3.org/2002/07/owl#>.
|
cannam@135
|
2 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
|
cannam@135
|
3 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
|
cannam@135
|
4 @prefix xsd: <http://www.w3.org/2001/XMLSchema#>.
|
cannam@135
|
5 @prefix foaf: <http://xmlns.com/foaf/0.1/>.
|
cannam@135
|
6 @prefix vs: <http://www.w3.org/2003/06/sw-vocab-status/ns#>.
|
cannam@135
|
7 @prefix list: <http://www.w3.org/2000/10/swap/list#>.
|
cannam@135
|
8 @prefix dc: <http://purl.org/dc/elements/1.1/>.
|
cannam@135
|
9 @prefix mo: <http://purl.org/ontology/mo/>.
|
cannam@135
|
10 @prefix event: <http://purl.org/NET/c4dm/event.owl#>.
|
cannam@135
|
11 @prefix af: <http://purl.org/ontology/af/>.
|
cannam@135
|
12 @prefix tl: <http://purl.org/NET/c4dm/timeline.owl#>.
|
cannam@135
|
13 @prefix vamp: <http://purl.org/ontology/vamp/>.
|
cannam@135
|
14 @prefix : <> .
|
cannam@135
|
15
|
cannam@135
|
16 <>
|
cannam@135
|
17 a owl:Ontology;
|
cannam@135
|
18 dc:title "Vamp Plugins Ontology";
|
cannam@135
|
19 rdfs:label "Vamp Plugins Ontology";
|
cannam@135
|
20 rdfs:comment """
|
cannam@136
|
21 Vamp Ontology. This ontology includes the following descriptions
|
cannam@136
|
22
|
cannam@136
|
23 -OWL description of the Vamp API
|
cannam@136
|
24 -OWL description of the Transform environment necessary to set up the execution of any plugin
|
cannam@136
|
25
|
cannam@136
|
26 This Ontology provides semantics to describe and control Vamp plugins in RDF. Any "RDF-speaker" host is therefore able to
|
cannam@136
|
27 use this ontology to read, set up and execute plugins.
|
cannam@136
|
28 The extracted features are expressed in terms of the Audio Features Ontology (link).
|
cannam@136
|
29 For more information, please visit the Vamp Plugins site: http://www.vamp-plugins.org/
|
cannam@135
|
30 """;
|
cannam@135
|
31 foaf:maker "Chris Cannam";
|
cannam@135
|
32 foaf:maker "Chris Sutton";
|
cannam@135
|
33 foaf:maker "Yves Raimond";
|
cannam@135
|
34 foaf:maker "David Pastor Escuredo";
|
cannam@135
|
35 dc:date "$Date: 2008/05/21 17:05:11 $";
|
cannam@135
|
36 .
|
cannam@135
|
37
|
cannam@135
|
38 vs:term_status a owl:AnnotationProperty.
|
cannam@135
|
39
|
cannam@135
|
40 #Authors foaf
|
cannam@135
|
41
|
cannam@135
|
42 #############################################
|
cannam@136
|
43 # Part 1: Describin a Vamp plugin
|
cannam@135
|
44 #############################################
|
cannam@135
|
45
|
cannam@136
|
46 #########################################
|
cannam@136
|
47 # CLASSES
|
cannam@136
|
48 #########################################
|
cannam@136
|
49
|
cannam@135
|
50 #Note: we don't include Feature concept because we rely on the Audio Feature ontology
|
cannam@136
|
51 #Note: we additionaly define a Transform concept to link the running context
|
cannam@135
|
52
|
cannam@135
|
53 vamp:Plugin
|
cannam@135
|
54 a owl:Class;
|
cannam@135
|
55 rdfs:label "Vamp Plugin";
|
cannam@135
|
56 rdfs:comment """
|
cannam@135
|
57 Vamp plugin is an implementation of a feature extraction algorithm based on the Vamp API.
|
cannam@135
|
58 """;
|
cannam@135
|
59 vs:term_status "stable";
|
cannam@135
|
60 .
|
cannam@135
|
61
|
cannam@135
|
62 vamp:PluginLibrary
|
cannam@135
|
63 a owl:Class;
|
cannam@135
|
64 rdfs:label "Vamp Plugin Library";
|
cannam@135
|
65 rdfs:comment """
|
cannam@136
|
66 Library of Vamp Plugins. This may need to include rights.
|
cannam@135
|
67 """;
|
cannam@135
|
68 vs:term_status "stable";
|
cannam@135
|
69 .
|
cannam@135
|
70
|
cannam@135
|
71 vamp:PluginDescription
|
cannam@135
|
72 a owl:Class;
|
cannam@135
|
73 rdfs:label "Vamp Plugin Descriptor";
|
cannam@135
|
74 rdfs:comment """
|
cannam@136
|
75 The plugin descriptor provides basic metadata of the plugin. We may remove this and link directly to the plugin instance.
|
cannam@135
|
76 """;
|
cannam@135
|
77 vs:term_status "unstable";
|
cannam@135
|
78 .
|
cannam@135
|
79
|
cannam@135
|
80 vamp:ParameterDescriptor
|
cannam@135
|
81 a owl:Class;
|
cannam@135
|
82 rdfs:label "Vamp Plugin Parameter Descriptor";
|
cannam@135
|
83 rdfs:comment """
|
cannam@136
|
84 Descriptior of a plugin parameter. Hosts require to know about the specific type and form of the parameters of a particular plugin for a correct transform setup.
|
cannam@135
|
85 """;
|
cannam@135
|
86 vs:term_status "stable";
|
cannam@135
|
87 .
|
cannam@135
|
88
|
cannam@135
|
89 vamp:PluginOutput
|
cannam@135
|
90 a owl:Class;
|
cannam@135
|
91 rdfs:label "Vamp Plugin output descriptor";
|
cannam@135
|
92 rdfs:comment """
|
cannam@136
|
93 Descriptior of the plugin output. This descriptor provides necessary information to interpret correctly the output features. The output type will determine how to read the temporal information of the extracted feature and how to manage the burden of ouput data.
|
cannam@135
|
94 """;
|
cannam@135
|
95 vs:term_status "unstable";
|
cannam@135
|
96 .
|
cannam@135
|
97
|
cannam@135
|
98 vamp:DenseOutput
|
cannam@135
|
99 a owl:Class;
|
cannam@135
|
100 rdfs:subClassOf vamp:PluginOutput;
|
cannam@136
|
101 rdfs:label "Dense output";
|
cannam@135
|
102 rdfs:comment """
|
cannam@136
|
103 Specific output type comprising large binary data (e.g.: chromagram).
|
cannam@135
|
104 """;
|
cannam@135
|
105 vs:term_status "unstable";
|
cannam@135
|
106 .
|
cannam@135
|
107
|
cannam@135
|
108 vamp:SparseOutput
|
cannam@135
|
109 a owl:Class;
|
cannam@136
|
110 rdfs:label "Sparse output";
|
cannam@135
|
111 rdfs:subClassOf vamp:PluginOutput;
|
cannam@135
|
112 rdfs:comment """
|
cannam@136
|
113 Specific output type used in sparse data outputs (e.g.: key detector).
|
cannam@135
|
114 """;
|
cannam@135
|
115 vs:term_status "unstable";
|
cannam@135
|
116 .
|
cannam@135
|
117
|
cannam@135
|
118 vamp:TrackLevelOutput
|
cannam@135
|
119 a owl:Class;
|
cannam@136
|
120 rdfs:label "track level output";
|
cannam@135
|
121 rdfs:subClassOf vamp:PluginOutput;
|
cannam@135
|
122 rdfs:comment """
|
cannam@136
|
123 Specific output type that returns track level information. This sort of output will require a "hacky" interpretation of the feature timestamp as it will reflect some track metadata instead of temporal data.
|
cannam@135
|
124 """;
|
cannam@135
|
125 vs:term_status "unstable";
|
cannam@135
|
126 .
|
cannam@135
|
127
|
cannam@135
|
128 vamp:PluginProgram
|
cannam@135
|
129 a owl:Class;
|
cannam@135
|
130 rdfs:label "Plugin program";
|
cannam@135
|
131 rdfs:comment """
|
cannam@136
|
132 Plugin program defines a predefined context of parameters. We may not need a concept for this and just a property linking a string representing the program name.
|
cannam@135
|
133 """;
|
cannam@136
|
134 vs:term_status "unstable";
|
cannam@135
|
135 .
|
cannam@135
|
136
|
cannam@135
|
137 vamp:Feature
|
cannam@135
|
138 a owl:Class;
|
cannam@135
|
139 rdfs:label "Vamp Feature";
|
cannam@135
|
140 rdfs:comment "This may be removed mighty soon as we rely on the Audio Features Ontology for this";
|
cannam@135
|
141 vs:term_status "deprecated";
|
cannam@135
|
142 .
|
cannam@135
|
143
|
cannam@135
|
144 #Classes for enumerations in the Vamp API
|
cannam@135
|
145
|
cannam@135
|
146 vamp:InputDomain
|
cannam@135
|
147 a owl:Class;
|
cannam@135
|
148 rdfs:label "Plugin input domain";
|
cannam@136
|
149 rdfs:comment """
|
cannam@136
|
150 Plugins warn about the input domain they require so the host can convert properly the input data. Note that this is not necessary if the host is using a PluginAdapter to wrap plugins (see Vamp doc).
|
cannam@136
|
151 """;
|
cannam@135
|
152 vs:term_status "stable";
|
cannam@135
|
153 .
|
cannam@135
|
154
|
cannam@135
|
155 vamp:SampleType
|
cannam@135
|
156 a owl:Class;
|
cannam@135
|
157 rdfs:label "sample type";
|
cannam@136
|
158 rdfs:comment """
|
cannam@136
|
159 Sample type specifies the temporal information of the plugin output. This information should be confronted with the output type for a correct interpretation.
|
cannam@136
|
160 """;
|
cannam@135
|
161 vs:term_status "stable";
|
cannam@135
|
162 .
|
cannam@135
|
163
|
cannam@135
|
164 ##################################################################
|
cannam@136
|
165 # PROPERTIES.
|
cannam@135
|
166 ##################################################################
|
cannam@135
|
167
|
cannam@135
|
168 ##### Plugin properties
|
cannam@135
|
169
|
cannam@136
|
170 vamp:plugin_description
|
cannam@135
|
171 a rdf:Property;
|
cannam@135
|
172 a owl:ObjectProperty;
|
cannam@136
|
173 rdfs:label "plugin description";
|
cannam@135
|
174 rdfs:comment """
|
cannam@136
|
175 Links the plugin descriptor to the plugin (it may be redundant for an RDF decription to have a plugin descriptor in between an actual plugin and its properties).
|
cannam@135
|
176 """;
|
cannam@135
|
177 rdfs:range vamp:PluginDescription;
|
cannam@135
|
178 rdfs:domain vamp:Plugin;
|
cannam@135
|
179 vs:term_status "stable";
|
cannam@135
|
180 .
|
cannam@135
|
181
|
cannam@135
|
182 vamp:parameter_descriptor
|
cannam@135
|
183 a rdf:Property;
|
cannam@135
|
184 a owl:ObjectProperty;
|
cannam@135
|
185 rdfs:label "parameter descriptor";
|
cannam@135
|
186 rdfs:comment """
|
cannam@135
|
187 Links each parameter descriptor to the plugin.
|
cannam@135
|
188 """;
|
cannam@135
|
189 rdfs:range vamp:ParameterDescriptor;
|
cannam@135
|
190 rdfs:domain vamp:Plugin;
|
cannam@135
|
191 vs:term_status "stable";
|
cannam@135
|
192 .
|
cannam@135
|
193
|
cannam@135
|
194 vamp:output_descriptor
|
cannam@135
|
195 a rdf:Property;
|
cannam@135
|
196 a owl:ObjectProperty;
|
cannam@135
|
197 rdfs:label "output descriptor";
|
cannam@135
|
198 rdfs:comment """
|
cannam@136
|
199 Links each output type to the plugin.
|
cannam@135
|
200 """;
|
cannam@135
|
201 rdfs:range vamp:PluginOutput;
|
cannam@135
|
202 rdfs:domain vamp:Plugin;
|
cannam@135
|
203 vs:term_status "stable";
|
cannam@135
|
204 .
|
cannam@135
|
205
|
cannam@136
|
206 ##### Plugin Library properties (could include affiliation, rights...)
|
cannam@135
|
207
|
cannam@135
|
208 vamp:available_plugin
|
cannam@135
|
209 a rdf:Property;
|
cannam@135
|
210 a owl:ObjectProperty;
|
cannam@135
|
211 rdfs:label "available plugin";
|
cannam@135
|
212 rdfs:comment """
|
cannam@135
|
213 Available plugins in the library
|
cannam@135
|
214 """;
|
cannam@135
|
215 rdfs:range vamp:Plugin;
|
cannam@135
|
216 rdfs:domain vamp:PluginLibrary;
|
cannam@135
|
217 vs:term_status "stable";
|
cannam@135
|
218 .
|
cannam@135
|
219
|
cannam@136
|
220 #### Plugin Descriptor properties
|
cannam@135
|
221
|
cannam@135
|
222 vamp:identifier
|
cannam@135
|
223 a rdf:Property;
|
cannam@135
|
224 a owl:DatatypeProperty;
|
cannam@135
|
225 rdfs:label "plugin identifier";
|
cannam@135
|
226 rdfs:comment """
|
cannam@136
|
227 Machine-readable identifier for Vamp plugin classes (and Transform).
|
cannam@135
|
228 """;
|
cannam@135
|
229 rdfs:domain vamp:PluginDescription;
|
cannam@135
|
230 rdfs:domain vamp:PluginProgram;
|
cannam@135
|
231 rdfs:domain vamp:PluginOutput;
|
cannam@135
|
232 rdfs:domain vamp:ParameterDescriptor;
|
cannam@135
|
233 vs:term_status "stable";
|
cannam@135
|
234 .
|
cannam@135
|
235
|
cannam@135
|
236 vamp:name
|
cannam@135
|
237 a rdf:Property;
|
cannam@135
|
238 a owl:DatatypeProperty;
|
cannam@135
|
239 rdfs:label "plugin name";
|
cannam@135
|
240 rdfs:comment """
|
cannam@135
|
241 Human-readable identifier for the plugin.
|
cannam@135
|
242 """;
|
cannam@135
|
243 rdfs:domain vamp:PluginDescription;
|
cannam@135
|
244 vs:term_status "stable";
|
cannam@135
|
245 .
|
cannam@135
|
246
|
cannam@135
|
247 vamp:vamp_API_version
|
cannam@135
|
248 a rdf:Property;
|
cannam@135
|
249 a owl:DatatypeProperty;
|
cannam@135
|
250 rdfs:label "vamp API version";
|
cannam@135
|
251 rdfs:comment """
|
cannam@136
|
252 Version of the Vamp API used to implement this plugin.
|
cannam@135
|
253 """;
|
cannam@135
|
254 rdfs:domain vamp:PluginDescription;
|
cannam@135
|
255 vs:term_status "stable";
|
cannam@135
|
256 .
|
cannam@135
|
257
|
cannam@135
|
258 vamp:input_domain
|
cannam@135
|
259 a rdf:Property;
|
cannam@135
|
260 a owl:DatatypeProperty;
|
cannam@135
|
261 rdfs:label "input domain";
|
cannam@135
|
262 rdfs:comment """
|
cannam@136
|
263 Input domain allowed by the plugin (time or frequency).
|
cannam@135
|
264 """;
|
cannam@135
|
265 rdfs:domain vamp:Plugin;
|
cannam@135
|
266 rdfs:range vamp:InputDomain;
|
cannam@135
|
267 vs:term_status "stable";
|
cannam@135
|
268 .
|
cannam@135
|
269
|
cannam@135
|
270 #Note that other properties like maker can be linked to the plugin descriptor using other namespaces
|
cannam@135
|
271
|
cannam@135
|
272 ##### Parameter Descriptor properties
|
cannam@135
|
273
|
cannam@135
|
274 #Note: Identifier has been already defined
|
cannam@135
|
275
|
cannam@135
|
276 vamp:max_value
|
cannam@135
|
277 a rdf:Property;
|
cannam@135
|
278 a owl:DatatypeProperty;
|
cannam@135
|
279 a owl:FunctionalProperty;
|
cannam@135
|
280 rdfs:label "max value";
|
cannam@136
|
281 rdfs:comment """
|
cannam@136
|
282 Maximum value of the parameter range
|
cannam@136
|
283 """;
|
cannam@135
|
284 rdfs:range vamp:ParameterDescriptor;
|
cannam@135
|
285 rdfs:range vamp:PluginOutput;
|
cannam@135
|
286 vs:term_status "unstable";
|
cannam@135
|
287 .
|
cannam@135
|
288
|
cannam@135
|
289 vamp:min_value
|
cannam@135
|
290 a rdf:Property;
|
cannam@135
|
291 a owl:DatatypeProperty;
|
cannam@135
|
292 a owl:FunctionalProperty;
|
cannam@135
|
293 rdfs:label "min value";
|
cannam@136
|
294 rdfs:comment """
|
cannam@136
|
295 Minimum value of the parameter range
|
cannam@136
|
296 """;
|
cannam@135
|
297 rdfs:range vamp:ParameterDescriptor;
|
cannam@135
|
298 rdfs:range vamp:PluginOutput;
|
cannam@135
|
299 vs:term_status "unstable";
|
cannam@135
|
300 .
|
cannam@135
|
301
|
cannam@135
|
302 vamp:default_value
|
cannam@135
|
303 a rdf:Property;
|
cannam@135
|
304 a owl:DatatypeProperty;
|
cannam@135
|
305 a owl:FunctionalProperty;
|
cannam@135
|
306 rdfs:label "default value";
|
cannam@136
|
307 rdfs:comment """
|
cannam@136
|
308 Default value of the parameter
|
cannam@136
|
309 """;
|
cannam@135
|
310 rdfs:range vamp:ParameterDescriptor;
|
cannam@135
|
311 vs:term_status "unstable";
|
cannam@135
|
312 .
|
cannam@135
|
313
|
cannam@135
|
314 ########Output Descriptor properties
|
cannam@135
|
315
|
cannam@135
|
316 vamp:fixed_bin_count
|
cannam@135
|
317 a rdf:Property;
|
cannam@135
|
318 a owl:DatatypeProperty;
|
cannam@135
|
319 rdfs:label "fixed bin count";
|
cannam@136
|
320 rdfs:comment """
|
cannam@136
|
321 Fixed bin count. A boolean type.
|
cannam@136
|
322 """;
|
cannam@135
|
323 rdfs:domain vamp:PluginOutput;
|
cannam@135
|
324 vs:term_status "unstable";
|
cannam@135
|
325 .
|
cannam@135
|
326
|
cannam@135
|
327 vamp:unit
|
cannam@135
|
328 a rdf:Property;
|
cannam@135
|
329 a owl:DatatypeProperty;
|
cannam@135
|
330 a owl:FunctionalProperty;
|
cannam@135
|
331 rdfs:label "unit";
|
cannam@136
|
332 rdfs:comment """
|
cannam@136
|
333 Unit of the output/parameter. A string type
|
cannam@136
|
334 """;
|
cannam@135
|
335 rdfs:domain vamp:PluginOutput;
|
cannam@135
|
336 rdfs:domain vamp:ParameterDescriptor;
|
cannam@135
|
337 vs:term_status "unstable";
|
cannam@135
|
338 .
|
cannam@135
|
339
|
cannam@135
|
340 vamp:sample_rate
|
cannam@135
|
341 a rdf:Property;
|
cannam@135
|
342 a owl:DatatypeProperty;
|
cannam@135
|
343 rdfs:label "sample rate";
|
cannam@136
|
344 rdfs:comment """
|
cannam@136
|
345 Sample rate of the output if any. Should be read depending on SampleType and Output classes.
|
cannam@136
|
346 """;
|
cannam@135
|
347 rdfs:domain vamp:PluginOutput;
|
cannam@135
|
348 vs:term_status "unstable";
|
cannam@135
|
349 .
|
cannam@135
|
350
|
cannam@135
|
351 vamp:quantized_step
|
cannam@135
|
352 a rdf:Property;
|
cannam@135
|
353 a owl:FunctionalProperty;
|
cannam@135
|
354 a owl:DatatypeProperty;
|
cannam@135
|
355 rdfs:label "quantized step";
|
cannam@136
|
356 rdfs:comment """
|
cannam@136
|
357 Quantized step (if any). We do not include isQuantized.
|
cannam@136
|
358 """;
|
cannam@135
|
359 rdfs:domain vamp:PluginOutput;
|
cannam@135
|
360 rdfs:domain vamp:ParameterDescriptor;
|
cannam@135
|
361 vs:term_status "unstable";
|
cannam@135
|
362 .
|
cannam@135
|
363
|
cannam@135
|
364 vamp:bin_count
|
cannam@135
|
365 a rdf:Property;
|
cannam@135
|
366 a owl:DatatypeProperty;
|
cannam@135
|
367 rdfs:label "bin count";
|
cannam@136
|
368 rdfs:comment """
|
cannam@136
|
369 Number of elements of the bin output. This information is necessary to define the output as belonging to a specific subclass of Plugin Output.
|
cannam@136
|
370 """;
|
cannam@135
|
371 rdfs:domain vamp:PluginOutput;
|
cannam@135
|
372 vs:term_status "unstable";
|
cannam@135
|
373 .
|
cannam@135
|
374
|
cannam@135
|
375 vamp:bin_names
|
cannam@135
|
376 a rdf:Property;
|
cannam@135
|
377 a owl:DatatypeProperty;
|
cannam@135
|
378 rdfs:label "bin names";
|
cannam@136
|
379 rdfs:comment """
|
cannam@136
|
380 List of bin names if available
|
cannam@136
|
381 """;
|
cannam@135
|
382 rdfs:domain vamp:PluginOutput;
|
cannam@135
|
383 vs:term_status "unstable";
|
cannam@135
|
384 .
|
cannam@135
|
385
|
cannam@135
|
386 vamp:sample_type
|
cannam@135
|
387 a rdf:Property;
|
cannam@135
|
388 a owl:DatatypeProperty;
|
cannam@135
|
389 a owl:FunctionalProperty;
|
cannam@135
|
390 rdfs:label "sample type";
|
cannam@136
|
391 rdfs:comment """
|
cannam@136
|
392 The sample type specifies the temporal information of the output.
|
cannam@136
|
393 """;
|
cannam@135
|
394 rdfs:domain vamp:PluginOutput;
|
cannam@135
|
395 rdfs:range vamp:SampleType;
|
cannam@135
|
396 vs:term_status "unstable";
|
cannam@135
|
397 .
|
cannam@135
|
398
|
cannam@135
|
399 vamp:computes_feature_type
|
cannam@135
|
400 a rdf:Property;
|
cannam@135
|
401 a owl:ObjectProperty;
|
cannam@135
|
402 rdfs:label "feature type";
|
cannam@135
|
403 rdfs:comment """
|
cannam@136
|
404 Feature Types output by the plugin. Links the vamp ontology to the audio features ontology.
|
cannam@135
|
405 """;
|
cannam@135
|
406 rdfs:domain vamp:PluginOutput;
|
cannam@136
|
407 rdfs:range af:AudioFeature;
|
cannam@135
|
408 vs:term_status "unstable";
|
cannam@135
|
409 .
|
cannam@135
|
410
|
cannam@135
|
411 ########################
|
cannam@135
|
412 # INDIVIDUALS
|
cannam@135
|
413 ########################
|
cannam@135
|
414
|
cannam@135
|
415 vamp:time_domain
|
cannam@135
|
416 a vamp:InputDomain;
|
cannam@135
|
417 .
|
cannam@135
|
418
|
cannam@135
|
419 vamp:frequency_domain
|
cannam@135
|
420 a vamp:InputDomain;
|
cannam@135
|
421 .
|
cannam@135
|
422
|
cannam@135
|
423 vamp:OneSamplePerStep
|
cannam@135
|
424 a vamp:SampleType;
|
cannam@135
|
425 .
|
cannam@135
|
426
|
cannam@135
|
427 vamp:FixedSampleRate
|
cannam@135
|
428 a vamp:SampleType;
|
cannam@135
|
429 .
|
cannam@135
|
430
|
cannam@135
|
431 vamp:VariableSampleRate
|
cannam@135
|
432 a vamp:SampleType;
|
cannam@135
|
433 .
|
cannam@135
|
434
|
cannam@135
|
435 ################################################### END OF THE VAMP API DESCRIPTION ############################################################
|
cannam@135
|
436
|
cannam@135
|
437
|
cannam@135
|
438 #############################################
|
cannam@136
|
439 # Part 2: Classes to describe de execution. TRANSFORM
|
cannam@135
|
440 #############################################
|
cannam@135
|
441
|
cannam@135
|
442 #Note: we need to define this part of the ontology to give a minimun common standard for hosts.
|
cannam@136
|
443 #Note: this may split up in some other ontology or become part of the DSP namespace
|
cannam@135
|
444
|
cannam@135
|
445 vamp:Transform
|
cannam@135
|
446 a owl:Class;
|
cannam@136
|
447 rdfs:label "Transform";
|
cannam@135
|
448 vs:term_status "stable";
|
cannam@135
|
449 rdfs:comment """
|
cannam@136
|
450 The Transform defines the environment of any audio processing computation.
|
cannam@135
|
451 """;
|
cannam@135
|
452 .
|
cannam@135
|
453
|
cannam@135
|
454 vamp:Parameter
|
cannam@135
|
455 a owl:Class;
|
cannam@135
|
456 rdfs:label "Parameter";
|
cannam@135
|
457 vs:term_status "unstable";
|
cannam@135
|
458 rdfs:comment """
|
cannam@136
|
459 Parameter used by the plugin transform to set up the plugin. The parameter class instances should be instantiated according to the specific vamp:PluginDescriptor instance for each plugin.
|
cannam@136
|
460 """;
|
cannam@136
|
461 .
|
cannam@136
|
462
|
cannam@136
|
463 vamp:Configuration
|
cannam@136
|
464 a owl:Class;
|
cannam@136
|
465 rdfs:label "Configuration";
|
cannam@136
|
466 vs:term_status "unstable";
|
cannam@136
|
467 rdfs:comment """
|
cannam@136
|
468 For extension (SV implementation of Transform).
|
cannam@136
|
469 """;
|
cannam@136
|
470 .
|
cannam@136
|
471
|
cannam@136
|
472 vamp:TransformType
|
cannam@136
|
473 a owl:Class;
|
cannam@136
|
474 rdfs:label "Transform Type";
|
cannam@136
|
475 vs:term_status "unstable";
|
cannam@136
|
476 rdfs:comment """
|
cannam@136
|
477 Specifies the type of transform. May be feature extraction, effect...
|
cannam@136
|
478 """;
|
cannam@136
|
479 .
|
cannam@136
|
480
|
cannam@136
|
481 ##individuals of transfortype
|
cannam@136
|
482 vamp:FeatureExtraction
|
cannam@136
|
483 a vamp:TransformType;
|
cannam@136
|
484 rdfs:label "Feature Extraction";
|
cannam@136
|
485 vs:term_status "unstable";
|
cannam@136
|
486 rdfs:comment """
|
cannam@136
|
487 Feature extraction transform. This may be just a subclass of Transform...
|
cannam@136
|
488 """;
|
cannam@136
|
489 .
|
cannam@136
|
490
|
cannam@136
|
491 vamp:Effect
|
cannam@136
|
492 a vamp:TransformType;
|
cannam@136
|
493 rdfs:label "Effect";
|
cannam@136
|
494 vs:term_status "unstable";
|
cannam@136
|
495 rdfs:comment """
|
cannam@136
|
496 Effect transform. This may be just a subclass of Transform...
|
cannam@135
|
497 """;
|
cannam@135
|
498 .
|
cannam@135
|
499
|
cannam@135
|
500 ################
|
cannam@135
|
501 # Properties
|
cannam@135
|
502 ################
|
cannam@135
|
503
|
cannam@135
|
504 ##### Plugin Transform properties
|
cannam@135
|
505
|
cannam@136
|
506 vamp:identifier
|
cannam@136
|
507 rdfs:domain vamp:Transform;
|
cannam@136
|
508 #the ID is the plugin ID?
|
cannam@136
|
509 .
|
cannam@136
|
510
|
cannam@136
|
511 vamp:engine
|
cannam@135
|
512 a rdf:Property;
|
cannam@135
|
513 a owl:ObjectProperty;
|
cannam@135
|
514 rdfs:label "plugin";
|
cannam@135
|
515 vs:term_status "stable";
|
cannam@135
|
516 rdfs:comment """
|
cannam@136
|
517 Specifies the plugin in execution. This is an extension to use Transform with other plugin libraries
|
cannam@135
|
518 """;
|
cannam@136
|
519 rdfs:domain vamp:Transform;
|
cannam@135
|
520 rdfs:range vamp:Plugin;
|
cannam@135
|
521 .
|
cannam@135
|
522
|
cannam@135
|
523 vamp:program
|
cannam@135
|
524 a rdf:Property;
|
cannam@135
|
525 a owl:ObjectProperty;
|
cannam@135
|
526 a owl:FunctionalProperty;
|
cannam@135
|
527 rdfs:label "program";
|
cannam@135
|
528 vs:term_status "stable";
|
cannam@135
|
529 rdfs:comment """
|
cannam@136
|
530 Specifies the program to set the plugin in execution. Here the plugin program matches with the one in the plugin descriptor. There is not descriptor required for the program (just a string), is it?
|
cannam@135
|
531 """;
|
cannam@135
|
532 rdfs:domain vamp:Transform;
|
cannam@135
|
533 rdfs:range vamp:PluginProgram;
|
cannam@135
|
534 .
|
cannam@135
|
535
|
cannam@136
|
536 vamp:program
|
cannam@136
|
537 a rdf:Property;
|
cannam@136
|
538 a owl:ObjectProperty;
|
cannam@136
|
539 a owl:FunctionalProperty;
|
cannam@136
|
540 rdfs:label "program";
|
cannam@136
|
541 vs:term_status "stable";
|
cannam@136
|
542 rdfs:comment """
|
cannam@136
|
543 Extension for configuration.
|
cannam@136
|
544 """;
|
cannam@136
|
545 rdfs:domain vamp:Transform;
|
cannam@136
|
546 rdfs:range vamp:Configuration;
|
cannam@136
|
547 .
|
cannam@136
|
548
|
cannam@135
|
549 vamp:parameter
|
cannam@135
|
550 a rdf:Property;
|
cannam@135
|
551 a owl:ObjectProperty;
|
cannam@135
|
552 rdfs:label "parameter";
|
cannam@135
|
553 vs:term_status "stable";
|
cannam@135
|
554 rdfs:comment """
|
cannam@135
|
555 Specifies the parameter to set the plugin in execution.
|
cannam@135
|
556 """;
|
cannam@136
|
557 rdfs:domain vamp:Transform;
|
cannam@135
|
558 rdfs:range vamp:Parameter;
|
cannam@135
|
559 .
|
cannam@135
|
560
|
cannam@135
|
561 vamp:step_size
|
cannam@135
|
562 a rdf:Property;
|
cannam@135
|
563 a owl:DatatypeProperty;
|
cannam@135
|
564 a owl:FunctionalProperty;
|
cannam@135
|
565 rdfs:label "step size";
|
cannam@135
|
566 vs:term_status "stable";
|
cannam@135
|
567 rdfs:comment """
|
cannam@135
|
568 Specifies the step size for the framing.
|
cannam@135
|
569 """;
|
cannam@136
|
570 rdfs:domain vamp:Transform;
|
cannam@135
|
571 .
|
cannam@135
|
572
|
cannam@135
|
573 vamp:block_size
|
cannam@135
|
574 a rdf:Property;
|
cannam@135
|
575 a owl:DatatypeProperty;
|
cannam@135
|
576 a owl:FunctionalProperty;
|
cannam@135
|
577 rdfs:label "block size";
|
cannam@135
|
578 vs:term_status "stable";
|
cannam@135
|
579 rdfs:comment """
|
cannam@135
|
580 Specifies the block size for the framing.
|
cannam@135
|
581 """;
|
cannam@136
|
582 rdfs:domain vamp:Transform;
|
cannam@135
|
583 .
|
cannam@135
|
584
|
cannam@135
|
585 vamp:sample_rate
|
cannam@135
|
586 a rdf:Property;
|
cannam@135
|
587 a owl:DatatypeProperty;
|
cannam@135
|
588 a owl:FunctionalProperty;
|
cannam@135
|
589 rdfs:label "sample rate";
|
cannam@135
|
590 vs:term_status "stable";
|
cannam@135
|
591 rdfs:comment """
|
cannam@135
|
592 Specifies the sample rate if it is not constant.
|
cannam@135
|
593 """;
|
cannam@136
|
594 rdfs:domain vamp:Transform;
|
cannam@135
|
595 .
|
cannam@135
|
596
|
cannam@135
|
597 vamp:transform_type
|
cannam@135
|
598 a rdf:Property;
|
cannam@136
|
599 a owl:ObjectProperty;
|
cannam@135
|
600 a owl:FunctionalProperty;
|
cannam@135
|
601 rdfs:label "transform type";
|
cannam@135
|
602 vs:term_status "unstable";
|
cannam@135
|
603 rdfs:comment """
|
cannam@136
|
604 Specifies the transform type (we could do this by subclassin transform instead of using a property).
|
cannam@135
|
605 """;
|
cannam@136
|
606 rdfs:domain vamp:Transform;
|
cannam@135
|
607 .
|
cannam@135
|
608
|
cannam@135
|
609 vamp:window_type
|
cannam@135
|
610 a rdf:Property;
|
cannam@135
|
611 a owl:DatatypeProperty;
|
cannam@135
|
612 a owl:FunctionalProperty;
|
cannam@135
|
613 rdfs:label "window type";
|
cannam@135
|
614 vs:term_status "unstable";
|
cannam@135
|
615 rdfs:comment """
|
cannam@135
|
616 Specifies the window type (they should be individuals and clearly not here).
|
cannam@135
|
617 """;
|
cannam@136
|
618 rdfs:domain vamp:Transform;
|
cannam@135
|
619 .
|
cannam@135
|
620
|
cannam@136
|
621 vamp:start
|
cannam@136
|
622 a rdf:Property;
|
cannam@136
|
623 a owl:DatatypeProperty;
|
cannam@136
|
624 a owl:FunctionalProperty;
|
cannam@136
|
625 rdfs:label "start";
|
cannam@136
|
626 vs:term_status "unstable";
|
cannam@136
|
627 rdfs:comment """
|
cannam@136
|
628 Specifies temporal information when processing a data stream.
|
cannam@136
|
629 """;
|
cannam@136
|
630 rdfs:domain vamp:Transform;
|
cannam@136
|
631 .
|
cannam@136
|
632
|
cannam@136
|
633 vamp:duration
|
cannam@136
|
634 a rdf:Property;
|
cannam@136
|
635 a owl:DatatypeProperty;
|
cannam@136
|
636 a owl:FunctionalProperty;
|
cannam@136
|
637 rdfs:label "start";
|
cannam@136
|
638 vs:term_status "unstable";
|
cannam@136
|
639 rdfs:comment """
|
cannam@136
|
640 Specifies temporal information when processing a data stream.
|
cannam@136
|
641 """;
|
cannam@136
|
642 rdfs:domain vamp:Transform;
|
cannam@136
|
643 .
|
cannam@136
|
644
|
cannam@135
|
645 ##### Parameter properties
|
cannam@135
|
646
|
cannam@135
|
647 vamp:value
|
cannam@135
|
648 a rdf:Property;
|
cannam@135
|
649 a owl:DatatypeProperty;
|
cannam@135
|
650 a owl:FunctionalProperty;
|
cannam@135
|
651 rdfs:label "value";
|
cannam@135
|
652 vs:term_status "stable";
|
cannam@135
|
653 rdfs:comment """
|
cannam@135
|
654 Specifies the current value of the parameter.
|
cannam@135
|
655 """;
|
cannam@135
|
656 rdfs:domain vamp:Parameter;
|
cannam@135
|
657 .
|
cannam@135
|
658
|
cannam@135
|
659 vamp:parameter_descriptor
|
cannam@135
|
660 a rdf:Property;
|
cannam@135
|
661 a owl:ObjectProperty;
|
cannam@135
|
662 rdfs:label "parameter descriptor";
|
cannam@135
|
663 vs:term_status "stable";
|
cannam@135
|
664 rdfs:comment """
|
cannam@135
|
665 Specifies exactly the type of descriptor to set in the transform by linking it.
|
cannam@135
|
666 """;
|
cannam@135
|
667 rdfs:domain vamp:Parameter;
|
cannam@135
|
668 rdfs:range vamp:ParameterDescriptor;
|
cannam@135
|
669 .
|
cannam@135
|
670
|
cannam@135
|
671
|
cannam@135
|
672
|
cannam@135
|
673
|