changeset 159:64709b340651

* Update to newer audio features ontology
author cannam
date Mon, 30 Jun 2008 17:00:43 +0000
parents 7c08ba8083b2
children e841e2365b48
files rdf/generator/template-generator.cpp rdf/vamp.n3
diffstat 2 files changed, 28 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/rdf/generator/template-generator.cpp	Wed Jun 25 12:20:22 2008 +0000
+++ b/rdf/generator/template-generator.cpp	Mon Jun 30 17:00:43 2008 +0000
@@ -294,8 +294,9 @@
     }
 
     //There is no way to know this in advance, but we can use the km a bit for this.
-    res+="#   vamp:computes_feature_type  <Place feature type URI here and uncomment> ;\n";
-    res+="#   vamp:computes_event_type    <Place event type URI here and uncomment> ;\n";
+    res+="#   vamp:computes_event_type   <Place event type URI here and uncomment> ;\n";
+    res+="#   vamp:computes_feature      <Place feature attribute URI here and uncomment> ;\n";
+    res+="#   vamp:computes_signal_type  <Place signal type URI here and uncomment> ;\n";
     res+="    .\n";
 
     return res;
--- a/rdf/vamp.n3	Wed Jun 25 12:20:22 2008 +0000
+++ b/rdf/vamp.n3	Mon Jun 30 17:00:43 2008 +0000
@@ -430,29 +430,41 @@
 
 #These last 2 properties are included to match the Audio Features Ontology (not estrictly from the Vamp API).
 
-vamp:computes_feature_type
-	a rdf:Property;
-	a owl:ObjectProperty;
-	rdfs:label "feature type";
-	rdfs:comment """
-			Feature Types output by the plugin. Links the vamp ontology to the audio features ontology.
-	""";
-	rdfs:domain vamp:PluginOutput;
-	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.
+			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