annotate rdf/vamp.n3 @ 488:286240e6d397

Travis build file
author Chris Cannam
date Fri, 24 Feb 2017 09:21:19 +0000
parents de3e865f92c8
children
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@141 291 # Note that other properties like maker can be linked to the plugin descriptor using other namespaces
cannam@135 292
cannam@148 293 ##### Parameter Descriptor properties (and some common with PluginOutput)
cannam@135 294
cannam@141 295 # Note: Identifier has been already defined
cannam@135 296
cannam@135 297 vamp:max_value
cannam@135 298 a rdf:Property;
cannam@135 299 a owl:DatatypeProperty;
cannam@135 300 a owl:FunctionalProperty;
cannam@135 301 rdfs:label "max value";
cannam@136 302 rdfs:comment """
cannam@136 303 Maximum value of the parameter range
cannam@136 304 """;
dpastor@153 305 rdfs:range vamp:Parameter;
cannam@148 306 rdfs:range vamp:KnownExtentsOutput;
cannam@135 307 vs:term_status "unstable";
cannam@135 308 .
cannam@135 309
cannam@135 310 vamp:min_value
cannam@135 311 a rdf:Property;
cannam@135 312 a owl:DatatypeProperty;
cannam@135 313 a owl:FunctionalProperty;
cannam@135 314 rdfs:label "min value";
cannam@136 315 rdfs:comment """
cannam@136 316 Minimum value of the parameter range
cannam@136 317 """;
dpastor@153 318 rdfs:range vamp:Parameter;
cannam@148 319 rdfs:range vamp:KnownExtentsOutput;
cannam@135 320 vs:term_status "unstable";
cannam@135 321 .
cannam@135 322
cannam@135 323 vamp:default_value
cannam@135 324 a rdf:Property;
cannam@135 325 a owl:DatatypeProperty;
cannam@135 326 a owl:FunctionalProperty;
cannam@135 327 rdfs:label "default value";
cannam@136 328 rdfs:comment """
cannam@136 329 Default value of the parameter
cannam@136 330 """;
dpastor@153 331 rdfs:range vamp:Parameter;
cannam@135 332 vs:term_status "unstable";
cannam@135 333 .
cannam@135 334
cannam@148 335 vamp:quantize_step
cannam@148 336 a rdf:Property;
cannam@148 337 a owl:FunctionalProperty;
cannam@148 338 a owl:DatatypeProperty;
cannam@148 339 rdfs:label "quantized step";
cannam@148 340 rdfs:comment """
cannam@193 341 Quantize step. Only defined for quantized outputs
cannam@148 342 """;
cannam@148 343 rdfs:domain vamp:QuantizedOutput;
dpastor@153 344 rdfs:domain vamp:QuantizedParameter;
cannam@148 345 vs:term_status "unstable";
cannam@148 346 .
cannam@148 347
cannam@193 348 vamp:has_duration
cannam@193 349 a rdf:Property;
cannam@193 350 a owl:FunctionalProperty;
cannam@193 351 a owl:DatatypeProperty;
cannam@193 352 rdfs:label "has duration";
cannam@193 353 rdfs:comment """
cannam@193 354 True if features on this output are known to have durations
cannam@193 355 """;
cannam@193 356 rdfs:domain vamp:PluginOutput;
cannam@193 357 vs:term_status "unstable";
cannam@193 358 .
cannam@193 359
cannam@148 360 vamp:unit
cannam@148 361 a rdf:Property;
cannam@148 362 a owl:DatatypeProperty;
cannam@148 363 a owl:FunctionalProperty;
cannam@148 364 rdfs:label "unit";
cannam@148 365 rdfs:comment """
cannam@148 366 Unit of the output/parameter. A string type
cannam@148 367 """;
cannam@148 368 rdfs:domain vamp:PluginOutput;
dpastor@153 369 rdfs:domain vamp:Parameter;
cannam@148 370 vs:term_status "unstable";
cannam@148 371 .
cannam@148 372
cannam@148 373 vamp:value_names
cannam@148 374 a rdf:Property;
cannam@148 375 a owl:DatatypeProperty;
cannam@148 376 rdfs:label "value names";
cannam@148 377 rdfs:comment """
cannam@148 378 List of value names if available
cannam@148 379 """;
dpastor@153 380 rdfs:domain vamp:Parameter;
cannam@148 381 vs:term_status "unstable";
cannam@148 382 .
cannam@148 383
cannam@135 384 ########Output Descriptor properties
cannam@135 385
cannam@135 386 vamp:fixed_bin_count
cannam@135 387 a rdf:Property;
cannam@135 388 a owl:DatatypeProperty;
cannam@135 389 rdfs:label "fixed bin count";
cannam@136 390 rdfs:comment """
cannam@136 391 Fixed bin count. A boolean type.
cannam@136 392 """;
cannam@135 393 rdfs:domain vamp:PluginOutput;
cannam@135 394 vs:term_status "unstable";
cannam@135 395 .
cannam@135 396
cannam@135 397 vamp:sample_rate
cannam@135 398 a rdf:Property;
cannam@135 399 a owl:DatatypeProperty;
cannam@135 400 rdfs:label "sample rate";
cannam@136 401 rdfs:comment """
cannam@136 402 Sample rate of the output if any. Should be read depending on SampleType and Output classes.
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:bin_count
cannam@135 409 a rdf:Property;
cannam@135 410 a owl:DatatypeProperty;
cannam@135 411 rdfs:label "bin count";
cannam@136 412 rdfs:comment """
cannam@136 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@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_names
cannam@135 420 a rdf:Property;
cannam@135 421 a owl:DatatypeProperty;
cannam@135 422 rdfs:label "bin names";
cannam@136 423 rdfs:comment """
cannam@148 424 List of bin names if available.
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:sample_type
cannam@135 431 a rdf:Property;
cannam@135 432 a owl:DatatypeProperty;
cannam@135 433 a owl:FunctionalProperty;
cannam@135 434 rdfs:label "sample type";
cannam@136 435 rdfs:comment """
cannam@136 436 The sample type specifies the temporal information of the output.
cannam@136 437 """;
cannam@135 438 rdfs:domain vamp:PluginOutput;
cannam@135 439 rdfs:range vamp:SampleType;
cannam@135 440 vs:term_status "unstable";
cannam@135 441 .
cannam@135 442
cannam@269 443 # The next 3 properties are included to link in the Audio Features Ontology (not strictly from the Vamp API).
cannam@148 444
cannam@138 445 vamp:computes_event_type
cannam@138 446 a rdf:Property;
cannam@138 447 a owl:ObjectProperty;
cannam@138 448 rdfs:label "event type";
cannam@138 449 rdfs:comment """
cannam@159 450 Associates a plugin output with its corresponding event type (for example, in the Audio Features ontology).
cannam@138 451 """;
cannam@138 452 rdfs:domain vamp:PluginOutput;
cannam@138 453 rdfs:range event:Event;
cannam@138 454 vs:term_status "unstable";
cannam@138 455 .
cannam@159 456
cannam@159 457 vamp:computes_feature
cannam@159 458 a rdf:Property;
cannam@159 459 a owl:ObjectProperty;
cannam@159 460 rdfs:label "feature type";
cannam@159 461 rdfs:comment """
cannam@159 462 Associates a plugin output with the attribute connecting the event to its value data.
cannam@159 463 """;
cannam@159 464 rdfs:domain vamp:PluginOutput;
cannam@159 465 rdfs:range event:factor;
cannam@159 466 vs:term_status "unstable";
cannam@159 467 .
cannam@159 468
cannam@159 469 vamp:computes_signal_type
cannam@159 470 a rdf:Property;
cannam@159 471 a owl:ObjectProperty;
cannam@159 472 rdfs:label "signal type";
cannam@159 473 rdfs:comment """
cannam@159 474 Associates a dense plugin output with its corresponding signal type (for example, in the Audio Features ontology).
cannam@159 475 """;
cannam@159 476 rdfs:domain vamp:PluginOutput;
cannam@159 477 rdfs:range af:Signal;
cannam@159 478 vs:term_status "unstable";
cannam@159 479 .
cannam@135 480
cannam@135 481 ########################
cannam@135 482 # INDIVIDUALS
cannam@135 483 ########################
cannam@135 484
cannam@138 485 vamp:TimeDomain
cannam@135 486 a vamp:InputDomain;
cannam@135 487 .
cannam@135 488
cannam@138 489 vamp:FrequencyDomain
cannam@135 490 a vamp:InputDomain;
cannam@135 491 .
cannam@135 492
cannam@135 493 vamp:OneSamplePerStep
cannam@135 494 a vamp:SampleType;
cannam@135 495 .
cannam@135 496
cannam@135 497 vamp:FixedSampleRate
cannam@135 498 a vamp:SampleType;
cannam@135 499 .
cannam@135 500
cannam@135 501 vamp:VariableSampleRate
cannam@135 502 a vamp:SampleType;
cannam@135 503 .
cannam@135 504
cannam@135 505 ################################################### END OF THE VAMP API DESCRIPTION ############################################################
cannam@135 506
cannam@135 507
cannam@135 508 #############################################
cannam@141 509 # Part 2: Classes to describe plugin execution. TRANSFORM
cannam@135 510 #############################################
cannam@135 511
cannam@141 512 # Note: we need to define this part of the ontology to give a minimun common standard for hosts.
cannam@141 513 # Note: this may split up in some other ontology or become part of the DSP namespace
cannam@135 514
cannam@135 515 vamp:Transform
cannam@135 516 a owl:Class;
cannam@136 517 rdfs:label "Transform";
cannam@135 518 vs:term_status "stable";
cannam@135 519 rdfs:comment """
cannam@141 520 The Transform defines the environment of any audio processing computation.
cannam@135 521 """;
cannam@135 522 .
cannam@135 523
dpastor@153 524 vamp:ParameterBinding
cannam@135 525 a owl:Class;
dpastor@153 526 rdfs:label "Parameter binding";
cannam@135 527 vs:term_status "unstable";
cannam@135 528 rdfs:comment """
dpastor@153 529 Parameter setting used by the plugin transform to set up the plugin.
cannam@136 530 """;
cannam@136 531 .
cannam@136 532
cannam@136 533 vamp:Configuration
cannam@136 534 a owl:Class;
cannam@136 535 rdfs:label "Configuration";
cannam@136 536 vs:term_status "unstable";
cannam@136 537 rdfs:comment """
cannam@141 538 For extension (key/value data provided to DSSI plugins, not relevant to Vamp)
cannam@136 539 """;
cannam@136 540 .
cannam@136 541
cannam@136 542 vamp:TransformType
cannam@136 543 a owl:Class;
cannam@136 544 rdfs:label "Transform Type";
cannam@136 545 vs:term_status "unstable";
cannam@136 546 rdfs:comment """
cannam@136 547 Specifies the type of transform. May be feature extraction, effect...
cannam@136 548 """;
cannam@136 549 .
cannam@136 550
cannam@141 551 ##individuals of transformtype
cannam@136 552 vamp:FeatureExtraction
cannam@136 553 a vamp:TransformType;
cannam@136 554 rdfs:label "Feature Extraction";
cannam@136 555 vs:term_status "unstable";
cannam@136 556 rdfs:comment """
cannam@136 557 Feature extraction transform. This may be just a subclass of Transform...
cannam@136 558 """;
cannam@136 559 .
cannam@136 560
cannam@136 561 vamp:Effect
cannam@136 562 a vamp:TransformType;
cannam@136 563 rdfs:label "Effect";
cannam@136 564 vs:term_status "unstable";
cannam@136 565 rdfs:comment """
cannam@136 566 Effect transform. This may be just a subclass of Transform...
cannam@135 567 """;
cannam@135 568 .
cannam@135 569
cannam@135 570 ################
cannam@135 571 # Properties
cannam@135 572 ################
cannam@135 573
cannam@135 574 ##### Plugin Transform properties
cannam@135 575
dpastor@155 576 #identifier and output are declared above
dpastor@153 577
cannam@136 578 vamp:engine
cannam@135 579 a rdf:Property;
cannam@135 580 a owl:ObjectProperty;
cannam@135 581 rdfs:label "plugin";
cannam@135 582 vs:term_status "stable";
cannam@135 583 rdfs:comment """
cannam@141 584 Specifies the sort of plugin in execution. This is an extension to use Transform with other plugin libraries
cannam@135 585 """;
cannam@136 586 rdfs:domain vamp:Transform;
cannam@135 587 rdfs:range vamp:Plugin;
cannam@135 588 .
cannam@135 589
cannam@135 590 vamp:program
cannam@135 591 a rdf:Property;
cannam@135 592 a owl:ObjectProperty;
cannam@135 593 a owl:FunctionalProperty;
cannam@135 594 rdfs:label "program";
cannam@135 595 vs:term_status "stable";
cannam@135 596 rdfs:comment """
cannam@141 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@135 598 """;
cannam@135 599 rdfs:domain vamp:Transform;
cannam@135 600 rdfs:range vamp:PluginProgram;
cannam@135 601 .
cannam@135 602
cannam@152 603 vamp:configuration
cannam@136 604 a rdf:Property;
cannam@136 605 a owl:ObjectProperty;
cannam@136 606 a owl:FunctionalProperty;
cannam@136 607 rdfs:label "program";
cannam@136 608 vs:term_status "stable";
cannam@136 609 rdfs:comment """
cannam@141 610 Extension for configuration.
cannam@136 611 """;
cannam@136 612 rdfs:domain vamp:Transform;
cannam@136 613 rdfs:range vamp:Configuration;
cannam@136 614 .
cannam@136 615
dpastor@153 616 vamp:parameter_binding
cannam@135 617 a rdf:Property;
cannam@135 618 a owl:ObjectProperty;
cannam@135 619 rdfs:label "parameter";
cannam@135 620 vs:term_status "stable";
cannam@135 621 rdfs:comment """
cannam@135 622 Specifies the parameter to set the plugin in execution.
cannam@135 623 """;
cannam@136 624 rdfs:domain vamp:Transform;
dpastor@153 625 rdfs:range vamp:ParameterBinding;
cannam@135 626 .
cannam@135 627
cannam@135 628 vamp:step_size
cannam@135 629 a rdf:Property;
cannam@135 630 a owl:DatatypeProperty;
cannam@135 631 a owl:FunctionalProperty;
cannam@135 632 rdfs:label "step size";
cannam@135 633 vs:term_status "stable";
cannam@135 634 rdfs:comment """
cannam@135 635 Specifies the step size for the framing.
cannam@135 636 """;
cannam@136 637 rdfs:domain vamp:Transform;
cannam@135 638 .
cannam@135 639
cannam@135 640 vamp:block_size
cannam@135 641 a rdf:Property;
cannam@135 642 a owl:DatatypeProperty;
cannam@135 643 a owl:FunctionalProperty;
cannam@135 644 rdfs:label "block size";
cannam@135 645 vs:term_status "stable";
cannam@135 646 rdfs:comment """
cannam@135 647 Specifies the block size for the framing.
cannam@135 648 """;
cannam@136 649 rdfs:domain vamp:Transform;
cannam@135 650 .
cannam@135 651
cannam@135 652 vamp:sample_rate
cannam@135 653 a rdf:Property;
cannam@135 654 a owl:DatatypeProperty;
cannam@135 655 a owl:FunctionalProperty;
cannam@135 656 rdfs:label "sample rate";
cannam@135 657 vs:term_status "stable";
cannam@135 658 rdfs:comment """
cannam@135 659 Specifies the sample rate if it is not constant.
cannam@135 660 """;
cannam@136 661 rdfs:domain vamp:Transform;
cannam@135 662 .
cannam@135 663
cannam@135 664 vamp:transform_type
cannam@135 665 a rdf:Property;
cannam@136 666 a owl:ObjectProperty;
cannam@135 667 a owl:FunctionalProperty;
cannam@135 668 rdfs:label "transform type";
cannam@135 669 vs:term_status "unstable";
cannam@135 670 rdfs:comment """
cannam@136 671 Specifies the transform type (we could do this by subclassin transform instead of using a property).
cannam@135 672 """;
cannam@136 673 rdfs:domain vamp:Transform;
cannam@135 674 .
cannam@135 675
cannam@135 676 vamp:window_type
cannam@135 677 a rdf:Property;
cannam@135 678 a owl:DatatypeProperty;
cannam@135 679 a owl:FunctionalProperty;
cannam@135 680 rdfs:label "window type";
cannam@135 681 vs:term_status "unstable";
cannam@135 682 rdfs:comment """
cannam@135 683 Specifies the window type (they should be individuals and clearly not here).
cannam@135 684 """;
cannam@136 685 rdfs:domain vamp:Transform;
cannam@135 686 .
cannam@135 687
cannam@136 688 vamp:start
cannam@136 689 a rdf:Property;
cannam@136 690 a owl:DatatypeProperty;
cannam@136 691 a owl:FunctionalProperty;
cannam@136 692 rdfs:label "start";
cannam@136 693 vs:term_status "unstable";
cannam@136 694 rdfs:comment """
cannam@136 695 Specifies temporal information when processing a data stream.
cannam@136 696 """;
cannam@136 697 rdfs:domain vamp:Transform;
cannam@136 698 .
cannam@136 699
cannam@136 700 vamp:duration
cannam@136 701 a rdf:Property;
cannam@136 702 a owl:DatatypeProperty;
cannam@136 703 a owl:FunctionalProperty;
cannam@136 704 rdfs:label "start";
cannam@136 705 vs:term_status "unstable";
cannam@136 706 rdfs:comment """
cannam@136 707 Specifies temporal information when processing a data stream.
cannam@136 708 """;
cannam@136 709 rdfs:domain vamp:Transform;
cannam@136 710 .
cannam@273 711
cannam@273 712 vamp:summary_type
cannam@273 713 a rdf:Property;
cannam@273 714 a owl:DatatypeProperty;
cannam@273 715 a owl:FunctionalProperty;
cannam@273 716 rdfs:label "summary type";
cannam@273 717 vs:term_status "unstable";
cannam@273 718 rdfs:comment """
cannam@273 719 Specifies a summary type to be used (for averaging etc) on transform results.
cannam@273 720 """;
cannam@273 721 rdfs:domain vamp:Transform;
cannam@273 722 .
cannam@136 723
cannam@135 724 ##### Parameter properties
cannam@135 725
cannam@135 726 vamp:value
cannam@135 727 a rdf:Property;
cannam@135 728 a owl:DatatypeProperty;
cannam@135 729 a owl:FunctionalProperty;
cannam@135 730 rdfs:label "value";
cannam@135 731 vs:term_status "stable";
cannam@135 732 rdfs:comment """
cannam@135 733 Specifies the current value of the parameter.
cannam@135 734 """;
dpastor@153 735 rdfs:domain vamp:ParameterBinding;
cannam@135 736 .
cannam@135 737
dpastor@155 738 #parameter declared above
cannam@135 739
cannam@135 740
cannam@269 741 # The next property is here to link the Audio Features ontology to the
cannam@269 742 # Transform ontology terms -- an audio feature may use this to
cannam@269 743 # indicate which transform produced it
cannam@135 744
cannam@269 745 vamp:computed_by
cannam@269 746 a rdf:Property;
cannam@269 747 a owl:ObjectProperty;
cannam@269 748 rdfs:label "computed by";
cannam@269 749 rdfs:comment """
cannam@269 750 Associates an audio feature with the transform that was used to compute it.
cannam@269 751 """;
cannam@269 752 rdfs:domain event:Event;
cannam@269 753 rdfs:domain af:Signal;
cannam@269 754 rdfs:range vamp:Transform;
cannam@269 755 vs:term_status "unstable";
cannam@269 756 .
cannam@269 757
cannam@269 758