Examples

=Introduction= In this section you will find code examples of how described musica things can look like once the RDF relations are serialized using XML or N3.

Examples of the Music Ontology are classed in 3 different levels of descriptiveness:
 * Level 1: Basic description of a music subject (artist, album, etc.)
 * Level 2: More advanced description of a music subject introducing the notions of Event and Time
 * Level 3: The more advanced description of a music subject taking full advantage of "event decomposition", able to express what happened precisely during a particular event

=Level 1= All the classes and properties that can describe a level 1 example. Please note that all these classes and properties are only extracted from the main Music Ontology. It is only a slice of it; not an addition or a removal to the ontology.


 * Here is an RDFa document describing an artist and one of its track
 * Here is a basic document describing a music group
 * Here is a basic document describing an Artist
 * Here is a more advanced document describing an Artist
 * Here is a basic document describing the personal relationship between two Artists
 * Here is a basic document describing an Album and its Tracks
 * Here is a basic document describing an Album that is a Sample and another Album that is a tribute to another Album
 * Here is a basic document describing how a foaf:Person could trade its musical item (CD, MD, DVD-A, etc.) using the music ontology
 * Yet another basic example
 * This example shows how to describe a musical show that is happening at some time, at some place where some artist gives a musical performance
 * A release with different release events (incl. recording session and signal group)
 * A band, its members and membership descriptions

=Level 2= All the classes and properties that can describe a level 2 example. Please note that all these classes and properties are only extracted from the main Music Ontology. It is only a slice of it; not an addition or a removal to the ontology.

Note: Level 2 examples reuse classes and properties from level 1.


 * Two people, phil and mary, went to the same gig see their favorite band and recorded it using their cell phone They made the audio files available on their blog and want to describe them
 * A bit about Mozart's requiem
 * Description of Bach, die Kunst der Fuge
 * Description of Bach, die Kunst der Fuge: the performance
 * Description of the The Emerson Quartet, 2003, string quartet: the performance
 * A Cream performance, released on an album and a compilation
 * The whole way down from musical work to musical item (a comprehensive example)

=Level 3=

All the classes and properties that can describe a level 3 example. Please note that all these classes and properties are only extracted from the main Music Ontology. It is only a slice of it; not an addition or a removal to the ontology.

Note: Level 3 examples reuse classes and properties from level 2 and level 1.


 * Structural annotations of "Can't buy me love" by the Beatles
 * Description of a recording session
 * Example translated from MIREX 2005
 * Describes the change of the key over time (same thing for bpm/chords)
 * A complete example describing a composer, one of its compositions, a performance using this composition, an album recording this performance, a track of this album, and events happening during the performance
 * Description of a performance that was recorded

=Extensions: Feature Ontology=
 * Temporal annotation of a timeline, corresponding to harmonic changes, key, structural segments

=See also=
 * The utilization of the Music Ontology at Libre.fm