[tracker] Add thumbnail property to bookmarks and two pre-defines instances for web and desktop bookmarks



commit f9004383485ea83c66f05c4d2af1f4cc0f6f6f07
Author: Ivan Frade <ifrade src gnome org>
Date:   Tue Apr 14 19:58:33 2009 +0300

    Add thumbnail property to bookmarks and two pre-defines instances for web and desktop bookmarks
---
 data/ontologies/91-maemo.ontology |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/data/ontologies/91-maemo.ontology b/data/ontologies/91-maemo.ontology
index 58f8044..675c996 100644
--- a/data/ontologies/91-maemo.ontology
+++ b/data/ontologies/91-maemo.ontology
@@ -5,6 +5,8 @@
 @prefix tracker: <http://www.tracker-project.org/ontologies/tracker#> .
 @prefix nie: <http://www.semanticdesktop.org/ontologies/2007/01/19/nie#> .
 @prefix nfo: <http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#> .
+ prefix nrl: <http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#> .
+ prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
 @prefix maemo: <http://maemo.org/ontologies/tracker#> .
 
 maemo: a tracker:Namespace ;
@@ -19,3 +21,17 @@ maemo:SoftwareApplet a rdfs:Class ;
 	rdfs:label "Widget" ;
 	rdfs:comment "A widget" ;
 	rdfs:subClassOf nfo:Software .
+
+maemo:DesktopBookmark a rdfs:Class ;
+	rdfs:label "Desktop bookmark" ;
+	rdfs:subClassOf nie:InformationElement .
+
+# Instances for Web and Desktop bookmarks
+maemo:DesktopBookmarkFolder a nfo:BookmarkFolder .
+maemo:BrowserBookmarkFolder a nfo:BookmarkFolder .
+
+# Property to support thumbnails of the bookmarks
+# It is not nfo:Image to avoid unnecessary resources in the DB
+maemo:bookmarkThumbnail a rdf:Property ;
+   rdfs:domain nfo:Bookmark ;
+   rdfs:range  xsd:string .



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