annotate src/vamp-plugin-sdk-2.5/rdf/vamp.n3 @ 23:619f715526df sv_v2.1

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