[tracker] MFO: Added groupDefault property



commit 28f3071718a4bb324fce1124b0417201a2c53282
Author: Ivan Frade <ivan frade nokia com>
Date:   Tue Feb 2 13:26:52 2010 +0200

    MFO: Added groupDefault property
    
    Needed to represent e.g. Yahoos RSS media feed

 data/ontologies/41-mfo.ontology     |    7 +++++++
 docs/ontologies/mfo/explanation.xml |    5 +++++
 2 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/data/ontologies/41-mfo.ontology b/data/ontologies/41-mfo.ontology
index f4c014d..c5cfac3 100644
--- a/data/ontologies/41-mfo.ontology
+++ b/data/ontologies/41-mfo.ontology
@@ -93,6 +93,13 @@ mfo:remoteLink a rdf:Property ;
 	nrl:maxCardinality 1 ;
 	rdfs:range nfo:RemoteDataObject .
 
+mfo:groupDefault a rdf:Property ;
+        rdfs:label "Default in group";
+        rdfs:comment "Different enclosures can represent the same resource in different formats/resolutions. This representations are grouped using the nie:identifier property and this property identify the default between them.";
+        rdfs:domain mfo:Enclosure ;
+        nrl:maxCardinality 1 ;
+        rdfs:range xsd:boolean .
+
 mfo:localLink a rdf:Property ;
 	rdfs:label "Local link" ;
 	rdfs:comment "Downloaded copy of the enclosure" ;
diff --git a/docs/ontologies/mfo/explanation.xml b/docs/ontologies/mfo/explanation.xml
index 83fecc7..d97d7c9 100644
--- a/docs/ontologies/mfo/explanation.xml
+++ b/docs/ontologies/mfo/explanation.xml
@@ -14,6 +14,11 @@
 <para>Finally, the three important classes (mfo:FeedChannel, mfo:FeedMessage, mfo:Enclosure) are subclasses of <link linkend="mfo-FeedElement">mfo:FeedElement</link>, just an abstract class to share the link with mfo:FeedSettings. <link linkend="mfo-FeedSettings">mfo:FeedSettings</link> contains some common configuration options. Not all of them applies to all, but it is a quite cleaner solution. For instance the <link linkend="mfo-maxSize">mfo:maxSize</link> property only makes sense per-enclosure, while the <link linkend="mfo-updateInterval">mfo:updateInterval</link> is useful for the channel.</para>
  </sect2>
 
+ <sect2 id="mfo-special-remarks">
+  <title>Special remarks</title>
+<para>In some feeds, like <ulink url="http://video.search.yahoo.com/mrss";>"Yahoo Media RSS</ulink>, there can be multiple enclosures together in a group, representing the same resource in different formats, qualities, resolutions, etc. Until further notify, the group will be represented using <link linkend="nie-identifier">nie:identifier</link> property . To mark the default enclosure of the group, there is a <link linkend="mfo-groupDefault">mfo-groupDefault</link> property</para>
+ </sect2>
+
  <refsect2 id="mfo-graphical-overview">
   <figure id="mfo-ontology-graph">
   <title>Graphical Overview</title>



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