diff rdf/vamp.rdf @ 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 27da08f3e951
line wrap: on
line diff
--- a/rdf/vamp.rdf	Mon Jun 16 12:22:16 2008 +0000
+++ b/rdf/vamp.rdf	Thu Jun 19 09:37:31 2008 +0000
@@ -35,13 +35,6 @@
 	</rdfs:comment>
     <vs:term_status>stable</vs:term_status>
   </owl:Class>
-  <owl:Class rdf:about="http://purl.org/ontology/vamp/PluginDescription">
-    <rdfs:label>Vamp Plugin Descriptor</rdfs:label>
-    <rdfs:comment>
-			The plugin descriptor provides basic metadata of the plugin. We may remove this and link directly to the plugin instance.
-	</rdfs:comment>
-    <vs:term_status>unstable</vs:term_status>
-  </owl:Class>
   <owl:Class rdf:about="http://purl.org/ontology/vamp/ParameterDescriptor">
     <rdfs:label>Vamp Plugin Parameter Descriptor</rdfs:label>
     <rdfs:comment>
@@ -106,16 +99,6 @@
 	</rdfs:comment>
     <vs:term_status>stable</vs:term_status>
   </owl:Class>
-  <rdf:Property rdf:about="http://purl.org/ontology/vamp/plugin_description">
-    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#ObjectProperty"/>
-    <rdfs:label>plugin description</rdfs:label>
-    <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:comment>
-    <rdfs:range rdf:resource="http://purl.org/ontology/vamp/PluginDescription"/>
-    <rdfs:domain rdf:resource="http://purl.org/ontology/vamp/Plugin"/>
-    <vs:term_status>stable</vs:term_status>
-  </rdf:Property>
   <rdf:Property rdf:about="http://purl.org/ontology/vamp/parameter_descriptor">
     <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#ObjectProperty"/>
     <rdfs:label>parameter descriptor</rdfs:label>
@@ -161,7 +144,7 @@
     <rdfs:comment>
 		Machine-readable identifier for Vamp plugin classes (and Transform).
 	</rdfs:comment>
-    <rdfs:domain rdf:resource="http://purl.org/ontology/vamp/PluginDescription"/>
+    <rdfs:domain rdf:resource="http://purl.org/ontology/vamp/Plugin"/>
     <rdfs:domain rdf:resource="http://purl.org/ontology/vamp/PluginProgram"/>
     <rdfs:domain rdf:resource="http://purl.org/ontology/vamp/PluginOutput"/>
     <rdfs:domain rdf:resource="http://purl.org/ontology/vamp/ParameterDescriptor"/>
@@ -174,7 +157,7 @@
     <rdfs:comment>
 		Human-readable identifier for the plugin.
 	</rdfs:comment>
-    <rdfs:domain rdf:resource="http://purl.org/ontology/vamp/PluginDescription"/>
+    <rdfs:domain rdf:resource="http://purl.org/ontology/vamp/Plugin"/>
     <vs:term_status>stable</vs:term_status>
   </rdf:Property>
   <rdf:Property rdf:about="http://purl.org/ontology/vamp/vamp_API_version">
@@ -183,7 +166,7 @@
     <rdfs:comment>
 			Version of the Vamp API used to implement this plugin.
 	</rdfs:comment>
-    <rdfs:domain rdf:resource="http://purl.org/ontology/vamp/PluginDescription"/>
+    <rdfs:domain rdf:resource="http://purl.org/ontology/vamp/Plugin"/>
     <vs:term_status>stable</vs:term_status>
   </rdf:Property>
   <rdf:Property rdf:about="http://purl.org/ontology/vamp/input_domain">
@@ -237,6 +220,15 @@
     <rdfs:domain rdf:resource="http://purl.org/ontology/vamp/PluginOutput"/>
     <vs:term_status>unstable</vs:term_status>
   </rdf:Property>
+  <rdf:Property rdf:about="http://purl.org/ontology/vamp/is_quantized">
+    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
+    <rdfs:label>is quantised</rdfs:label>
+    <rdfs:comment>
+		Quantised. A boolean type.
+	</rdfs:comment>
+    <rdfs:domain rdf:resource="http://purl.org/ontology/vamp/PluginOutput"/>
+    <vs:term_status>unstable</vs:term_status>
+  </rdf:Property>
   <rdf:Property rdf:about="http://purl.org/ontology/vamp/unit">
     <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
     <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#FunctionalProperty"/>
@@ -266,12 +258,12 @@
 	</rdfs:comment>
     <rdfs:domain rdf:resource="http://purl.org/ontology/vamp/Transform"/>
   </rdf:Property>
-  <rdf:Property rdf:about="http://purl.org/ontology/vamp/quantized_step">
+  <rdf:Property rdf:about="http://purl.org/ontology/vamp/quantize_step">
     <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#FunctionalProperty"/>
     <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
     <rdfs:label>quantized step</rdfs:label>
     <rdfs:comment>
-		Quantized step (if any). We do not include isQuantized.
+		Quantize step. Only defined if is_quantised is true
 	</rdfs:comment>
     <rdfs:domain rdf:resource="http://purl.org/ontology/vamp/PluginOutput"/>
     <rdfs:domain rdf:resource="http://purl.org/ontology/vamp/ParameterDescriptor"/>
@@ -316,8 +308,18 @@
     <rdfs:range rdf:resource="http://purl.org/ontology/af/AudioFeature"/>
     <vs:term_status>unstable</vs:term_status>
   </rdf:Property>
-  <vamp:InputDomain rdf:about="http://purl.org/ontology/vamp/time_domain"/>
-  <vamp:InputDomain rdf:about="http://purl.org/ontology/vamp/frequency_domain"/>
+  <rdf:Property rdf:about="http://purl.org/ontology/vamp/computes_event_type">
+    <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#ObjectProperty"/>
+    <rdfs:label>event type</rdfs:label>
+    <rdfs:comment>
+			Event Type output by the plugin.
+	</rdfs:comment>
+    <rdfs:domain rdf:resource="http://purl.org/ontology/vamp/PluginOutput"/>
+    <rdfs:range rdf:resource="http://purl.org/NET/c4dm/event.owl#Event"/>
+    <vs:term_status>unstable</vs:term_status>
+  </rdf:Property>
+  <vamp:InputDomain rdf:about="http://purl.org/ontology/vamp/TimeDomain"/>
+  <vamp:InputDomain rdf:about="http://purl.org/ontology/vamp/FrequencyDomain"/>
   <vamp:SampleType rdf:about="http://purl.org/ontology/vamp/OneSamplePerStep"/>
   <vamp:SampleType rdf:about="http://purl.org/ontology/vamp/FixedSampleRate"/>
   <vamp:SampleType rdf:about="http://purl.org/ontology/vamp/VariableSampleRate"/>
@@ -475,4 +477,3 @@
     <rdfs:domain rdf:resource="http://purl.org/ontology/vamp/Parameter"/>
   </rdf:Property>
 </rdf:RDF>
-