Audio CD Ontology

9 views
Skip to first unread message

Nicholas J Humfrey

unread,
Mar 9, 2010, 5:12:54 PM3/9/10
to music-ontology-sp...@googlegroups.com
Hello,

I was just thinking about how to represent the metadata about an Audio CD. Many of the classes and properties are already in the Music Ontology. Although I am not sure you can directly relate a Track to a CD?

Should this be a separate ontology, an extension to the Music Ontology or made a core part of the Music Ontology?


Here is the kind of thing I was thinking:

_:cd1
a cdda:Disc ;
cdda:freedb_id "ac0e3c0c" ;
cdda:disc_id "TML16C24mxCWd.1adALJ4NG3Y0k-" ;
cdda:sectors 273492 ;

cdda:track [
a cdda:Track ;
cdda:track_number 1 ;
cdda:offset 150 ;
cdda:length 10795 ;
cdda:isrc "USVI20900428" ;
] ;

The offset and length are measured in sectors (1 sector = 1/75 second).

Full example here:
http://www.aelius.com/njh/tmp/cdda.ttl


nick.


Yves Raimond

unread,
Mar 10, 2010, 4:58:04 AM3/10/10
to music-ontology-sp...@googlegroups.com
Hello!


I was just thinking about how to represent the metadata about an Audio CD. Many of the classes and properties are already in the Music Ontology. Although I am not 
sure you can directly relate a Track to a CD?


I would hope the new release solves that - a mo:Record is equivalent to 'medium' in the musicbrainz NGS, so encompasses individual CDs. Multi-CD releases can be described using the mo:Release concept.
 
Should this be a separate ontology, an extension to the Music Ontology or made a core part of the Music Ontology?


Here is the kind of thing I was thinking:

_:cd1
 a cdda:Disc ;
 cdda:freedb_id "ac0e3c0c" ;
 cdda:disc_id "TML16C24mxCWd.1adALJ4NG3Y0k-" ;
 cdda:sectors 273492 ;

 cdda:track [
     a cdda:Track ;
     cdda:track_number 1 ;
     cdda:offset 150 ;
     cdda:length 10795 ;
     cdda:isrc "USVI20900428" ;
 ] ;

The offset and length are measured in sectors (1 sector = 1/75 second).

I think the properties cdda:freedb_id, cdda:disc_id (is that the same as the catalogue number? if so, we have it already), cdda:sectors, cdda:offset (isrc is already in MO) would be good to add in MO, with a range of mo:Record and mo:Track?

Cheers.
y

Full example here:
http://www.aelius.com/njh/tmp/cdda.ttl


nick.


--
You received this message because you are subscribed to the Google Groups "Music Ontology Specification Group" group.
To post to this group, send email to music-ontology-sp...@googlegroups.com.
To unsubscribe from this group, send email to music-ontology-specific...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/music-ontology-specification-group?hl=en.


Nicholas J Humfrey

unread,
Mar 11, 2010, 4:32:15 AM3/11/10
to music-ontology-sp...@googlegroups.com


On 10 Mar 2010, at 09:58, Yves Raimond <yves.r...@gmail.com> wrote:

Hello!


I was just thinking about how to represent the metadata about an Audio CD. Many of the classes and properties are already in the Music Ontology. Although I am not 
sure you can directly relate a Track to a CD?


I would hope the new release solves that - a mo:Record is equivalent to 'medium' in the musicbrainz NGS, so encompasses individual CDs. Multi-CD releases can be described using the mo:Release concept.

On train and being lazy asking, but is mo:CD a subclass of mo:Record?


 
Should this be a separate ontology, an extension to the Music Ontology or made a core part of the Music Ontology?


Here is the kind of thing I was thinking:

_:cd1
 a cdda:Disc ;
 cdda:freedb_id "ac0e3c0c" ;
 cdda:disc_id "TML16C24mxCWd.1adALJ4NG3Y0k-" ;
 cdda:sectors 273492 ;

 cdda:track [
     a cdda:Track ;
     cdda:track_number 1 ;
     cdda:offset 150 ;
     cdda:length 10795 ;
     cdda:isrc "USVI20900428" ;
 ] ;

The offset and length are measured in sectors (1 sector = 1/75 second).

I think the properties cdda:freedb_id, cdda:disc_id (is that the same as the catalogue number? if so, we have it already), cdda:sectors, cdda:offset (isrc is already in MO) would be good to add in MO, with a range of mo:Record and mo:Track?

cdda:disc_id is the musicbrainz DiscId, also sometimes called CD Index.

I think cdda:offset and cdda:length only really apply to CDs. 

I might make a perl script to generate RDF from audio CDs.

nick.

Loïc DIAS DA SILVA

unread,
Mar 11, 2010, 5:07:10 AM3/11/10
to music-ontology-sp...@googlegroups.com
On Thu, Mar 11, 2010 at 10:32 AM, Nicholas J Humfrey <n...@aelius.com> wrote:


On 10 Mar 2010, at 09:58, Yves Raimond <yves.r...@gmail.com> wrote:

Hello!


I was just thinking about how to represent the metadata about an Audio CD. Many of the classes and properties are already in the Music Ontology. Although I am not 
sure you can directly relate a Track to a CD?


I would hope the new release solves that - a mo:Record is equivalent to 'medium' in the musicbrainz NGS, so encompasses individual CDs. Multi-CD releases can be described using the mo:Release concept.

On train and being lazy asking, but is mo:CD a subclass of mo:Record?

<owl:Class rdf:about="http://purl.org/ontology/mo/CD">
<mo:level>1</mo:level>
<rdfs:comment>
Compact Disc used as medium to record a musical manifestation.
</rdfs:comment>
<rdfs:isDefinedBy rdf:resource="http://purl.org/ontology/mo/"/>
<rdfs:label>CD</rdfs:label>
<rdfs:subClassOf rdf:resource="http://purl.org/ontology/mo/Medium"/>
<vs:term_status>unstable</vs:term_status>
</owl:Class>

see http://wiki.musicontology.com/index.php/Classes_Schemas#mo:MusicalManifestation_schema

ex : http://wiki.musicontology.com/index.php/Here_is_a_basic_document_describing_an_Album_and_its_Tracks

 1    <mo:Record rdf:about="http://zitgist.com/music/record/a89e1d92-5381-4dab-ba51-733137d0e431">
2 <dc:title>Kill 'em All</dc:title>
3 <foaf:maker rdf:resource="http://zitgist.com/music/artist/65f4f0c5-ef9e-490c-aee3-909e7ae6b2ab"/>
4 <dcterms:created>1983-07-13T00:00:00Z</dcterms:created>
5 <mo:release_type rdf:resource="http://purl.org/ontology/mo/album"/>
6 <mo:release_status rdf:resource="http://purl.org/ontology/mo/official"/>
7 <mo:image rdf:resource="http://ec1.images-amazon.com/images/P/B00000B9AN.01._AA180_SCLZZZZZZZ_.jpg" />
8 <mo:amazon_asin rdf:resource="http://amazon.com/exec/obidos/ASIN/B00000B9AN/" />
9 <mo:track rdf:resource="http://zitgist.com/music/track/8467f4e7-ef5b-458c-bbc5-6727d9f2252d" mo:trackNum="1" />
10 ...
11 <mo:track rdf:resource="http://zitgist.com/music/track/833bcfc4-8c89-49d8-be52-4eb926b48ab0" mo:trackNum="10" />
12 </mo:Record>
and if you want to link to a particular CD you can add :

<mo:Record rdf:about="http://zitgist.com/music/record/a89e1d92-5381-4dab-ba51-733137d0e431">
<mo:available_as>
<mo:CD rdf:resource="http://aelius.com/myCDS/546465" />
</mo:available_as>
</mo:Record>

Is it what you want ?



--
mglcel-at-mglcel-dot-fr

Bob Ferris

unread,
Mar 11, 2010, 6:44:25 AM3/11/10
to music-ontology-sp...@googlegroups.com
Hi Nick,

maybe this schema will help you to get the relation between this
different concepts.

http://wiki.musicontology.com/index.php/Class_Schemas#mo:MusicalManifestation_and_mo:MusicalItem_schema

-mo:CD is a subclass of mo:Medium, which is a subclass of mo:MusicalItem
(which is a subclass of frbr:Item)
-mo:Record is a subclass of mo:MusicalManifestation (which is a subclass
of frbr:Manifestation)
-these concepts are connected with the property mo:available_as, which
is a subproperty of:frbr:exemplar
-they are also an a different level: mo:CD is on the "Item level" and
mo:Record is on the "Manifestation level", that means that this concept
is a more abstract one and can have more general descriptive properties
and features

Cheers,

zazi

Reply all
Reply to author
Forward
0 new messages