[tracker] Add Nepomuk ID3 Ontology
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Subject: [tracker] Add Nepomuk ID3 Ontology
- Date: Thu, 16 Apr 2009 09:19:49 -0400 (EDT)
commit 0947f488cbf9630759ec8f519ec9e6648e9849bf
Author: Jürg Billeter <j bitron ch>
Date: Thu Apr 9 11:37:08 2009 +0200
Add Nepomuk ID3 Ontology
---
data/ontologies/37-nid3.ontology | 79 ++++++++++++++++++++++++++++++++++++++
data/ontologies/Makefile.am | 3 +-
2 files changed, 81 insertions(+), 1 deletions(-)
diff --git a/data/ontologies/37-nid3.ontology b/data/ontologies/37-nid3.ontology
new file mode 100644
index 0000000..2a9f8ed
--- /dev/null
+++ b/data/ontologies/37-nid3.ontology
@@ -0,0 +1,79 @@
+ prefix nco: <http://www.semanticdesktop.org/ontologies/2007/03/22/nco#> .
+ prefix nfo: <http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#> .
+ prefix nie: <http://www.semanticdesktop.org/ontologies/2007/01/19/nie#> .
+ prefix nid3: <http://www.semanticdesktop.org/ontologies/2007/05/10/nid3#> .
+ prefix nrl: <http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#> .
+ prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+ prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+ prefix tracker: <http://www.tracker-project.org/ontologies/tracker#> .
+ prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
+
+nid3: a tracker:Namespace ;
+ tracker:prefix "nid3" .
+
+nid3:ID3Audio a rdfs:Class ;
+ rdfs:subClassOf nfo:Audio .
+
+nid3:title a rdf:Property ;
+ rdfs:label "Title" ;
+ rdfs:comment "Track title" ;
+ rdfs:subPropertyOf nie:title ;
+ nrl:maxCardinality 1 ;
+ rdfs:domain nid3:ID3Audio ;
+ rdfs:range xsd:string .
+
+nid3:leadArtist a rdf:Property ;
+ rdfs:label "Artist" ;
+ rdfs:comment "Track artist" ;
+ rdfs:domain nid3:ID3Audio ;
+ rdfs:range nco:Contact .
+
+nid3:albumTitle a rdf:Property ;
+ rdfs:label "Title" ;
+ rdfs:comment "Track title" ;
+ nrl:maxCardinality 1 ;
+ rdfs:domain nid3:ID3Audio ;
+ rdfs:range xsd:string .
+
+nid3:contentType a rdf:Property ;
+ rdfs:label "Genre" ;
+ rdfs:comment "The type or genre of the music track" ;
+ nrl:maxCardinality 1 ;
+ rdfs:domain nid3:ID3Audio ;
+ rdfs:range xsd:string .
+
+nid3:length a rdf:Property ;
+ rdfs:label "Duration" ;
+ rdfs:comment "The length in seconds of the music track" ;
+ nrl:maxCardinality 1 ;
+ rdfs:domain nid3:ID3Audio ;
+ rdfs:range xsd:integer .
+
+nid3:recordingYear a rdf:Property ;
+ rdfs:label "Release date" ;
+ rdfs:comment "The date the track was released" ;
+ nrl:maxCardinality 1 ;
+ rdfs:domain nid3:ID3Audio ;
+ rdfs:range xsd:integer .
+
+nid3:trackNumber a rdf:Property ;
+ rdfs:label "Track number" ;
+ rdfs:comment "The position of the track relative to the others" ;
+ nrl:maxCardinality 1 ;
+ rdfs:domain nid3:ID3Audio ;
+ rdfs:range xsd:string .
+
+nid3:partOfSet a rdf:Property ;
+ rdfs:label "Disc number" ;
+ rdfs:comment "On which disc the track is located" ;
+ nrl:maxCardinality 1 ;
+ rdfs:domain nid3:ID3Audio ;
+ rdfs:range xsd:string .
+
+nid3:comments a rdf:Property ;
+ rdfs:label "Comments" ;
+ rdfs:comment "General purpose comments" ;
+ nrl:maxCardinality 1 ;
+ rdfs:domain nid3:ID3Audio ;
+ rdfs:range xsd:string .
+
diff --git a/data/ontologies/Makefile.am b/data/ontologies/Makefile.am
index 6d2d066..34145b0 100644
--- a/data/ontologies/Makefile.am
+++ b/data/ontologies/Makefile.am
@@ -12,7 +12,8 @@ config_DATA = \
32-nco.ontology \
33-nfo.ontology \
34-nmo.ontology \
- 35-ncal.ontology
+ 35-ncal.ontology \
+ 37-nid3.ontology
EXTRA_DIST = $(config_DATA)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]