comparison onto/tm/doc/Valotti_example.n3 @ 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 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
2 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
3 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
4 @prefix tm: <http://purl.org/ontology/temperament/> .
5 @prefix pc: <http://purl.org/ontology/temperament/pitchclass/> .
6
7 :ValottiTemperament a tm:WellTemperament;
8 tm:description :ValottiDescription1 ;
9 tm:description :ValottiDescription2 .
10
11
12 # a compact descrition using the circle of fifths:
13
14 :ValottiDescription1 a tm:CircleOfFifths;
15 tm:interval [
16 a tm:FifthInterval ;
17 tm:deviation [
18 a tm:IntervalDeviation ;
19 tm:comma tm:PythagoreanComma ;
20 tm:value "-0.16667"^^xsd:flaot ;
21 rdfs:label "-1/6"
22 ] ;
23 tm:lower pc:C ;
24 tm:upper pc:G ] ;
25 tm:interval [ # continues for all intervals
26 ] .
27
28 # or using a specific representaiton of the circle of fifths
29
30 :ValottiDescription1 a tm:CircleOfFifths;
31 tm:interval :FifthCG ;
32 tm:interval :FifthGD ;
33 tm:interval :FifthDA ;
34 tm:interval :FifthAE ;
35 tm:interval :FifthEB ;
36 tm:interval :FifthBFs ;
37 tm:interval :FifthFsCs ;
38 tm:interval :FifthCsAf ;
39 tm:interval :FifthAfEf ;
40 tm:interval :FifthEfBf ;
41 tm:interval :FifthBfF ;
42 tm:interval :FifthFC .
43
44 :FifthCG a tm:FifthInterval ;
45 tm:lower pc:C ;
46 tm:upper pc:G ;
47 tm:deviation [
48 a tm:IntervalDeviation ;
49 tm:comma to:PythagoreanComma ;
50 tm:value "-0.1666666667"^^xsd:float ;
51 rdfs:label "-1/6" ] .
52
53 :FifthGD a tm:FifthInterval ;
54 tm:lower pc:G ;
55 tm:upper pc:D ;
56 tm:deviation [
57 a tm:IntervalDeviation ;
58 tm:comma to:PythagoreanComma ;
59 tm:value "-0.1666666667"^^xsd:float ;
60 rdfs:label "-1/6" ] .
61
62 # .... the deviation (and the upper pitch class)
63 # could be omitted in this case:
64
65 :FifthBF a tm:FifthInterval ;
66 tm:lower pc:B ;
67 tm:upper pc:F ;
68 tm:deviation [
69 a tm:IntervalDeviation ;
70 tm:value "0"^^xsd:float ;
71 rdfs:label "0" ] .
72
73 # or using deviations from equal temperament
74
75 :ValottiDescription2 a tm:DeviationsFromEqual;
76 tm:pitch_class_deviation [
77 a tm:PitchClassDeviation ;
78 tm:pitch_class pc:C ;
79 tm:value "5.9"^^xsd:float ] ;
80 tm:pitch_class_deviation [
81 a tm:PitchClassDeviation ;
82 tm:pitch_class pc:Cs ;
83 tm:value "0"^^xsd:float ] .