diff rdf/vamp.n3 @ 138:147de5e64d28

* Update vamp.n3/rdf from km-rdf * Add template generator (old jerrell version) from sv1 repository * Add provisional RDF descriptions for example plugins
author cannam
date Thu, 19 Jun 2008 09:37:31 +0000
parents 1b1ebb0f10ac
children cabf8e65c10f
line wrap: on
line diff
--- a/rdf/vamp.n3	Mon Jun 16 12:22:16 2008 +0000
+++ b/rdf/vamp.n3	Thu Jun 19 09:37:31 2008 +0000
@@ -68,15 +68,6 @@
 	vs:term_status "stable";
 	.
 
-vamp:PluginDescription
-	a owl:Class;
-	rdfs:label "Vamp Plugin Descriptor";
-	rdfs:comment """
-			The plugin descriptor provides basic metadata of the plugin. We may remove this and link directly to the plugin instance.
-	""";
-	vs:term_status "unstable";
-	.
-
 vamp:ParameterDescriptor
 	a owl:Class;
 	rdfs:label "Vamp Plugin Parameter Descriptor";
@@ -167,18 +158,6 @@
 
 ##### Plugin properties
 
-vamp:plugin_description
-	a rdf:Property;
-	a owl:ObjectProperty;
-	rdfs:label "plugin description";
-	rdfs:comment """
-			Links the plugin descriptor to the plugin (it may be redundant for an RDF decription to have a plugin descriptor in between an actual plugin and its properties).
-	""";
-	rdfs:range vamp:PluginDescription;
-	rdfs:domain vamp:Plugin;
-	vs:term_status "stable";
-	.
-
 vamp:parameter_descriptor
 	a rdf:Property;
 	a owl:ObjectProperty;
@@ -226,7 +205,7 @@
 	rdfs:comment """
 		Machine-readable identifier for Vamp plugin classes (and Transform).
 	""";
-	rdfs:domain vamp:PluginDescription;
+	rdfs:domain vamp:Plugin;
 	rdfs:domain vamp:PluginProgram;
 	rdfs:domain vamp:PluginOutput;
 	rdfs:domain vamp:ParameterDescriptor;
@@ -240,7 +219,7 @@
 	rdfs:comment """
 		Human-readable identifier for the plugin.
 	""";
-	rdfs:domain vamp:PluginDescription;
+	rdfs:domain vamp:Plugin;
 	vs:term_status "stable";
 	.
 
@@ -251,7 +230,7 @@
 	rdfs:comment """
 			Version of the Vamp API used to implement this plugin.
 	""";
-	rdfs:domain vamp:PluginDescription;
+	rdfs:domain vamp:Plugin;
 	vs:term_status "stable";
 	.
 
@@ -324,6 +303,17 @@
 	vs:term_status "unstable";
 	.
 
+vamp:is_quantized
+	a rdf:Property;
+	a owl:DatatypeProperty;
+	rdfs:label "is quantised";
+	rdfs:comment """
+		Quantised. A boolean type.
+	""";
+	rdfs:domain vamp:PluginOutput;
+	vs:term_status "unstable";
+	.
+
 vamp:unit 
 	a rdf:Property;
 	a owl:DatatypeProperty;
@@ -348,13 +338,13 @@
 	vs:term_status "unstable";
 	.
 
-vamp:quantized_step
+vamp:quantize_step
 	a rdf:Property;
 	a owl:FunctionalProperty;
 	a owl:DatatypeProperty;
 	rdfs:label "quantized step";
 	rdfs:comment """
-		Quantized step (if any). We do not include isQuantized.
+		Quantize step. Only defined if is_quantised is true
 	""";
 	rdfs:domain vamp:PluginOutput;
 	rdfs:domain vamp:ParameterDescriptor;
@@ -407,16 +397,28 @@
 	rdfs:range af:AudioFeature;
 	vs:term_status "unstable";
 	.
+
+vamp:computes_event_type
+	a rdf:Property;
+	a owl:ObjectProperty;
+	rdfs:label "event type";
+	rdfs:comment """
+			Event Type output by the plugin.
+	""";
+	rdfs:domain vamp:PluginOutput;
+	rdfs:range event:Event;
+	vs:term_status "unstable";
+	.
 	
 ########################
 # INDIVIDUALS
 ########################
 
-vamp:time_domain 
+vamp:TimeDomain 
 	a vamp:InputDomain;
 	.
 
-vamp:frequency_domain
+vamp:FrequencyDomain
 	a vamp:InputDomain;
 	.