From be08d2747152c3f3a005dbce39c842eb1288097f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 28 Sep 2011 05:01:06 +0000 Subject: Make ontology more proper and OWLey. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3499 a436a847-0d15-0410-975c-d299462d15a1 --- rdf/ingen.ttl | 35 +++++++++++++++++++---------------- 1 file changed, 19 insertions(+), 16 deletions(-) (limited to 'rdf') diff --git a/rdf/ingen.ttl b/rdf/ingen.ttl index 6ea4309a..e715aebb 100644 --- a/rdf/ingen.ttl +++ b/rdf/ingen.ttl @@ -30,12 +30,15 @@ @prefix lv2: . @prefix rdf: . @prefix rdfs: . -@prefix xsd: . +@prefix xsd: . +@prefix owl: . -<> a lv2:Specification ; + + a owl:Ontology ; doap:name "Ingen" ; doap:homepage ; - doap:maintainer [ a foaf:Person ; + doap:maintainer [ + a foaf:Person ; foaf:name "David Robillard" ; foaf:homepage ; rdfs:seeAlso @@ -46,7 +49,7 @@ ## Plugin ## ############ -:Plugin a rdfs:Class ; +:Plugin a owl:Class ; rdfs:label "Plugin" ; rdfs:comment """ A class which can be instantiated into a :Node. A plugin has a set of input @@ -57,14 +60,14 @@ for details about the required properties (rdf:type, doap:name, doap:license, and lv2:port). """ . -lv2:Plugin rdfs:subClassOf :Plugin . +#lv2:Plugin rdfs:subClassOf :Plugin . ########### ## Patch ## ########### -:Patch a rdfs:Class ; +:Patch a owl:Class ; rdfs:subClassOf :Plugin ; rdfs:label "Patch" ; rdfs:comment """ @@ -72,13 +75,13 @@ A collection of Nodes connected together form a Patch, which is itself a :Plugin (and thus can be part of another patch, and so on) """ . -:node a rdf:Property ; +:node a owl:ObjectProperty ; rdfs:domain :Patch ; rdfs:range :Node ; rdfs:label "node" ; rdfs:comment "Signifies a patch contains some node." . -:polyphony a rdf:Property ; +:polyphony a owl:ObjectProperty ; rdfs:domain :Patch ; rdfs:range xsd:integer ; rdfs:label "Polyphony" ; @@ -96,7 +99,7 @@ seen as polyphonic to the Patch's parent. ## Object ## ############ -:Object a rdfs:Class ; +:Object a owl:Class ; rdfs:label "Ingen Object" ; rdfs:comment """ A signal processing object which is part of a Patch. An Object MUST have @@ -105,7 +108,7 @@ possible (e.g. in a system which publishes node URIs in a heirarchial way such that the parent can be 'chopped' to get a legal symbol). """ . -:polyphonic a rdf:Property ; +:polyphonic a owl:ObjectProperty ; rdfs:domain :Object ; rdfs:range xsd:boolean ; rdfs:label "Polyphonic" ; @@ -124,7 +127,7 @@ polyphonic according to this property, if those voices are mixed down. ## Node ## ########## -:Node a rdfs:Class ; +:Node a owl:Class ; rdfs:subClassOf :Object ; rdfs:label "Node" ; rdfs:comment """ @@ -140,7 +143,7 @@ of :Plugin. When there are many such properties, an applications SHOULD use the most specific class it understands. """ . -:enabled a rdf:Property ; +:enabled a owl:ObjectProperty ; rdfs:domain :Node ; rdfs:range xsd:boolean ; rdfs:label "Enabled" ; @@ -151,7 +154,7 @@ use the most specific class it understands. ## Port ## ########## -:Port a rdfs:Class ; +:Port a owl:Class ; rdfs:subClassOf :Object ; rdfs:label "Port" ; rdfs:comment """ @@ -167,7 +170,7 @@ parent's Plugin in the exact way Nodes inherit properties from their Plugin. ## Connection ## ################ -:Connection a rdfs:Class ; +:Connection a owl:Class ; rdfs:label "Connection" ; rdfs:comment """ A connection between two ports. Patches have a set of connections which @@ -175,13 +178,13 @@ define how its component nodes and ports are connected. A Connection MUST have exactly one :source property and exactly one :destination property. """ . -:source a rdf:Property ; +:source a owl:ObjectProperty ; rdfs:domain :Connection ; rdfs:range :Port ; rdfs:label "Source" ; rdfs:comment "The source/sending port of this connection" . -:destination a rdf:Property ; +:destination a owl:ObjectProperty ; rdfs:domain :Connection ; rdfs:range :Port ; rdfs:label "Destination" ; -- cgit v1.2.1