Re: [Tracker] [PATCH] NFO: add nfo:lastPosition to nfo:Media



Le Wed, 23 Mar 2011 17:42:35 +0000,
lionel g landwerlin linux intel com a écrit :

From: Lionel Landwerlin <lionel g landwerlin linux intel com>

This property will be use to save the played position within a media
file.

Signed-off-by: Lionel Landwerlin <lionel g landwerlin linux intel com>
---
 data/ontologies/33-nfo.ontology |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/data/ontologies/33-nfo.ontology
b/data/ontologies/33-nfo.ontology index 2ccd974..7de5802 100644
--- a/data/ontologies/33-nfo.ontology
+++ b/data/ontologies/33-nfo.ontology
@@ -966,3 +966,8 @@ nfo:HelpDocument a rdfs:Class ;
      rdfs:comment "User guides and similar to assist the user" ;
      rdfs:subClassOf nfo:Document .
 
+# This property needs to be submitted to NEPOMUK
+nfo:lastPosition a rdf:Property ;
+     nrl:maxCardinality 1 ;
+     rdfs:domain nfo:Media ;
+     rdfs:range xsd:integer .

Thanks for the patch Lionel, could you please also add a rdfs:comment
on the property describing its use, and more importantly the unit of the
integer: bytes, seconds, light years?

Cheers

Adrien



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