annotate rdf/vamp.n3 @ 222:87ec761c7513

* Add copyright note
author cannam
date Wed, 29 Oct 2008 17:19:29 +0000
parents 20393d30baee
children 11588ad1cc3b
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
dpastor@155 197 ##!!! lacking plugin version?
cannam@152 198
dpastor@153 199 vamp:parameter
cannam@135 200 a rdf:Property;
cannam@135 201 a owl:ObjectProperty;
cannam@135 202 rdfs:label "parameter descriptor";
cannam@135 203 rdfs:comment """
cannam@141 204 Links each parameter descriptor to the plugin.
cannam@135 205 """;
dpastor@153 206 rdfs:range vamp:Parameter;
dpastor@155 207 rdfs:domain vamp:ParameterBinding;
cannam@135 208 rdfs:domain vamp:Plugin;
cannam@135 209 vs:term_status "stable";
cannam@135 210 .
cannam@135 211
dpastor@153 212 vamp:output
cannam@135 213 a rdf:Property;
cannam@135 214 a owl:ObjectProperty;
dpastor@153 215 rdfs:label "output";
cannam@135 216 rdfs:comment """
cannam@141 217 Links each output type to the plugin.
cannam@135 218 """;
cannam@135 219 rdfs:range vamp:PluginOutput;
cannam@135 220 rdfs:domain vamp:Plugin;
dpastor@155 221 rdfs:domain vamp:Transform;
cannam@135 222 vs:term_status "stable";
cannam@135 223 .
cannam@135 224
cannam@136 225 ##### Plugin Library properties (could include affiliation, rights...)
cannam@135 226
cannam@135 227 vamp:available_plugin
cannam@135 228 a rdf:Property;
cannam@135 229 a owl:ObjectProperty;
cannam@135 230 rdfs:label "available plugin";
cannam@135 231 rdfs:comment """
cannam@141 232 Available plugins in the library
cannam@135 233 """;
cannam@135 234 rdfs:range vamp:Plugin;
cannam@135 235 rdfs:domain vamp:PluginLibrary;
cannam@135 236 vs:term_status "stable";
cannam@135 237 .
cannam@135 238
cannam@136 239 #### Plugin Descriptor properties
cannam@135 240
cannam@135 241 vamp:identifier
cannam@135 242 a rdf:Property;
cannam@135 243 a owl:DatatypeProperty;
cannam@135 244 rdfs:label "plugin identifier";
cannam@135 245 rdfs:comment """
cannam@141 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.
cannam@135 247 """;
cannam@138 248 rdfs:domain vamp:Plugin;
cannam@143 249 rdfs:domain vamp:PluginLibrary;
cannam@135 250 rdfs:domain vamp:PluginProgram;
cannam@135 251 rdfs:domain vamp:PluginOutput;
dpastor@153 252 rdfs:domain vamp:Parameter;
dpastor@155 253 rdfs:domain vamp:Transform;
cannam@135 254 vs:term_status "stable";
cannam@135 255 .
cannam@135 256
cannam@135 257 vamp:name
cannam@135 258 a rdf:Property;
cannam@135 259 a owl:DatatypeProperty;
cannam@135 260 rdfs:label "plugin name";
cannam@135 261 rdfs:comment """
cannam@135 262 Human-readable identifier for the plugin.
cannam@135 263 """;
cannam@138 264 rdfs:domain vamp:Plugin;
cannam@135 265 vs:term_status "stable";
cannam@135 266 .
cannam@135 267
cannam@135 268 vamp:vamp_API_version
cannam@135 269 a rdf:Property;
cannam@135 270 a owl:DatatypeProperty;
cannam@222 271 rdfs:label "Vamp API version";
cannam@135 272 rdfs:comment """
cannam@141 273 Version of the Vamp API used to implement this plugin.
cannam@135 274 """;
cannam@138 275 rdfs:domain vamp:Plugin;
cannam@135 276 vs:term_status "stable";
cannam@135 277 .
cannam@135 278
cannam@135 279 vamp:input_domain
cannam@135 280 a rdf:Property;
cannam@135 281 a owl:DatatypeProperty;
cannam@135 282 rdfs:label "input domain";
cannam@135 283 rdfs:comment """
cannam@141 284 Input domain required by the plugin (time or frequency).
cannam@135 285 """;
cannam@135 286 rdfs:domain vamp:Plugin;
cannam@135 287 rdfs:range vamp:InputDomain;
cannam@135 288 vs:term_status "stable";
cannam@135 289 .
cannam@135 290
cannam@222 291 vamp:copyright_note
cannam@222 292 a rdf:Property;
cannam@222 293 a owl:DatatypeProperty;
cannam@222 294 rdfs:label "Copyright note";
cannam@222 295 rdfs:comment """
cannam@222 296 Semi-formal copyright note for the plugin.
cannam@222 297 """;
cannam@222 298 rdfs:domain vamp:Plugin;
cannam@222 299 vs:term_status "unstable";
cannam@222 300 .
cannam@222 301
cannam@141 302 # Note that other properties like maker can be linked to the plugin descriptor using other namespaces
cannam@135 303
cannam@148 304 ##### Parameter Descriptor properties (and some common with PluginOutput)
cannam@135 305
cannam@141 306 # Note: Identifier has been already defined
cannam@135 307
cannam@135 308 vamp:max_value
cannam@135 309 a rdf:Property;
cannam@135 310 a owl:DatatypeProperty;
cannam@135 311 a owl:FunctionalProperty;
cannam@135 312 rdfs:label "max value";
cannam@136 313 rdfs:comment """
cannam@136 314 Maximum value of the parameter range
cannam@136 315 """;
dpastor@153 316 rdfs:range vamp:Parameter;
cannam@148 317 rdfs:range vamp:KnownExtentsOutput;
cannam@135 318 vs:term_status "unstable";
cannam@135 319 .
cannam@135 320
cannam@135 321 vamp:min_value
cannam@135 322 a rdf:Property;
cannam@135 323 a owl:DatatypeProperty;
cannam@135 324 a owl:FunctionalProperty;
cannam@135 325 rdfs:label "min value";
cannam@136 326 rdfs:comment """
cannam@136 327 Minimum value of the parameter range
cannam@136 328 """;
dpastor@153 329 rdfs:range vamp:Parameter;
cannam@148 330 rdfs:range vamp:KnownExtentsOutput;
cannam@135 331 vs:term_status "unstable";
cannam@135 332 .
cannam@135 333
cannam@135 334 vamp:default_value
cannam@135 335 a rdf:Property;
cannam@135 336 a owl:DatatypeProperty;
cannam@135 337 a owl:FunctionalProperty;
cannam@135 338 rdfs:label "default value";
cannam@136 339 rdfs:comment """
cannam@136 340 Default value of the parameter
cannam@136 341 """;
dpastor@153 342 rdfs:range vamp:Parameter;
cannam@135 343 vs:term_status "unstable";
cannam@135 344 .
cannam@135 345
cannam@148 346 vamp:quantize_step
cannam@148 347 a rdf:Property;
cannam@148 348 a owl:FunctionalProperty;
cannam@148 349 a owl:DatatypeProperty;
cannam@148 350 rdfs:label "quantized step";
cannam@148 351 rdfs:comment """
cannam@193 352 Quantize step. Only defined for quantized outputs
cannam@148 353 """;
cannam@148 354 rdfs:domain vamp:QuantizedOutput;
dpastor@153 355 rdfs:domain vamp:QuantizedParameter;
cannam@148 356 vs:term_status "unstable";
cannam@148 357 .
cannam@148 358
cannam@193 359 vamp:has_duration
cannam@193 360 a rdf:Property;
cannam@193 361 a owl:FunctionalProperty;
cannam@193 362 a owl:DatatypeProperty;
cannam@193 363 rdfs:label "has duration";
cannam@193 364 rdfs:comment """
cannam@193 365 True if features on this output are known to have durations
cannam@193 366 """;
cannam@193 367 rdfs:domain vamp:PluginOutput;
cannam@193 368 vs:term_status "unstable";
cannam@193 369 .
cannam@193 370
cannam@148 371 vamp:unit
cannam@148 372 a rdf:Property;
cannam@148 373 a owl:DatatypeProperty;
cannam@148 374 a owl:FunctionalProperty;
cannam@148 375 rdfs:label "unit";
cannam@148 376 rdfs:comment """
cannam@148 377 Unit of the output/parameter. A string type
cannam@148 378 """;
cannam@148 379 rdfs:domain vamp:PluginOutput;
dpastor@153 380 rdfs:domain vamp:Parameter;
cannam@148 381 vs:term_status "unstable";
cannam@148 382 .
cannam@148 383
cannam@148 384 vamp:value_names
cannam@148 385 a rdf:Property;
cannam@148 386 a owl:DatatypeProperty;
cannam@148 387 rdfs:label "value names";
cannam@148 388 rdfs:comment """
cannam@148 389 List of value names if available
cannam@148 390 """;
dpastor@153 391 rdfs:domain vamp:Parameter;
cannam@148 392 vs:term_status "unstable";
cannam@148 393 .
cannam@148 394
cannam@135 395 ########Output Descriptor properties
cannam@135 396
cannam@135 397 vamp:fixed_bin_count
cannam@135 398 a rdf:Property;
cannam@135 399 a owl:DatatypeProperty;
cannam@135 400 rdfs:label "fixed bin count";
cannam@136 401 rdfs:comment """
cannam@136 402 Fixed bin count. A boolean type.
cannam@136 403 """;
cannam@135 404 rdfs:domain vamp:PluginOutput;
cannam@135 405 vs:term_status "unstable";
cannam@135 406 .
cannam@135 407
cannam@135 408 vamp:sample_rate
cannam@135 409 a rdf:Property;
cannam@135 410 a owl:DatatypeProperty;
cannam@135 411 rdfs:label "sample rate";
cannam@136 412 rdfs:comment """
cannam@136 413 Sample rate of the output if any. Should be read depending on SampleType and Output classes.
cannam@136 414 """;
cannam@135 415 rdfs:domain vamp:PluginOutput;
cannam@135 416 vs:term_status "unstable";
cannam@135 417 .
cannam@135 418
cannam@135 419 vamp:bin_count
cannam@135 420 a rdf:Property;
cannam@135 421 a owl:DatatypeProperty;
cannam@135 422 rdfs:label "bin count";
cannam@136 423 rdfs:comment """
cannam@136 424 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 425 """;
cannam@135 426 rdfs:domain vamp:PluginOutput;
cannam@135 427 vs:term_status "unstable";
cannam@135 428 .
cannam@135 429
cannam@135 430 vamp:bin_names
cannam@135 431 a rdf:Property;
cannam@135 432 a owl:DatatypeProperty;
cannam@135 433 rdfs:label "bin names";
cannam@136 434 rdfs:comment """
cannam@148 435 List of bin names if available.
cannam@136 436 """;
cannam@135 437 rdfs:domain vamp:PluginOutput;
cannam@135 438 vs:term_status "unstable";
cannam@135 439 .
cannam@135 440
cannam@135 441 vamp:sample_type
cannam@135 442 a rdf:Property;
cannam@135 443 a owl:DatatypeProperty;
cannam@135 444 a owl:FunctionalProperty;
cannam@135 445 rdfs:label "sample type";
cannam@136 446 rdfs:comment """
cannam@136 447 The sample type specifies the temporal information of the output.
cannam@136 448 """;
cannam@135 449 rdfs:domain vamp:PluginOutput;
cannam@135 450 rdfs:range vamp:SampleType;
cannam@135 451 vs:term_status "unstable";
cannam@135 452 .
cannam@135 453
cannam@193 454 # The next 3 properties are included to link in the Audio Features Ontology (not estrictly from the Vamp API).
cannam@148 455
cannam@138 456 vamp:computes_event_type
cannam@138 457 a rdf:Property;
cannam@138 458 a owl:ObjectProperty;
cannam@138 459 rdfs:label "event type";
cannam@138 460 rdfs:comment """
cannam@159 461 Associates a plugin output with its corresponding event type (for example, in the Audio Features ontology).
cannam@138 462 """;
cannam@138 463 rdfs:domain vamp:PluginOutput;
cannam@138 464 rdfs:range event:Event;
cannam@138 465 vs:term_status "unstable";
cannam@138 466 .
cannam@159 467
cannam@159 468 vamp:computes_feature
cannam@159 469 a rdf:Property;
cannam@159 470 a owl:ObjectProperty;
cannam@159 471 rdfs:label "feature type";
cannam@159 472 rdfs:comment """
cannam@159 473 Associates a plugin output with the attribute connecting the event to its value data.
cannam@159 474 """;
cannam@159 475 rdfs:domain vamp:PluginOutput;
cannam@159 476 rdfs:range event:factor;
cannam@159 477 vs:term_status "unstable";
cannam@159 478 .
cannam@159 479
cannam@159 480 vamp:computes_signal_type
cannam@159 481 a rdf:Property;
cannam@159 482 a owl:ObjectProperty;
cannam@159 483 rdfs:label "signal type";
cannam@159 484 rdfs:comment """
cannam@159 485 Associates a dense plugin output with its corresponding signal type (for example, in the Audio Features ontology).
cannam@159 486 """;
cannam@159 487 rdfs:domain vamp:PluginOutput;
cannam@159 488 rdfs:range af:Signal;
cannam@159 489 vs:term_status "unstable";
cannam@159 490 .
cannam@135 491
cannam@135 492 ########################
cannam@135 493 # INDIVIDUALS
cannam@135 494 ########################
cannam@135 495
cannam@138 496 vamp:TimeDomain
cannam@135 497 a vamp:InputDomain;
cannam@135 498 .
cannam@135 499
cannam@138 500 vamp:FrequencyDomain
cannam@135 501 a vamp:InputDomain;
cannam@135 502 .
cannam@135 503
cannam@135 504 vamp:OneSamplePerStep
cannam@135 505 a vamp:SampleType;
cannam@135 506 .
cannam@135 507
cannam@135 508 vamp:FixedSampleRate
cannam@135 509 a vamp:SampleType;
cannam@135 510 .
cannam@135 511
cannam@135 512 vamp:VariableSampleRate
cannam@135 513 a vamp:SampleType;
cannam@135 514 .
cannam@135 515
cannam@135 516 ################################################### END OF THE VAMP API DESCRIPTION ############################################################
cannam@135 517
cannam@135 518
cannam@135 519 #############################################
cannam@141 520 # Part 2: Classes to describe plugin execution. TRANSFORM
cannam@135 521 #############################################
cannam@135 522
cannam@141 523 # Note: we need to define this part of the ontology to give a minimun common standard for hosts.
cannam@141 524 # Note: this may split up in some other ontology or become part of the DSP namespace
cannam@135 525
cannam@135 526 vamp:Transform
cannam@135 527 a owl:Class;
cannam@136 528 rdfs:label "Transform";
cannam@135 529 vs:term_status "stable";
cannam@135 530 rdfs:comment """
cannam@141 531 The Transform defines the environment of any audio processing computation.
cannam@135 532 """;
cannam@135 533 .
cannam@135 534
dpastor@153 535 vamp:ParameterBinding
cannam@135 536 a owl:Class;
dpastor@153 537 rdfs:label "Parameter binding";
cannam@135 538 vs:term_status "unstable";
cannam@135 539 rdfs:comment """
dpastor@153 540 Parameter setting used by the plugin transform to set up the plugin.
cannam@136 541 """;
cannam@136 542 .
cannam@136 543
cannam@136 544 vamp:Configuration
cannam@136 545 a owl:Class;
cannam@136 546 rdfs:label "Configuration";
cannam@136 547 vs:term_status "unstable";
cannam@136 548 rdfs:comment """
cannam@141 549 For extension (key/value data provided to DSSI plugins, not relevant to Vamp)
cannam@136 550 """;
cannam@136 551 .
cannam@136 552
cannam@136 553 vamp:TransformType
cannam@136 554 a owl:Class;
cannam@136 555 rdfs:label "Transform Type";
cannam@136 556 vs:term_status "unstable";
cannam@136 557 rdfs:comment """
cannam@136 558 Specifies the type of transform. May be feature extraction, effect...
cannam@136 559 """;
cannam@136 560 .
cannam@136 561
cannam@141 562 ##individuals of transformtype
cannam@136 563 vamp:FeatureExtraction
cannam@136 564 a vamp:TransformType;
cannam@136 565 rdfs:label "Feature Extraction";
cannam@136 566 vs:term_status "unstable";
cannam@136 567 rdfs:comment """
cannam@136 568 Feature extraction transform. This may be just a subclass of Transform...
cannam@136 569 """;
cannam@136 570 .
cannam@136 571
cannam@136 572 vamp:Effect
cannam@136 573 a vamp:TransformType;
cannam@136 574 rdfs:label "Effect";
cannam@136 575 vs:term_status "unstable";
cannam@136 576 rdfs:comment """
cannam@136 577 Effect transform. This may be just a subclass of Transform...
cannam@135 578 """;
cannam@135 579 .
cannam@135 580
cannam@135 581 ################
cannam@135 582 # Properties
cannam@135 583 ################
cannam@135 584
cannam@135 585 ##### Plugin Transform properties
cannam@135 586
dpastor@155 587 #identifier and output are declared above
dpastor@153 588
cannam@136 589 vamp:engine
cannam@135 590 a rdf:Property;
cannam@135 591 a owl:ObjectProperty;
cannam@135 592 rdfs:label "plugin";
cannam@135 593 vs:term_status "stable";
cannam@135 594 rdfs:comment """
cannam@141 595 Specifies the sort of plugin in execution. This is an extension to use Transform with other plugin libraries
cannam@135 596 """;
cannam@136 597 rdfs:domain vamp:Transform;
cannam@135 598 rdfs:range vamp:Plugin;
cannam@135 599 .
cannam@135 600
cannam@135 601 vamp:program
cannam@135 602 a rdf:Property;
cannam@135 603 a owl:ObjectProperty;
cannam@135 604 a owl:FunctionalProperty;
cannam@135 605 rdfs:label "program";
cannam@135 606 vs:term_status "stable";
cannam@135 607 rdfs:comment """
cannam@141 608 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 609 """;
cannam@135 610 rdfs:domain vamp:Transform;
cannam@135 611 rdfs:range vamp:PluginProgram;
cannam@135 612 .
cannam@135 613
cannam@152 614 vamp:configuration
cannam@136 615 a rdf:Property;
cannam@136 616 a owl:ObjectProperty;
cannam@136 617 a owl:FunctionalProperty;
cannam@136 618 rdfs:label "program";
cannam@136 619 vs:term_status "stable";
cannam@136 620 rdfs:comment """
cannam@141 621 Extension for configuration.
cannam@136 622 """;
cannam@136 623 rdfs:domain vamp:Transform;
cannam@136 624 rdfs:range vamp:Configuration;
cannam@136 625 .
cannam@136 626
dpastor@153 627 vamp:parameter_binding
cannam@135 628 a rdf:Property;
cannam@135 629 a owl:ObjectProperty;
cannam@135 630 rdfs:label "parameter";
cannam@135 631 vs:term_status "stable";
cannam@135 632 rdfs:comment """
cannam@135 633 Specifies the parameter to set the plugin in execution.
cannam@135 634 """;
cannam@136 635 rdfs:domain vamp:Transform;
dpastor@153 636 rdfs:range vamp:ParameterBinding;
cannam@135 637 .
cannam@135 638
cannam@135 639 vamp:step_size
cannam@135 640 a rdf:Property;
cannam@135 641 a owl:DatatypeProperty;
cannam@135 642 a owl:FunctionalProperty;
cannam@135 643 rdfs:label "step size";
cannam@135 644 vs:term_status "stable";
cannam@135 645 rdfs:comment """
cannam@135 646 Specifies the step size for the framing.
cannam@135 647 """;
cannam@136 648 rdfs:domain vamp:Transform;
cannam@135 649 .
cannam@135 650
cannam@135 651 vamp:block_size
cannam@135 652 a rdf:Property;
cannam@135 653 a owl:DatatypeProperty;
cannam@135 654 a owl:FunctionalProperty;
cannam@135 655 rdfs:label "block size";
cannam@135 656 vs:term_status "stable";
cannam@135 657 rdfs:comment """
cannam@135 658 Specifies the block size for the framing.
cannam@135 659 """;
cannam@136 660 rdfs:domain vamp:Transform;
cannam@135 661 .
cannam@135 662
cannam@135 663 vamp:sample_rate
cannam@135 664 a rdf:Property;
cannam@135 665 a owl:DatatypeProperty;
cannam@135 666 a owl:FunctionalProperty;
cannam@135 667 rdfs:label "sample rate";
cannam@135 668 vs:term_status "stable";
cannam@135 669 rdfs:comment """
cannam@135 670 Specifies the sample rate if it is not constant.
cannam@135 671 """;
cannam@136 672 rdfs:domain vamp:Transform;
cannam@135 673 .
cannam@135 674
cannam@135 675 vamp:transform_type
cannam@135 676 a rdf:Property;
cannam@136 677 a owl:ObjectProperty;
cannam@135 678 a owl:FunctionalProperty;
cannam@135 679 rdfs:label "transform type";
cannam@135 680 vs:term_status "unstable";
cannam@135 681 rdfs:comment """
cannam@136 682 Specifies the transform type (we could do this by subclassin transform instead of using a property).
cannam@135 683 """;
cannam@136 684 rdfs:domain vamp:Transform;
cannam@135 685 .
cannam@135 686
cannam@135 687 vamp:window_type
cannam@135 688 a rdf:Property;
cannam@135 689 a owl:DatatypeProperty;
cannam@135 690 a owl:FunctionalProperty;
cannam@135 691 rdfs:label "window type";
cannam@135 692 vs:term_status "unstable";
cannam@135 693 rdfs:comment """
cannam@135 694 Specifies the window type (they should be individuals and clearly not here).
cannam@135 695 """;
cannam@136 696 rdfs:domain vamp:Transform;
cannam@135 697 .
cannam@135 698
cannam@136 699 vamp:start
cannam@136 700 a rdf:Property;
cannam@136 701 a owl:DatatypeProperty;
cannam@136 702 a owl:FunctionalProperty;
cannam@136 703 rdfs:label "start";
cannam@136 704 vs:term_status "unstable";
cannam@136 705 rdfs:comment """
cannam@136 706 Specifies temporal information when processing a data stream.
cannam@136 707 """;
cannam@136 708 rdfs:domain vamp:Transform;
cannam@136 709 .
cannam@136 710
cannam@136 711 vamp:duration
cannam@136 712 a rdf:Property;
cannam@136 713 a owl:DatatypeProperty;
cannam@136 714 a owl:FunctionalProperty;
cannam@136 715 rdfs:label "start";
cannam@136 716 vs:term_status "unstable";
cannam@136 717 rdfs:comment """
cannam@136 718 Specifies temporal information when processing a data stream.
cannam@136 719 """;
cannam@136 720 rdfs:domain vamp:Transform;
cannam@136 721 .
cannam@136 722
cannam@135 723 ##### Parameter properties
cannam@135 724
cannam@135 725 vamp:value
cannam@135 726 a rdf:Property;
cannam@135 727 a owl:DatatypeProperty;
cannam@135 728 a owl:FunctionalProperty;
cannam@135 729 rdfs:label "value";
cannam@135 730 vs:term_status "stable";
cannam@135 731 rdfs:comment """
cannam@135 732 Specifies the current value of the parameter.
cannam@135 733 """;
dpastor@153 734 rdfs:domain vamp:ParameterBinding;
cannam@135 735 .
cannam@135 736
dpastor@155 737 #parameter declared above
cannam@135 738
cannam@135 739
cannam@135 740