[tracker/wip/jfelder/track-artist-ontology: 1/2] ontologies: Add nmm:artist property for nmm:MusicPiece



commit 592ab231aa951e4b29f94c2e570ef31a8f88d1d9
Author: Jean Felder <jfelder src gnome org>
Date:   Sun May 31 21:14:24 2020 +0200

    ontologies: Add nmm:artist property for nmm:MusicPiece
    
    This new property allows to distinguish the track artist (nmm:artist)
    from the performer (nmm:peformer).
    
    It is intended to match the description from the vorbis
    specifications:
    * the artist is "The artist generally considered responsible for the
    work. In popular music this is usually the performing band or
    singer. For classical music it would be the composer."
    * the performer is "The artist(s) who performed the work. In classical
    music this would be the conductor, orchestra, soloists. In
    popular music this is typically the same as the artist and is
    omitted."

 src/ontologies/nepomuk/38-nmm.ontology | 11 +++++++++++
 1 file changed, 11 insertions(+)
---
diff --git a/src/ontologies/nepomuk/38-nmm.ontology b/src/ontologies/nepomuk/38-nmm.ontology
index 614549f66..7a4d2af59 100644
--- a/src/ontologies/nepomuk/38-nmm.ontology
+++ b/src/ontologies/nepomuk/38-nmm.ontology
@@ -134,6 +134,17 @@ nmm:beatsPerMinute a rdf:Property ;
        rdfs:domain nmm:MusicPiece ;
        rdfs:range xsd:integer .
 
+nmm:artist a rdf:Property ;
+       rdfs:label "Artist" ;
+       rdfs:comment "main artist of the MusicPiece" ;
+       rdfs:subPropertyOf nco:contributor ;
+       nrl:maxCardinality 1 ;
+       rdfs:domain nmm:MusicPiece ;
+       rdfs:range nmm:Artist ;
+       tracker:weight 4 ;
+       tracker:writeback true ;
+       tracker:indexed true .
+
 # Todo: change cardinality
 nmm:performer a rdf:Property ;
        rdfs:label "Performer" ;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]