aboutsummaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-11-18 03:39:49 +0000
committerDavid Robillard <d@drobilla.net>2011-11-18 03:39:49 +0000
commite68b060190de260dcc8822b5e69deaaad447ab69 (patch)
tree1ce2afd76e6247054f4e41657f30977d334cf220 /extensions
parent113b82ce16be49dff0ba171d25eb71e7139edf5c (diff)
downloadlv2-e68b060190de260dcc8822b5e69deaaad447ab69.tar.xz
Make ui.ttl a valid OWL 2 DL ontology.
Diffstat (limited to 'extensions')
-rw-r--r--extensions/ui.lv2/ui-doap.ttl2
-rw-r--r--extensions/ui.lv2/ui.ttl27
2 files changed, 20 insertions, 9 deletions
diff --git a/extensions/ui.lv2/ui-doap.ttl b/extensions/ui.lv2/ui-doap.ttl
index 943b9bc..0f9c03a 100644
--- a/extensions/ui.lv2/ui-doap.ttl
+++ b/extensions/ui.lv2/ui-doap.ttl
@@ -33,6 +33,8 @@
rdfs:label "Install header to URI-based system path."
] , [
rdfs:label "Add pkg-config file."
+ ] , [
+ rdfs:label "Make ui.ttl a valid OWL 2 DL ontology."
]
]
] , [
diff --git a/extensions/ui.lv2/ui.ttl b/extensions/ui.lv2/ui.ttl
index 8a119e1..f62569a 100644
--- a/extensions/ui.lv2/ui.ttl
+++ b/extensions/ui.lv2/ui.ttl
@@ -24,7 +24,8 @@
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://lv2plug.in/ns/extensions/ui>
- a lv2:Specification ;
+ a owl:Ontology ;
+ owl:imports <http://lv2plug.in/ns/lv2core> ;
lv2:documentation """
<p>This extension defines an interface that can be used in LV2 plugins and
hosts to create UIs for plugins. The UIs are similar to plugins and reside in
@@ -103,13 +104,15 @@ depending on the RDF class of the UI.</p>
""" .
ui:UI
- a rdfs:Class ;
+ a rdfs:Class ,
+ owl:Class ;
rdfs:subClassOf lv2:Resource ;
rdfs:label "LV2 UI" ;
rdfs:comment "A UI for an LV2 plugin" .
ui:GtkUI
- a rdfs:Class ;
+ a rdfs:Class ,
+ owl:Class ;
rdfs:subClassOf ui:UI ;
rdfs:comment """
A UI where the LV2_Widget is a pointer to a Gtk+ 2.0 compatible GtkWidget,
@@ -117,7 +120,8 @@ and the host guarantees that the Gtk+ library has been initialised and the
Glib main loop is running before a UI of this type is instantiated.""" .
ui:Qt4UI
- a rdfs:Class ;
+ a rdfs:Class ,
+ owl:Class ;
rdfs:subClassOf ui:UI ;
rdfs:comment """
A UI where the LV2_Widget is a pointer to a Qt4 compatible QWidget,
@@ -125,7 +129,8 @@ and the host guarantees that the Qt4 library has been initialised and the
Qt4 main loop is running before a UI of this type is instantiated.""" .
ui:X11UI
- a rdfs:Class ;
+ a rdfs:Class ,
+ owl:Class ;
rdfs:subClassOf ui:UI ;
rdfs:comment """
A UI where the LV2_Widget is an X11 window ID. Note this is actually an
@@ -165,7 +170,8 @@ to NULL.</p>
""" .
ui:PortNotification
- a rdfs:Class ;
+ a rdfs:Class ,
+ owl:Class ;
rdfs:subClassOf [
a owl:Restriction ;
owl:onProperty ui:plugin ;
@@ -186,7 +192,8 @@ A PortNotification MUST have exactly one ui:portIndex which is an xsd:decimal.
rdfs:comment "Port Notification" .
ui:portNotification
- a rdf:Property ;
+ a rdf:Property ,
+ owl:ObjectProperty ;
rdfs:domain ui:UI ;
rdfs:range ui:PortNotification ;
lv2:documentation """
@@ -195,7 +202,8 @@ LV2UI_Descriptor::port_event()) when a particular port's value changes.</p>
""" .
ui:plugin
- a rdf:Property ;
+ a rdf:Property ,
+ owl:ObjectProperty ;
rdfs:domain ui:PortNotification ;
rdfs:range lv2:Plugin ;
rdfs:comment """
@@ -203,7 +211,8 @@ The plugin a portNotification applies to.
""" .
ui:portIndex
- a rdf:Property ;
+ a rdf:Property ,
+ owl:DatatypeProperty ;
rdfs:domain ui:PortNotification ;
rdfs:range xsd:decimal ;
rdfs:comment """