Example translated from MIREX 2005

This example translates in RDF a small part of the MIREX 2005 database. This describes parts of an audio file with singing voice, and the corresponding fundamental frequencies for frames within it.

Hightlighted source

@prefix rdfs: . @prefix owl: . @prefix event: . @prefix tl: . @prefix mo: . @prefix db: . # Fix that? @prefix : <#>.


 * 1) Linking our annotations to the audio file

db:opera_male5 a mo:AudioFile; mo:encodes :sig.


 * sig

a mo:Signal; mo:time [tl:timeline :tl]. # :tl is the anchor timeline for our annotations


 * 1) Defining our "classifiers"


 * SingEvent

a owl:Class; rdfs:subClassOf event:Event; rdfs:label "Classify regions as holding some singing voice"; .


 * FreqEvent

a owl:Class; rdfs:subClassOf event:Event; rdfs:label "Attach a frequency of the singing voice to a region"; .


 * freq

rdfs:subPropertyOf event:literal_factor; rdfs:label "Actual value of the frequency"; rdfs:domain :FreqEvent; .


 * 1) And annotate... We define events on the timeline :tl


 * e1

a :SingEvent; event:time [tl:start "PT0.017S"; tl:end "PT3.291S"; tl:timeline :tl] .


 * f1

a :FreqEvent; event:time [tl:at "PT0.017S"]; :freq "192.662"; .


 * f2

a :FreqEvent; event:time [tl:at "PT0.023S"]; :freq "183.918"; .


 * f3

a :FreqEvent; event:time [tl:at "PT0.029S"]; :freq "173.222"; .