[tracker/reorder: 5/7] NMM: Remove nmm:length
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/reorder: 5/7] NMM: Remove nmm:length
- Date: Tue, 25 Jan 2011 15:41:49 +0000 (UTC)
commit 9690224db77ef68a08f5092aa360dcc0747d27e8
Author: Jürg Billeter <j bitron ch>
Date: Tue Oct 12 16:53:58 2010 +0200
NMM: Remove nmm:length
The property was deprecated 11 months ago.
data/ontologies/38-nmm.ontology | 10 +---------
tests/functional-tests/01-insertion.py | 8 ++++----
2 files changed, 5 insertions(+), 13 deletions(-)
---
diff --git a/data/ontologies/38-nmm.ontology b/data/ontologies/38-nmm.ontology
index 819e361..6e056eb 100644
--- a/data/ontologies/38-nmm.ontology
+++ b/data/ontologies/38-nmm.ontology
@@ -13,7 +13,7 @@
nmm: a tracker:Namespace, tracker:Ontology ;
tracker:prefix "nmm" ;
- nao:lastModified "2010-12-09T14:26:00Z" .
+ nao:lastModified "2011-01-25T13:30:00Z" .
nmm:MusicPiece a rdfs:Class ;
rdfs:label "Music" ;
@@ -120,14 +120,6 @@ nmm:performer a rdf:Property ;
tracker:writeback true ;
tracker:indexed true .
-nmm:length a rdf:Property ;
- rdfs:label "Length" ;
- rdfs:comment "Length or duration (in seconds)" ;
- nrl:maxCardinality 1 ;
- rdfs:domain nmm:MusicPiece ;
- nao:deprecated true ;
- rdfs:range xsd:integer .
-
nmm:composer a rdf:Property ;
rdfs:label "Composer" ;
rdfs:comment "Composer" ;
diff --git a/tests/functional-tests/01-insertion.py b/tests/functional-tests/01-insertion.py
index 48468be..033ebe8 100755
--- a/tests/functional-tests/01-insertion.py
+++ b/tests/functional-tests/01-insertion.py
@@ -89,7 +89,7 @@ class TrackerStoreInsertionTests (CommonTrackerStoreTest):
nfo:fileLastModified '2008-10-23T13:47:02' ;
nfo:fileCreated '2008-12-16T12:41:20' ;
nfo:fileSize 17630 ;
- nmm:length 219252 ;
+ nfo:duration 219252 ;
nie:title 'Subterranean homesick blues';
nmm:performer <urn:uuid:bob-dylan>.
}
@@ -100,7 +100,7 @@ class TrackerStoreInsertionTests (CommonTrackerStoreTest):
?uri a nmm:MusicPiece ;
nmm:performer <urn:uuid:bob-dylan> ;
nie:title ?title ;
- nmm:length ?length .
+ nfo:duration ?length .
}
"""
@@ -139,7 +139,7 @@ class TrackerStoreInsertionTests (CommonTrackerStoreTest):
nfo:fileSize 17630;
nmm:musicAlbum <urn:uuid:123123123>;
nmm:trackNumber '11';
- nmm:length 219252;
+ nfo:duration 219252;
nmm:performer <urn:uuid:7646004>.
}
@@ -149,7 +149,7 @@ class TrackerStoreInsertionTests (CommonTrackerStoreTest):
SELECT ?artist ?length ?trackN ?album ?size ?flm ?fc ?filename WHERE {
<file:///a/b/c/imagine.mp3> a nmm:MusicPiece ;
nmm:performer ?x ;
- nmm:length ?length ;
+ nfo:duration ?length ;
nmm:trackNumber ?trackN ;
nmm:musicAlbum ?y ;
nfo:fileSize ?size ;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]