annotate onto/tm/rdf/.svn/text-base/temperament.n3.svn-base @ 19:1e79ce3ff5f5 tip

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