annotate src/vamp-plugin-sdk-2.5/rdf/vamp.n3 @ 168:ceec0dd9ec9c

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