From b042d19364170e03db35b4c736d7d17c897d5203 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 16 Feb 2020 11:59:39 +0100 Subject: Normalise syntax of all specification data with serdi --- lv2/core/lv2core.ttl | 55 ++++++++++++++++++++++++++-------------------------- 1 file changed, 28 insertions(+), 27 deletions(-) (limited to 'lv2/core/lv2core.ttl') diff --git a/lv2/core/lv2core.ttl b/lv2/core/lv2core.ttl index cd32a6d..5f8696c 100644 --- a/lv2/core/lv2core.ttl +++ b/lv2/core/lv2core.ttl @@ -1,9 +1,9 @@ @prefix doap: . -@prefix lv2: . -@prefix owl: . -@prefix rdf: . +@prefix lv2: . +@prefix owl: . +@prefix rdf: . @prefix rdfs: . -@prefix xsd: . +@prefix xsd: . lv2:Specification a rdfs:Class , @@ -145,12 +145,12 @@ lv2:Plugin a owl:Restriction ; owl:onProperty doap:name ; owl:someValuesFrom rdf:PlainLiteral ; - rdfs:comment "A plugin MUST have at least one untranslated doap:name." ; + rdfs:comment "A plugin MUST have at least one untranslated doap:name." ] , [ a owl:Restriction ; owl:onProperty lv2:port ; owl:allValuesFrom lv2:Port ; - rdfs:comment "All ports on a plugin MUST be fully specified lv2:Port instances." ; + rdfs:comment "All ports on a plugin MUST be fully specified lv2:Port instances." ] ; lv2:documentation """

The class which represents an LV2 plugin.

@@ -175,7 +175,7 @@ lv2:PortBase a owl:Restriction ; owl:onProperty lv2:symbol ; owl:cardinality 1 ; - rdfs:comment "A port MUST have exactly one lv2:symbol." ; + rdfs:comment "A port MUST have exactly one lv2:symbol." ] ; lv2:documentation """

Similar to lv2:PluginBase, an abstract port-like resource that MAY not @@ -187,8 +187,8 @@ lv2:Port a rdfs:Class , owl:Class ; rdfs:label "Port" ; - rdfs:subClassOf lv2:PortBase ; - rdfs:subClassOf [ + rdfs:subClassOf lv2:PortBase , + [ a owl:Restriction ; owl:onProperty lv2:name ; owl:minCardinality 1 ; @@ -223,14 +223,14 @@ lv2:InputPort owl:Class ; rdfs:subClassOf lv2:Port ; rdfs:label "Input Port" ; - rdfs:comment """Ports of this type will be connected to a pointer to some value, which will be read by the plugin during their run method.""" . + rdfs:comment "Ports of this type will be connected to a pointer to some value, which will be read by the plugin during their run method." . lv2:OutputPort a rdfs:Class , owl:Class ; rdfs:subClassOf lv2:Port ; rdfs:label "Output Port" ; - rdfs:comment """Ports of this type will be connected to a pointer to some value, which will be written to by the plugin during their run method.""" . + rdfs:comment "Ports of this type will be connected to a pointer to some value, which will be written to by the plugin during their run method." . lv2:ControlPort a rdfs:Class , @@ -632,7 +632,7 @@ lv2:default owl:DatatypeProperty , owl:FunctionalProperty ; rdfs:label "default" ; - rdfs:comment """The default value that the host SHOULD set this port to when there is no other information available.""" . + rdfs:comment "The default value that the host SHOULD set this port to when there is no other information available." . lv2:minimum a rdf:Property , @@ -660,7 +660,7 @@ lv2:Feature a rdfs:Class , owl:Class ; rdfs:label "Feature" ; - rdfs:comment """An additional feature which a plugin or other resource may use or require.""" . + rdfs:comment "An additional feature which a plugin or other resource may use or require." . lv2:optionalFeature a rdf:Property , @@ -762,7 +762,7 @@ lv2:PortProperty a rdfs:Class , owl:Class ; rdfs:label "Port Property" ; - rdfs:comment """A property of this port that allows a host to make more sensible decisions (e.g. to provide a better interface).""" . + rdfs:comment "A property of this port that allows a host to make more sensible decisions (e.g. to provide a better interface)." . lv2:portProperty a rdf:Property , @@ -770,12 +770,12 @@ lv2:portProperty rdfs:domain lv2:Port ; rdfs:range lv2:PortProperty ; rdfs:label "port property" ; - rdfs:comment """Relates Ports to PortProperties. The PortProperty may be ignored without catastrophic effects, though it may be useful e.g. for providing a sensible interface for the port.""" . + rdfs:comment "Relates Ports to PortProperties. The PortProperty may be ignored without catastrophic effects, though it may be useful e.g. for providing a sensible interface for the port." . lv2:connectionOptional a lv2:PortProperty ; rdfs:label "connection optional" ; - rdfs:comment """Indicates that this port does not have to be connected to valid data by the host. If it is to be disconnected then the port MUST set to NULL with a call to the connectPort method.""" . + rdfs:comment "Indicates that this port does not have to be connected to valid data by the host. If it is to be disconnected then the port MUST set to NULL with a call to the connectPort method." . lv2:reportsLatency a lv2:PortProperty ; @@ -805,7 +805,7 @@ data above zero should be considered on or true.

lv2:sampleRate a lv2:PortProperty ; rdfs:label "sample rate" ; - rdfs:comment """Indicates that any bounds specified should be interpreted as multiples of the sample rate. For instance, a frequency range from 0Hz to the Nyquist frequency (half the sample rate) could be requested by this property in conjunction with lv2:minimum 0.0 and lv2:maximum 0.5. Hosts that support bounds at all MUST support this property.""" . + rdfs:comment "Indicates that any bounds specified should be interpreted as multiples of the sample rate. For instance, a frequency range from 0Hz to the Nyquist frequency (half the sample rate) could be requested by this property in conjunction with lv2:minimum 0.0 and lv2:maximum 0.5. Hosts that support bounds at all MUST support this property." . lv2:integer a lv2:PortProperty ; @@ -827,14 +827,14 @@ lv2:GeneratorPlugin owl:Class ; rdfs:subClassOf lv2:Plugin ; rdfs:label "Generator" ; - rdfs:comment """Any plugin that generates sound internally, rather than processing its input.""" . + rdfs:comment "Any plugin that generates sound internally, rather than processing its input." . lv2:InstrumentPlugin a rdfs:Class , owl:Class ; rdfs:subClassOf lv2:GeneratorPlugin ; rdfs:label "Instrument" ; - rdfs:comment """Any plugin that is intended to be played as a musical instrument.""" . + rdfs:comment "Any plugin that is intended to be played as a musical instrument." . lv2:OscillatorPlugin a rdfs:Class , @@ -847,42 +847,42 @@ lv2:UtilityPlugin owl:Class ; rdfs:subClassOf lv2:Plugin ; rdfs:label "Utility" ; - rdfs:comment """Includes things like mathematical functions and non-musical delays.""" . + rdfs:comment "Includes things like mathematical functions and non-musical delays." . lv2:ConverterPlugin a rdfs:Class , owl:Class ; rdfs:subClassOf lv2:UtilityPlugin ; rdfs:label "Converter" ; - rdfs:comment """Any plugin that converts some form of input into a different form of output.""" . + rdfs:comment "Any plugin that converts some form of input into a different form of output." . lv2:AnalyserPlugin a rdfs:Class , owl:Class ; rdfs:subClassOf lv2:UtilityPlugin ; rdfs:label "Analyser" ; - rdfs:comment """Any plugin that analyses input to output some useful information.""" . + rdfs:comment "Any plugin that analyses input to output some useful information." . lv2:MixerPlugin a rdfs:Class , owl:Class ; rdfs:subClassOf lv2:UtilityPlugin ; rdfs:label "Mixer" ; - rdfs:comment """A plugin which mixes some number of inputs into some number of outputs.""" . + rdfs:comment "A plugin which mixes some number of inputs into some number of outputs." . lv2:SimulatorPlugin a rdfs:Class , owl:Class ; rdfs:subClassOf lv2:Plugin ; rdfs:label "Simulator" ; - rdfs:comment """Plugins that aim to duplicate the effect of some environmental effect or musical equipment.""" . + rdfs:comment "Plugins that aim to duplicate the effect of some environmental effect or musical equipment." . lv2:DelayPlugin a rdfs:Class , owl:Class ; rdfs:subClassOf lv2:Plugin ; rdfs:label "Delay" ; - rdfs:comment """Plugins that intentionally delay their input signal as an effect.""" . + rdfs:comment "Plugins that intentionally delay their input signal as an effect." . lv2:ModulatorPlugin a rdfs:Class , @@ -983,7 +983,7 @@ lv2:SpectralPlugin owl:Class ; rdfs:subClassOf lv2:Plugin ; rdfs:label "Spectral" ; - rdfs:comment """Plugins that alter the spectral properties (e.g. frequency) of audio.""" . + rdfs:comment "Plugins that alter the spectral properties (e.g. frequency) of audio." . lv2:PitchPlugin a rdfs:Class , @@ -1020,7 +1020,7 @@ lv2:DynamicsPlugin owl:Class ; rdfs:subClassOf lv2:Plugin ; rdfs:label "Dynamics" ; - rdfs:comment """Plugins that alter the envelope or dynamic range of audio.""" . + rdfs:comment "Plugins that alter the envelope or dynamic range of audio." . lv2:CompressorPlugin a rdfs:Class , @@ -1063,3 +1063,4 @@ lv2:MIDIPlugin owl:Class ; rdfs:subClassOf lv2:Plugin ; rdfs:label "MIDI" . + -- cgit v1.2.1