From 3a4020958acf5b88f366e5bc99e3009a7beca104 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 12 Mar 2021 20:12:01 -0500 Subject: Add owl:imports to ontologies These are required by OWL tools to use vocabulary from another ontology. Though we don't use OWL tools in LV2, they are at least useful for sanity checking the semantic side of things. These properties are also nice to have anyway, since they clearly describe the dependencies between specifications. --- lv2/atom/atom.ttl | 5 ++++- lv2/buf-size/buf-size.ttl | 4 +++- lv2/core/lv2core.ttl | 3 ++- lv2/event/event.ttl | 3 ++- lv2/log/log.ttl | 3 ++- lv2/morph/morph.ttl | 3 ++- lv2/options/options.ttl | 3 ++- lv2/parameters/parameters.ttl | 5 ++++- lv2/port-groups/port-groups.ttl | 3 ++- lv2/port-props/port-props.ttl | 3 ++- lv2/presets/presets.ttl | 3 ++- lv2/resize-port/resize-port.ttl | 3 ++- lv2/state/state.ttl | 3 ++- lv2/ui/ui.ttl | 5 +++-- lv2/urid/urid.ttl | 3 ++- 15 files changed, 36 insertions(+), 16 deletions(-) (limited to 'lv2') diff --git a/lv2/atom/atom.ttl b/lv2/atom/atom.ttl index ddfb430..ef221ad 100644 --- a/lv2/atom/atom.ttl +++ b/lv2/atom/atom.ttl @@ -14,7 +14,10 @@ , ; rdfs:label "LV2 Atom" ; - rdfs:comment "A generic value container and several data types." . + rdfs:comment "A generic value container and several data types." ; + owl:imports , + , + . atom:cType a rdf:Property , diff --git a/lv2/buf-size/buf-size.ttl b/lv2/buf-size/buf-size.ttl index 8863198..c78d2cc 100644 --- a/lv2/buf-size/buf-size.ttl +++ b/lv2/buf-size/buf-size.ttl @@ -11,7 +11,9 @@ rdfs:label "LV2 Buf Size" ; rdfs:comment "Access to, and restrictions on, buffer sizes." ; rdfs:seeAlso , - . + ; + owl:imports , + . bufsz:boundedBlockLength a lv2:Feature ; diff --git a/lv2/core/lv2core.ttl b/lv2/core/lv2core.ttl index f5836c6..8754169 100644 --- a/lv2/core/lv2core.ttl +++ b/lv2/core/lv2core.ttl @@ -11,7 +11,8 @@ rdfs:comment "An extensible open standard for audio plugins." ; rdfs:seeAlso , , - . + ; + owl:imports doap: . lv2:Specification a rdfs:Class , diff --git a/lv2/event/event.ttl b/lv2/event/event.ttl index de400d4..3114fc5 100644 --- a/lv2/event/event.ttl +++ b/lv2/event/event.ttl @@ -11,7 +11,8 @@ rdfs:comment "A port-based real-time generic event interface." ; rdfs:seeAlso , , - . + ; + owl:imports . ev:EventPort a rdfs:Class ; diff --git a/lv2/log/log.ttl b/lv2/log/log.ttl index 46cba45..a8c4236 100644 --- a/lv2/log/log.ttl +++ b/lv2/log/log.ttl @@ -10,7 +10,8 @@ rdfs:label "LV2 Log" ; rdfs:comment "A feature for writing log messages." ; rdfs:seeAlso , - . + ; + owl:imports . log:Entry a rdfs:Class ; diff --git a/lv2/morph/morph.ttl b/lv2/morph/morph.ttl index 303293d..a771e03 100644 --- a/lv2/morph/morph.ttl +++ b/lv2/morph/morph.ttl @@ -13,7 +13,8 @@ rdfs:label "LV2 Morph" ; rdfs:comment "Ports that can dynamically change type." ; rdfs:seeAlso , - . + ; + owl:imports . morph:MorphPort a rdfs:Class , diff --git a/lv2/options/options.ttl b/lv2/options/options.ttl index f8388da..78defef 100644 --- a/lv2/options/options.ttl +++ b/lv2/options/options.ttl @@ -10,7 +10,8 @@ rdfs:label "LV2 Options" ; rdfs:comment "Runtime options for LV2 plugins and UIs." ; rdfs:seeAlso , - . + ; + owl:imports . opts:Option a rdfs:Class ; diff --git a/lv2/parameters/parameters.ttl b/lv2/parameters/parameters.ttl index 5c3dadf..9987812 100644 --- a/lv2/parameters/parameters.ttl +++ b/lv2/parameters/parameters.ttl @@ -11,7 +11,10 @@ a owl:Ontology ; rdfs:label "LV2 Parameters" ; rdfs:comment "Common parameters for audio processing." ; - rdfs:seeAlso . + rdfs:seeAlso ; + owl:imports , + , + . param:ControlGroup a rdfs:Class ; diff --git a/lv2/port-groups/port-groups.ttl b/lv2/port-groups/port-groups.ttl index d248f28..5173aa0 100644 --- a/lv2/port-groups/port-groups.ttl +++ b/lv2/port-groups/port-groups.ttl @@ -9,7 +9,8 @@ a owl:Ontology ; rdfs:label "LV2 Port Groups" ; rdfs:comment "Multi-channel groups of LV2 ports." ; - rdfs:seeAlso . + rdfs:seeAlso ; + owl:imports . pg:Group a rdfs:Class ; diff --git a/lv2/port-props/port-props.ttl b/lv2/port-props/port-props.ttl index 1ddeed0..ea25c6b 100644 --- a/lv2/port-props/port-props.ttl +++ b/lv2/port-props/port-props.ttl @@ -9,7 +9,8 @@ a owl:Ontology ; rdfs:label "LV2 Port Properties" ; rdfs:comment "Various properties for LV2 plugin ports." ; - rdfs:seeAlso . + rdfs:seeAlso ; + owl:imports . pprops:trigger a lv2:PortProperty ; diff --git a/lv2/presets/presets.ttl b/lv2/presets/presets.ttl index c1caf43..156f081 100644 --- a/lv2/presets/presets.ttl +++ b/lv2/presets/presets.ttl @@ -9,7 +9,8 @@ a owl:Ontology ; rdfs:label "LV2 Presets" ; rdfs:comment "Presets for LV2 plugins." ; - rdfs:seeAlso . + rdfs:seeAlso ; + owl:imports . pset:Bank a rdfs:Class ; diff --git a/lv2/resize-port/resize-port.ttl b/lv2/resize-port/resize-port.ttl index 29cd18b..a6712e7 100644 --- a/lv2/resize-port/resize-port.ttl +++ b/lv2/resize-port/resize-port.ttl @@ -10,7 +10,8 @@ rdfs:label "LV2 Resize Port" ; rdfs:comment "Dynamically sized LV2 port buffers." ; rdfs:seeAlso , - . + ; + owl:imports . rsz:resize a lv2:Feature ; diff --git a/lv2/state/state.ttl b/lv2/state/state.ttl index 19ccaa2..48537c8 100644 --- a/lv2/state/state.ttl +++ b/lv2/state/state.ttl @@ -9,7 +9,8 @@ rdfs:label "LV2 State" ; rdfs:comment "An interface for LV2 plugins to save and restore state." ; rdfs:seeAlso , - . + ; + owl:imports . state:interface a lv2:ExtensionData ; diff --git a/lv2/ui/ui.ttl b/lv2/ui/ui.ttl index 61f8bca..654f1d7 100644 --- a/lv2/ui/ui.ttl +++ b/lv2/ui/ui.ttl @@ -10,9 +10,10 @@ a owl:Ontology ; rdfs:label "LV2 UI" ; rdfs:comment "User interfaces for LV2 plugins." ; - owl:imports ; rdfs:seeAlso , - . + ; + owl:imports , + . ui:UI a rdfs:Class , diff --git a/lv2/urid/urid.ttl b/lv2/urid/urid.ttl index 2c44b56..53aa1e5 100644 --- a/lv2/urid/urid.ttl +++ b/lv2/urid/urid.ttl @@ -8,7 +8,8 @@ rdfs:label "LV2 URID" ; rdfs:comment "Features for mapping URIs to and from integers." ; rdfs:seeAlso , - . + ; + owl:imports . urid:map a lv2:Feature ; -- cgit v1.2.1