[tracker: 1/2] 38-nmm.ontology: Store Musicbrainz IDs for music resources
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker: 1/2] 38-nmm.ontology: Store Musicbrainz IDs for music resources
- Date: Wed, 29 May 2019 09:14:40 +0000 (UTC)
commit d8aa7c57d309c02ceb01e64f57dc6a6124e47859
Author: Sumaid Syed <sumaidsyed gmail com>
Date: Wed May 29 14:05:14 2019 +0530
38-nmm.ontology: Store Musicbrainz IDs for music resources
Musicbrainz is a community-developed database of music metadata, which can provide cover art too.
Musicbrainz has its own identifier namespace which is widely used.
Musicbrainz IDs are stored for music resources in the nmm (multimedia) ontology.
Closes: https://gitlab.gnome.org/GNOME/tracker/issues/13
src/ontologies/nepomuk/38-nmm.ontology | 37 +++++++++++++++++++++++++++++++++-
1 file changed, 36 insertions(+), 1 deletion(-)
---
diff --git a/src/ontologies/nepomuk/38-nmm.ontology b/src/ontologies/nepomuk/38-nmm.ontology
index 0846aa714..ec10f24d1 100644
--- a/src/ontologies/nepomuk/38-nmm.ontology
+++ b/src/ontologies/nepomuk/38-nmm.ontology
@@ -13,7 +13,7 @@
nmm: a tracker:Namespace, tracker:Ontology ;
tracker:prefix "nmm" ;
- nao:lastModified "2014-09-19T11:05:00Z" .
+ nao:lastModified "2019-05-27T10:25:16" .
nmm:MusicPiece a rdfs:Class ;
rdfs:label "Music" ;
@@ -225,6 +225,41 @@ nmm:setNumber a rdf:Property ;
rdfs:domain nmm:MusicAlbumDisc ;
rdfs:range xsd:integer .
+nmm:mbTrackID a rdf:Property ;
+ rdfs:label "MusicBrainz Track Id" ;
+ nrl:maxCardinality 1 ;
+ rdfs:range xsd:string ;
+ tracker:writeback true ;
+ rdfs:domain nmm:MusicPiece .
+
+nmm:mbArtistID a rdf:Property ;
+ rdfs:label "MusicBrainz Artist Id" ;
+ nrl:maxCardinality 1 ;
+ rdfs:range xsd:string ;
+ tracker:writeback true ;
+ rdfs:domain nmm:Artist .
+
+nmm:mbReleaseID a rdf:Property ;
+ rdfs:label "MusicBrainz Album Id" ;
+ nrl:maxCardinality 1 ;
+ rdfs:range xsd:string ;
+ tracker:writeback true ;
+ rdfs:domain nmm:MusicAlbum .
+
+nmm:mbRecordingID a rdf:Property ;
+ rdfs:label "MusicBrainz Recording Id" ;
+ nrl:maxCardinality 1 ;
+ rdfs:range xsd:string ;
+ tracker:writeback true ;
+ rdfs:domain nmm:MusicPiece .
+
+nmm:mbReleaseGroupID a rdf:Property ;
+ rdfs:label "MusicBrainz Release Group Id" ;
+ nrl:maxCardinality 1 ;
+ rdfs:range xsd:string ;
+ tracker:writeback true ;
+ rdfs:domain nmm:MusicAlbum .
+
# This property doesn't make sense... it is the other way around
# From the list ot the item, not from the item to the list
nmm:videoAlbum a rdf:Property ;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]