[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-pim
Subject:    [Kde-pim] [PATCH] Improved Nepomuk email feeder agent
From:       Sebastian =?iso-8859-1?q?Tr=FCg?= <strueg () mandriva ! com>
Date:       2008-05-02 10:10:50
Message-ID: 200805021210.51001.strueg () mandriva ! com
[Download RAW message or body]

Hi guys,

along the lines of the contact feeder I improved the email feeder to properly 
index all emails. It still has a bunch of shortcomings but is a step in the 
right direction.
Once thing I still want to do is indexing attachments via Strigi. Then users 
could find their attachments via a virtual folder. Then, however, we also 
need a KIO slave that provides direct access to the attachment (stat and get 
mostly). Do we already have something like that? Does the akonadi ioslave 
handle that?
Another thing is performance: Using libnepomuk is not really fast. So I am 
thinking about doing it the hard way and creating the RDF statements 
manually. But that is an optimization that can be done later.

Anyway, please review, especially the parts where I call methods like 
mainBodyContent without being sure what to pass as type. ;)

Cheers,
Sebastian

["kdepim-akonadi-agents-nepomuk.diff" (text/x-diff)]

Index: agents/nepomuk_email_feeder/nepomukemailfeeder.cpp
===================================================================
--- agents/nepomuk_email_feeder/nepomukemailfeeder.cpp	(revision 803081)
+++ agents/nepomuk_email_feeder/nepomukemailfeeder.cpp	(working copy)
@@ -1,5 +1,6 @@
 /*
     Copyright (c) 2006 Volker Krause <vkrause@kde.org>
+    Copyright (c) 2008 Sebastian Trueg <trueg@kde.org>
 
     This library is free software; you can redistribute it and/or modify it
     under the terms of the GNU Library General Public License as published by
@@ -18,6 +19,9 @@
 */
 
 #include "nepomukemailfeeder.h"
+#include "email.h"
+#include "emailaddress.h"
+#include "personcontact.h"
 
 #include <akonadi/changerecorder.h>
 #include <akonadi/item.h>
@@ -25,12 +29,21 @@
 #include <akonadi/kmime/messageparts.h>
 
 #include <kmime/kmime_message.h>
+#include <kmime/kmime_content.h>
 #include <boost/shared_ptr.hpp>
 
-#include <nepomuk/resource.h>
-#include <nepomuk/variant.h>
+#include <Nepomuk/Resource>
+#include <Nepomuk/ResourceManager>
+#include <Nepomuk/Variant>
 #include <kurl.h>
 
+#include <Soprano/Vocabulary/Xesam>
+#include <Soprano/Vocabulary/NAO>
+#include <Soprano/Vocabulary/XMLSchema>
+#include <Soprano/Model>
+#include <Soprano/QueryResultIterator>
+
+
 using namespace Akonadi;
 typedef boost::shared_ptr<KMime::Message> MessagePtr;
 
@@ -55,21 +68,65 @@
   if ( !item.hasPayload<MessagePtr>() )
     return;
   MessagePtr msg = item.payload<MessagePtr>();
-  Nepomuk::Resource r( item.url().url() );
-  if ( msg->subject( false ) )
-    r.setProperty( "Subject", Nepomuk::Variant(msg->subject()->asUnicodeString()) );
-  if ( msg->date( false ) )
-    r.setProperty( "Date", Nepomuk::Variant(msg->date()->dateTime().dateTime()) );
-  if ( msg->from( false ) )
-    r.setProperty( "From", Nepomuk::Variant(msg->from()->prettyAddresses()) );
-  if ( msg->to( false ) )
-    r.setProperty( "To", Nepomuk::Variant( msg->to()->prettyAddresses()) );
-  if ( msg->cc( false ) )
-    r.setProperty( "Cc", Nepomuk::Variant(msg->cc()->prettyAddresses()) );
-  if ( msg->bcc( false ) )
-    r.setProperty( "Bcc", Nepomuk::Variant(msg->bcc()->prettyAddresses()) );
-  if ( msg->messageID( false ) )
-    r.setProperty( "Message-Id", Nepomuk::Variant(msg->messageID()->asUnicodeString()) );
+
+  // FIXME: make a distinction between email and news
+  Nepomuk::Email r( item.url() );
+
+  if ( msg->subject( false ) ) {
+    r.setMessageSubject( msg->subject()->asUnicodeString() );
+  }
+
+  if ( msg->date( false ) ) {
+    r.setReceivedDate( msg->date()->dateTime().dateTime() );
+  }
+
+  if ( msg->from( false ) ) {
+    foreach( const QString& address, msg->from()->prettyAddresses() ) {
+      if ( !address.isEmpty() ) {
+        r.addSender( findContact( address ) );
+      }
+    }
+  }
+
+  if ( msg->to( false ) ) {
+    foreach( const QString& address, msg->to()->prettyAddresses() ) {
+      if ( !address.isEmpty() ) {
+        r.addTo( findContact( address ) );
+      }
+    }
+  }
+
+  if ( msg->cc( false ) ) {
+    foreach( const QString& address, msg->cc()->prettyAddresses() ) {
+      if ( !address.isEmpty() ) {
+        r.addCc( findContact( address ) );
+      }
+    }
+  }
+
+  if ( msg->bcc( false ) ) {
+    foreach( const QString& address, msg->bcc()->prettyAddresses() ) {
+      if ( !address.isEmpty() ) {
+        r.addBcc( findContact( address ) );
+      }
+    }
+  }
+
+  // FIXME: which bodypart do we need to select for plain text? text/plain?
+  KMime::Content* content = msg->mainBodyPart();
+
+  // FIXME: simplyfy this text as in: remove all html tags. Is there a quick way to do this?
+  QString text = content->decodedText( true, true );
+  if ( !text.isEmpty() ) {
+    r.setProperty( Soprano::Vocabulary::Xesam::asText(), text );
+  }
+
+  // FIXME: is xesam:id the best idea here?
+  if ( msg->messageID( false ) ) {
+    r.setProperty( Soprano::Vocabulary::Xesam::id(), \
Nepomuk::Variant(msg->messageID()->asUnicodeString()) ); +  }
+
+  // IDEA: use Strigi to index the attachments
 }
 
 void NepomukEMailFeeder::itemRemoved(const Akonadi::Item & item)
@@ -78,6 +135,33 @@
   r.remove();
 }
 
+Nepomuk::Contact NepomukEMailFeeder::findContact( const QString& address )
+{
+  //
+  // Querying with the exact address string is not perfect since email addresses
+  // are case insensitive. But for the moment we stick to it and hope Nepomuk
+  // alignment fixes any duplicates
+  //
+  Soprano::QueryResultIterator it =
+    Nepomuk::ResourceManager::instance()->mainModel()->executeQuery( QString( "select distinct ?r where \
{ ?r <%1> ?a . ?a <%2> \"%3\"^^<%4> . }" ) +                                                              \
.arg( Nepomuk::Role::emailAddressUri().toString() ) +                                                     \
.arg( Nepomuk::EmailAddress::emailAddressUri().toString() ) +                                             \
.arg( address ) +                                                                     .arg( \
Soprano::Vocabulary::XMLSchema::string().toString() ), +                                                  \
Soprano::Query::QueryLanguageSparql ); +  if ( it.next() ) {
+    return Nepomuk::Contact( it.binding( 0 ).uri() );
+  }
+  else {
+    // create a new contact
+    Nepomuk::PersonContact contact;
+    Nepomuk::EmailAddress email;
+    email.setEmailAddress( address );
+    contact.addEmailAddress( email );
+    return contact;
+  }
+}
+
 AKONADI_AGENT_MAIN( NepomukEMailFeeder )
 
 #include "nepomukemailfeeder.moc"
Index: agents/nepomuk_email_feeder/nepomukemailfeeder.h
===================================================================
--- agents/nepomuk_email_feeder/nepomukemailfeeder.h	(revision 803081)
+++ agents/nepomuk_email_feeder/nepomukemailfeeder.h	(working copy)
@@ -1,5 +1,6 @@
 /*
     Copyright (c) 2006 Volker Krause <vkrause@kde.org>
+    Copyright (c) 2008 Sebastian Trueg <trueg@kde.org>
 
     This library is free software; you can redistribute it and/or modify it
     under the terms of the GNU Library General Public License as published by
@@ -22,6 +23,9 @@
 
 #include <akonadi/agentbase.h>
 
+namespace Nepomuk {
+  class Contact;
+}
 
 namespace Akonadi {
 
@@ -35,6 +39,9 @@
     void itemAdded( const Akonadi::Item &item, const Akonadi::Collection &collection );
     void itemChanged( const Akonadi::Item &item, const QSet<QByteArray> &partIdentifiers );
     void itemRemoved(const Akonadi::Item &item);
+
+  private:
+    Nepomuk::Contact findContact( const QString& address );
 };
 
 }
Index: agents/nepomuk_email_feeder/CMakeLists.txt
===================================================================
--- agents/nepomuk_email_feeder/CMakeLists.txt	(revision 803081)
+++ agents/nepomuk_email_feeder/CMakeLists.txt	(working copy)
@@ -1,5 +1,6 @@
 include_directories(
     ${CMAKE_SOURCE_DIR}/akonadi
+    ${CMAKE_CURRENT_BINARY_DIR}/../nie
     ${Boost_INCLUDE_DIR}
 )
 
@@ -12,6 +13,7 @@
 kde4_add_executable(akonadi_nepomuk_email_feeder RUN_UNINSTALLED ${akonadi_nepomuk_email_feeder_SRCS})
 
 target_link_libraries(akonadi_nepomuk_email_feeder
+  nie
   ${KDE4_AKONADI_LIBS}
   akonadi-kmime
   ${QT_QTCORE_LIBRARY}
Index: agents/nepomuk_contact_feeder/nie.rdfs
===================================================================
--- agents/nepomuk_contact_feeder/nie.rdfs	(revision 803081)
+++ agents/nepomuk_contact_feeder/nie.rdfs	(working copy)
@@ -1,293 +0,0 @@
-<rdf:RDF
-    xmlns:nrl="http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#"
-    xmlns:protege="http://protege.stanford.edu/system#"
-    xmlns:nmo="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#"
-    xmlns:exif="http://www.kanzaki.com/ns/exif#"
-    xmlns:dc="http://purl.org/dc/elements/1.1/"
-    xmlns:ncal="http://www.semanticdesktop.org/ontologies/2007/04/02/ncal#"
-    xmlns:nco="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#"
-    xmlns:nao="http://www.semanticdesktop.org/ontologies/2007/08/15/nao#"
-    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
-    xmlns:nexif="http://www.semanticdesktop.org/ontologies/2007/05/10/nexif#"
-    xmlns:nid3="http://www.semanticdesktop.org/ontologies/2007/05/10/nid3#"
-    xmlns:nie="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#"
-    xmlns:dcterms="http://purl.org/dc/terms/"
-    xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
-    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
-    xmlns:nfo="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#"
-    xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#">
-  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement">
-    <rdfs:label>InformationElement</rdfs:label>
-    <rdfs:comment>A unit of content the user works with. This is a superclass for all interpretations of \
                a DataObject.</rdfs:comment>
-    <rdfs:subClassOf rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>
-  </rdfs:Class>
-  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#DataSource">
-    <rdfs:label>DataSource</rdfs:label>
-    <rdfs:comment>A superclass for all entities from which DataObjects can be extracted. Each entity \
represents a native application or some other system that manages information that may be of interest to \
the user of the Semantic Desktop. Subclasses may include FileSystems, Mailboxes, Calendars, websites etc. \
The exact choice of subclasses and their properties is considered application-specific. Each data \
extraction application is supposed to provide it's own DataSource ontology. Such an ontology should \
contain supported data source types coupled with properties necessary for the application to gain access \
                to the data sources.  (paths, urls, passwords  etc...)</rdfs:comment>
-    <rdfs:subClassOf rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>
-  </rdfs:Class>
-  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#DataObject">
-    <rdfs:label>DataObject</rdfs:label>
-    <rdfs:comment>A unit of data that is created, annotated and processed on the user desktop. It \
represents a native structure the user works with. The usage of the term 'native' is important. It means \
that a DataObject can be directly mapped to a data structure maintained by a native application. This may \
be a file, a set of files or a part of a file. The granularity depends on the user. This class is not \
                intended to be instantiated by itself. Use more specific subclasses.</rdfs:comment>
-    <rdfs:subClassOf rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>
-  </rdfs:Class>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#characterSet">
-    <rdfs:label>characterSet</rdfs:label>
-    <rdfs:comment>Characterset in which the content of the InformationElement was created. Example: \
ISO-8859-1, UTF-8. One of the registered character sets at \
http://www.iana.org/assignments/character-sets. This characterSet is used to interpret any textual parts \
of the content. If more than one characterSet is used within one data object, use more specific \
                properties.</rdfs:comment>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement"/>
                
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#informationElementDate">
                
-    <rdfs:label>informationElementDate</rdfs:label>
-    <rdfs:comment>A point or period of time associated with an event in the lifecycle of an Information \
Element. A common superproperty for all date-related properties of InformationElements in the NIE \
                Framework.</rdfs:comment>
-    <rdfs:subPropertyOf rdf:resource="http://purl.org/dc/elements/1.1/date"/>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement"/>
                
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#dateTime"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#rootElementOf">
-    <rdfs:label>rootElementOf</rdfs:label>
-    <rdfs:comment>DataObjects extracted from a single data source are organized into a containment tree. \
                This property links the root of that tree with the datasource it has been extracted \
                from</rdfs:comment>
-    <rdfs:range rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#DataSource"/>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement"/>
                
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#legal">
-    <rdfs:label>legal</rdfs:label>
-    <rdfs:comment>A common superproperty for all properties that point at legal information about an \
                Information Element</rdfs:comment>
-    <rdfs:subPropertyOf rdf:resource="http://purl.org/dc/elements/1.1/rights"/>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement"/>
                
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#isStoredAs">
-    <rdfs:label>isStoredAs</rdfs:label>
-    <rdfs:comment>Links the information element with the DataObject it is stored in.</rdfs:comment>
-    <rdfs:range rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#DataObject"/>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement"/>
                
-    <nrl:inverseProperty>
-      <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#interpretedAs"/>
-    </nrl:inverseProperty>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#language">
-    <rdfs:label>language</rdfs:label>
-    <rdfs:comment>Language the InformationElement is expressed in. This property applies to the data \
object in its entirety. If the data object is divisible into parts expressed in multiple languages - more \
specific properties should be used. Users are encouraged to use the two-letter code specified in the RFC \
                3066</rdfs:comment>
-    <rdfs:subPropertyOf rdf:resource="http://purl.org/dc/elements/1.1/language"/>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement"/>
                
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#copyright">
-    <rdfs:comment>Content copyright</rdfs:comment>
-    <rdfs:label>copyright</rdfs:label>
-    <rdfs:subPropertyOf rdf:resource="http://purl.org/dc/terms/accessRights"/>
-    <rdfs:subPropertyOf rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#legal"/>
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#created">
-    <rdfs:label>created</rdfs:label>
-    <rdfs:comment>Date of creation of the DataObject. Note that this date refers to the creation of the \
                DataObject itself (i.e. the physical representation). Compare with \
                nie:contentCreated.</rdfs:comment>
-    <rdfs:subPropertyOf rdf:resource="http://purl.org/dc/terms/created"/>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#DataObject"/>
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#dateTime"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#mimeType">
-    <rdfs:label>mimeType</rdfs:label>
-    <rdfs:comment>The mime type of the resource, if available. Example: "text/plain". See \
http://www.iana.org/assignments/media-types/. This property applies to data objects that can be described \
with one mime type. In cases where the object as a whole has one mime type, while it's parts have other \
mime types, or there is no mime type that can be applied to the object as a whole, but some parts of the \
                content have mime types - use more specific properties.</rdfs:comment>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement"/>
                
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#version">
-    <rdfs:label>version</rdfs:label>
-    <rdfs:comment>The current version of the given data object. Exact semantics is unspecified at this \
                level. Use more specific subproperties if needed.</rdfs:comment>
-    <rdfs:subPropertyOf rdf:resource="http://purl.org/dc/terms/hasVersion"/>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement"/>
                
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#interpretedAs">
-    <rdfs:label>interpretedAs</rdfs:label>
-    <rdfs:comment>Links the DataObject with the InformationElement it is interpreted as.</rdfs:comment>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#DataObject"/>
-    <rdfs:range rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement"/>
                
-    <nrl:inverseProperty \
                rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#isStoredAs"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#links">
-    <rdfs:label>links</rdfs:label>
-    <rdfs:comment>A linking relation. A piece of content links/mentions a piece of data</rdfs:comment>
-    <rdfs:range rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#DataObject"/>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement"/>
                
-    <rdfs:subPropertyOf>
-      <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#relatedTo"/>
-    </rdfs:subPropertyOf>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#generator">
-    <rdfs:label>generator</rdfs:label>
-    <rdfs:comment>Software used to "generate" the contents. E.g. a word processor name.</rdfs:comment>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement"/>
                
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#isPartOf">
-    <rdfs:label>isPartOf</rdfs:label>
-    <rdfs:comment>Generic property used to express containment relationships between DataObjects. NIE \
extensions are encouraged to provide more specific subproperties of this one. It is advisable for actual \
instances of DataObjects to use those specific subproperties. Note to the developers: Please be aware of \
the distinction between containment relation and provenance. The isPartOf relation models physical \
containment, a nie:DataObject (e.g. an nfo:Attachment) is a 'physical' part of an nie:InformationElement \
(a nmo:Message). Also, please note the difference between physical containment (isPartOf) and logical \
containment (isLogicalPartOf) the former has more strict meaning. They may occur independently of each \
                other.</rdfs:comment>
-    <rdfs:subPropertyOf rdf:resource="http://purl.org/dc/terms/isPartOf"/>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#DataObject"/>
-    <rdfs:range rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement"/>
                
-    <nrl:inverseProperty>
-      <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#hasPart"/>
-    </nrl:inverseProperty>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#disclaimer">
-    <rdfs:comment>A disclaimer</rdfs:comment>
-    <rdfs:label>disclaimer</rdfs:label>
-    <rdfs:subPropertyOf rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#legal"/>
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#generatorOption">
-    <rdfs:label>generatorOption</rdfs:label>
-    <rdfs:comment>A common superproperty for all settings used by the generating software. This may \
include compression settings, algorithms, autosave, interlaced/non-interlaced etc. Note that this \
property has no range specified and therefore should not be used directly. Always use more specific \
                properties.</rdfs:comment>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement"/>
                
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#description">
-    <rdfs:label>description</rdfs:label>
-    <rdfs:comment>A textual description of the resource. This property may be used for any metadata \
fields that provide some meta-information or comment about a resource in the form of a passage of text. \
This property is not to be confused with nie:plainTextContent. Use more specific subproperties wherever \
                possible.</rdfs:comment>
-    <rdfs:subPropertyOf rdf:resource="http://purl.org/dc/elements/1.1/description"/>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement"/>
                
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#contentCreated">
-    <nrl:maxCardinality>1</nrl:maxCardinality>
-    <rdfs:label>contentCreated</rdfs:label>
-    <rdfs:comment>The date of the content creation. This may not necessarily be equal to the date when \
the DataObject (i.e. the physical representation) itself was created. Compare with nie:created \
                property.</rdfs:comment>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement"/>
                
-    <rdfs:subPropertyOf \
                rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#informationElementDate"/>
                
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#dateTime"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#title">
-    <rdfs:comment>Name given to an InformationElement</rdfs:comment>
-    <rdfs:label>title</rdfs:label>
-    <rdfs:subPropertyOf rdf:resource="http://purl.org/dc/elements/1.1/title"/>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement"/>
                
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#lastRefreshed">
-    <nrl:maxCardinality>1</nrl:maxCardinality>
-    <rdfs:label>lastRefreshed</rdfs:label>
-    <rdfs:comment>Date when information about this data object was retrieved (for the first time) or \
last refreshed from the data source. This property is important for metadata extraction applications that \
don't receive any notifications of changes in the data source and have to poll it regularly. This may \
lead to information becoming out of date. In these cases this property may be used to determine the age \
                of data, which is an important element of it's dependability. </rdfs:comment>
-    <rdfs:subPropertyOf rdf:resource="http://purl.org/dc/elements/1.1/date"/>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#DataObject"/>
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#dateTime"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#dataSource">
-    <nrl:minCardinality>1</nrl:minCardinality>
-    <rdfs:label>dataSource</rdfs:label>
-    <rdfs:comment>Marks the provenance of a DataObject, what source does a data object come \
                from.</rdfs:comment>
-    <rdfs:subPropertyOf rdf:resource="http://purl.org/dc/elements/1.1/source"/>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#DataObject"/>
-    <rdfs:range rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#DataSource"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#depends">
-    <rdfs:label>depends</rdfs:label>
-    <rdfs:comment>Dependency relation. A piece of content depends on another piece of data in order to \
                be properly understood/used/interpreted.</rdfs:comment>
-    <rdfs:range rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#DataObject"/>
-    <rdfs:subPropertyOf>
-      <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#relatedTo"/>
-    </rdfs:subPropertyOf>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#contentLastModified">
                
-    <nrl:maxCardinality>1</nrl:maxCardinality>
-    <rdfs:comment>The date of the last modification of the content.</rdfs:comment>
-    <rdfs:label>contentLastModified</rdfs:label>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement"/>
                
-    <rdfs:subPropertyOf \
                rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#informationElementDate"/>
                
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#dateTime"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#keyword">
-    <rdfs:label>keyword</rdfs:label>
-    <rdfs:comment>Adapted DublinCore: The topic of the content of the resource, as keyword. No sentences \
here. Recommended best practice is to select a value from a controlled vocabulary or formal \
                classification scheme. </rdfs:comment>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement"/>
                
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#isLogicalPartOf">
-    <rdfs:label>isLogicalPartOf</rdfs:label>
-    <rdfs:comment>Generic property used to express 'logical' containment relationships between \
DataObjects. NIE extensions are encouraged to provide more specific subproperties of this one. It is \
advisable for actual instances of InformationElement to use those specific subproperties. Note the \
difference between 'physical' containment (isPartOf) and logical containment \
                (isLogicalPartOf)</rdfs:comment>
-    <rdfs:subPropertyOf rdf:resource="http://purl.org/dc/terms/isPartOf"/>
-    <rdfs:range rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement"/>
                
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement"/>
                
-    <nrl:inverseProperty>
-      <rdf:Property \
                rdf:about="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#hasLogicalPart"/>
-    </nrl:inverseProperty>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#identifier">
-    <rdfs:label>identifier</rdfs:label>
-    <rdfs:comment>An unambiguous reference to the InformationElement within a given context. Recommended \
best practice is to identify the resource by means of a string conforming to a formal identification \
                system.</rdfs:comment>
-    <rdfs:subPropertyOf rdf:resource="http://purl.org/dc/elements/1.1/identifier"/>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement"/>
                
-    <rdfs:subPropertyOf \
                rdf:resource="http://www.semanticdesktop.org/ontologies/2007/08/15/nao#identifier"/>
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#plainTextContent">
-    <rdfs:label>plainTextContent</rdfs:label>
-    <rdfs:comment>Plain-text representation of the content of a InformationElement with all markup \
removed. The main purpose of this property is full-text indexing and search. Its exact content is \
considered application-specific. The user can make no assumptions about what is and what is not contained \
                within. Applications should use more specific properties wherever \
                possible.</rdfs:comment>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement"/>
                
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#relatedTo">
-    <rdfs:label>relatedTo</rdfs:label>
-    <rdfs:comment>A common superproperty for all relations between a piece of content and other pieces \
                of data (which may be interpreted as other pieces of content).</rdfs:comment>
-    <rdfs:subPropertyOf rdf:resource="http://purl.org/dc/elements/1.1/relation"/>
-    <rdfs:range rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#DataObject"/>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement"/>
                
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#comment">
-    <rdfs:comment>A user comment about an InformationElement.</rdfs:comment>
-    <rdfs:label>comment</rdfs:label>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement"/>
                
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#contentSize">
-    <rdfs:label>contentSize</rdfs:label>
-    <rdfs:comment>The size of the content. This property can be used whenever the size of the content of \
an InformationElement differs from the size of the DataObject. (e.g. because of compression, encoding, \
                encryption or any other representation issues). The contentSize in expressed in \
                bytes.</rdfs:comment>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement"/>
                
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#license">
-    <rdfs:comment>Terms and intellectual property rights licensing conditions.</rdfs:comment>
-    <rdfs:label>license</rdfs:label>
-    <rdfs:subPropertyOf rdf:resource="http://purl.org/dc/terms/license"/>
-    <rdfs:subPropertyOf rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#legal"/>
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#subject">
-    <rdfs:comment>An overall topic of the content of a InformationElement</rdfs:comment>
-    <rdfs:label>subject</rdfs:label>
-    <rdfs:subPropertyOf rdf:resource="http://purl.org/dc/elements/1.1/subject"/>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement"/>
                
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#licenseType">
-    <rdfs:label>licenseType</rdfs:label>
-    <rdfs:comment>The type of the license. Possible values for this field may include "GPL", "BSD", \
                "Creative Commons" etc.</rdfs:comment>
-    <rdfs:subPropertyOf rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#legal"/>
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#hasPart">
-    <rdfs:label>hasPart</rdfs:label>
-    <rdfs:comment>Generic property used to express 'physical' containment relationships between \
DataObjects. NIE extensions are encouraged to provide more specific subproperties of this one. It is \
advisable for actual instances of DataObjects to use those specific subproperties. Note to the \
developers: Please be aware of the distinction between containment relation and provenance. The hasPart \
relation models physical containment, an InformationElement (a nmo:Message) can have a 'physical' part \
(an nfo:Attachment).  Also, please note the difference between physical containment (hasPart) and logical \
containment (hasLogicalPart) the former has more strict meaning. They may occur independently of each \
                other.</rdfs:comment>
-    <rdfs:subPropertyOf rdf:resource="http://purl.org/dc/terms/hasPart"/>
-    <rdfs:range rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#DataObject"/>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement"/>
                
-    <nrl:inverseProperty \
                rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#isPartOf"/>
-    <rdfs:subPropertyOf \
                rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#relatedTo"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#byteSize">
-    <nrl:maxCardinality>1</nrl:maxCardinality>
-    <rdfs:label>byteSize</rdfs:label>
-    <rdfs:comment>The overall size of the data object in bytes. That means the WHOLE data object and \
ONLY the data object, not of the content that is of interest to the user. For cases where the content \
size is different (e.g. in compressed files the content is larger, in messages the content excludes \
headings and is smaller) use more specific properties, not necessarily subproperties of this \
                one.</rdfs:comment>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#DataObject"/>
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#hasLogicalPart">
-    <rdfs:label>hasLogicalPart</rdfs:label>
-    <rdfs:comment>Generic property used to express 'logical' containment relationships between \
DataObjects. NIE extensions are encouraged to provide more specific subproperties of this one. It is \
advisable for actual instances of InformationElement to use those specific subproperties. Note the \
difference between 'physical' containment (hasPart) and logical containment \
                (hasLogicalPart)</rdfs:comment>
-    <rdfs:subPropertyOf rdf:resource="http://purl.org/dc/terms/hasPart"/>
-    <rdfs:range rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement"/>
                
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement"/>
                
-    <nrl:inverseProperty \
                rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#isLogicalPartOf"/>
-  </rdf:Property>
-</rdf:RDF>
Index: agents/nepomuk_contact_feeder/nco.rdfs
===================================================================
--- agents/nepomuk_contact_feeder/nco.rdfs	(revision 803081)
+++ agents/nepomuk_contact_feeder/nco.rdfs	(working copy)
@@ -1,595 +0,0 @@
-<rdf:RDF
-    xmlns:nrl="http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#"
-    xmlns:protege="http://protege.stanford.edu/system#"
-    xmlns:nmo="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#"
-    xmlns:exif="http://www.kanzaki.com/ns/exif#"
-    xmlns:dc="http://purl.org/dc/elements/1.1/"
-    xmlns:ncal="http://www.semanticdesktop.org/ontologies/2007/04/02/ncal#"
-    xmlns:nco="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#"
-    xmlns:nao="http://www.semanticdesktop.org/ontologies/2007/08/15/nao#"
-    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
-    xmlns:nexif="http://www.semanticdesktop.org/ontologies/2007/05/10/nexif#"
-    xmlns:nid3="http://www.semanticdesktop.org/ontologies/2007/05/10/nid3#"
-    xmlns:nie="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#"
-    xmlns:dcterms="http://purl.org/dc/terms/"
-    xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
-    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
-    xmlns:nfo="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#"
-    xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#">
-  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#IsdnNumber">
-    <rdfs:label>IsdnNumber</rdfs:label>
-    <rdfs:comment>An ISDN phone number. Inspired by the (TYPE=isdn) parameter of the TEL property as \
                defined in RFC 2426 sec  3.3.1.</rdfs:comment>
-    <rdfs:subClassOf>
-      <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#VoicePhoneNumber"/>
                
-    </rdfs:subClassOf>
-  </rdfs:Class>
-  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#Contact">
-    <rdfs:label>Contact</rdfs:label>
-    <rdfs:comment>A Contact. A piece of data that can provide means to identify or communicate with an \
                entity.</rdfs:comment>
-    <rdfs:subClassOf \
                rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement"/>
                
-    <rdfs:subClassOf>
-      <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#Role"/>
-    </rdfs:subClassOf>
-  </rdfs:Class>
-  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#EmailAddress">
-    <rdfs:comment>An email address. The recommended best practice is to use mailto: uris for instances \
                of this class.</rdfs:comment>
-    <rdfs:label>EmailAddress</rdfs:label>
-    <rdfs:subClassOf>
-      <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#ContactMedium"/>
-    </rdfs:subClassOf>
-  </rdfs:Class>
-  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#ParcelDeliveryAddress">
                
-    <rdfs:label>ParcelDeliveryAddress</rdfs:label>
-    <rdfs:comment>Parcel Delivery Addresse. Class inspired by TYPE=parcel parameter of the ADR property \
                defined in RFC 2426 sec. 3.2.1</rdfs:comment>
-    <rdfs:subClassOf>
-      <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#PostalAddress"/>
-    </rdfs:subClassOf>
-  </rdfs:Class>
-  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#VideoTelephoneNumber">
-    <rdfs:label>VideoTelephoneNumber</rdfs:label>
-    <rdfs:comment>A Video telephone number. A class inspired by the TYPE=video parameter of the TEL \
                property defined in RFC 2426 sec. 3.3.1</rdfs:comment>
-    <rdfs:subClassOf>
-      <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#VoicePhoneNumber"/>
                
-    </rdfs:subClassOf>
-  </rdfs:Class>
-  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#VideoIMAccount">
-    <rdfs:label>VideoIMAccount</rdfs:label>
-    <rdfs:comment>An account in an instant messaging system capable of video \
                conversations.</rdfs:comment>
-    <rdfs:subClassOf>
-      <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#AudioIMAccount"/>
-    </rdfs:subClassOf>
-  </rdfs:Class>
-  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#AudioIMAccount">
-    <rdfs:label>AudioIMAccount</rdfs:label>
-    <rdfs:comment>An account in an InstantMessaging system capable of real-time audio \
                conversations.</rdfs:comment>
-    <rdfs:subClassOf>
-      <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#IMAccount"/>
-    </rdfs:subClassOf>
-  </rdfs:Class>
-  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#FaxNumber">
-    <rdfs:label>FaxNumber</rdfs:label>
-    <rdfs:comment>A fax number. Inspired by the (TYPE=fax) parameter of the TEL property as defined in \
                RFC 2426 sec  3.3.1.</rdfs:comment>
-    <rdfs:subClassOf>
-      <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#PhoneNumber"/>
-    </rdfs:subClassOf>
-  </rdfs:Class>
-  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#PersonContact">
-    <rdfs:label>PersonContact</rdfs:label>
-    <rdfs:comment>A Contact that denotes a Person. A person can have multiple \
                Affiliations.</rdfs:comment>
-    <rdfs:subClassOf rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#Contact"/>
-  </rdfs:Class>
-  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#ModemNumber">
-    <rdfs:label>ModemNumber</rdfs:label>
-    <rdfs:comment>A modem phone number. Inspired by the (TYPE=modem) parameter of the TEL property as \
                defined in RFC 2426 sec  3.3.1.</rdfs:comment>
-    <rdfs:subClassOf>
-      <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#PhoneNumber"/>
-    </rdfs:subClassOf>
-  </rdfs:Class>
-  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#OrganizationContact">
-    <rdfs:comment>A Contact that denotes on Organization.</rdfs:comment>
-    <rdfs:label>OrganizationContact</rdfs:label>
-    <rdfs:subClassOf rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#Contact"/>
-  </rdfs:Class>
-  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#MessagingNumber">
-    <rdfs:comment>A number that can accept textual messages.</rdfs:comment>
-    <rdfs:label>MessagingNumber</rdfs:label>
-    <rdfs:subClassOf>
-      <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#PhoneNumber"/>
-    </rdfs:subClassOf>
-  </rdfs:Class>
-  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#ContactList">
-    <rdfs:label>ContactList</rdfs:label>
-    <rdfs:comment>A contact list, this class represents an addressbook or a contact list of an IM \
                application. Contacts inside a contact list can belong to contact groups.</rdfs:comment>
-    <rdfs:subClassOf \
                rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement"/>
                
-  </rdfs:Class>
-  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#Affiliation">
-    <rdfs:label>Affiliation</rdfs:label>
-    <rdfs:comment>Aggregates three properties defined in RFC2426. Originally all three were attached \
directly to a person. One person could have only one title and one role within one organization. This \
                class is intended to lift this limitation.</rdfs:comment>
-    <rdfs:subClassOf>
-      <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#Role"/>
-    </rdfs:subClassOf>
-  </rdfs:Class>
-  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#CellPhoneNumber">
-    <rdfs:label>CellPhoneNumber</rdfs:label>
-    <rdfs:comment>A cellular phone number. Inspired by the (TYPE=cell) parameter of the TEL property as \
defined in RFC 2426 sec  3.3.1. Usually a cellular phone can accept voice calls as well as textual \
                messages (SMS), therefore this class has two superclasses.</rdfs:comment>
-    <rdfs:subClassOf \
                rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#MessagingNumber"/>
-    <rdfs:subClassOf>
-      <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#VoicePhoneNumber"/>
                
-    </rdfs:subClassOf>
-  </rdfs:Class>
-  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#IMAccount">
-    <rdfs:comment>An account in an Instant Messaging system.</rdfs:comment>
-    <rdfs:label>IMAccount</rdfs:label>
-    <rdfs:subClassOf>
-      <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#ContactMedium"/>
-    </rdfs:subClassOf>
-  </rdfs:Class>
-  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#PcsNumber">
-    <rdfs:label>PcsNumber</rdfs:label>
-    <rdfs:comment>Personal Communication Services Number. A class inspired by the TYPE=pcs parameter of \
                the TEL property defined in RFC 2426 sec. 3.3.1</rdfs:comment>
-    <rdfs:subClassOf>
-      <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#VoicePhoneNumber"/>
                
-    </rdfs:subClassOf>
-  </rdfs:Class>
-  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#ContactListDataObject">
                
-    <rdfs:label>ContactListDataObject</rdfs:label>
-    <rdfs:comment>An entity occuring on a contact list (usually interpreted as an \
                nco:Contact)</rdfs:comment>
-    <rdfs:subClassOf \
                rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#DataObject"/>
-  </rdfs:Class>
-  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#CarPhoneNumber">
-    <rdfs:label>CarPhoneNumber</rdfs:label>
-    <rdfs:comment>A car phone number. Inspired by the (TYPE=car) parameter of the TEL property as \
                defined in RFC 2426 sec  3.3.1.</rdfs:comment>
-    <rdfs:subClassOf>
-      <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#VoicePhoneNumber"/>
                
-    </rdfs:subClassOf>
-  </rdfs:Class>
-  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#Gender">
-    <rdfs:comment>Gender. Instances of this class may include male and female.</rdfs:comment>
-    <rdfs:label>Gender</rdfs:label>
-    <rdfs:subClassOf rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>
-  </rdfs:Class>
-  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#PhoneNumber">
-    <rdfs:comment>A telephone number.</rdfs:comment>
-    <rdfs:label>PhoneNumber</rdfs:label>
-    <rdfs:subClassOf>
-      <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#ContactMedium"/>
-    </rdfs:subClassOf>
-  </rdfs:Class>
-  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#Role">
-    <rdfs:label>Role</rdfs:label>
-    <rdfs:comment>A role played by a contact. Contacts that denote people, can have many roles (e.g. see \
the hasAffiliation property and Affiliation class). Contacts that denote Organizations or other Agents \
                usually have one role.  Each role can introduce additional contact media.</rdfs:comment>
-    <rdfs:subClassOf rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>
-  </rdfs:Class>
-  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#DomesticDeliveryAddress">
                
-    <rdfs:label>DomesticDeliveryAddress</rdfs:label>
-    <rdfs:comment>Domestic Delivery Addresse. Class inspired by TYPE=dom parameter of the ADR property \
                defined in RFC 2426 sec. 3.2.1</rdfs:comment>
-    <rdfs:subClassOf>
-      <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#PostalAddress"/>
-    </rdfs:subClassOf>
-  </rdfs:Class>
-  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#InternationalDeliveryAddress">
                
-    <rdfs:label>InternationalDeliveryAddress</rdfs:label>
-    <rdfs:comment>International Delivery Addresse. Class inspired by TYPE=intl parameter of the ADR \
                property defined in RFC 2426 sec. 3.2.1</rdfs:comment>
-    <rdfs:subClassOf>
-      <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#PostalAddress"/>
-    </rdfs:subClassOf>
-  </rdfs:Class>
-  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#ContactGroup">
-    <rdfs:label>ContactGroup</rdfs:label>
-    <rdfs:comment>A group of Contacts. Could be used to express a group in an addressbook or on a \
                contact list of an IM application. One contact can belong to many groups.</rdfs:comment>
-    <rdfs:subClassOf \
                rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement"/>
                
-  </rdfs:Class>
-  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#PostalAddress">
-    <rdfs:label>PostalAddress</rdfs:label>
-    <rdfs:comment>A postal address. A class aggregating the various parts of a value for the 'ADR' \
                property as defined in RFC 2426 Sec. 3.2.1.</rdfs:comment>
-    <rdfs:subClassOf>
-      <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#ContactMedium"/>
-    </rdfs:subClassOf>
-  </rdfs:Class>
-  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#VoicePhoneNumber">
-    <rdfs:label>VoicePhoneNumber</rdfs:label>
-    <rdfs:comment>A telephone number with voice communication capabilities. Class inspired by the \
                TYPE=voice parameter of the TEL property defined in RFC 2426 sec. 3.3.1</rdfs:comment>
-    <rdfs:subClassOf \
                rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#PhoneNumber"/>
-  </rdfs:Class>
-  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#BbsNumber">
-    <rdfs:label>BbsNumber</rdfs:label>
-    <rdfs:comment>A Bulletin Board System (BBS) phone number. Inspired by the (TYPE=bbsl) parameter of \
                the TEL property as defined in RFC 2426 sec  3.3.1.</rdfs:comment>
-    <rdfs:subClassOf \
                rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#ModemNumber"/>
-  </rdfs:Class>
-  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#ContactMedium">
-    <rdfs:label>ContactMedium</rdfs:label>
-    <rdfs:comment>A superclass for all contact media - ways to contact an entity represented by a \
Contact instance. Some of the subclasses of this class (the various kinds of telephone numbers and postal \
addresses) have been inspired by the values of the TYPE parameter of ADR and TEL properties defined in \
RFC 2426 sec. 3.2.1. and 3.3.1 respectively. Each value is represented by an appropriate subclass with \
two major exceptions TYPE=home and TYPE=work. They are to be expressed by the roles these contact media \
are attached to i.e. contact media with TYPE=home parameter are to be attached to the default role \
(nco:Contact or nco:PersonContact), whereas media with TYPE=work parameter should be attached to \
                nco:Affiliation or nco:OrganizationContact.</rdfs:comment>
-    <rdfs:subClassOf rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>
-  </rdfs:Class>
-  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#PagerNumber">
-    <rdfs:label>PagerNumber</rdfs:label>
-    <rdfs:comment>A pager phone number. Inspired by the (TYPE=pager) parameter of the TEL property as \
                defined in RFC 2426 sec  3.3.1.</rdfs:comment>
-    <rdfs:subClassOf \
                rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#MessagingNumber"/>
-  </rdfs:Class>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#hasPhoneNumber">
-    <rdfs:label>hasPhoneNumber</rdfs:label>
-    <rdfs:comment>A number for telephony communication with the object represented by this Contact. An \
                equivalent of the 'TEL' property defined in RFC 2426 Sec. 3.3.1</rdfs:comment>
-    <rdfs:range rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#PhoneNumber"/>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#Role"/>
-    <rdfs:subPropertyOf>
-      <rdf:Property \
                rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#hasContactMedium"/>
-    </rdfs:subPropertyOf>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#hasLocation">
-    <rdfs:label>hasLocation</rdfs:label>
-    <rdfs:comment>Geographical location of the contact. Inspired by the 'GEO' property specified in RFC \
                2426 Sec. 3.4.2</rdfs:comment>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#Contact"/>
-<!--    <rdfs:range rdf:resource="http://www.w3.org/2003/01/geo/wgs84_pos#Point"/>-->
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#hobby">
-    <rdfs:label>hobby</rdfs:label>
-    <rdfs:comment>A hobby associated with a PersonContact. This property can be used to express hobbies \
                and interests.</rdfs:comment>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#PersonContact"/>
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#streetAddress">
-    <rdfs:label>streetAddress</rdfs:label>
-    <rdfs:comment>The streed address. Inspired by the third part of the value of the 'ADR' property as \
                defined in RFC 2426, sec. 3.2.1</rdfs:comment>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#PostalAddress"/>
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#key">
-    <rdfs:label>key</rdfs:label>
-    <rdfs:comment>An encryption key attached to a contact. Inspired by the KEY property defined in RFC \
                2426 sec. 3.7.2</rdfs:comment>
-    <rdfs:range rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#DataObject"/>
-    <rdfs:subPropertyOf \
                rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#hasPart"/>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#Contact"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#creator">
-    <rdfs:label>creator</rdfs:label>
-    <rdfs:comment>Creator of a data object, an entity primarily responsible for the creation of the \
                content of the data object.</rdfs:comment>
-    <rdfs:subPropertyOf rdf:resource="http://purl.org/dc/elements/1.1/creator"/>
-    <rdfs:range rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#Contact"/>
-    <rdfs:subPropertyOf>
-      <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#contributor"/>
-    </rdfs:subPropertyOf>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement"/>
                
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#hasIMAccount">
-    <rdfs:label>hasIMAccount</rdfs:label>
-    <rdfs:comment>Indicates that an Instant Messaging account owned by an entity represented by this \
                contact.</rdfs:comment>
-    <rdfs:range rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#IMAccount"/>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#Role"/>
-    <rdfs:subPropertyOf>
-      <rdf:Property \
                rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#hasContactMedium"/>
-    </rdfs:subPropertyOf>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#gender">
-    <rdfs:comment>Gender of the given contact.</rdfs:comment>
-    <rdfs:label>gender</rdfs:label>
-    <rdfs:range rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#Gender"/>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#PersonContact"/>
-    <nrl:maxCardinality>1</nrl:maxCardinality>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#sound">
-    <rdfs:label>sound</rdfs:label>
-    <rdfs:comment>Sound clip attached to a Contact. The DataObject refered to by this property is \
usually interpreted as an nfo:Audio. Inspired by the SOUND property defined in RFC 2425 sec. \
                3.6.6.</rdfs:comment>
-    <rdfs:range rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#DataObject"/>
-    <rdfs:subPropertyOf \
                rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#hasPart"/>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#Contact"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#photo">
-    <rdfs:label>photo</rdfs:label>
-    <rdfs:comment>Photograph attached to a Contact. The DataObject refered to by this property is \
usually interpreted as an nfo:Image. Inspired by the PHOTO property defined in RFC 2426 sec. \
                3.1.4</rdfs:comment>
-    <rdfs:range rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#DataObject"/>
-    <rdfs:subPropertyOf \
                rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#hasPart"/>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#Contact"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#imStatus">
-    <rdfs:label>imStatus</rdfs:label>
-    <rdfs:comment>Current status of the given IM account. Values for this property may include 'Online', \
                'Offline', 'Do not disturb' etc. The exact choice of them is unspecified.</rdfs:comment>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#IMAccount"/>
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
-    <nrl:maxCardinality>1</nrl:maxCardinality>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#emailAddress">
-    <rdfs:label>emailAddress</rdfs:label>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#EmailAddress"/>
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
-    <nrl:maxCardinality>1</nrl:maxCardinality>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#nameGiven">
-    <rdfs:label>nameGiven</rdfs:label>
-    <rdfs:comment>The given name for the object represented by this Contact. See documentation for \
                'nameFamily' property for details.</rdfs:comment>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#PersonContact"/>
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#imNickname">
-    <rdfs:comment>A nickname attached to a particular IM Account.</rdfs:comment>
-    <rdfs:label>imNickname</rdfs:label>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#IMAccount"/>
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#hasAffiliation">
-    <rdfs:comment>Links a PersonContact with an Affiliation.</rdfs:comment>
-    <rdfs:label>hasAffiliation</rdfs:label>
-    <rdfs:range rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#Affiliation"/>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#PersonContact"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#voiceMail">
-    <rdfs:label>voiceMail</rdfs:label>
-    <rdfs:comment>Indicates if the given number accepts voice mail. (e.g. there is an answering \
machine). Inspired by TYPE=msg parameter of the TEL property defined in RFC 2426 sec. \
                3.3.1</rdfs:comment>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#VoicePhoneNumber"/>
                
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#boolean"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#addressLocation">
-    <rdfs:comment>The geographical location of a postal address.</rdfs:comment>
-    <rdfs:label>addressLocation</rdfs:label>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#PostalAddress"/>
-<!--    <rdfs:range rdf:resource="http://www.w3.org/2003/01/geo/wgs84_pos#Point"/>-->
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#imAccountType">
-    <rdfs:label>imAccountType</rdfs:label>
-    <rdfs:comment>Type of the IM account. This may be the name of the service that provides the IM \
                functionality. Examples might include Jabber, ICQ, MSN etc</rdfs:comment>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#IMAccount"/>
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#contributor">
-    <rdfs:label>contributor</rdfs:label>
-    <rdfs:comment>An entity responsible for making contributions to the content of the \
                InformationElement.</rdfs:comment>
-    <rdfs:subPropertyOf rdf:resource="http://purl.org/dc/elements/1.1/contributor"/>
-    <rdfs:range rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#Contact"/>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement"/>
                
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#hasEmailAddress">
-    <rdfs:label>hasEmailAddress</rdfs:label>
-    <rdfs:comment>An address for electronic mail communication with the object specified by this \
                contact. An equivalent of the 'EMAIL' property as defined in RFC 2426 Sec. \
                3.3.1.</rdfs:comment>
-    <rdfs:range rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#EmailAddress"/>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#Role"/>
-    <rdfs:subPropertyOf>
-      <rdf:Property \
                rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#hasContactMedium"/>
-    </rdfs:subPropertyOf>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#contactGroupName">
-    <rdfs:label>contactGroupName</rdfs:label>
-    <rdfs:comment>The name of the contact group. This property was NOT defined 
-    in the VCARD standard. See documentation of the 'ContactGroup' class for 
-    details</rdfs:comment>
-    <rdfs:subPropertyOf rdf:resource="http://purl.org/dc/elements/1.1/title"/>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#ContactGroup"/>
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
-    <nrl:maxCardinality>1</nrl:maxCardinality>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#hasPostalAddress">
-    <rdfs:label>hasPostalAddress</rdfs:label>
-    <rdfs:comment>The default Address for a Contact. An equivalent of the 'ADR' property as defined in \
                RFC 2426 Sec. 3.2.1.</rdfs:comment>
-    <rdfs:range rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#PostalAddress"/>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#Role"/>
-    <rdfs:subPropertyOf>
-      <rdf:Property \
                rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#hasContactMedium"/>
-    </rdfs:subPropertyOf>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#containsContact">
-    <rdfs:label>containsContact</rdfs:label>
-    <rdfs:comment>A property used to group contacts into contact groups. This 
-    property was NOT defined in the VCARD standard. See documentation for the 
-    'ContactList' class for details</rdfs:comment>
-    <rdfs:subPropertyOf \
                rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#hasPart"/>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#ContactList"/>
-    <rdfs:range rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#ContactListDataObject"/>
                
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#belongsToGroup">
-    <rdfs:comment>Links a Contact with a ContactGroup it belongs to.</rdfs:comment>
-    <rdfs:label>addressLocation</rdfs:label>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#Contact"/>
-    <rdfs:range rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#ContactGroup"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#nameFamily">
-    <rdfs:label>nameFamily</rdfs:label>
-    <rdfs:comment>The family name of an Object represented by this Contact. These applies to people that \
have more than one given name. The 'first' one is considered 'the' given name (see nameGiven) property. \
All additional ones are considered 'additional' names. The name inherited from parents is the 'family \
name'. e.g. For Dr. John Phil Paul Stevenson Jr. M.D. A.C.P. we have contact with: honorificPrefix: \
'Dr.', nameGiven: 'John', nameAdditional: 'Phil', nameAdditional: 'Paul', nameFamily: 'Stevenson', \
honorificSuffix: 'Jr.', honorificSuffix: 'M.D.', honorificSuffix: 'A.C.P.'. These properties form an \
                equivalent of the compound 'N' property as defined in RFC 2426 Sec. 3.1.2</rdfs:comment>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#PersonContact"/>
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#foafUrl">
-    <rdfs:comment>The URL of the FOAF file.</rdfs:comment>
-    <rdfs:label>foafUrl</rdfs:label>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#Role"/>
-    <rdfs:subPropertyOf>
-      <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#url"/>
-    </rdfs:subPropertyOf>
-    <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#publisher">
-    <rdfs:label>publisher</rdfs:label>
-    <rdfs:comment>An entity responsible for making the InformationElement available.</rdfs:comment>
-    <rdfs:subPropertyOf rdf:resource="http://purl.org/dc/elements/1.1/publisher"/>
-    <rdfs:range rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#Contact"/>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement"/>
                
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#websiteUrl">
-    <rdfs:comment>A url of a website.</rdfs:comment>
-    <rdfs:label>websiteUrl</rdfs:label>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#Role"/>
-    <rdfs:subPropertyOf>
-      <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#url"/>
-    </rdfs:subPropertyOf>
-    <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#nameHonorificPrefix">
                
-    <rdfs:label>nameHonorificPrefix</rdfs:label>
-    <rdfs:comment>A prefix for the name of the object represented by this Contact. See documentation for \
                the 'nameFamily' property for details.</rdfs:comment>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#PersonContact"/>
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#org">
-    <rdfs:label>org</rdfs:label>
-    <rdfs:comment>Name of an organization or a unit within an organization the object represented by a \
Contact is associated with. An equivalent of the 'ORG' property defined in RFC 2426 Sec. \
                3.5.5</rdfs:comment>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#Affiliation"/>
-    <rdfs:range rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#OrganizationContact"/>
                
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#representative">
-    <rdfs:label>representative</rdfs:label>
-    <rdfs:comment>An object that represent an object represented by this Contact. Usually this property \
is used to link a Contact to an organization, to a contact to the representative of this organization the \
user directly interacts with. An equivalent for the 'AGENT' property defined in RFC 2426 Sec. \
                3.5.4</rdfs:comment>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#Contact"/>
-    <rdfs:range rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#Contact"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#note">
-    <rdfs:label>note</rdfs:label>
-    <rdfs:comment>A note about the object represented by this Contact. An equivalent for the 'NOTE' \
                property defined in RFC 2426 Sec. 3.6.2</rdfs:comment>
-    <rdfs:subPropertyOf \
                rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#description"/>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#Contact"/>
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#nickname">
-    <rdfs:label>nickname</rdfs:label>
-    <rdfs:comment>A nickname of the Object represented by this Contact. This is an equivalen of the \
                'NICKNAME' property as defined in RFC 2426 Sec. 3.1.3.</rdfs:comment>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#Contact"/>
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#hasContactMedium">
-    <rdfs:label>hasContactMedium</rdfs:label>
-    <rdfs:comment>A superProperty for all properties linking a Contact to an instance of a contact \
                medium.</rdfs:comment>
-    <rdfs:range rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#ContactMedium"/>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#Role"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#contactUID">
-    <rdfs:label>contactUID</rdfs:label>
-    <rdfs:comment>A value that represents a globally unique  identifier corresponding to the individual \
or resource associated with the Contact. An equivalent of the 'UID' property defined in RFC 2426 Sec. \
                3.6.7</rdfs:comment>
-    <rdfs:subPropertyOf \
                rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#identifier"/>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#Contact"/>
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#postalcode">
-    <rdfs:label>postalcode</rdfs:label>
-    <rdfs:comment>Postal Code. Inspired by the sixth part of the value of the 'ADR' property as defined \
                in RFC 2426, sec. 3.2.1</rdfs:comment>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#PostalAddress"/>
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
-    <nrl:maxCardinality>1</nrl:maxCardinality>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#nameAdditional">
-    <rdfs:label>nameAdditional</rdfs:label>
-    <rdfs:comment>Additional given name of an object represented by this contact. See documentation for \
                'nameFamily' property for details.</rdfs:comment>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#PersonContact"/>
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#locality">
-    <rdfs:label>locality</rdfs:label>
-    <rdfs:comment>Locality or City. Inspired by the fourth part of the value of the 'ADR' property as \
                defined in RFC 2426, sec. 3.2.1</rdfs:comment>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#PostalAddress"/>
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
-    <nrl:maxCardinality>1</nrl:maxCardinality>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#department">
-    <rdfs:comment>Department. The organizational unit within the organization.</rdfs:comment>
-    <rdfs:label>department</rdfs:label>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#Affiliation"/>
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#imStatusMessage">
-    <rdfs:label>imStatusMessage</rdfs:label>
-    <rdfs:comment>A feature common in most IM systems. A message left by the user for all his/her \
                contacts to see.</rdfs:comment>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#IMAccount"/>
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#region">
-    <rdfs:label>region</rdfs:label>
-    <rdfs:comment>Region. Inspired by the fifth part of the value of the 'ADR' property as defined in \
                RFC 2426, sec. 3.2.1</rdfs:comment>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#PostalAddress"/>
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
-    <nrl:maxCardinality>1</nrl:maxCardinality>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#url">
-    <rdfs:label>url</rdfs:label>
-    <rdfs:comment>A uniform resource locator associated with the given role of a Contact. Inspired by \
                the 'URL' property defined in RFC 2426 Sec. 3.6.8.</rdfs:comment>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#Role"/>
-    <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#fullname">
-    <rdfs:label>fullname</rdfs:label>
-    <rdfs:comment>To specify the formatted text corresponding to the name of the object the Contact \
                represents. An equivalent of the FN property as defined in RFC 2426 Sec. \
                3.1.1.</rdfs:comment>
-    <rdfs:subPropertyOf rdf:resource="http://purl.org/dc/elements/1.1/title"/>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#Contact"/>
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#imID">
-    <rdfs:label>imID</rdfs:label>
-    <rdfs:comment>Identifier of the IM account. Examples of such identifier might include ICQ UINs, \
                Jabber IDs, Skype names etc.</rdfs:comment>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#IMAccount"/>
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#nameHonorificSuffix">
                
-    <rdfs:label>nameHonorificSuffix</rdfs:label>
-    <rdfs:comment>A suffix for the name of the Object represented by the given object. See documentation \
                for the 'nameFamily' for details.</rdfs:comment>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#PersonContact"/>
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#pobox">
-    <rdfs:label>pobox</rdfs:label>
-    <rdfs:comment>Post office box. This is the first part of the value of the 'ADR' property as defined \
                in RFC 2426, sec. 3.2.1</rdfs:comment>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#PostalAddress"/>
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#phoneNumber">
-    <rdfs:label>phoneNumber</rdfs:label>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#PhoneNumber"/>
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#country">
-    <rdfs:label>country</rdfs:label>
-    <rdfs:comment>A part of an address specyfing the country. Inspired by the seventh part of the value \
                of the 'ADR' property as defined in RFC 2426, sec. 3.2.1</rdfs:comment>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#PostalAddress"/>
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
-    <nrl:maxCardinality>1</nrl:maxCardinality>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#title">
-    <rdfs:label>title</rdfs:label>
-    <rdfs:comment>The official title  the object represented by this contact in an organization. E.g. \
'CEO', 'Director, Research and Development', 'Junior Software Developer/Analyst' etc. An equivalent of \
                the 'TITLE' property defined in RFC 2426 Sec. 3.5.1</rdfs:comment>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#Affiliation"/>
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#logo">
-    <rdfs:label>logo</rdfs:label>
-    <rdfs:comment>Logo of a company. Inspired by the LOGO property defined in RFC 2426 sec. \
                3.5.3</rdfs:comment>
-    <rdfs:range rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#DataObject"/>
-    <rdfs:subPropertyOf \
                rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#hasPart"/>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#OrganizationContact"/>
                
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#contactMediumComment">
                
-    <rdfs:comment>A comment about the contact medium.</rdfs:comment>
-    <rdfs:label>contactMediumComment</rdfs:label>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#ContactMedium"/>
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#role">
-    <rdfs:label>role</rdfs:label>
-    <rdfs:comment>Role an object represented by this contact represents in the organization. This might \
include 'Programmer', 'Manager', 'Sales Representative'. Be careful to avoid confusion with the title \
property. An equivalent of the 'ROLE' property as defined in RFC 2426. Sec. 3.5.2. Note the difference \
                between nco:Role class and nco:role property.</rdfs:comment>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#Affiliation"/>
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#extendedAddress">
-    <rdfs:label>extendedAddress</rdfs:label>
-    <rdfs:comment>An extended part of an address. This field might be used to express parts of an \
address that aren't include in the name of the Contact but also aren't part of the actual location. \
Usually the streed address and following fields are enough for a postal letter to arrive. Examples may \
include ('University of California Campus building 45', 'Sears Tower 34th floor' etc.) Inspired by the \
                second part of the value of the 'ADR' property as defined in RFC 2426, sec. \
                3.2.1</rdfs:comment>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#PostalAddress"/>
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#birthDate">
-    <rdfs:label>birthDate</rdfs:label>
-    <rdfs:comment>Birth date of the object represented by this Contact. An equivalent of the 'BDAY' \
                property as defined in RFC 2426 Sec. 3.1.5.</rdfs:comment>
-    <rdfs:subPropertyOf rdf:resource="http://purl.org/dc/elements/1.1/date"/>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#Contact"/>
-    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#date"/>
-    <nrl:maxCardinality>1</nrl:maxCardinality>
-  </rdf:Property>
-  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#blogUrl">
-    <rdfs:comment>A Blog url.</rdfs:comment>
-    <rdfs:label>blogUrl</rdfs:label>
-    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#Role"/>
-    <rdfs:subPropertyOf rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#url"/>
-    <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>
-  </rdf:Property>
-  <nco:Gender rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#male">
-    <rdfs:comment>A Male</rdfs:comment>
-    <rdfs:label>male</rdfs:label>
-  </nco:Gender>
-  <nco:Gender rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#female">
-    <rdfs:comment>A Female</rdfs:comment>
-    <rdfs:label>female</rdfs:label>
-  </nco:Gender>
-</rdf:RDF>
Index: agents/nepomuk_contact_feeder/CMakeLists.txt
===================================================================
--- agents/nepomuk_contact_feeder/CMakeLists.txt	(revision 803081)
+++ agents/nepomuk_contact_feeder/CMakeLists.txt	(working copy)
@@ -1,83 +1,17 @@
-
-include(NepomukMacros)
-
-# FIXME: Make this macro take a list of ontology files and then move it to NepomukMacros.cmake
-macro(NEPOMUK_GENERATE_FROM_ONTOLOGY2 ontofile1 ontofile2 targetdir out_headers out_sources \
                out_includes)
-
-  # init
-  set(NEPOMUK_RESOURCES_GENERATED false)
-
-  FIND_PROGRAM(RCGEN nepomuk-rcgen PATHS ${BIN_INSTALL_DIR})
-
-  if(NOT RCGEN)
-
-    message(STATUS "Failed to find the Nepomuk source generator" )
-
-  else(NOT RCGEN)
-
-    FILE(TO_NATIVE_PATH ${RCGEN} RCGEN)
-
-    execute_process(
-      COMMAND ${RCGEN} --listheaders --prefix ${targetdir}/ --ontologies ${ontofile1} ${ontofile2}
-      OUTPUT_VARIABLE ${out_headers}
-      RESULT_VARIABLE rcgen_result
-      ERROR_QUIET
-      )
-
-    # If the first call succeeds it is very very likely that the rest will, too
-    if(${rcgen_result} EQUAL 0)
-
-      execute_process(
-        COMMAND ${RCGEN} --listsources --prefix ${targetdir}/ --ontologies ${ontofile1} ${ontofile2}
-        OUTPUT_VARIABLE ${out_sources}
-        ERROR_QUIET
-        )
-
-      execute_process(
-        COMMAND ${RCGEN} --listincludes --ontologies ${ontofile1} ${ontofile2}
-        OUTPUT_VARIABLE ${out_includes}
-        ERROR_QUIET
-        )
-
-      execute_process(
-        COMMAND ${RCGEN} --writeall --templates ${ARGN} --target ${targetdir}/ --ontologies ${ontofile1} \
                ${ontofile2}
-        ERROR_QUIET
-        )
-
-      set(NEPOMUK_RESOURCES_GENERATED true)
-
-    else(${rcgen_result} EQUAL 0)
-
-      message(STATUS "Failed to generate Nepomuk resource classes.")
-
-    endif(${rcgen_result} EQUAL 0)
-
-  endif(NOT RCGEN)
-
-endmacro(NEPOMUK_GENERATE_FROM_ONTOLOGY2)
-
 include_directories(
   ${CMAKE_SOURCE_DIR}/akonadi
   ${Boost_INCLUDE_DIR}
-  ${CMAKE_CURRENT_BINARY_DIR}
+  ${CMAKE_CURRENT_BINARY_DIR}/../nie
   ${NEPOMUK_INCLUDES}
   )
 
-NEPOMUK_GENERATE_FROM_ONTOLOGY2(
-  ${CMAKE_CURRENT_SOURCE_DIR}/nie.rdfs
-  ${CMAKE_CURRENT_SOURCE_DIR}/nco.rdfs
-  ${CMAKE_CURRENT_BINARY_DIR}
-  NCO_HEADERS
-  NCO_SOURCES
-  DUMMY
-  )
-
-if(NEPOMUK_RESOURCES_GENERATED)
+#if(HAVE_NIE)
   set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}" )
 
-  kde4_add_executable(akonadi_nepomuk_contact_feeder RUN_UNINSTALLED nepomukcontactfeeder.cpp \
${NCO_SOURCES} ${NIE_SOURCES}) +  kde4_add_executable(akonadi_nepomuk_contact_feeder RUN_UNINSTALLED \
nepomukcontactfeeder.cpp)  
   target_link_libraries(akonadi_nepomuk_contact_feeder
+    nie
     ${KDE4_AKONADI_LIBS}
     ${QT_QTCORE_LIBRARY}
     ${QT_QTDBUS_LIBRARY}
@@ -88,4 +22,4 @@
   install(TARGETS akonadi_nepomuk_contact_feeder DESTINATION ${BIN_INSTALL_DIR})
   install(FILES nepomukcontactfeeder.desktop DESTINATION "${CMAKE_INSTALL_PREFIX}/share/akonadi/agents")
 
-endif(NEPOMUK_RESOURCES_GENERATED)
+#endif(HAVE_NIE)
Index: agents/nie/nfo.rdfs
===================================================================
--- agents/nie/nfo.rdfs	(revision 0)
+++ agents/nie/nfo.rdfs	(revision 0)
@@ -0,0 +1,642 @@
+<rdf:RDF
+    xmlns:nid3="http://www.semanticdesktop.org/ontologies/2007/05/10/nid3#"
+    xmlns:nfo="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#"
+    xmlns:nmo="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#"
+    xmlns:nie="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#"
+    xmlns:exif="http://www.kanzaki.com/ns/exif#"
+    xmlns:nao="http://www.semanticdesktop.org/ontologies/2007/08/15/nao#"
+    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
+    xmlns:protege="http://protege.stanford.edu/system#"
+    xmlns:dcterms="http://purl.org/dc/terms/"
+    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+    xmlns:ncal="http://www.semanticdesktop.org/ontologies/2007/04/02/ncal#"
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
+    xmlns:nrl="http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#"
+    xmlns:pimo="http://www.semanticdesktop.org/ontologies/2007/11/01/pimo#"
+    xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
+    xmlns:dc="http://purl.org/dc/elements/1.1/"
+    xmlns:nco="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#"
+    xmlns:nexif="http://www.semanticdesktop.org/ontologies/2007/05/10/nexif#">
+  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#RemotePortAddress">
+    <rdfs:label>RemotePortAddress</rdfs:label>
+    <rdfs:comment>An address specifying a remote host and port. Such an address can be interpreted in \
many ways (examples of such interpretations include mailboxes, websites, remote calendars or \
filesystems), depending on an interpretation, various kinds of data may be extracted from such an \
address.</rdfs:comment> +    <rdfs:subClassOf \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#DataObject"/> +  </rdfs:Class>
+  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#TextDocument">
+    <rdfs:comment>A text document</rdfs:comment>
+    <rdfs:label>TextDocument</rdfs:label>
+    <rdfs:subClassOf>
+      <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Document"/>
+    </rdfs:subClassOf>
+  </rdfs:Class>
+  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#MediaFileListEntry">
+    <rdfs:label>MediaFileListEntry</rdfs:label>
+    <rdfs:comment>A single node in the list of media files contained within an MediaList instance. This \
class is intended to provide a type all those links have. In valid NRL untyped resources cannot be \
linked. There are no properties defined for this class but the application may expect rdf:first and \
rdf:last links. The former points to the DataObject instance, interpreted as Media the latter points at \
another MediaFileListEntr. At the end of the list there is a link to rdf:nil.</rdfs:comment> +    \
<rdfs:subClassOf rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/> +  </rdfs:Class>
+  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#VectorImage">
+    <rdfs:label>VectorImage</rdfs:label>
+    <rdfs:subClassOf>
+      <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Image"/>
+    </rdfs:subClassOf>
+  </rdfs:Class>
+  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Audio">
+    <rdfs:comment>A file containing audio content</rdfs:comment>
+    <rdfs:label>Audio</rdfs:label>
+    <rdfs:subClassOf>
+      <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Media"/>
+    </rdfs:subClassOf>
+  </rdfs:Class>
+  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#CompressionType">
+    <rdfs:label>CompressionType</rdfs:label>
+    <rdfs:comment>Type of compression. Instances of this class represent the limited set of values \
allowed for the nfo:compressionType property.</rdfs:comment> +    <rdfs:subClassOf \
rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/> +  </rdfs:Class>
+  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Icon">
+    <rdfs:label>Icon</rdfs:label>
+    <rdfs:comment>An Icon (regardless of whether it's a raster or a vector icon. A resource representing \
an icon could have two types (Icon and Raster, or Icon and Vector) if required.</rdfs:comment> +    \
<rdfs:subClassOf> +      <rdfs:Class \
rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Image"/> +    </rdfs:subClassOf>
+  </rdfs:Class>
+  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#HtmlDocument">
+    <rdfs:comment>A HTML document, may contain links to other files.</rdfs:comment>
+    <rdfs:label>HtmlDocument</rdfs:label>
+    <rdfs:subClassOf>
+      <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#PlainTextDocument"/>
 +    </rdfs:subClassOf>
+  </rdfs:Class>
+  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Image">
+    <rdfs:comment>A file containing an image.</rdfs:comment>
+    <rdfs:label>Image</rdfs:label>
+    <rdfs:subClassOf>
+      <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Visual"/>
+    </rdfs:subClassOf>
+  </rdfs:Class>
+  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Software">
+    <rdfs:label>Software</rdfs:label>
+    <rdfs:comment>A piece of software. Examples may include applications and the operating system. This \
interpretation most commonly applies to SoftwareItems.</rdfs:comment> +    <rdfs:subClassOf \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement"/> +  \
</rdfs:Class> +  <rdfs:Class \
rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#OperatingSystem"> +    \
<rdfs:comment>An OperatingSystem</rdfs:comment> +    <rdfs:label>OperatingSystem</rdfs:label>
+    <rdfs:subClassOf rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Software"/>
+  </rdfs:Class>
+  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#MediaList">
+    <rdfs:comment>A file containing a list of media files.e.g. a playlist</rdfs:comment>
+    <rdfs:label>MediaList</rdfs:label>
+    <rdfs:subClassOf \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement"/> +  \
</rdfs:Class> +  <rdfs:Class \
rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Executable"> +    <rdfs:comment>An \
executable file.</rdfs:comment> +    <rdfs:label>Executable</rdfs:label>
+    <rdfs:subClassOf \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement"/> +  \
</rdfs:Class> +  <rdfs:Class \
rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#FileDataObject"> +    \
<rdfs:label>FileDataObject</rdfs:label> +    <rdfs:comment>A resource containing a finite sequence of \
bytes with arbitrary information, that is available to a computer program and is usually based on some \
kind of durable storage. A file is durable in the sense that it remains available for programs to use \
after the current program has finished.</rdfs:comment> +    <rdfs:subClassOf \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#DataObject"/> +  </rdfs:Class>
+  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Folder">
+    <rdfs:label>Folder</rdfs:label>
+    <rdfs:comment>A folder/directory. Examples of folders include folders on a filesystem and message \
folders in a mailbox.</rdfs:comment> +    <rdfs:subClassOf>
+      <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#DataContainer"/>
+    </rdfs:subClassOf>
+  </rdfs:Class>
+  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Font">
+    <rdfs:comment>A font.</rdfs:comment>
+    <rdfs:label>Font</rdfs:label>
+    <rdfs:subClassOf \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement"/> +  \
</rdfs:Class> +  <rdfs:Class \
rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Filesystem"> +    \
<rdfs:label>Filesystem</rdfs:label> +    <rdfs:comment>A filesystem. Examples of filesystems include hard \
disk partitions, removable media, but also images thereof stored in files.</rdfs:comment> +    \
<rdfs:subClassOf> +      <rdfs:Class \
rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#DataContainer"/> +    \
</rdfs:subClassOf> +  </rdfs:Class>
+  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#SoftwareService">
+    <rdfs:label>SoftwareService</rdfs:label>
+    <rdfs:comment>A service published by a piece of software, either by an operating system or an \
application. Examples of such services may include calendar, addresbook and mailbox managed by a PIM \
application. This category is introduced to distinguish between data available directly from the \
applications (Via some Interprocess Communication Mechanisms) and data available from files on a disk. In \
either case both DataObjects would receive a similar interpretation (e.g. a Mailbox) and wouldn't differ \
on the content level.</rdfs:comment> +    <rdfs:subClassOf \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#DataObject"/> +  </rdfs:Class>
+  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#SoftwareItem">
+    <rdfs:label>SoftwareItem</rdfs:label>
+    <rdfs:comment>A DataObject representing a piece of software. Examples of interpretations of a \
SoftwareItem include an Application and an OperatingSystem.</rdfs:comment> +    <rdfs:subClassOf \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#DataObject"/> +  </rdfs:Class>
+  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Presentation">
+    <rdfs:label>Presentation</rdfs:label>
+    <rdfs:comment>A Presentation made by some presentation software (Corel Presentations, OpenOffice \
Impress, MS Powerpoint etc.)</rdfs:comment> +    <rdfs:subClassOf>
+      <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Document"/>
+    </rdfs:subClassOf>
+  </rdfs:Class>
+  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#RemoteDataObject">
+    <rdfs:label>RemoteDataObject</rdfs:label>
+    <rdfs:comment>A file data object stored at a remote location. Don't confuse this class with a \
RemotePortAddress. This one applies to a particular resource, RemotePortAddress applies to an address, \
that can have various interpretations.</rdfs:comment> +    <rdfs:subClassOf \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#FileDataObject"/> +  </rdfs:Class>
+  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#PaginatedTextDocument">
 +    <rdfs:label>PaginatedTextDocument</rdfs:label>
+    <rdfs:comment>A file containing a text document, that is unambiguously divided into pages. Examples \
might include PDF, DOC, PS, DVI etc.</rdfs:comment> +    <rdfs:subClassOf \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#TextDocument"/> +  </rdfs:Class>
+  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Video">
+    <rdfs:comment>A video file.</rdfs:comment>
+    <rdfs:label>Video</rdfs:label>
+    <rdfs:subClassOf>
+      <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Visual"/>
+    </rdfs:subClassOf>
+  </rdfs:Class>
+  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#DataContainer">
+    <rdfs:label>DataContainer</rdfs:label>
+    <rdfs:comment>A superclass for all entities, whose primary purpose is to serve as containers for \
other data object. They usually don't have any "meaning" by themselves. Examples include folders, \
archives and optical disc images.</rdfs:comment> +    <rdfs:subClassOf \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement"/> +  \
</rdfs:Class> +  <rdfs:Class \
rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Spreadsheet"> +    \
<rdfs:label>Spreadsheet</rdfs:label> +    <rdfs:comment>A spreadsheet, created by a spreadsheet \
application. Examples might include Gnumeric, OpenOffice Calc or MS Excel.</rdfs:comment> +    \
<rdfs:subClassOf> +      <rdfs:Class \
rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Document"/> +    </rdfs:subClassOf>
+  </rdfs:Class>
+  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Trash">
+    <rdfs:label>Trash</rdfs:label>
+    <rdfs:comment>Represents a container for deleted files, a feature common in modern operating \
systems.</rdfs:comment> +    <rdfs:subClassOf \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#DataContainer"/> +  </rdfs:Class>
+  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#FileHash">
+    <rdfs:label>FileHash</rdfs:label>
+    <rdfs:comment>A fingerprint of the file, generated by some hashing function.</rdfs:comment>
+    <rdfs:subClassOf rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>
+  </rdfs:Class>
+  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#SourceCode">
+    <rdfs:comment>Code in a compilable or interpreted programming language.</rdfs:comment>
+    <rdfs:label>SourceCode</rdfs:label>
+    <rdfs:subClassOf>
+      <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#PlainTextDocument"/>
 +    </rdfs:subClassOf>
+  </rdfs:Class>
+  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Application">
+    <rdfs:comment>An application</rdfs:comment>
+    <rdfs:label>Application</rdfs:label>
+    <rdfs:subClassOf rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Software"/>
+  </rdfs:Class>
+  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Visual">
+    <rdfs:comment>File containing visual content.</rdfs:comment>
+    <rdfs:label>Visual</rdfs:label>
+    <rdfs:subClassOf>
+      <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Media"/>
+    </rdfs:subClassOf>
+  </rdfs:Class>
+  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#EmbeddedFileDataObject">
 +    <rdfs:label>EmbeddedFileDataObject</rdfs:label>
+    <rdfs:comment>A file embedded in another data object. There are many ways in which a file may be \
embedded in another one. Use this class directly only in cases if none of the subclasses gives a better \
description of your case.</rdfs:comment> +    <rdfs:subClassOf \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#FileDataObject"/> +  </rdfs:Class>
+  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Attachment">
+    <rdfs:label>Attachment</rdfs:label>
+    <rdfs:comment>A file attached to another data object. Many data formats allow for attachments: \
emails, vcards, ical events, id3 and exif...</rdfs:comment> +    <rdfs:subClassOf \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#EmbeddedFileDataObject"/> +  \
</rdfs:Class> +  <rdfs:Class \
rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#ArchiveItem"> +    <rdfs:comment>A \
file entity inside an archive.</rdfs:comment> +    <rdfs:label>ArchiveItem</rdfs:label>
+    <rdfs:subClassOf \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#EmbeddedFileDataObject"/> +  \
</rdfs:Class> +  <rdfs:Class \
rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Archive"> +    \
<rdfs:label>Archive</rdfs:label> +    <rdfs:comment>A compressed file. May contain other files or folder \
inside. </rdfs:comment> +    <rdfs:subClassOf \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#DataContainer"/> +  </rdfs:Class>
+  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#MindMap">
+    <rdfs:label>MindMap</rdfs:label>
+    <rdfs:comment>A MindMap, created by a mind-mapping utility. Examples might include FreeMind or mind \
mapper.</rdfs:comment> +    <rdfs:subClassOf>
+      <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Document"/>
+    </rdfs:subClassOf>
+  </rdfs:Class>
+  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#MediaStream">
+    <rdfs:label>MediaStream</rdfs:label>
+    <rdfs:comment>A stream of multimedia content, usually contained within a media container such as a \
movie (containing both audio and video) or a DVD (possibly containing many streams of audio and video). \
Most common interpretations for such a DataObject include Audio and Video.</rdfs:comment> +    \
<rdfs:subClassOf rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#DataObject"/> +  \
</rdfs:Class> +  <rdfs:Class \
rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#FilesystemImage"> +    \
<rdfs:label>FilesystemImage</rdfs:label> +    <rdfs:comment>An image of a filesystem. Instances of this \
class may include CD images, DVD images or hard disk partition images created by various pieces of \
software (e.g. Norton Ghost)</rdfs:comment> +    <rdfs:subClassOf \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Filesystem"/> +  </rdfs:Class>
+  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Document">
+    <rdfs:label>Document</rdfs:label>
+    <rdfs:comment>A generic document. A common superclass for all documents on the \
desktop.</rdfs:comment> +    <rdfs:subClassOf \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement"/> +  \
</rdfs:Class> +  <rdfs:Class \
rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#HardDiskPartition"> +    \
<rdfs:comment>A partition on a hard disk</rdfs:comment> +    <rdfs:label>HardDiskPartition</rdfs:label>
+    <rdfs:subClassOf \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#DataObject"/> +  </rdfs:Class>
+  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Cursor">
+    <rdfs:comment>A Cursor.</rdfs:comment>
+    <rdfs:label>Cursor</rdfs:label>
+    <rdfs:subClassOf>
+      <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#RasterImage"/>
+    </rdfs:subClassOf>
+  </rdfs:Class>
+  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#PlainTextDocument">
+    <rdfs:label>PlainTextDocument</rdfs:label>
+    <rdfs:comment>A file containing plain text (ASCII, Unicode or other encodings). Examples may include \
TXT, HTML, XML, program source code etc.</rdfs:comment> +    <rdfs:subClassOf \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#TextDocument"/> +  </rdfs:Class>
+  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#DeletedResource">
+    <rdfs:label>DeletedResource</rdfs:label>
+    <rdfs:comment>A file entity that has been deleted from the original source. Usually such entities \
are stored within various kinds of 'Trash' or 'Recycle Bin' folders.</rdfs:comment> +    <rdfs:subClassOf \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#FileDataObject"/> +  </rdfs:Class>
+  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Website">
+    <rdfs:label>Website</rdfs:label>
+    <rdfs:comment>A website, usually a container for remote resources, that may be interpreted as \
HTMLDocuments, images or other types of content.</rdfs:comment> +    <rdfs:subClassOf \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement"/> +  \
</rdfs:Class> +  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Media">
+    <rdfs:label>Media</rdfs:label>
+    <rdfs:comment>A piece of media content. This class may be used to express complex media containers \
with many streams of various media content (both aural and visual).</rdfs:comment> +    <rdfs:subClassOf \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement"/> +  \
</rdfs:Class> +  <rdfs:Class \
rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#RasterImage"> +    <rdfs:comment>A \
raster image.</rdfs:comment> +    <rdfs:label>RasterImage</rdfs:label>
+    <rdfs:subClassOf rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Image"/>
+  </rdfs:Class>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#sideChannels">
+    <rdfs:comment>Number of side channels</rdfs:comment>
+    <rdfs:label>sideChannels</rdfs:label>
+    <rdfs:subPropertyOf>
+      <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#channels"/>
+    </rdfs:subPropertyOf>
+    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
+  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#frameRate">
+    <rdfs:comment>Amount of video frames per second.</rdfs:comment>
+    <rdfs:label>frameRate</rdfs:label>
+    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Video"/>
+    <rdfs:subPropertyOf>
+      <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#rate"/>
+    </rdfs:subPropertyOf>
+    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#double"/>
+  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#commentCharacterCount">
 +    <rdfs:label>commentCharacterCount</rdfs:label>
+    <rdfs:comment>The amount of character in comments i.e. characters ignored by the \
compiler/interpreter.</rdfs:comment> +    <rdfs:domain \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#SourceCode"/> +    <rdfs:range \
rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/> +  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#duration">
+    <rdfs:comment>Duration of a media piece.</rdfs:comment>
+    <rdfs:label>duration</rdfs:label>
+    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Media"/>
+    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#dateTime"/>
+  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#wordCount">
+    <rdfs:comment>The amount of words in a text document.</rdfs:comment>
+    <rdfs:label>wordCount</rdfs:label>
+    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#TextDocument"/>
+    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
+  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#fileLastAccessed">
+    <rdfs:comment>Time when the file was last accessed.</rdfs:comment>
+    <rdfs:label>fileLastAccessed</rdfs:label>
+    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#FileDataObject"/>
 +    <rdfs:subPropertyOf rdf:resource="http://purl.org/dc/elements/1.1/date"/>
+    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#dateTime"/>
+  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#fileCreated">
+    <rdfs:comment>File creation date</rdfs:comment>
+    <rdfs:label>fileCreated</rdfs:label>
+    <rdfs:subPropertyOf \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#created"/> +    <rdfs:domain \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#FileDataObject"/> +    <rdfs:range \
rdf:resource="http://www.w3.org/2001/XMLSchema#dateTime"/> +  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#channels">
+    <rdfs:label>channels</rdfs:label>
+    <rdfs:comment>Number of channels. This property is to be used directly if no detailed information is \
necessary. Otherwise use more detailed subproperties.</rdfs:comment> +    <rdfs:domain \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Audio"/> +    <rdfs:range \
rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/> +  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#belongsToContainer">
+    <rdfs:label>belongsToContainer</rdfs:label>
+    <rdfs:comment>Models the containment relations between Files and Folders (or \
CompressedFiles).</rdfs:comment> +    <rdfs:subPropertyOf \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#isPartOf"/> +    <rdfs:domain \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#DataObject"/> +    <rdfs:range \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#DataContainer"/> +  \
</rdf:Property> +  <rdf:Property \
rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#aspectRatio"> +    \
<rdfs:comment>Visual content aspect ratio. (Width divided by Height)</rdfs:comment> +    \
<rdfs:label>aspectRatio</rdfs:label> +    <rdfs:domain \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Visual"/> +    <rdfs:range \
rdf:resource="http://www.w3.org/2001/XMLSchema#double"/> +  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#fileSize">
+    <rdfs:label>fileSize</rdfs:label>
+    <rdfs:comment>The size of the file in bytes. For compressed files it means the size of the packed \
file, not of the contents. For folders it means the aggregated size of all contained files and folders \
</rdfs:comment> +    <rdfs:subPropertyOf \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#byteSize"/> +    <rdfs:domain \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#FileDataObject"/> +    <rdfs:range \
rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/> +  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#conflicts">
+    <rdfs:label>conflicts</rdfs:label>
+    <rdfs:comment>States that a piece of software is in conflict with another piece of \
software.</rdfs:comment> +    <rdfs:domain \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Software"/> +    <rdfs:range \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Software"/> +  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#hashValue">
+    <rdfs:comment>The actual value of the hash.</rdfs:comment>
+    <rdfs:label>hashValue</rdfs:label>
+    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#FileHash"/>
+    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
+  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#pageCount">
+    <rdfs:comment>Number of pages.</rdfs:comment>
+    <rdfs:label>pageCount</rdfs:label>
+    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#PaginatedTextDocument"/>
 +    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
+  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#programmingLanguage">
 +    <rdfs:label>programmingLanguage</rdfs:label>
+    <rdfs:comment>Indicates the name of the programming language this source code file is written in. \
Examples might include 'C', 'C++', 'Java' etc.</rdfs:comment> +    <rdfs:domain \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#SourceCode"/> +    <rdfs:range \
rdf:resource="http://www.w3.org/2001/XMLSchema#string"/> +  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#definesClass">
+    <rdfs:comment>Name of a class defined in the source code file.</rdfs:comment>
+    <rdfs:label>definesClass</rdfs:label>
+    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#SourceCode"/>
+    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
+  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#interlaceMode">
+    <rdfs:comment>True if the image is interlaced, false if not.</rdfs:comment>
+    <rdfs:label>interlaceMode</rdfs:label>
+    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Visual"/>
+    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#boolean"/>
+  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#permissions">
+    <rdfs:label>permissions</rdfs:label>
+    <rdfs:comment>A string containing the permissions of a file. A feature common in many UNIX-like \
operating systems.</rdfs:comment> +    <rdfs:domain \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#FileDataObject"/> +    <rdfs:range \
rdf:resource="http://www.w3.org/2001/XMLSchema#string"/> +  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#count">
+    <rdfs:label>count</rdfs:label>
+    <rdfs:comment>A common superproperty for all properties signifying the amount of atomic media data \
units. Examples of subproperties may include sampleCount and frameCount.</rdfs:comment> +    <rdfs:domain \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Media"/> +    <rdfs:range \
rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/> +  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#lfeChannels">
+    <rdfs:comment>Number of Low Frequency Expansion (subwoofer) channels.</rdfs:comment>
+    <rdfs:label>lfeChannels</rdfs:label>
+    <rdfs:subPropertyOf \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#channels"/> +    <rdfs:range \
rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/> +  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#supercedes">
+    <rdfs:label>supercedes</rdfs:label>
+    <rdfs:comment>States that a piece of software supercedes another piece of software.</rdfs:comment>
+    <rdfs:range rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Software"/>
+    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Software"/>
+  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#definesFunction">
+    <rdfs:label>definesFunction</rdfs:label>
+    <rdfs:comment>A name of a function/method defined in the given source code file.</rdfs:comment>
+    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#SourceCode"/>
+    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
+  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#hasMediaFileListEntry">
 +    <rdfs:label>hasMediaFileListEntry</rdfs:label>
+    <rdfs:comment>This property is intended to point to an RDF list of MediaFiles.</rdfs:comment>
+    <rdfs:range rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#MediaFileListEntry"/>
 +    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#MediaList"/>
+  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#height">
+    <rdfs:comment>Visual content height in pixels.</rdfs:comment>
+    <rdfs:label>height</rdfs:label>
+    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Visual"/>
+    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
+  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#hashAlgorithm">
+    <rdfs:label>hashAlgorithm</rdfs:label>
+    <rdfs:comment>Name of the algorithm used to compute the hash value. Examples might include CRC32, \
MD5, SHA, TTH etc.</rdfs:comment> +    <rdfs:domain \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#FileHash"/> +    <rdfs:range \
rdf:resource="http://www.w3.org/2001/XMLSchema#string"/> +  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#fileName">
+    <rdfs:label>fileName</rdfs:label>
+    <rdfs:comment>Name of the file, together with the extension</rdfs:comment>
+    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#FileDataObject"/>
 +    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
+  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#encoding">
+    <rdfs:label>encoding</rdfs:label>
+    <rdfs:comment>The encoding used for the Embedded File. Examples might include BASE64 or \
UUEncode</rdfs:comment> +    <rdfs:domain \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#EmbeddedFileDataObject"/> +    \
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/> +  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#verticalResolution">
+    <rdfs:label>verticalResolution</rdfs:label>
+    <rdfs:comment>Vertical resolution of an Image (if printed). Expressed in DPI</rdfs:comment>
+    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Image"/>
+    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
+  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#definesGlobalVariable">
 +    <rdfs:label>definesGlobalVariable</rdfs:label>
+    <rdfs:comment>Name of a global variable defined within the source code file.</rdfs:comment>
+    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#SourceCode"/>
+    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
+  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#compressionType">
+    <rdfs:label>compressionType</rdfs:label>
+    <rdfs:comment>The type of the compression. Values include, 'lossy' and 'lossless'.</rdfs:comment>
+    <rdfs:range rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#CompressionType"/>
 +    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Media"/>
+  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#hasMediaStream">
+    <rdfs:label>hasMediaStream</rdfs:label>
+    <rdfs:comment>Connects a media container with a single media stream contained within.</rdfs:comment>
+    <rdfs:range rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#DataObject"/>
+    <rdfs:subPropertyOf \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#hasPart"/> +    <rdfs:domain \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Media"/> +  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#fileUrl">
+    <rdfs:label>fileUrl</rdfs:label>
+    <rdfs:comment>URL of the file. It points at the location of the file. In cases where creating a \
simple file:// or http:// URL for a file is difficult (e.g. for files inside compressed archives) the \
applications are encouraged to use conventions defined by Apache Commons VFS Project at \
http://jakarta.apache.org/  commons/ vfs/ filesystems.html.</rdfs:comment> +    <rdfs:domain \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#FileDataObject"/> +    <rdfs:range \
rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/> +  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#width">
+    <rdfs:comment>Visual content width in pixels.</rdfs:comment>
+    <rdfs:label>width</rdfs:label>
+    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Visual"/>
+    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
+  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#sampleCount">
+    <rdfs:comment>The amount of samples in an audio clip.</rdfs:comment>
+    <rdfs:label>sampleCount</rdfs:label>
+    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Audio"/>
+    <rdfs:subPropertyOf rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#count"/>
+    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
+  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#lineCount">
+    <rdfs:comment>The amount of lines in a text document</rdfs:comment>
+    <rdfs:label>lineCount</rdfs:label>
+    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#TextDocument"/>
+    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
+  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#bitsPerSample">
+    <rdfs:comment>Amount of bits in each audio sample.</rdfs:comment>
+    <rdfs:label>bitsPerSample</rdfs:label>
+    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Audio"/>
+    <rdfs:subPropertyOf>
+      <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#bitDepth"/>
+    </rdfs:subPropertyOf>
+    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
+  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#bitDepth">
+    <rdfs:label>bitDepth</rdfs:label>
+    <rdfs:comment>A common superproperty for all properties signifying the amount of bits for an atomic \
unit of data. Examples of subproperties may include bitsPerSample and bitsPerPixel</rdfs:comment> +    \
<rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Media"/> +    \
<rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/> +  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#hasHash">
+    <rdfs:comment>Links the file with it's hash value.</rdfs:comment>
+    <rdfs:label>hasHash</rdfs:label>
+    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#FileDataObject"/>
 +    <rdfs:range rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#FileHash"/>
+  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#fileOwner">
+    <rdfs:label>fileOwner</rdfs:label>
+    <rdfs:comment>The owner of the file as defined by the file system access rights \
feature.</rdfs:comment> +    <rdfs:range \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#Contact"/> +    <rdfs:domain \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#FileDataObject"/> +  \
</rdf:Property> +  <rdf:Property \
rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#rate"> +    \
<rdfs:label>rate</rdfs:label> +    <rdfs:comment>A common superproperty for all properties specifying the \
media rate. Examples of subproperties may include frameRate for video and sampleRate for audio. This \
property is expressed in units per second.</rdfs:comment> +    <rdfs:domain \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Media"/> +    <rdfs:range \
rdf:resource="http://www.w3.org/2001/XMLSchema#double"/> +  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#codec">
+    <rdfs:comment>The name of the codec necessary to decode a piece of media.</rdfs:comment>
+    <rdfs:label>codec</rdfs:label>
+    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Media"/>
+    <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/>
+  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#fontFamily">
+    <rdfs:comment>The name of the font family.</rdfs:comment>
+    <rdfs:label>fontFamily</rdfs:label>
+    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Font"/>
+    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
+  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#frontChannels">
+    <rdfs:comment>Number of front channels.</rdfs:comment>
+    <rdfs:label>frontChannels</rdfs:label>
+    <rdfs:subPropertyOf \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#channels"/> +    <rdfs:range \
rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/> +  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#originalLocation">
+    <rdfs:comment>The original location of the deleted resource.</rdfs:comment>
+    <rdfs:label>originalLocation</rdfs:label>
+    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#DeletedResource"/>
 +    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
+  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#foundry">
+    <rdfs:comment>The foundry, the organization that created the font.</rdfs:comment>
+    <rdfs:label>foundry</rdfs:label>
+    <rdfs:range rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#Contact"/>
+    <rdfs:subPropertyOf \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#creator"/> +    <rdfs:domain \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Font"/> +  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#colorDepth">
+    <rdfs:comment>Amount of bits used to express the color of each pixel.</rdfs:comment>
+    <rdfs:label>colorDepth</rdfs:label>
+    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Visual"/>
+    <rdfs:subPropertyOf \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#bitDepth"/> +    <rdfs:range \
rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/> +  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#frameCount">
+    <rdfs:comment>The amount of frames in a video sequence.</rdfs:comment>
+    <rdfs:label>frameCount</rdfs:label>
+    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Video"/>
+    <rdfs:subPropertyOf rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#count"/>
+    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
+  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#horizontalResolution">
 +    <rdfs:label>horizontalResolution</rdfs:label>
+    <rdfs:comment>Horizontal resolution of an image (if printed). Expressed in DPI.</rdfs:comment>
+    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Image"/>
+    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
+  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#characterCount">
+    <rdfs:comment>The amount of characters in the document.</rdfs:comment>
+    <rdfs:label>characterCount</rdfs:label>
+    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#TextDocument"/>
+    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
+  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#bitrateType">
+    <rdfs:comment>The type of the bitrate. Examples may include CBR and VBR.</rdfs:comment>
+    <rdfs:label>bitrateType</rdfs:label>
+    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Media"/>
+    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
+  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#isPasswordProtected">
 +    <rdfs:comment>States if a given resource is password-protected.</rdfs:comment>
+    <rdfs:label>isPasswordProtected</rdfs:label>
+    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#ArchiveItem"/>
+    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#boolean"/>
+  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#sampleRate">
+    <rdfs:comment>The amount of audio samples per second.</rdfs:comment>
+    <rdfs:label>sampleRate</rdfs:label>
+    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Audio"/>
+    <rdfs:subPropertyOf rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#rate"/>
+    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#double"/>
+  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#fileLastModified">
+    <rdfs:comment>last modification date</rdfs:comment>
+    <rdfs:label>fileLastModified</rdfs:label>
+    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#FileDataObject"/>
 +    <rdfs:subPropertyOf rdf:resource="http://purl.org/dc/elements/1.1/date"/>
+    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#dateTime"/>
+  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#averageBitrate">
+    <rdfs:label>averageBitrate</rdfs:label>
+    <rdfs:comment>The average overall bitrate of a media container. (i.e. the size of the piece of media \
in bits, divided by it's duration expressed in seconds).</rdfs:comment> +    <rdfs:domain \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Media"/> +    <rdfs:subPropertyOf \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#rate"/> +    <rdfs:range \
rdf:resource="http://www.w3.org/2001/XMLSchema#double"/> +  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#deletionDate">
+    <rdfs:comment>The date and time of the deletion.</rdfs:comment>
+    <rdfs:label>deletionDate</rdfs:label>
+    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#DeletedResource"/>
 +    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#dateTime"/>
+  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#uncompressedSize">
+    <rdfs:comment>Uncompressed size of the content of a compressed file.</rdfs:comment>
+    <rdfs:label>uncompressedSize</rdfs:label>
+    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Archive"/>
+    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
+  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#rearChannels">
+    <rdfs:comment>Number of rear channels.</rdfs:comment>
+    <rdfs:label>rearChannels</rdfs:label>
+    <rdfs:subPropertyOf \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#channels"/> +    <rdfs:range \
rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/> +  </rdf:Property>
+  <nfo:CompressionType \
rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#lossyCompressionType"> +    \
<rdfs:label>lossyCompressionType</rdfs:label> +  </nfo:CompressionType>
+  <nfo:CompressionType \
rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#losslessCompressionType"> +    \
<rdfs:label>losslessCompressionType</rdfs:label> +  </nfo:CompressionType>
+</rdf:RDF>
Index: agents/nie/nmo.rdfs
===================================================================
--- agents/nie/nmo.rdfs	(revision 0)
+++ agents/nie/nmo.rdfs	(revision 0)
@@ -0,0 +1,219 @@
+<rdf:RDF
+    xmlns:nid3="http://www.semanticdesktop.org/ontologies/2007/05/10/nid3#"
+    xmlns:nfo="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#"
+    xmlns:nmo="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#"
+    xmlns:nie="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#"
+    xmlns:exif="http://www.kanzaki.com/ns/exif#"
+    xmlns:nao="http://www.semanticdesktop.org/ontologies/2007/08/15/nao#"
+    xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
+    xmlns:protege="http://protege.stanford.edu/system#"
+    xmlns:dcterms="http://purl.org/dc/terms/"
+    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+    xmlns:ncal="http://www.semanticdesktop.org/ontologies/2007/04/02/ncal#"
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
+    xmlns:nrl="http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#"
+    xmlns:pimo="http://www.semanticdesktop.org/ontologies/2007/11/01/pimo#"
+    xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
+    xmlns:dc="http://purl.org/dc/elements/1.1/"
+    xmlns:nco="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#"
+    xmlns:nexif="http://www.semanticdesktop.org/ontologies/2007/05/10/nexif#">
+  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#MailboxDataObject">
+    <rdfs:label>MailboxDataObject</rdfs:label>
+    <rdfs:comment>An entity encountered in a mailbox. Most common interpretations for such an entity \
include Message or Folder</rdfs:comment> +    <rdfs:subClassOf \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#DataObject"/> +  </rdfs:Class>
+  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#IMMessage">
+    <rdfs:comment>A message sent with Instant Messaging software.</rdfs:comment>
+    <rdfs:label>IMMessage</rdfs:label>
+    <rdfs:subClassOf>
+      <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#Message"/>
+    </rdfs:subClassOf>
+  </rdfs:Class>
+  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#Email">
+    <rdfs:comment>An email.</rdfs:comment>
+    <rdfs:label>Email</rdfs:label>
+    <rdfs:subClassOf>
+      <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#Message"/>
+    </rdfs:subClassOf>
+  </rdfs:Class>
+  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#MessageHeader">
+    <rdfs:comment>An arbitrary message header.</rdfs:comment>
+    <rdfs:label>MessageHeader</rdfs:label>
+    <rdfs:subClassOf rdf:resource="http://www.w3.org/2000/01/rdf-schema#Resource"/>
+  </rdfs:Class>
+  <rdfs:Class rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#Message">
+    <rdfs:label>Message</rdfs:label>
+    <rdfs:comment>A message. Could be an email, instant messanging message, SMS message \
etc.</rdfs:comment> +    <rdfs:subClassOf \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement"/> +  \
</rdfs:Class> +  <rdfs:Class \
rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#Mailbox"> +    <rdfs:comment>A \
mailbox - container for MailboxDataObjects.</rdfs:comment> +    <rdfs:label>Mailbox</rdfs:label>
+    <rdfs:subClassOf \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#InformationElement"/> +  \
</rdfs:Class> +  <rdf:Property \
rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#replyTo"> +    <rdfs:comment>An \
address where the reply should be sent.</rdfs:comment> +    <rdfs:label>replyTo</rdfs:label>
+    <rdfs:range rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#Contact"/>
+    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#Message"/>
+  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#messageSubject">
+    <rdfs:comment>The subject of a message</rdfs:comment>
+    <rdfs:label>messageSubject</rdfs:label>
+    <rdfs:subPropertyOf \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#subject"/> +    <rdfs:domain \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#Message"/> +    <rdfs:range \
rdf:resource="http://www.w3.org/2001/XMLSchema#string"/> +    <nrl:maxCardinality>1</nrl:maxCardinality>
+  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#references">
+    <rdfs:label>references</rdfs:label>
+    <rdfs:comment>Signifies that a message references another message. This property is a generic one. \
See RFC 2822 Sec. 3.6.4</rdfs:comment> +    <rdfs:domain \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#Message"/> +    <rdfs:range \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#Message"/> +  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#recipient">
+    <rdfs:label>recipient</rdfs:label>
+    <rdfs:comment>A common superproperty for all properties that link a message with its recipients. \
Please don't use this property directly.</rdfs:comment> +    <rdfs:range \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#Contact"/> +    <rdfs:domain \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#Message"/> +  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#to">
+    <rdfs:comment>The primary intended recipient of an email.</rdfs:comment>
+    <rdfs:label>to</rdfs:label>
+    <rdfs:range rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#Contact"/>
+    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#Email"/>
+    <rdfs:subPropertyOf>
+      <rdf:Property \
rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#primaryRecipient"/> +    \
</rdfs:subPropertyOf> +  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#bcc">
+    <rdfs:label>bcc</rdfs:label>
+    <rdfs:comment>A Contact that is to receive a bcc of the email. A Bcc (blind carbon copy) is a copy \
of an email message sent to a recipient whose email address does not appear in the \
message.</rdfs:comment> +    <rdfs:range \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#Contact"/> +    <rdfs:domain \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#Email"/> +    <rdfs:subPropertyOf>
+      <rdf:Property \
rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#secondaryRecipient"/> +    \
</rdfs:subPropertyOf> +  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#secondaryRecipient">
+    <rdfs:label>secondaryRecipient</rdfs:label>
+    <rdfs:comment>A superproperty for all "additional" recipients of a message.</rdfs:comment>
+    <rdfs:range rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#Contact"/>
+    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#Message"/>
+    <rdfs:subPropertyOf \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#recipient"/> +  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#cc">
+    <rdfs:label>cc</rdfs:label>
+    <rdfs:comment>A Contact that is to receive a cc of the email. A cc (carbon copy) is a copy of an \
email message whose recipient appears on the recipient list, so that all other recipients are aware of \
it.</rdfs:comment> +    <rdfs:range \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#Contact"/> +    <rdfs:domain \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#Email"/> +    <rdfs:subPropertyOf \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#secondaryRecipient"/> +  \
</rdf:Property> +  <rdf:Property \
rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#contentMimeType"> +    \
<rdfs:label>contentMimeType</rdfs:label> +    <rdfs:comment>Key used to store the MIME type of the \
content of an object when it is different from the object's main MIME type. This value can be used, for \
example, to model an e-mail message whose mime type is"message/rfc822", but whose content has type \
"text/html". If not specified, the MIME type of the +content defaults to the value specified by the \
'mimeType' property.</rdfs:comment> +    <rdfs:subPropertyOf \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#mimeType"/> +    <rdfs:domain \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#Email"/> +    <rdfs:range \
rdf:resource="http://www.w3.org/2001/XMLSchema#string"/> +  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#from">
+    <rdfs:comment>The sender of the message</rdfs:comment>
+    <rdfs:label>from</rdfs:label>
+    <rdfs:range rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#Contact"/>
+    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#Message"/>
+  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#plainTextMessageContent">
 +    <rdfs:label>plainTextMessageContent</rdfs:label>
+    <rdfs:comment>Plain text representation of the body of the message. For multipart messages, all \
parts are concatenated into the value of this property. Attachments, whose mimeTypes are different from \
text/plain or message/rfc822 are considered separate DataObjects and are therefore not included in the \
value of this property.</rdfs:comment> +    <rdfs:subPropertyOf \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#plainTextContent"/> +    \
<rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#Message"/> +    \
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/> +  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#isRead">
+    <rdfs:label>isRead</rdfs:label>
+    <rdfs:comment>A flag that states the fact that a MailboxDataObject has been read.</rdfs:comment>
+    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#MailboxDataObject"/>
 +    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#boolean"/>
+  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#htmlMessageContent">
+    <rdfs:label>htmlMessageContent</rdfs:label>
+    <rdfs:comment>HTML representation of the body of the message. For multipart messages, all parts are \
concatenated into the value of this property. Attachments, whose mimeTypes are different from text/plain \
or message/rfc822 are considered separate DataObjects and are therefore not included in the value of this \
property.</rdfs:comment> +    <rdfs:domain \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#Message"/> +    <rdfs:range \
rdf:resource="http://www.w3.org/2001/XMLSchema#string"/> +  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#messageHeader">
+    <nrl:maxCardinality>1</nrl:maxCardinality>
+    <rdfs:comment>Links the message wiith an arbitrary message header.</rdfs:comment>
+    <rdfs:label>messageHeader</rdfs:label>
+    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#Message"/>
+    <rdfs:range rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#MessageHeader"/>
+  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#primaryRecipient">
+    <rdfs:comment>The primary intended recipient of a message.</rdfs:comment>
+    <rdfs:label>primaryRecipient</rdfs:label>
+    <rdfs:range rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#Contact"/>
+    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#Message"/>
+    <rdfs:subPropertyOf \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#recipient"/> +  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#inReplyTo">
+    <rdfs:label>inReplyTo</rdfs:label>
+    <rdfs:comment>Signifies that a message is a reply to another message. This feature is commonly used \
to link messages into conversations. Note that it is more specific than nmo:references. See RFC 2822 sec. \
3.6.4</rdfs:comment> +    <rdfs:subPropertyOf \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#references"/> +    <rdfs:domain \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#Message"/> +    <rdfs:range \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#Message"/> +  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#sentDate">
+    <nrl:maxCardinality>1</nrl:maxCardinality>
+    <rdfs:comment>Date when this message was sent.</rdfs:comment>
+    <rdfs:label>sentDate</rdfs:label>
+    <rdfs:subPropertyOf \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#contentCreated"/> +    \
<rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#Message"/> +    \
<rdfs:subPropertyOf rdf:resource="http://purl.org/dc/elements/1.1/date"/> +    <rdfs:range \
rdf:resource="http://www.w3.org/2001/XMLSchema#dateTime"/> +    \
<nrl:maxCardinality>1</nrl:maxCardinality> +  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#sender">
+    <rdfs:label>sender</rdfs:label>
+    <rdfs:comment>The person or agent submitting the message to the network, if other from the one given \
with the nmo:from property. Defined in RFC 822 sec. 4.4.2</rdfs:comment> +    <rdfs:range \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nco#Contact"/> +    <rdfs:domain \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#Message"/> +    \
<rdfs:subPropertyOf rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#recipient"/> + \
</rdf:Property> +  <rdf:Property \
rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#headerName"> +    \
<nrl:maxCardinality>1</nrl:maxCardinality> +    <rdfs:comment>Name of the message header.</rdfs:comment>
+    <rdfs:label>headerName</rdfs:label>
+    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#MessageHeader"/>
+    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
+  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#messageId">
+    <rdfs:label>messageId</rdfs:label>
+    <rdfs:comment>An identifier of a message. This property has been inspired by the message-id property \
defined in RFC 2822, Sec. 3.6.4. It should be used for all kinds of identifiers used by various messaging \
applications to connect multiple messages into conversations.</rdfs:comment> +    <rdfs:subPropertyOf \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#identifier"/> +    <rdfs:domain \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#Message"/> +    <rdfs:range \
rdf:resource="http://www.w3.org/2001/XMLSchema#string"/> +  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#headerValue">
+    <nrl:maxCardinality>1</nrl:maxCardinality>
+    <rdfs:comment>Value of the message header.</rdfs:comment>
+    <rdfs:label>headerValue</rdfs:label>
+    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#MessageHeader"/>
+    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#string"/>
+  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#hasAttachment">
+    <rdfs:comment>Links a message with files that were sent as attachments.</rdfs:comment>
+    <rdfs:label>hasAttachment</rdfs:label>
+    <rdfs:subPropertyOf \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/01/19/nie#hasPart"/> +    <rdfs:range \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#Attachment"/> +    <rdfs:domain \
rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#Message"/> +  </rdf:Property>
+  <rdf:Property rdf:about="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#receivedDate">
+    <rdfs:comment>Date when this message was received.</rdfs:comment>
+    <rdfs:label>receivedDate</rdfs:label>
+    <rdfs:domain rdf:resource="http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#Message"/>
+    <rdfs:subPropertyOf rdf:resource="http://purl.org/dc/elements/1.1/date"/>
+    <rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#dateTime"/>
+    <nrl:maxCardinality>1</nrl:maxCardinality>
+  </rdf:Property>
+</rdf:RDF>
Index: agents/nie/CMakeLists.txt
===================================================================
--- agents/nie/CMakeLists.txt	(revision 0)
+++ agents/nie/CMakeLists.txt	(revision 0)
@@ -0,0 +1,82 @@
+
+include(NepomukMacros)
+
+# FIXME: Make this macro take a list of ontology files and then move it to NepomukMacros.cmake
+macro(NEPOMUK_GENERATE_FROM_ONTOLOGY2 ontofile1 ontofile2 ontofile3 ontofile4 targetdir out_headers \
out_sources out_includes) +
+  # init
+  set(NEPOMUK_RESOURCES_GENERATED false)
+
+  FIND_PROGRAM(RCGEN nepomuk-rcgen PATHS ${BIN_INSTALL_DIR})
+
+  if(NOT RCGEN)
+
+    message(STATUS "Failed to find the Nepomuk source generator" )
+
+  else(NOT RCGEN)
+
+    FILE(TO_NATIVE_PATH ${RCGEN} RCGEN)
+
+    execute_process(
+      COMMAND ${RCGEN} --listheaders --prefix ${targetdir}/ --ontologies ${ontofile1} ${ontofile2} \
${ontofile3} ${ontofile4} +      OUTPUT_VARIABLE ${out_headers}
+      RESULT_VARIABLE rcgen_result
+      ERROR_QUIET
+      )
+
+    # If the first call succeeds it is very very likely that the rest will, too
+    if(${rcgen_result} EQUAL 0)
+
+      execute_process(
+        COMMAND ${RCGEN} --listsources --prefix ${targetdir}/ --ontologies ${ontofile1} ${ontofile2} \
${ontofile3} ${ontofile4} +        OUTPUT_VARIABLE ${out_sources}
+        ERROR_QUIET
+        )
+
+      execute_process(
+        COMMAND ${RCGEN} --listincludes --ontologies ${ontofile1} ${ontofile2} ${ontofile3} ${ontofile4}
+        OUTPUT_VARIABLE ${out_includes}
+        ERROR_QUIET
+        )
+
+      execute_process(
+        COMMAND ${RCGEN} --writeall --templates ${ARGN} --target ${targetdir}/ --ontologies ${ontofile1} \
${ontofile2} ${ontofile3} ${ontofile4} +        ERROR_QUIET
+        )
+
+      set(NEPOMUK_RESOURCES_GENERATED true)
+
+    else(${rcgen_result} EQUAL 0)
+
+      message(STATUS "Failed to generate Nepomuk resource classes.")
+
+    endif(${rcgen_result} EQUAL 0)
+
+  endif(NOT RCGEN)
+
+endmacro(NEPOMUK_GENERATE_FROM_ONTOLOGY2)
+
+
+NEPOMUK_GENERATE_FROM_ONTOLOGY2(
+  ${CMAKE_CURRENT_SOURCE_DIR}/nie.rdfs
+  ${CMAKE_CURRENT_SOURCE_DIR}/nco.rdfs
+  ${CMAKE_CURRENT_SOURCE_DIR}/nmo.rdfs
+  ${CMAKE_CURRENT_SOURCE_DIR}/nfo.rdfs
+  ${CMAKE_CURRENT_BINARY_DIR}
+  NCO_HEADERS
+  NCO_SOURCES
+  DUMMY
+  )
+
+if(NEPOMUK_RESOURCES_GENERATED)
+
+  set(HAVE_NIE 1)
+
+  kde4_add_library(nie STATIC ${NCO_SOURCES} ${NIE_SOURCES})
+
+  target_link_libraries(nie
+    ${QT_QTCORE_LIBRARY}
+    ${NEPOMUK_LIBRARIES}
+    )
+
+endif(NEPOMUK_RESOURCES_GENERATED)
Index: agents/CMakeLists.txt
===================================================================
--- agents/CMakeLists.txt	(revision 803081)
+++ agents/CMakeLists.txt	(working copy)
@@ -2,6 +2,7 @@
 add_subdirectory( strigifeeder )
 
 if( Nepomuk_FOUND AND NOT Q_WS_MAC )
+  add_subdirectory( nie )
   add_subdirectory( nepomuk_email_feeder )
   add_subdirectory( nepomuk_contact_feeder )
 endif( Nepomuk_FOUND AND NOT Q_WS_MAC )
Index: nepomuk/nmo.desktop.cmake
===================================================================
--- nepomuk/nmo.desktop.cmake	(revision 0)
+++ nepomuk/nmo.desktop.cmake	(revision 0)
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Version=1.0
+Name=Nepomuk Message Ontology
+Comment=The Nepomuk Message Ontology extends the NEPOMUK Information Element framework into the domain \
of messages. Kinds of messages covered by NMO include Emails and instant messages. \
+URL=http://www.semanticdesktop.org/ontologies/2007/03/22/nmo# \
+Path=${DATA_INSTALL_DIR}/nepomuk/ontologies/nmo.trig +MimeType=application/x-trig
+Type=Data
Index: nepomuk/CMakeLists.txt
===================================================================
--- nepomuk/CMakeLists.txt	(revision 803081)
+++ nepomuk/CMakeLists.txt	(working copy)
@@ -1,8 +1,11 @@
 configure_file(nco.desktop.cmake ${CMAKE_CURRENT_BINARY_DIR}/nco.desktop)
+configure_file(nmo.desktop.cmake ${CMAKE_CURRENT_BINARY_DIR}/nmo.desktop)
 
 install(FILES
   nco.trig
   ${CMAKE_CURRENT_BINARY_DIR}/nco.desktop
+  nmo.trig
+  ${CMAKE_CURRENT_BINARY_DIR}/nmo.desktop
   DESTINATION
   ${DATA_INSTALL_DIR}/nepomuk/ontologies
 )
Index: nepomuk/nmo.trig
===================================================================
--- nepomuk/nmo.trig	(revision 0)
+++ nepomuk/nmo.trig	(revision 0)
@@ -0,0 +1,253 @@
+@prefix exif:    <http://www.kanzaki.com/ns/exif#> .
+@prefix nid3:    <http://www.semanticdesktop.org/ontologies/2007/05/10/nid3#> .
+@prefix nrl:     <http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#> .
+@prefix nfo:     <http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#> .
+@prefix xsd:     <http://www.w3.org/2001/XMLSchema#> .
+@prefix protege:  <http://protege.stanford.edu/system#> .
+@prefix nmo:     <http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#> .
+@prefix rdfs:    <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix nexif:   <http://www.semanticdesktop.org/ontologies/2007/05/10/nexif#> .
+@prefix ncal:    <http://www.semanticdesktop.org/ontologies/2007/04/02/ncal#> .
+@prefix dcterms:  <http://purl.org/dc/terms/> .
+@prefix nao:     <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#> .
+@prefix pimo:    <http://www.semanticdesktop.org/ontologies/2007/11/01/pimo#> .
+@prefix geo:     <http://www.w3.org/2003/01/geo/wgs84_pos#> .
+@prefix dc:      <http://purl.org/dc/elements/1.1/> .
+@prefix nie:     <http://www.semanticdesktop.org/ontologies/2007/01/19/nie#> .
+@prefix nco:     <http://www.semanticdesktop.org/ontologies/2007/03/22/nco#> .
+@prefix rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+
+nmo: {nmo:IMMessage
+          a       rdfs:Class ;
+          rdfs:comment "A message sent with Instant Messaging software." ;
+          rdfs:label "IMMessage" ;
+          rdfs:subClassOf nmo:Message .
+
+    nmo:Email
+          a       rdfs:Class ;
+          rdfs:comment "An email." ;
+          rdfs:label "Email" ;
+          rdfs:subClassOf nmo:Message .
+
+    nmo:messageSubject
+          a       rdf:Property ;
+          rdfs:comment "The subject of a message" ;
+          rdfs:domain nmo:Message ;
+          rdfs:label "messageSubject" ;
+          rdfs:range xsd:string ;
+          rdfs:subPropertyOf nie:subject .
+
+    nmo:MessageHeader
+          a       rdfs:Class ;
+          rdfs:comment "An arbitrary message header." ;
+          rdfs:label "MessageHeader" ;
+          rdfs:subClassOf rdfs:Resource .
+
+    nmo:references
+          a       rdf:Property ;
+          rdfs:comment "Signifies that a message references another message. This property is a generic \
one. See RFC 2822 Sec. 3.6.4" ; +          rdfs:domain nmo:Message ;
+          rdfs:label "references" ;
+          rdfs:range nmo:Message .
+
+    nmo:to
+          a       rdf:Property ;
+          rdfs:comment "The primary intended recipient of an email." ;
+          rdfs:domain nmo:Email ;
+          rdfs:label "to" ;
+          rdfs:range nco:Contact ;
+          rdfs:subPropertyOf nmo:primaryRecipient .
+
+    nmo:cc
+          a       rdf:Property ;
+          rdfs:comment "A Contact that is to receive a cc of the email. A cc (carbon copy) is a copy of \
an email message whose recipient appears on the recipient list, so that all other recipients are aware of \
it." ; +          rdfs:domain nmo:Email ;
+          rdfs:label "cc" ;
+          rdfs:range nco:Contact ;
+          rdfs:subPropertyOf nmo:secondaryRecipient .
+
+    nmo:from
+          a       rdf:Property ;
+          rdfs:comment "The sender of the message" ;
+          rdfs:domain nmo:Message ;
+          rdfs:label "from" ;
+          rdfs:range nco:Contact .
+
+    nmo:isRead
+          a       rdf:Property ;
+          rdfs:comment "A flag that states the fact that a MailboxDataObject has been read." ;
+          rdfs:domain nmo:MailboxDataObject ;
+          rdfs:label "isRead" ;
+          rdfs:range xsd:boolean .
+
+    nmo:Mailbox
+          a       rdfs:Class ;
+          rdfs:comment "A mailbox - container for MailboxDataObjects." ;
+          rdfs:label "Mailbox" ;
+          rdfs:subClassOf nie:InformationElement .
+
+    nmo:MailboxDataObject
+          a       rdfs:Class ;
+          rdfs:comment "An entity encountered in a mailbox. Most common interpretations for such an \
entity include Message or Folder" ; +          rdfs:label "MailboxDataObject" ;
+          rdfs:subClassOf nie:DataObject .
+
+    nmo:messageHeader
+          a       rdf:Property ;
+          rdfs:comment "Links the message wiith an arbitrary message header." ;
+          rdfs:domain nmo:Message ;
+          rdfs:label "messageHeader" ;
+          rdfs:range nmo:MessageHeader ;
+          nrl:maxCardinality "1" .
+
+    nmo:primaryRecipient
+          a       rdf:Property ;
+          rdfs:comment "The primary intended recipient of a message." ;
+          rdfs:domain nmo:Message ;
+          rdfs:label "primaryRecipient" ;
+          rdfs:range nco:Contact ;
+          rdfs:subPropertyOf nmo:recipient .
+
+    nmo:inReplyTo
+          a       rdf:Property ;
+          rdfs:comment "Signifies that a message is a reply to another message. This feature is commonly \
used to link messages into conversations. Note that it is more specific than nmo:references. See RFC 2822 \
sec. 3.6.4" ; +          rdfs:domain nmo:Message ;
+          rdfs:label "inReplyTo" ;
+          rdfs:range nmo:Message ;
+          rdfs:subPropertyOf nmo:references .
+
+    nmo:messageId
+          a       rdf:Property ;
+          rdfs:comment "An identifier of a message. This property has been inspired by the message-id \
property defined in RFC 2822, Sec. 3.6.4. It should be used for all kinds of identifiers used by various \
messaging applications to connect multiple messages into conversations." ; +          rdfs:domain \
nmo:Message ; +          rdfs:label "messageId" ;
+          rdfs:range xsd:string ;
+          rdfs:subPropertyOf nie:identifier .
+
+    nmo:receivedDate
+          a       rdf:Property ;
+          rdfs:comment "Date when this message was received." ;
+          rdfs:domain nmo:Message ;
+          rdfs:label "receivedDate" ;
+          rdfs:range xsd:dateTime ;
+          rdfs:subPropertyOf dc:date .
+
+    nmo:replyTo
+          a       rdf:Property ;
+          rdfs:comment "An address where the reply should be sent." ;
+          rdfs:domain nmo:Message ;
+          rdfs:label "replyTo" ;
+          rdfs:range nco:Contact .
+
+    nmo:recipient
+          a       rdf:Property ;
+          rdfs:comment "A common superproperty for all properties that link a message with its \
recipients. Please don't use this property directly." ; +          rdfs:domain nmo:Message ;
+          rdfs:label "recipient" ;
+          rdfs:range nco:Contact .
+
+    nmo:bcc
+          a       rdf:Property ;
+          rdfs:comment "A Contact that is to receive a bcc of the email. A Bcc (blind carbon copy) is a \
copy of an email message sent to a recipient whose email address does not appear in the message." ; +     \
rdfs:domain nmo:Email ; +          rdfs:label "bcc" ;
+          rdfs:range nco:Contact ;
+          rdfs:subPropertyOf nmo:secondaryRecipient .
+
+    nmo:secondaryRecipient
+          a       rdf:Property ;
+          rdfs:comment "A superproperty for all \"additional\" recipients of a message." ;
+          rdfs:domain nmo:Message ;
+          rdfs:label "secondaryRecipient" ;
+          rdfs:range nco:Contact ;
+          rdfs:subPropertyOf nmo:recipient .
+
+    nmo:contentMimeType
+          a       rdf:Property ;
+          rdfs:comment """Key used to store the MIME type of the content of an object when it is \
different from the object's main MIME type. This value can be used, for example, to model an e-mail \
message whose mime type is\"message/rfc822\", but whose content has type \"text/html\". If not specified, \
the MIME type of the +content defaults to the value specified by the 'mimeType' property.""" ;
+          rdfs:domain nmo:Email ;
+          rdfs:label "contentMimeType" ;
+          rdfs:range xsd:string ;
+          rdfs:subPropertyOf nie:mimeType .
+
+    nmo:plainTextMessageContent
+          a       rdf:Property ;
+          rdfs:comment "Plain text representation of the body of the message. For multipart messages, \
all parts are concatenated into the value of this property. Attachments, whose mimeTypes are different \
from text/plain or message/rfc822 are considered separate DataObjects and are therefore not included in \
the value of this property." ; +          rdfs:domain nmo:Message ;
+          rdfs:label "plainTextMessageContent" ;
+          rdfs:range xsd:string ;
+          rdfs:subPropertyOf nie:plainTextContent .
+
+    nmo:Message
+          a       rdfs:Class ;
+          rdfs:comment "A message. Could be an email, instant messanging message, SMS message etc." ;
+          rdfs:label "Message" ;
+          rdfs:subClassOf nie:InformationElement .
+
+    nmo:htmlMessageContent
+          a       rdf:Property ;
+          rdfs:comment "HTML representation of the body of the message. For multipart messages, all \
parts are concatenated into the value of this property. Attachments, whose mimeTypes are different from \
text/plain or message/rfc822 are considered separate DataObjects and are therefore not included in the \
value of this property." ; +          rdfs:domain nmo:Message ;
+          rdfs:label "htmlMessageContent" ;
+          rdfs:range xsd:string .
+
+    nmo:sentDate
+          a       rdf:Property ;
+          rdfs:comment "Date when this message was sent." ;
+          rdfs:domain nmo:Message ;
+          rdfs:label "sentDate" ;
+          rdfs:range xsd:dateTime ;
+          rdfs:subPropertyOf dc:date , nie:contentCreated ;
+          nrl:maxCardinality "1" .
+
+    nmo:sender
+          a       rdf:Property ;
+          rdfs:comment "The person or agent submitting the message to the network, if other from the one \
given with the nmo:from property. Defined in RFC 822 sec. 4.4.2" ; +          rdfs:domain nmo:Message ;
+          rdfs:label "sender" ;
+          rdfs:range nco:Contact ;
+          rdfs:subPropertyOf nmo:recipient .
+
+    nmo:headerName
+          a       rdf:Property ;
+          rdfs:comment "Name of the message header." ;
+          rdfs:domain nmo:MessageHeader ;
+          rdfs:label "headerName" ;
+          rdfs:range xsd:string ;
+          nrl:maxCardinality "1" .
+
+    nmo:headerValue
+          a       rdf:Property ;
+          rdfs:comment "Value of the message header." ;
+          rdfs:domain nmo:MessageHeader ;
+          rdfs:label "headerValue" ;
+          rdfs:range xsd:string ;
+          nrl:maxCardinality "1" .
+
+    nmo:hasAttachment
+          a       rdf:Property ;
+          rdfs:comment "Links a message with files that were sent as attachments." ;
+          rdfs:domain nmo:Message ;
+          rdfs:label "hasAttachment" ;
+          rdfs:range nfo:Attachment ;
+          rdfs:subPropertyOf nie:hasPart .
+}
+
+<http://www.semanticdesktop.org/ontologies/2007/03/22/nmo_metadata#> \
{<http://www.semanticdesktop.org/ontologies/2007/03/22/nmo_metadata#> +          a       \
nrl:GraphMetadata ; +          nrl:coreGraphMetadataFor
+                  nmo: .
+
+    nmo:  a       nrl:Ontology ;
+          nao:creator <http://www.dfki.uni-kl.de/~mylka> ;
+          nao:hasDefaultNamespace
+                  "http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#" ;
+          nao:hasDefaultNamespaceAbbreviation
+                  "nmo" ;
+          nao:lastModified "2008-02-06T14:35:29.031Z" ;
+          nao:status "Unstable" ;
+          nao:updatable "0 " ;
+          nao:version "Revision-8" .
+}
+



_______________________________________________
KDE PIM mailing list kde-pim@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic