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