# HG changeset patch # User dpastor # Date 1214395601 0 # Node ID b734b032558cc1dde549733c151eaf1aa302df4c # Parent d7dcc37161e6df9b5d579b71048e3ac0332958cc Fixed ontology diff -r d7dcc37161e6 -r b734b032558c rdf/vamp.n3 --- a/rdf/vamp.n3 Wed Jun 25 11:48:25 2008 +0000 +++ b/rdf/vamp.n3 Wed Jun 25 12:06:41 2008 +0000 @@ -142,7 +142,7 @@ vamp:TrackLevelOutput a owl:Class; - rdfs:label "Track level output"; + 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. @@ -200,7 +200,7 @@ ## be included in the domain of vamp:output because transforms need to ## be able to specify an output as well as a plugin. -##!!! lacking plugin version? (in transform) +##!!! lacking plugin version? vamp:parameter a rdf:Property; @@ -210,6 +210,7 @@ Links each parameter descriptor to the plugin. """; rdfs:range vamp:Parameter; + rdfs:domain vamp:ParameterBinding; rdfs:domain vamp:Plugin; vs:term_status "stable"; . @@ -223,6 +224,7 @@ """; rdfs:range vamp:PluginOutput; rdfs:domain vamp:Plugin; + rdfs:domain vamp:Transform; vs:term_status "stable"; . @@ -254,6 +256,7 @@ rdfs:domain vamp:PluginProgram; rdfs:domain vamp:PluginOutput; rdfs:domain vamp:Parameter; + rdfs:domain vamp:Transform; vs:term_status "stable"; . @@ -552,14 +555,7 @@ ##### Plugin Transform properties -vamp:identifier - rdfs:domain vamp:Transform; - #the ID is the plugin ID? - . - -vamp:output - rdfs:domain vamp:Transform; - . +#identifier and output are declared above vamp:engine a rdf:Property; @@ -709,18 +705,7 @@ rdfs:domain vamp:ParameterBinding; . -vamp:parameter - a rdf:Property; - a owl:ObjectProperty; - rdfs:label "parameter"; - vs:term_status "stable"; - rdfs:comment """ - Specifies exactly the plugin parameter to set in the transform by linking it. - """; - rdfs:domain vamp:ParameterBinding; - rdfs:range vamp:Parameter; - . +#parameter declared above - diff -r d7dcc37161e6 -r b734b032558c rdf/vamp.rdf --- a/rdf/vamp.rdf Wed Jun 25 11:48:25 2008 +0000 +++ b/rdf/vamp.rdf Wed Jun 25 12:06:41 2008 +0000 @@ -1,5 +1,5 @@ - + Vamp Plugins Ontology Vamp Plugins Ontology @@ -21,268 +21,261 @@ $Date: 2008/05/21 17:05:11 $ - + Vamp Plugin A Vamp plugin is an implementation of an audio feature extraction algorithm using the Vamp API. stable - + Vamp Plugin Library Library of Vamp Plugins. This may need to include rights. stable - - Vamp Plugin Parameter Descriptor + + Vamp Plugin Parameter 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. stable - - QuantizedParameter Descriptor - + + Quantized Parameter + - 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 Descriptor. + 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. stable - + Vamp Plugin output descriptor 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. unstable - + Quantized Output - + Descriptor of an output that does have quantized values. stable - + Known Extents Output - + Descriptor of an output that does have known extents. stable - - + + Dense output 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. unstable - + Sparse output - + Specific output type for data that consist of features that require their own individual temporal information. unstable - + track level output - + 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. unstable - + Plugin program 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. unstable - + Vamp Feature This may be removed mighty soon as we rely on the Audio Features Ontology for this deprecated - + Plugin input domain 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. stable - + sample type The sample type specifies the temporal information of the plugin output. This information should be combined with the output type for a correct interpretation. stable - + parameter descriptor Links each parameter descriptor to the plugin. - - + + + stable - + + - parameter descriptor - stable - - Specifies exactly the type of descriptor to set in the transform by linking it. - - - - - - - output descriptor + output Links each output type to the plugin. - - + + + stable - + available plugin Available plugins in the library - - + + stable - + plugin identifier Machine-readable identifier for a Vamp plugin within the scope of its library, or for a plugin descriptor within the scope of the plugin. - - - - - + + + + + + stable - - + plugin name Human-readable identifier for the plugin. - + stable - + vamp API version Version of the Vamp API used to implement this plugin. - + stable - + input domain Input domain required by the plugin (time or frequency). - - + + stable - + max value Maximum value of the parameter range - - + + unstable - + min value Minimum value of the parameter range - - + + unstable - + default value Default value of the parameter - + unstable - + quantized step Quantize step. Only defined if is_quantized is true - - + + unstable - + unit Unit of the output/parameter. A string type - - + + unstable - + value names List of value names if available - + unstable - + fixed bin count Fixed bin count. A boolean type. - + unstable - + sample rate Sample rate of the output if any. Should be read depending on SampleType and Output classes. - + unstable @@ -292,115 +285,115 @@ Specifies the sample rate if it is not constant. - + - + bin count Number of elements of the bin output. This information is necessary to define the output as belonging to a specific subclass of Plugin Output. - + unstable - + bin names List of bin names if available. - + unstable - + sample type The sample type specifies the temporal information of the output. - - + + unstable - + feature type Feature Types output by the plugin. Links the vamp ontology to the audio features ontology. - - + + unstable - + event type Event Type output by the plugin. - - + + unstable - - - - - - + + + + + + Transform stable The Transform defines the environment of any audio processing computation. - - Parameter + + Parameter binding unstable - Parameter used by the plugin transform to set up the plugin. The parameter class instances should be instantiated according to the specific vamp:PluginDescriptor instance for each plugin. + Parameter setting used by the plugin transform to set up the plugin. - + Configuration unstable For extension (key/value data provided to DSSI plugins, not relevant to Vamp) - + Transform Type unstable Specifies the type of transform. May be feature extraction, effect... - + Feature Extraction unstable Feature extraction transform. This may be just a subclass of Transform... - + Effect unstable Effect transform. This may be just a subclass of Transform... - + plugin stable Specifies the sort of plugin in execution. This is an extension to use Transform with other plugin libraries - - + + - + program @@ -408,9 +401,10 @@ 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? - - - + + + + program @@ -418,20 +412,20 @@ Extension for configuration. - - + + - + parameter stable Specifies the parameter to set the plugin in execution. - - + + - + step size @@ -439,9 +433,9 @@ Specifies the step size for the framing. - + - + block size @@ -449,9 +443,9 @@ Specifies the block size for the framing. - + - + transform type @@ -459,9 +453,9 @@ Specifies the transform type (we could do this by subclassin transform instead of using a property). - + - + window type @@ -469,9 +463,9 @@ Specifies the window type (they should be individuals and clearly not here). - + - + start @@ -479,9 +473,9 @@ Specifies temporal information when processing a data stream. - + - + start @@ -489,9 +483,9 @@ Specifies temporal information when processing a data stream. - + - + value @@ -499,6 +493,7 @@ Specifies the current value of the parameter. - + +