@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix mo: <http://purl.org/ontology/mo/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix ex: <http://example.com/test#>.
@prefix bach: <http://music.org/bach#>.
@prefix timeline: <http://purl.org/NET/c4dm/timeline.owl#>.
@prefix time: <http://www.w3.org/2006/time#>.
@prefix event: <http://purl.org/NET/c4dm/event.owl#>.
@prefix key: <http://purl.org/NET/c4dm/keys.owl#>.

#
# Describes the change of the key over time (same thing for bpm/chords)
# WARNING: this is a very naive approach (assuming that a "clean-cut" is possible)
# but it is just for illustration purposes
#


bach:emersonperf event:hasSubEvent ex:subperf1;  # Here, there is a link to the Bach example
   event:hasSubEvent ex:subperf2;
   event:time ex:time;
   mo:key key:AMinor; # global key
   .
ex:time a time:TimeInterval;
   timeline:ontimeline ex:tl;
   .
ex:tl a timeline:RelativeTimeLine.


ex:subperf1 a mo:Performance;
   mo:key key:AMinor;
   event:time [
      timeline:beginsAtDuration "PT2M2S";
      timeline:durationXSD "PT1M";
      timeline:onTimeLine ex:tl;
   ]
   .

ex:subperf2 a mo:Performance;
   mo:key key:CMajor;
   event:time [
      timeline:beginsAtDuration "PT4M23.2S";
      timeline:durationXSD "PT1M23S";
      timeline:onTimeLine ex:tl;
   ]
   .



-- YvesRaimond - 20 Feb 2007

Topic revision: r1 - 2007-02-20 - 12:52:41 - YvesRaimond
 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding OMRAS2? Send feedback