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