From b75c914fc9a2fd99b7082e76e968f214b184c993 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 30 Mar 2012 18:12:43 +0000 Subject: Add missing ui:ui and ui:binary property definitions. Mark up properties more precisely for validation. --- lv2/lv2plug.in/ns/ext/time/time.ttl | 49 ++++++++++++++++++++++++++----------- 1 file changed, 35 insertions(+), 14 deletions(-) (limited to 'lv2/lv2plug.in/ns/ext/time') diff --git a/lv2/lv2plug.in/ns/ext/time/time.ttl b/lv2/lv2plug.in/ns/ext/time/time.ttl index 4f21505..db6a3c1 100644 --- a/lv2/lv2plug.in/ns/ext/time/time.ttl +++ b/lv2/lv2plug.in/ns/ext/time/time.ttl @@ -13,12 +13,13 @@ # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -@prefix time: . @prefix doap: . @prefix foaf: . @prefix lv2: . +@prefix owl: . @prefix rdf: . @prefix rdfs: . +@prefix time: . @prefix xsd: . @@ -50,7 +51,7 @@ The meter describes how many beats are in one bar.

time:Time a rdfs:Class ; - rdfs:subClassOf time:Position ; + rdfs:subClassOf time:Position ; rdfs:label "A point in time" ; rdfs:comment "A point in time in some unit/dimension." . @@ -63,73 +64,93 @@ both a point and a speed, which precisely defines a time within a timeline.

time:Rate a rdfs:Class ; - rdfs:subClassOf time:Position ; + rdfs:subClassOf time:Position ; rdfs:label "Rate" ; lv2:documentation """

The rate of passage of time in terms of one unit with respect to another.

""" . time:position - a rdf:Property ; + a rdf:Property , + owl:ObjectProperty , + owl:FunctionalProperty ; rdfs:range time:Position ; rdfs:label "Position in time" . time:barBeat - a rdf:Property ; + a rdf:Property , + owl:DatatypeProperty , + owl:FunctionalProperty ; rdfs:domain time:Time ; rdfs:range xsd:float ; rdfs:label "Beat within this bar" ; rdfs:comment "The beat number within the bar, from 0 to beatsPerBar." . time:bar - a rdf:Property ; + a rdf:Property , + owl:DatatypeProperty , + owl:FunctionalProperty ; rdfs:domain time:Time ; rdfs:range xsd:long ; rdfs:label "Global position in bars" . time:beat - a rdf:Property ; + a rdf:Property , + owl:DatatypeProperty , + owl:FunctionalProperty ; rdfs:domain time:Time ; rdfs:range xsd:double ; rdfs:label "Global position in beats" . time:beatUnit - a rdf:Property ; + a rdf:Property , + owl:DatatypeProperty , + owl:FunctionalProperty ; rdfs:domain time:Rate ; - rdfs:range xsd:double ; + rdfs:range xsd:nonNegativeInteger ; lv2:documentation """

Beat unit, the note value that counts as one beat. This is the bottom number in a time signature: 2 for half note, 4 for quarter note, and so on.

""" . time:beatsPerBar - a rdf:Property ; + a rdf:Property , + owl:DatatypeProperty , + owl:FunctionalProperty ; rdfs:domain time:Rate ; rdfs:range xsd:float ; rdfs:label "Beats per bar" . time:beatsPerMinute - a rdf:Property ; + a rdf:Property , + owl:DatatypeProperty , + owl:FunctionalProperty ; rdfs:domain time:Rate ; rdfs:range xsd:float ; rdfs:label "Beats per minute" ; rdfs:comment "Tempo in beats per minute." . time:frame - a rdf:Property ; + a rdf:Property , + owl:DatatypeProperty , + owl:FunctionalProperty ; rdfs:domain time:Time ; rdfs:range xsd:long ; rdfs:label "Global position in frames" . time:framesPerSecond - a rdf:Property ; + a rdf:Property , + owl:DatatypeProperty , + owl:FunctionalProperty ; rdfs:domain time:Rate ; rdfs:range xsd:float ; rdfs:label "Frames per second" ; rdfs:comment "Frame rate in frames per second." . time:speed - a rdf:Property ; + a rdf:Property , + owl:DatatypeProperty , + owl:FunctionalProperty ; rdfs:domain time:Rate ; rdfs:range xsd:float ; rdfs:label "Speed" ; -- cgit v1.2.1