From e68b060190de260dcc8822b5e69deaaad447ab69 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 18 Nov 2011 03:39:49 +0000 Subject: Make ui.ttl a valid OWL 2 DL ontology. --- extensions/ui.lv2/ui-doap.ttl | 2 ++ extensions/ui.lv2/ui.ttl | 27 ++++++++++++++++++--------- 2 files changed, 20 insertions(+), 9 deletions(-) (limited to 'extensions/ui.lv2') 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: . - a lv2:Specification ; + a owl:Ontology ; + owl:imports ; lv2:documentation """

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.

""" . 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.

""" . 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.

""" . 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 """ -- cgit v1.2.1