comparison onto/tm/rdf/.svn/text-base/temperament.n3.svn-base @ 0:1e44d666ced1

Import site from parrot
author Chris Cannam
date Fri, 13 Oct 2017 09:23:49 +0100
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:1e44d666ced1
1 @base <http://purl.org/ontology/temperament/> .
2 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
3 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
4 @prefix owl: <http://www.w3.org/2002/07/owl#> .
5 @prefix vs: <http://www.w3.org/2003/06/sw-vocab-status/ns#> .
6 @prefix foaf: <http://xmlns.com/foaf/0.1/> .
7 @prefix dc: <http://purl.org/dc/elements/1.1/> .
8 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
9 @prefix tm: <http://purl.org/ontology/temperament/> .
10 @prefix : <http://purl.org/ontology/temperament/> .
11 @prefix pc: <http://purl.org/ontology/temperament/pitchclass/> .
12 @prefix tm: <> .
13
14 <http://purl.org/ontology/temperament/>
15 a owl:Ontology;
16 dc:title "The OMRAS2 Temperament Ontology";
17 owl:versionInfo "Draft Revision: 1.0";
18 dc:description """
19 This ontology can be used to give a detailed description
20 of the tuning of an instrument.
21 """;
22 dc:date "$Date: 2009/11/18 13:54:19 $" .
23
24
25 # Status of terms
26 vs:term_status a owl:AnnotationProperty.
27
28 ###############################################
29 # Part 1: Core terms defined in this ontology #
30 ###############################################
31
32 tm:Temperament a owl:Class;
33 a rdfs:Class;
34 rdfs:label "Temperament";
35 rdfs:comment """A temperament specifies a system of
36 instrument tuning.
37 Tempering is a way of altering the size of intervals,
38 such that they no longer based on pure rational intervals.""";
39 vs:term_status "stable" .
40
41
42 tm:RegularTemperament a owl:Class;
43 a rdfs:Class;
44 rdfs:subClassOf tm:Temperament;
45 rdfs:label "Regular Temperament";
46 rdfs:comment """Regular temperament is a class of temperaments
47 where each interval is altered by the same amount.""";
48 vs:term_status "unstable" .
49
50
51 tm:WellTemperament a owl:Class;
52 a rdfs:Class;
53 rdfs:subClassOf tm:Temperament;
54 rdfs:label "Well Temperament";
55 rdfs:comment """Well temperament represents a system of tuning
56 where 5ths are tempered by irregular amounts, such that some 5ths
57 are tempered by an equal amount, while others remain pure.""";
58 vs:term_status "unstable" .
59
60
61 tm:MeantoneTemperament a owl:Class;
62 a rdfs:Class;
63 rdfs:subClassOf tm:Temperament;
64 rdfs:label "Meantone Temperament";
65 rdfs:comment """In a meantone temperament, each fifth is narrowed
66 by the same amount relative to its width in Just Intonation. """;
67 vs:term_status "unstable" .
68
69
70 tm:RestrictedTemperament a owl:Class;
71 a rdfs:Class;
72 rdfs:subClassOf tm:Temperament;
73 rdfs:label "Restricted Temperament";
74 rdfs:comment """In restricted temperaments
75 playing some keys results in poor intonation. """;
76 vs:term_status "unstable" .
77
78
79 tm:TemperamentDescription a owl:Class;
80 a rdfs:Class;
81 rdfs:label "Temperament Description";
82 rdfs:comment """
83 A super class of temperament descriptions using,
84 for example, deviation from equal temperament,
85 or the circle of fifths.""";
86 vs:term_status "unstable" .
87
88 #properties
89
90 tm:description
91 a rdf:Property, owl:ObjectProperty;
92 rdfs:label "temperament description";
93 rdfs:comment """ Associates a temperament with its detailed description.""";
94 rdfs:domain tm:Temperament;
95 rdfs:range tm:TemperamentDescription;
96 vs:term_status "unstable" .
97
98 tm:constraint
99 a rdf:Property, owl:ObjectProperty;
100 rdfs:label "mathematical constraint";
101 rdfs:comment """A mathematical constrain on the temperament (This can be described in a named graph or and N3 graph literal).""";
102 rdfs:domain tm:TemperamentDescription;
103 vs:term_status "unstable" .
104
105
106 ###############################################
107 # Part 2: Auxiliary parts required for temperament descriptions #
108 ###############################################
109
110 tm:Comma a owl:Class;
111 a rdfs:Class;
112 rdfs:label "Comma";
113 rdfs:comment """A comma is a very small interval between
114 two enharmonic notes tuned in different ways. (Source: Wikipedia) """;
115 vs:term_status "stable" .
116
117 tm:PitchClass a owl:Class;
118 a rdfs:Class;
119 rdfs:label "Pitch Class";
120 rdfs:comment """The set of all pitches that are a
121 whole number of octaves apart.""";
122 vs:term_status "stable" .
123
124 tm:Interval a owl:Class;
125 a rdfs:Class;
126 rdfs:label "Interval";
127 rdfs:comment """Describes the relationship between the
128 pitches of two notes or pitch classes.""";
129 vs:term_status "stable" .
130
131 tm:PitchClassInterval a owl:Class;
132 a rdfs:Class;
133 rdfs:subClassOf tm:Interval;
134 rdfs:label "Pitch Class Interval";
135 rdfs:comment """Describes the relationship between two pitch classes.""";
136 vs:term_status "unstable" .
137
138
139 tm:FifthInterval a rdf:Class ;
140 rdfs:subClassOf tm:PitchClassInterval ;
141 rdfs:label "Fifth Interval";
142 rdfs:comment """A fifth interval between notes, either
143 pure or altered. In the case of a pure fifth it is a
144 frequecy ratio of 3:2. We may use it to represent a
145 specific interval on the circle of fifths, with a specific
146 deviation from a pure fifth. """;
147 vs:term_status "unstable" .
148
149 tm:WolfInterval a rdf:Class ;
150 rdfs:subClassOf tm:Interval ;
151 rdfs:label "Wolf Interval";
152 rdfs:comment """An interval which is regarded as howling may be
153 called a wolf interval. It is typically a wolf fifth in
154 meantone temperament. """;
155 vs:term_status "unstable" .
156
157 ###############################################
158 # Part 3: Detailed temperament description #
159 ###############################################
160
161 #description classes
162
163 tm:DeviationsFromEqual a owl:Class;
164 a rdfs:Class;
165 rdfs:subClassOf tm:TemperamentDescription;
166 rdfs:label "Deviations From Equal";
167 rdfs:comment """A type of temperament description which describes
168 a tuning in terms of the deviation of each note (in cents)
169 from the equal temperament.""";
170 vs:term_status "unstable" .
171
172 tm:CircleOfFifths a owl:Class;
173 a rdfs:Class;
174 rdfs:subClassOf tm:TemperamentDescription;
175 rdfs:label "Circle Of Fifths";
176 rdfs:comment """We use the circle of fifth to describe a temperament.
177 Each alteration of a fifth can be expressed in a number of ways,
178 for example, we may express interval deviations in a particular
179 comma.""";
180 vs:term_status "unstable" .
181
182 tm:IntervalDeviation a owl:Class;
183 a rdfs:Class;
184 rdfs:label "Interval Deviation (from pure interval)";
185 rdfs:comment """Represents any type of alteration of a pure interval.""";
186 vs:term_status "unstable" .
187
188 tm:PitchClassDeviation a owl:Class;
189 a rdfs:Class;
190 rdfs:label "Pitch Class Deviation";
191 rdfs:comment """Deviation in cents of a pitch class from its value in equal temperament.""";
192 vs:term_status "unstable" .
193
194 tm:DeviationFromFifth a owl:Class;
195 a rdfs:Class;
196 rdfs:subClassOf tm:IntervalDeviation;
197 rdfs:label "Deviation from Fifth";
198 rdfs:comment """Represent the deviation from a pure fifth interval.""";
199 vs:term_status "unstable" .
200
201 # properties
202
203 tm:interval
204 a rdf:Property, owl:ObjectProperty;
205 rdfs:label "interval";
206 rdfs:comment """Associates a specific interval on the circle of fifths. """;
207 rdfs:domain tm:TemperamentDescription;
208 rdfs:range tm:Interval;
209 vs:term_status "unstable" .
210
211 tm:deviation
212 a rdf:Property, owl:ObjectProperty, owl:FunctionalProperty;
213 rdfs:label "interval deviation";
214 rdfs:comment """Links an interval with a particular deviation
215 from pure that characterises the interval.""";
216 rdfs:domain tm:Interval;
217 rdfs:range tm:IntervalDeviation;
218 vs:term_status "unstable" .
219
220 tm:pitch_class_deviation
221 a rdf:Property, owl:ObjectProperty, owl:FunctionalProperty;
222 rdfs:label "pitch class deviation";
223 rdfs:comment """The deviation of a particular pitch class in the described
224 temperament from its equivalent in equal temperament.""";
225 rdfs:domain tm:DeviationsFromEqual;
226 rdfs:range tm:PitchClassDeviation;
227 vs:term_status "unstable" .
228
229 tm:comma
230 a rdf:Property, owl:ObjectProperty, owl:FunctionalProperty;
231 rdfs:label "comma";
232 rdfs:comment """Links an interval deviation with a type of comma. """;
233 rdfs:domain tm:IntervalDeviation;
234 rdfs:range tm:Comma;
235 vs:term_status "unstable" .
236
237 tm:value
238 a rdf:Property, owl:DatatypeProperty, owl:FunctionalProperty;
239 rdfs:label "deviation value";
240 rdfs:comment """Links an interval deviation to its float value (in cents). """;
241 rdfs:domain tm:IntervalDeviation, tm:PitchClassDeviation;
242 rdfs:range xsd:float;
243 vs:term_status "unstable" .
244
245 # please refine the terminology here :
246
247 tm:lower
248 a rdf:Property, owl:ObjectProperty, owl:FunctionalProperty;
249 rdfs:label "lower pitch class";
250 rdfs:comment """Links an interval a pitch calss which is lower on a scale.""";
251 rdfs:domain tm:Interval;
252 rdfs:range tm:PitchClass;
253 vs:term_status "unstable" .
254
255 tm:upper
256 a rdf:Property, owl:ObjectProperty, owl:FunctionalProperty;
257 rdfs:label "upper pitch class";
258 rdfs:comment """Links an interval with a pitch class which is higher on a scale compared to the other pitch class of this interval.""";
259 rdfs:domain tm:Interval;
260 rdfs:range tm:PitchClass;
261 vs:term_status "unstable" .
262
263 tm:pitch_class
264 a rdf:Property, owl:ObjectProperty, owl:FunctionalProperty;
265 rdfs:label "pitch class";
266 rdfs:comment """The pitch class of a particular pitch class deviation.
267 This can be used to express deviations from equal temperament.""";
268 rdfs:domain tm:PitchClassDeviation;
269 rdfs:range tm:PitchClass;
270 vs:term_status "unstable" .
271
272 tm:frequency_ratio
273 a rdf:Property, owl:ObjectProperty, owl:FunctionalProperty;
274 rdfs:label "frequency ratio";
275 rdfs:comment """The frequency ratio of the two pitch classes in the interval.
276 This may be a single value or an expression (given for example in an N3 graph literal).""";
277 rdfs:domain tm:intarval;
278 vs:term_status "unstable" .
279
280 ###############################################
281 # Part 4: Individuals #
282 ###############################################
283
284 # some named temperaments
285
286 tm:Valotti a tm:WellTemperament ;
287 rdfs:label "Valotti" .
288
289 tm:Neidhardt a tm:WellTemperament ;
290 rdfs:label "Neidhardt" .
291
292 tm:Bendeler a tm:WellTemperament ;
293 rdfs:label "Bendeler" .
294
295 tm:Stanhope a tm:WellTemperament ;
296 rdfs:label "Stanhope" .
297
298 tm:KirnbergerIII a tm:WellTemperament ;
299 rdfs:label "KirnbergerIII" .
300
301 tm:YoungII a tm:WellTemperament ;
302 rdfs:label "YoungII" .
303
304 tm:WerckmeisterIII a tm:WellTemperament ;
305 rdfs:label "WerckmeisterIII" .
306
307 tm:QuarterCommaMeantone a tm:MeantoneTemperament;
308 a tm:RegularTemperament ;
309 rdfs:label "QuarterCommaMeantone" .
310
311 tm:FifthCommaMeantone a tm:MeantoneTemperament;
312 a tm:RegularTemperament ;
313 rdfs:label "FifthCommaMeantone" .
314
315 tm:SixthCommaMeantone a tm:MeantoneTemperament;
316 a tm:RegularTemperament ;
317 rdfs:label "SixthCommaMeantone" .
318
319
320
321 # specific commas
322
323 :PythagoreanComma a tm:Comma;
324 rdfs:label "Pythagorean Comma";
325 rdfs:comment """One Pythagorean Comma, the difference between
326 7 octaves and 12 pure fifths, is 23.5 cents. It is equivalent to the Ditonic comma.""" .
327
328 :DitonicComma a tm:Comma;
329 rdfs:label "Ditonic Comma";
330 rdfs:comment "The Ditonic comma is equivalent to the Pythagorean comma." ;
331 owl:sameAs tm:PythagoreanComma .
332
333 :SyntonicComma a tm:Comma;
334 rdfs:label "Syntonic Comma";
335 rdfs:comment """One Syntonic Comma is 21.51 cents. """ .
336
337 :DidymusComma a tm:Comma;
338 rdfs:label "Didymus Comma";
339 rdfs:comment "The Didymus is equivalent to the Syntonic comma (21.51 cents)." ;
340 owl:sameAs tm:SyntonicComma .
341
342 :Diaschisma a tm:Comma;
343 rdfs:label "Diaschisma";
344 rdfs:comment """One Diaschisma is 19.55 cents. """ .
345
346 :Schisma a tm:Comma;
347 rdfs:label "Schisma";
348 rdfs:comment """One Schisma is 1.95 cents. """ .
349
350
351 # individuals of pitch classes (e.g. to describe the circle of fifths)
352
353 pc:A
354 a tm:PitchClass;
355 rdfs:label "A" ;
356 rdfs:comment "pitch class A" .
357
358 pc:B
359 a tm:PitchClass;
360 rdfs:label "B" ;
361 rdfs:comment "pitch class B" .
362
363 pc:C
364 a tm:PitchClass;
365 rdfs:label "C" ;
366 rdfs:comment "pitch class C" .
367
368 pc:D
369 a tm:PitchClass;
370 rdfs:label "D" ;
371 rdfs:comment "pitch class D" .
372
373 pc:E
374 a tm:PitchClass;
375 rdfs:label "E" ;
376 rdfs:comment "pitch class E" .
377
378 pc:F
379 a tm:PitchClass;
380 rdfs:label "F" ;
381 rdfs:comment "pitch class F" .
382
383 pc:G
384 a tm:PitchClass;
385 rdfs:label "G" ;
386 rdfs:comment "pitch class G" .
387
388 pc:Ab
389 a tm:PitchClass;
390 rdfs:label "Ab" ;
391 rdfs:comment "pitch class Ab" .
392
393 pc:Bb
394 a tm:PitchClass;
395 rdfs:label "Bb" ;
396 rdfs:comment "pitch class Bb" .
397
398 pc:Cb
399 a tm:PitchClass;
400 rdfs:label "Cb" ;
401 rdfs:comment "pitch class Cb" .
402
403 pc:Db
404 a tm:PitchClass;
405 rdfs:label "Db" ;
406 rdfs:comment "pitch class Db" .
407
408 pc:Eb
409 a tm:PitchClass;
410 rdfs:label "Eb" ;
411 rdfs:comment "pitch class Eb" .
412
413 pc:Fb
414 a tm:PitchClass;
415 rdfs:label "Fb" ;
416 rdfs:comment "pitch class Fb" .
417
418 pc:Gb
419 a tm:PitchClass;
420 rdfs:label "Gb" ;
421 rdfs:comment "pitch class Gb" .
422
423 pc:As
424 a tm:PitchClass;
425 rdfs:label "As" ;
426 rdfs:comment "pitch class As" .
427
428 pc:Bs
429 a tm:PitchClass;
430 rdfs:label "Bs" ;
431 rdfs:comment "pitch class Bs" .
432
433 pc:Cs
434 a tm:PitchClass;
435 rdfs:label "Cs" ;
436 rdfs:comment "pitch class Cs" .
437
438 pc:Ds
439 a tm:PitchClass;
440 rdfs:label "Ds" ;
441 rdfs:comment "pitch class Ds" .
442
443 pc:Es
444 a tm:PitchClass;
445 rdfs:label "Es" ;
446 rdfs:comment "pitch class Es" .
447
448 pc:Fs
449 a tm:PitchClass;
450 rdfs:label "Fs" ;
451 rdfs:comment "pitch class Fs" .
452
453 pc:Gs
454 a tm:PitchClass;
455 rdfs:label "Gs" ;
456 rdfs:comment "pitch class Gs" .