annotate src/vamp-plugin-sdk-2.4/rdf/vamp.n3 @ 169:223a55898ab9 tip default

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