From 6ddc20c0e3627651571e8ed9b9fbe7e0e8778bec Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 1 Nov 2011 22:21:34 +0000 Subject: Specify that presets must use rdfs:label for labels. --- ext/presets.lv2/presets.ttl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ext/presets.lv2/presets.ttl b/ext/presets.lv2/presets.ttl index 289e0ce..c20cb2d 100644 --- a/ext/presets.lv2/presets.ttl +++ b/ext/presets.lv2/presets.ttl @@ -47,8 +47,14 @@ Defines presets (e.g. named sets of control values) for LV2 plugins. """ . pset:Preset a rdfs:Class ; - rdfs:subClassOf lv2:PluginBase ; + rdfs:subClassOf lv2:PluginBase ; rdfs:label "LV2 Preset" ; + rdfs:subClassOf [ + a owl:Restriction ; + owl:onProperty rdfs:label ; + owl:someValuesFrom xsd:string ; + rdfs:comment "A Preset MUST have at least one string rdfs:label." + ] ; rdfs:comment """ A Preset for an LV2 Plugin. A preset can be considered an "overlay" on a Plugin. Rather than attempting to define all valid predicates for a Preset -- cgit v1.2.1