annotate rdf/vamp.n3 @ 155:b734b032558c

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