comparison rdf/vamp.n3 @ 148:afd60ff5ceef

* Commit updates from David to deal with quantized outputs and known-range outputs
author cannam
date Mon, 23 Jun 2008 13:05:21 +0000
parents 6b80bb85083b
children 3ec175bf5249
comparison
equal deleted inserted replaced
147:27da08f3e951 148:afd60ff5ceef
75 Descriptor for a plugin parameter. Hosts need to know about the specific type and form of the parameters of a particular plugin for a correct transform setup. 75 Descriptor for a plugin parameter. Hosts need to know about the specific type and form of the parameters of a particular plugin for a correct transform setup.
76 """; 76 """;
77 vs:term_status "stable"; 77 vs:term_status "stable";
78 . 78 .
79 79
80 vamp:QuantizedParameterDescriptor
81 a owl:Class;
82 rdfs:label "QuantizedParameter Descriptor";
83 rdfs:subClassOf vamp:ParameterDescriptor;
84 rdfs:comment """
85 Descriptor of a parameter that does have quantized values. The property quantize_step is just defined for this subclass and not for the general Parameter Descriptor.
86 """;
87 vs:term_status "stable";
88 .
89
80 vamp:PluginOutput 90 vamp:PluginOutput
81 a owl:Class; 91 a owl:Class;
82 rdfs:label "Vamp Plugin output descriptor"; 92 rdfs:label "Vamp Plugin output descriptor";
83 rdfs:comment """ 93 rdfs:comment """
84 Descriptor for an output of a plugin. This descriptor provides information that is necessary to correctly interpret the output features. The output type will determine how to read the temporal information of the extracted features and how to manage the burden of ouput data. 94 Descriptor for an output of a plugin. This descriptor provides information that is necessary to correctly interpret the output features. The output type will determine how to read the temporal information of the extracted features and how to manage the burden of ouput data.
85 """; 95 """;
86 vs:term_status "unstable"; 96 vs:term_status "unstable";
97 .
98
99 #3 classifications of outputs:
100 #-density of data
101 #-quantised
102 #-known extents
103
104 #there is not classification for fix_bin_count
105
106 vamp:QuantizedOutput
107 a owl:Class;
108 rdfs:label "Quantized Output";
109 rdfs:subClassOf vamp:PluginOutput;
110 rdfs:comment """
111 Descriptor of an output that does have quantized values.
112 """;
113 vs:term_status "stable";
114 .
115
116 vamp:KnownExtentsOutput
117 a owl:Class;
118 rdfs:label "Known Extents Output";
119 rdfs:subClassOf vamp:PluginOutput;
120 rdfs:comment """
121 Descriptor of an output that does have known extents.
122 """;
123 vs:term_status "stable";
87 . 124 .
88 125
89 vamp:DenseOutput 126 vamp:DenseOutput
90 a owl:Class; 127 a owl:Class;
91 rdfs:subClassOf vamp:PluginOutput; 128 rdfs:subClassOf vamp:PluginOutput;
247 vs:term_status "stable"; 284 vs:term_status "stable";
248 . 285 .
249 286
250 # Note that other properties like maker can be linked to the plugin descriptor using other namespaces 287 # Note that other properties like maker can be linked to the plugin descriptor using other namespaces
251 288
252 ##### Parameter Descriptor properties 289 ##### Parameter Descriptor properties (and some common with PluginOutput)
253 290
254 # Note: Identifier has been already defined 291 # Note: Identifier has been already defined
255 292
256 vamp:max_value 293 vamp:max_value
257 a rdf:Property; 294 a rdf:Property;
260 rdfs:label "max value"; 297 rdfs:label "max value";
261 rdfs:comment """ 298 rdfs:comment """
262 Maximum value of the parameter range 299 Maximum value of the parameter range
263 """; 300 """;
264 rdfs:range vamp:ParameterDescriptor; 301 rdfs:range vamp:ParameterDescriptor;
265 rdfs:range vamp:PluginOutput; 302 rdfs:range vamp:KnownExtentsOutput;
266 vs:term_status "unstable"; 303 vs:term_status "unstable";
267 . 304 .
268 305
269 vamp:min_value 306 vamp:min_value
270 a rdf:Property; 307 a rdf:Property;
273 rdfs:label "min value"; 310 rdfs:label "min value";
274 rdfs:comment """ 311 rdfs:comment """
275 Minimum value of the parameter range 312 Minimum value of the parameter range
276 """; 313 """;
277 rdfs:range vamp:ParameterDescriptor; 314 rdfs:range vamp:ParameterDescriptor;
278 rdfs:range vamp:PluginOutput; 315 rdfs:range vamp:KnownExtentsOutput;
279 vs:term_status "unstable"; 316 vs:term_status "unstable";
280 . 317 .
281 318
282 vamp:default_value 319 vamp:default_value
283 a rdf:Property; 320 a rdf:Property;
289 """; 326 """;
290 rdfs:range vamp:ParameterDescriptor; 327 rdfs:range vamp:ParameterDescriptor;
291 vs:term_status "unstable"; 328 vs:term_status "unstable";
292 . 329 .
293 330
331 vamp:quantize_step
332 a rdf:Property;
333 a owl:FunctionalProperty;
334 a owl:DatatypeProperty;
335 rdfs:label "quantized step";
336 rdfs:comment """
337 Quantize step. Only defined if is_quantized is true
338 """;
339 rdfs:domain vamp:QuantizedOutput;
340 rdfs:domain vamp:QuantizedParameterDescriptor;
341 vs:term_status "unstable";
342 .
343
344 vamp:unit
345 a rdf:Property;
346 a owl:DatatypeProperty;
347 a owl:FunctionalProperty;
348 rdfs:label "unit";
349 rdfs:comment """
350 Unit of the output/parameter. A string type
351 """;
352 rdfs:domain vamp:PluginOutput;
353 rdfs:domain vamp:ParameterDescriptor;
354 vs:term_status "unstable";
355 .
356
357 vamp:value_names
358 a rdf:Property;
359 a owl:DatatypeProperty;
360 rdfs:label "value names";
361 rdfs:comment """
362 List of value names if available
363 """;
364 rdfs:domain vamp:ParameterDescriptor;
365 vs:term_status "unstable";
366 .
367
294 ########Output Descriptor properties 368 ########Output Descriptor properties
295 369
296 vamp:fixed_bin_count 370 vamp:fixed_bin_count
297 a rdf:Property; 371 a rdf:Property;
298 a owl:DatatypeProperty; 372 a owl:DatatypeProperty;
302 """; 376 """;
303 rdfs:domain vamp:PluginOutput; 377 rdfs:domain vamp:PluginOutput;
304 vs:term_status "unstable"; 378 vs:term_status "unstable";
305 . 379 .
306 380
307 vamp:is_quantized
308 a rdf:Property;
309 a owl:DatatypeProperty;
310 rdfs:label "is quantized";
311 rdfs:comment """
312 Quantized. A boolean type.
313 """;
314 rdfs:domain vamp:PluginOutput;
315 vs:term_status "unstable";
316 .
317
318 vamp:unit
319 a rdf:Property;
320 a owl:DatatypeProperty;
321 a owl:FunctionalProperty;
322 rdfs:label "unit";
323 rdfs:comment """
324 Unit of the output/parameter. A string type
325 """;
326 rdfs:domain vamp:PluginOutput;
327 rdfs:domain vamp:ParameterDescriptor;
328 vs:term_status "unstable";
329 .
330
331 vamp:sample_rate 381 vamp:sample_rate
332 a rdf:Property; 382 a rdf:Property;
333 a owl:DatatypeProperty; 383 a owl:DatatypeProperty;
334 rdfs:label "sample rate"; 384 rdfs:label "sample rate";
335 rdfs:comment """ 385 rdfs:comment """
336 Sample rate of the output if any. Should be read depending on SampleType and Output classes. 386 Sample rate of the output if any. Should be read depending on SampleType and Output classes.
337 """; 387 """;
338 rdfs:domain vamp:PluginOutput; 388 rdfs:domain vamp:PluginOutput;
339 vs:term_status "unstable";
340 .
341
342 vamp:quantize_step
343 a rdf:Property;
344 a owl:FunctionalProperty;
345 a owl:DatatypeProperty;
346 rdfs:label "quantized step";
347 rdfs:comment """
348 Quantize step. Only defined if is_quantized is true
349 """;
350 rdfs:domain vamp:PluginOutput;
351 rdfs:domain vamp:ParameterDescriptor;
352 vs:term_status "unstable"; 389 vs:term_status "unstable";
353 . 390 .
354 391
355 vamp:bin_count 392 vamp:bin_count
356 a rdf:Property; 393 a rdf:Property;
366 vamp:bin_names 403 vamp:bin_names
367 a rdf:Property; 404 a rdf:Property;
368 a owl:DatatypeProperty; 405 a owl:DatatypeProperty;
369 rdfs:label "bin names"; 406 rdfs:label "bin names";
370 rdfs:comment """ 407 rdfs:comment """
371 List of bin names if available 408 List of bin names if available.
372 """; 409 """;
373 rdfs:domain vamp:PluginOutput; 410 rdfs:domain vamp:PluginOutput;
374 vs:term_status "unstable"; 411 vs:term_status "unstable";
375 . 412 .
376 413
384 """; 421 """;
385 rdfs:domain vamp:PluginOutput; 422 rdfs:domain vamp:PluginOutput;
386 rdfs:range vamp:SampleType; 423 rdfs:range vamp:SampleType;
387 vs:term_status "unstable"; 424 vs:term_status "unstable";
388 . 425 .
426
427 #These last 2 properties are included to match the Audio Features Ontology (not estrictly from the Vamp API).
389 428
390 vamp:computes_feature_type 429 vamp:computes_feature_type
391 a rdf:Property; 430 a rdf:Property;
392 a owl:ObjectProperty; 431 a owl:ObjectProperty;
393 rdfs:label "feature type"; 432 rdfs:label "feature type";