diff options
author | David Robillard <d@drobilla.net> | 2021-03-12 20:12:01 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-03-15 14:27:03 -0400 |
commit | 3a4020958acf5b88f366e5bc99e3009a7beca104 (patch) | |
tree | ec15811b44152c64af3bf2bda66f39334530dd4f | |
parent | b37402500176b328a6a5752df2a170538cc9594c (diff) | |
download | lv2-3a4020958acf5b88f366e5bc99e3009a7beca104.tar.xz |
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.
-rw-r--r-- | lv2/atom/atom.ttl | 5 | ||||
-rw-r--r-- | lv2/buf-size/buf-size.ttl | 4 | ||||
-rw-r--r-- | lv2/core/lv2core.ttl | 3 | ||||
-rw-r--r-- | lv2/event/event.ttl | 3 | ||||
-rw-r--r-- | lv2/log/log.ttl | 3 | ||||
-rw-r--r-- | lv2/morph/morph.ttl | 3 | ||||
-rw-r--r-- | lv2/options/options.ttl | 3 | ||||
-rw-r--r-- | lv2/parameters/parameters.ttl | 5 | ||||
-rw-r--r-- | lv2/port-groups/port-groups.ttl | 3 | ||||
-rw-r--r-- | lv2/port-props/port-props.ttl | 3 | ||||
-rw-r--r-- | lv2/presets/presets.ttl | 3 | ||||
-rw-r--r-- | lv2/resize-port/resize-port.ttl | 3 | ||||
-rw-r--r-- | lv2/state/state.ttl | 3 | ||||
-rw-r--r-- | lv2/ui/ui.ttl | 5 | ||||
-rw-r--r-- | lv2/urid/urid.ttl | 3 |
15 files changed, 36 insertions, 16 deletions
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 @@ <forge.h> , <atom.meta.ttl> ; 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 <http://lv2plug.in/ns/lv2core> , + <http://lv2plug.in/ns/extensions/ui> , + <http://lv2plug.in/ns/extensions/units> . 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 <buf-size.h> , - <buf-size.meta.ttl> . + <buf-size.meta.ttl> ; + owl:imports <http://lv2plug.in/ns/lv2core> , + <http://lv2plug.in/ns/ext/options> . 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 <lv2.h> , <lv2_util.h> , - <lv2core.meta.ttl> . + <lv2core.meta.ttl> ; + 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 <event.h> , <event-helpers.h> , - <event.meta.ttl> . + <event.meta.ttl> ; + owl:imports <http://lv2plug.in/ns/lv2core> . 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 <log.h> , - <log.meta.ttl> . + <log.meta.ttl> ; + owl:imports <http://lv2plug.in/ns/lv2core> . 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 <morph.h> , - <morph.meta.ttl> . + <morph.meta.ttl> ; + owl:imports <http://lv2plug.in/ns/lv2core> . 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 <options.h> , - <options.meta.ttl> . + <options.meta.ttl> ; + owl:imports <http://lv2plug.in/ns/lv2core> . 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 <parameters.meta.ttl> . + rdfs:seeAlso <parameters.meta.ttl> ; + owl:imports <http://lv2plug.in/ns/ext/atom> , + <http://lv2plug.in/ns/ext/port-groups> , + <http://lv2plug.in/ns/lv2core> . 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 <port-groups.meta.ttl> . + rdfs:seeAlso <port-groups.meta.ttl> ; + owl:imports <http://lv2plug.in/ns/lv2core> . 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 <port-props.meta.ttl> . + rdfs:seeAlso <port-props.meta.ttl> ; + owl:imports <http://lv2plug.in/ns/lv2core> . 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 <presets.meta.ttl> . + rdfs:seeAlso <presets.meta.ttl> ; + owl:imports <http://lv2plug.in/ns/lv2core> . 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 <resize-port.h> , - <resize-port.meta.ttl> . + <resize-port.meta.ttl> ; + owl:imports <http://lv2plug.in/ns/lv2core> . 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 <state.h> , - <state.meta.ttl> . + <state.meta.ttl> ; + owl:imports <http://lv2plug.in/ns/lv2core> . 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 <http://lv2plug.in/ns/lv2core> ; rdfs:seeAlso <ui.h> , - <ui.meta.ttl> . + <ui.meta.ttl> ; + owl:imports <http://lv2plug.in/ns/lv2core> , + <http://lv2plug.in/ns/ext/options> . 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 <urid.h> , - <urid.meta.ttl> . + <urid.meta.ttl> ; + owl:imports <http://lv2plug.in/ns/lv2core> . urid:map a lv2:Feature ; |