← Back to team overview

zeitgeist team mailing list archive

[Branch ~zeitgeist/zeitgeist/bluebird] Rev 352: Updated to shared-desktop-ontologies version 0.8.1. This introduces

 

------------------------------------------------------------
revno: 352
fixes bug: https://launchpad.net/bugs/884192
committer: Siegfried-Angel Gevatter Pujals <siegfried@xxxxxxxxxxxx>
branch nick: bluebird
timestamp: Thu 2011-12-29 15:39:51 +0100
message:
  Updated to shared-desktop-ontologies version 0.8.1. This introduces
  WebDataObject and makes MusicPiece a child of Audio.
modified:
  NEWS
  extra/ontology/nao.trig
  extra/ontology/ncal.trig
  extra/ontology/nco.trig
  extra/ontology/nfo.trig
  extra/ontology/nie.trig
  extra/ontology/nmm.trig
  extra/ontology/nmo.trig


--
lp:zeitgeist
https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird

Your team Zeitgeist Framework Team is subscribed to branch lp:zeitgeist.
To unsubscribe from this branch go to https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird/+edit-subscription
=== modified file 'NEWS'
--- NEWS	2011-10-20 11:20:36 +0000
+++ NEWS	2011-12-29 14:39:51 +0000
@@ -12,6 +12,10 @@
 Python API:
  - ...
 
+Overall:
+ - Updated to shared-desktop-ontologies version 0.8.1. This introduces
+   WebDataObject and makes MusicPiece a child of Audio.
+
 ---------------------------------------------------------------------
 ---------------------------------------------------------------------
 

=== modified file 'extra/ontology/nao.trig'
--- extra/ontology/nao.trig	2011-08-02 13:50:15 +0000
+++ extra/ontology/nao.trig	2011-12-29 14:39:51 +0000
@@ -1,5 +1,7 @@
 #
 # Copyright (c) 2007 NEPOMUK Consortium
+# Copyright (c) 2011 Sebastian Trueg <trueg@xxxxxxx>
+#
 # All rights reserved, licensed under either CC-BY or BSD.
 #
 # You are free:
@@ -41,7 +43,7 @@
 @prefix rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
 @prefix dcterms:  <http://purl.org/dc/terms/> .
 
-<http://www.semanticdesktop.org/ontologies/2007/08/15/nao> {
+<http://www.semanticdesktop.org/ontologies/2007/08/15/nao#> {
     <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#hasDefaultNamespaceAbbreviation>
           a       rdf:Property ;
           rdfs:comment "Defines the default static namespace abbreviation for a graph" ;
@@ -53,13 +55,13 @@
 
     <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#Symbol>
           a       rdfs:Class ;
-          rdfs:comment "Represents a symbol" ;
+          rdfs:comment "Represents a symbol, a visual representation of a resource. Typically a local or remote file would be double-typed to be used as a symbol. An alternative is nao:FreeDesktopIcon." ;
           rdfs:label "symbol" ;
           rdfs:subClassOf rdfs:Resource .
 
     <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#FreeDesktopIcon>
           a       rdfs:Class ;
-          rdfs:comment "Represents a desktop icon as defined in the FreeDesktop Icon Naming Standard" ;
+          rdfs:comment "Represents a desktop icon as defined in the FreeDesktop Icon Naming Standard (http://standards.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html)." ;
           rdfs:label "freedesktopicon" ;
           rdfs:subClassOf nao:Symbol .
 
@@ -78,7 +80,8 @@
           rdfs:domain rdfs:Resource ;
           rdfs:label "score" ;
           rdfs:range xsd:float ;
-          rdfs:subPropertyOf <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#annotation> .
+          rdfs:subPropertyOf <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#annotation> ;
+          nrl:maxCardinality "1"^^xsd:nonNegativeInteger .
 
     <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#scoreParameter>
           a       rdf:Property ;
@@ -98,15 +101,15 @@
           nrl:inverseProperty nao:hasTopic .
 
     <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#hasSubResource>
-          a       rdf:Property, nrl:SymmetricProperty ;
-          rdfs:comment "Defines a relationship between a resource and one or more sub resources" ;
+          a       rdf:Property ;
+          rdfs:comment "Defines a relationship between a resource and one or more sub resources. Descriptions of sub-resources are only interpretable when the super-resource exists. Deleting a super-resource should then also delete all sub-resources, and transferring a super-resource (for example, sending it to another user) must also include the sub-resource." ;
           rdfs:label "has Subresource" ;
           rdfs:range rdfs:Resource ;
           rdfs:subPropertyOf <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#isRelated> ;
           nrl:inverseProperty nao:hasSuperResource .
 
     <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#hasSuperResource>
-          a       rdf:Property, nrl:SymmetricProperty ;
+          a       rdf:Property ;
           rdfs:comment "Defines a relationship between a resource and one or more super resources" ;
           rdfs:label "has Superresource" ;
           rdfs:range rdfs:Resource ;
@@ -122,6 +125,13 @@
           rdfs:subPropertyOf <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#annotation> ;
           nrl:inverseProperty nao:hasTag .
 
+    <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#isDataGraphFor>
+          a       rdf:Property ;
+          rdfs:label "is data graph for" ;
+          rdfs:comment "Links a named graph to the resource for which it contains metadata. Its typical usage would be to link the graph containing extracted file metadata to the file resource. This allows for easy maintenance later on." ;
+          rdfs:domain nrl:InstanceBase ;
+          rdfs:range rdfs:Resource .
+
     <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#version>
           a       rdf:Property ;
           rdfs:comment "Specifies the version of a graph, in numeric format" ;
@@ -140,7 +150,7 @@
 
     <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#hasSymbol>
           a       rdf:Property ;
-          rdfs:comment "Annotation for a resource in the form of a symbol representation" ;
+          rdfs:comment "Annotation for a resource in the form of a visual representation. Typically the symbol is a double-typed image file or a nao:FreeDesktopIcon." ;
           rdfs:domain rdfs:Resource ;
           rdfs:label "has symbol" ;
           rdfs:range <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#Symbol> .
@@ -151,7 +161,8 @@
           rdfs:domain rdfs:Resource ;
           rdfs:label "preferred symbol" ;
           rdfs:subPropertyOf <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#hasSymbol> ;
-          rdfs:range <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#Symbol> .
+          rdfs:range <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#Symbol> ;
+          nrl:maxCardinality "1"^^xsd:nonNegativeInteger .
 
     <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#altSymbol>
           a       rdf:Property ;
@@ -183,7 +194,8 @@
           rdfs:domain rdfs:Resource ;
           rdfs:label "creator" ;
           rdfs:range <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#Party> ;
-          rdfs:subPropertyOf <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#annotation> , dc:creator .
+          rdfs:subPropertyOf <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#annotation> , dc:creator ;
+          nrl:maxCardinality "1"^^xsd:nonNegativeInteger.
 
     <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#annotation>
           a       rdf:Property ;
@@ -206,7 +218,7 @@
           rdfs:domain rdfs:Resource ;
           rdfs:label "numeric rating" ;
           rdfs:range xsd:integer ;
-	    nrl:maxCardinality "1"^^xsd:nonNegativeInteger .
+	      nrl:maxCardinality "1"^^xsd:nonNegativeInteger .
 
     <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#Tag>
           a       rdfs:Class ;
@@ -285,14 +297,16 @@
           rdfs:comment "A preferred label for a resource" ;
           rdfs:label "preferred label" ;
           rdfs:range rdfs:Literal ;
-          rdfs:subPropertyOf rdfs:label .
+          rdfs:subPropertyOf rdfs:label ;
+          nrl:maxCardinality "1"^^xsd:nonNegativeInteger .
 
     <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#pluralPrefLabel>
           a       rdf:Property ;
           rdfs:comment "The plural form of the preferred label for a resource" ;
           rdfs:label "preferred label plural form" ;
           rdfs:range rdfs:Literal ;
-          rdfs:subPropertyOf rdfs:label .
+          rdfs:subPropertyOf rdfs:label ;
+          nrl:maxCardinality "1"^^xsd:nonNegativeInteger .
 
     <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#engineeringTool>
           a       rdf:Property ;
@@ -336,23 +350,48 @@
 	  rdfs:comment	"If this property is assigned, the subject class, property, or resource, is deprecated and should not be used in production systems any longer. It may be removed without further notice." ;
 	  rdfs:label	"deprecated" ;
 	  rdfs:domain	rdfs:Resource ;
-	  rdfs:range	rdfs:Resource .
+	  rdfs:range	rdfs:Resource ;
+          nrl:maxCardinality "1"^^xsd:nonNegativeInteger.
+
+    nao:userVisible
+          a rdf:Property ;
+          rdfs:domain rdfs:Resource ;
+          rdfs:range xsd:boolean ;
+          rdfs:label "user visible" ;
+          rdfs:comment "Mark a property, class, or even resource as user visible or not. Non-user-visible entities should never be presented to the user. By default everything is user-visible." ;
+          nao:userVisible false ;
+          nrl:maxCardinality 1 .
+
+    nao:Agent
+          a rdfs:Class ;
+          rdfs:label "agent" ;
+          rdfs:comment "An agent is the artificial counterpart to nao:Party. It can be a software component or some service." ;
+          rdfs:subClassOf rdfs:Resource .
+
+    nao:maintainedBy
+          a rdf:Property ;
+          rdfs:label "maintained by" ;
+          rdfs:comment "The agent that maintains this resource, ie. created it and knows what to do with it." ;
+          rdfs:domain rdfs:Resource ;
+          rdfs:range nao:Agent ;
+          rdfs:subPropertyOf nao:annotation .
 }
 
 <http://www.semanticdesktop.org/ontologies/2007/08/15/nao/metadata> {
     <http://www.semanticdesktop.org/ontologies/2007/08/15/nao/metadata>
           a       nrl:GraphMetadata ;
-          nrl:coreGraphMetadataFor <http://www.semanticdesktop.org/ontologies/2007/08/15/nao> .
-
-
-    <http://www.semanticdesktop.org/ontologies/2007/08/15/nao>
+          nrl:coreGraphMetadataFor <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#> .
+
+
+    <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#>
           a       nrl:Ontology , nrl:DocumentGraph ;
           nao:hasDefaultNamespace "http://www.semanticdesktop.org/ontologies/2007/08/15/nao#"; ;
           nao:hasDefaultNamespaceAbbreviation "nao" ;
-          nao:lastModified "2009-07-20T14:59:09.500Z" ;
+          nao:lastModified "2011-07-13T15:38:43Z" ;
           nao:serializationLanguage "TriG" ;
           nao:status "Unstable" ;
           nrl:updatable "0" ;
-          nao:version "3" .
+          nao:version "0.8.1" ;
+          nao:prefLabel "Nepomuk Annotation Ontology" ;
+          nao:description "The annotation ontology provides vocabulary that enables users to attach custom descriptions, identifiers, tags and ratings to resources on their desktop. Via other properties, the user is also able to make generic relationships between related resources explicit. Some relationships between resources are too general to be included at the domain ontology level. Instead, these properties are also defined in the annotation ontology. Given the high-level status of this ontology, these propreties can be used to link any related resources on the user's desktop, as well as provide custom human-readable textual annotations." .
 }
-

=== modified file 'extra/ontology/ncal.trig'
--- extra/ontology/ncal.trig	2011-08-02 13:50:15 +0000
+++ extra/ontology/ncal.trig	2011-12-29 14:39:51 +0000
@@ -1,5 +1,7 @@
 #
 # Copyright (c) 2007 NEPOMUK Consortium
+# Copyright (c) 2011 Sebastian Trueg <trueg@xxxxxxx>
+#
 # All rights reserved, licensed under either CC-BY or BSD.
 #
 # You are free:
@@ -61,7 +63,8 @@
           rdfs:comment "The timezone instance that should be used to interpret an NcalDateTime. The purpose of this property is similar to the TZID parameter specified in RFC 2445 sec. 4.2.19" ;
           rdfs:domain ncal:NcalDateTime ;
           rdfs:label "ncalTimezone" ;
-          rdfs:range ncal:Timezone .
+          rdfs:range ncal:Timezone ;
+          nrl:maxCardinality 1 .
 
     ncal:delegatedFrom
           a       rdf:Property ;
@@ -98,14 +101,16 @@
           rdfs:domain ncal:UnionOfEventJournalTodo ;
           rdfs:label "created" ;
           rdfs:range xsd:dateTime ;
-          rdfs:subPropertyOf nie:created .
+          rdfs:subPropertyOf nie:created ;
+          nrl:maxCardinality 1 .
 
     ncal:comment
           a       rdf:Property ;
           rdfs:comment "Non-processing information intended to provide a comment to the calendar user. Inspired by RFC 2445 sec. 4.8.1.4 with the following reservations:  the LANGUAGE parameter has been discarded. Please use xml:lang literals to express language. For the ALTREP parameter use the commentAltRep property." ;
           rdfs:domain ncal:UnionOfTimezoneObservanceEventFreebusyJournalTimezoneTodo ;
           rdfs:label "comment" ;
-          rdfs:range xsd:string .
+          rdfs:range xsd:string ;
+          rdfs:subPropertyOf nie:comment .
 
     ncal:summaryAltRep
           a       rdf:Property ;
@@ -150,7 +155,8 @@
           rdfs:comment "The day that's counted as the start of the week. It is used to disambiguate the byweekno rule. Defined in RFC 2445 sec. 4.3.10" ;
           rdfs:domain ncal:RecurrenceRule ;
           rdfs:label "wkst" ;
-          rdfs:range ncal:Weekday .
+          rdfs:range ncal:Weekday ;
+          nrl:maxCardinality 1 .
 
     ncal:tzurl
           a       rdf:Property ;
@@ -182,14 +188,16 @@
           rdfs:domain ncal:UnionOfEventFreebusyJournalTodo ;
           rdfs:label "uid" ;
           rdfs:range xsd:string ;
-          rdfs:subPropertyOf nie:identifier .
+          rdfs:subPropertyOf nie:identifier ;
+          nrl:maxCardinality 1 .
 
     ncal:standard
           a       rdf:Property ;
           rdfs:comment "Links the timezone with the standard timezone observance. This property has no direct equivalent in the RFC 2445. It has been inspired by the structure of the Vtimezone component defined in sec.4.6.5" ;
           rdfs:domain ncal:Timezone ;
           rdfs:label "standard" ;
-          rdfs:range ncal:TimezoneObservance .
+          rdfs:range ncal:TimezoneObservance ;
+          nrl:maxCardinality 1 .
 
     ncal:resourceUserType
           a       ncal:CalendarUserType ;
@@ -222,7 +230,8 @@
           rdfs:comment "The uri of the attachment. Created to express the actual value of the ATTACH property defined in RFC 2445 sec. 4.8.1.1. This property expresses the default URI datatype of that property. see ncal:attachmentContents for the BINARY datatype." ;
           rdfs:domain ncal:Attachment ;
           rdfs:label "attachmentUri" ;
-          rdfs:range rdfs:Resource .
+          rdfs:range rdfs:Resource ;
+          nrl:maxCardinality 1 .
 
     ncal:CalendarScale
           a       rdfs:Class ;
@@ -250,14 +259,16 @@
           rdfs:comment "Duration of a period of time. Inspired by the second part of a structured value of the PERIOD datatype specified in RFC 2445 sec. 4.3.9. Note that a single NcalPeriod instance shouldn't have the periodEnd and periodDuration properties specified simultaneously." ;
           rdfs:domain ncal:NcalPeriod ;
           rdfs:label "periodDuration" ;
-          rdfs:range xsd:duration .
+          rdfs:range xsd:duration ;
+          nrl:maxCardinality 1 .
 
     ncal:dtstamp
           a       rdf:Property ;
           rdfs:comment "The property indicates the date/time that the instance of the iCalendar object was created. Inspired by RFC 2445 sec. 4.8.7.1. Note that the RFC allows ONLY UTC values for this property." ;
           rdfs:domain ncal:UnionOfEventFreebusyJournalTodo ;
           rdfs:label "dtstamp" ;
-          rdfs:range xsd:dateTime .
+          rdfs:range xsd:dateTime ;
+          nrl:maxCardinality 1 .
 
     ncal:UnionOfAlarmEventJournalTodo
           a       rdfs:Class ;
@@ -285,7 +296,8 @@
           rdfs:comment "Defines the access classification for a calendar component. Inspired by RFC 2445 sec. 4.8.1.3 with the following reservations:  this property has limited vocabulary. Possible values are:  PUBLIC, PRIVATE and CONFIDENTIAL. The default is PUBLIC. Those values are expressed as instances of the AccessClassification class. The user may create his/her own if necessary." ;
           rdfs:domain ncal:UnionOfEventJournalTodo ;
           rdfs:label "class" ;
-          rdfs:range ncal:AccessClassification .
+          rdfs:range ncal:AccessClassification ;
+          nrl:maxCardinality 1 .
 
     ncal:_8bitEncoding
           a       ncal:AttachmentEncoding ;
@@ -300,14 +312,16 @@
           rdfs:comment "Defines whether an event is transparent or not  to busy time searches. Inspired by RFC 2445 sec.4.8.2.7. Values for this property can be chosen from a limited vocabulary. To express this a TimeTransparency class has been introduced." ;
           rdfs:domain ncal:Event ;
           rdfs:label "transp" ;
-          rdfs:range ncal:TimeTransparency .
+          rdfs:range ncal:TimeTransparency ;
+          nrl:maxCardinality 1 .
 
     ncal:date
           a       rdf:Property ;
           rdfs:comment "Date an instance of NcalDateTime refers to. It was conceived to express values in DATE datatype specified in RFC 2445 4.3.4" ;
           rdfs:domain ncal:NcalDateTime ;
           rdfs:label "date" ;
-          rdfs:range xsd:date .
+          rdfs:range xsd:date ;
+          nrl:maxCardinality 1 .
 
     ncal:busyTentativeFreebusyType
           a       ncal:FreebusyType ;
@@ -326,7 +340,8 @@
           rdfs:comment "This property specifies the date and time that a calendar component ends. Inspired by RFC 2445 sec. 4.8.2.2" ;
           rdfs:domain ncal:UnionOfEventFreebusy ;
           rdfs:label "dtend" ;
-          rdfs:range ncal:NcalDateTime .
+          rdfs:range ncal:NcalDateTime ;
+          nrl:maxCardinality 1 .
 
     ncal:privateClassification
           a       ncal:AccessClassification ;
@@ -337,7 +352,8 @@
           rdfs:comment "Representation of a date an instance of NcalDateTime actually refers to. It's purpose is to express values in DATE-TIME datatype, as defined in RFC 2445 sec. 4.3.5" ;
           rdfs:domain ncal:NcalDateTime ;
           rdfs:label "dateTime" ;
-          rdfs:range xsd:dateTime .
+          rdfs:range xsd:dateTime ;
+          nrl:maxCardinality 1 .
 
     ncal:prodid
           a       rdf:Property ;
@@ -395,7 +411,8 @@
           rdfs:comment "To specify the free or busy time type. Inspired by RFC 2445 sec. 4.2.9. The RFC specified a limited vocabulary for the values of this property. The terms of this vocabulary have been expressed as instances of the FreebusyType class. The user can use instances provided with this ontology or create his own." ;
           rdfs:domain ncal:FreebusyPeriod ;
           rdfs:label "fbtype" ;
-          rdfs:range ncal:FreebusyType .
+          rdfs:range ncal:FreebusyType ;
+          nrl:maxCardinality 1 .
 
     ncal:Attachment
           a       rdfs:Class ;
@@ -463,14 +480,16 @@
           rdfs:comment "This property defines the revision sequence number of the calendar component within a sequence of revisions. Inspired by RFC 2445 sec. 4.8.7.4" ;
           rdfs:domain ncal:UnionOfEventJournalTodo ;
           rdfs:label "sequence" ;
-          rdfs:range xsd:integer .
+          rdfs:range xsd:integer ;
+          nrl:maxCardinality 1 .
 
     ncal:repeat
           a       rdf:Property ;
           rdfs:comment "This property defines the number of time the alarm should be repeated, after the initial trigger. Inspired by RFC 2445 sec. 4.8.6.2" ;
           rdfs:domain ncal:Alarm ;
           rdfs:label "repeat" ;
-          rdfs:range xsd:integer .
+          rdfs:range xsd:integer ;
+          nrl:maxCardinality 1 .
 
     ncal:freeFreebusyType
           a       ncal:FreebusyType ;
@@ -525,7 +544,8 @@
           rdfs:comment "To specify whether there is an expectation of a favor of a reply from the calendar user specified by the property value. Inspired by RFC 2445 sec. 4.2.17" ;
           rdfs:domain ncal:Attendee ;
           rdfs:label "rsvp" ;
-          rdfs:range xsd:boolean .
+          rdfs:range xsd:boolean ;
+          nrl:maxCardinality 1 .
 
     ncal:RecurrenceRule
           a       rdfs:Class ;
@@ -555,7 +575,8 @@
           rdfs:comment "This property specifies information related to the global position for the activity specified by a calendar component. Inspired by RFC 2445 sec. 4.8.1.6" ;
           rdfs:domain ncal:UnionOfEventTodo ;
           rdfs:label "geo" ;
-          rdfs:range geo:Point .
+          rdfs:range geo:Point ;
+          nrl:maxCardinality 1 .
 
     ncal:UnionOfAlarmEventFreebusyTodo
           a       rdfs:Class ;
@@ -571,7 +592,8 @@
           rdfs:comment "To specify the content type of a referenced object. Inspired by RFC 2445 sec. 4.2.8. The value of this property should be an IANA-registered content type (e.g. application/binary)" ;
           rdfs:domain ncal:Attachment ;
           rdfs:label "fmttype" ;
-          rdfs:range xsd:string .
+          rdfs:range xsd:string ;
+          nrl:maxCardinality 1 .
 
     ncal:byyearday
           a       rdf:Property ;
@@ -585,7 +607,8 @@
           rdfs:comment "This property specifies when the calendar component begins. Inspired by RFC 2445 sec. 4.8.2.4" ;
           rdfs:domain ncal:UnionOfTimezoneObservanceEventFreebusyTimezoneTodo ;
           rdfs:label "dtstart" ;
-          rdfs:range ncal:NcalDateTime .
+          rdfs:range ncal:NcalDateTime ;
+          nrl:maxCardinality 1 .
 
     ncal:description
           a       rdf:Property ;
@@ -629,14 +652,16 @@
           rdfs:comment "How many times should an event be repeated. Defined in RFC 2445 sec. 4.3.10" ;
           rdfs:domain ncal:RecurrenceRule ;
           rdfs:label "count" ;
-          rdfs:range xsd:integer .
+          rdfs:range xsd:integer ;
+          nrl:maxCardinality 1 .
 
     ncal:duration
           a       rdf:Property ;
           rdfs:comment "The property specifies a positive duration of time. Inspired by RFC 2445 sec. 4.8.2.5" ;
           rdfs:domain ncal:UnionOfAlarmEventFreebusyTodo ;
           rdfs:label "duration" ;
-          rdfs:range xsd:duration .
+          rdfs:range xsd:duration ;
+          nrl:maxCardinality 1 .
 
     ncal:bymonth
           a       rdf:Property ;
@@ -717,7 +742,8 @@
           rdfs:comment "The property specifies the date and time that the information associated with the calendar component was last revised in the calendar store. Note: This is analogous to the modification date and time for a file in the file system. Inspired by RFC 2445 sec. 4.8.7.3. Note that the RFC allows ONLY UTC time values for this property." ;
           rdfs:domain ncal:UnionOfEventJournalTimezoneTodo ;
           rdfs:label "lastModified" ;
-          rdfs:range xsd:dateTime .
+          rdfs:range xsd:dateTime ;
+          nrl:maxCardinality 1 .
 
     ncal:trigger
           a       rdf:Property ;
@@ -746,7 +772,8 @@
           rdfs:comment "This property defines a Uniform Resource Locator (URL) associated with the iCalendar object. Inspired by the RFC 2445 sec. 4.8.4.6. Original range had been specified as URI." ;
           rdfs:domain ncal:UnionOfEventFreebusyJournalTodo ;
           rdfs:label "url" ;
-          rdfs:range rdfs:Resource .
+          rdfs:range rdfs:Resource ;
+          nrl:maxCardinality 1 .
 
     ncal:AccessClassification
           a       rdfs:Class ;
@@ -768,7 +795,8 @@
           rdfs:comment "This property defines the date and time that a to-do was actually completed. Inspired by RFC 2445 sec. 4.8.2.1. Note that the RFC allows ONLY UTC time values for this property." ;
           rdfs:domain ncal:Todo ;
           rdfs:label "completed" ;
-          rdfs:range xsd:dateTime .
+          rdfs:range xsd:dateTime ;
+          nrl:maxCardinality 1 .
 
     ncal:JournalStatus
           a       rdfs:Class ;
@@ -789,7 +817,8 @@
           rdfs:comment "The property defines the relative priority for a calendar component. Inspired by RFC 2445 sec. 4.8.1.9" ;
           rdfs:domain ncal:UnionOfEventTodo ;
           rdfs:label "priority" ;
-          rdfs:range xsd:integer .
+          rdfs:range xsd:integer ;
+          nrl:maxCardinality 1 .
 
     ncal:relatedToParent
           a       rdf:Property ;
@@ -834,7 +863,8 @@
           rdfs:comment "Longer return status description. Inspired by the second part of the structured value of the REQUEST-STATUS property defined in RFC 2445 sec. 4.8.8.2" ;
           rdfs:domain ncal:RequestStatus ;
           rdfs:label "statusDescription" ;
-          rdfs:range xsd:string .
+          rdfs:range xsd:string ;
+          nrl:maxCardinality 1 .
 
     ncal:tentativeStatus
           a       ncal:EventStatus ;
@@ -845,14 +875,16 @@
           rdfs:comment "Defines the intended venue for the activity defined by a calendar component. Inspired by RFC 2445 sec 4.8.1.7 with the following reservations:  the LANGUAGE parameter has been discarded. Please use xml:lang literals to express language.  For the ALTREP parameter use the locationAltRep property." ;
           rdfs:domain ncal:UnionOfEventTodo ;
           rdfs:label "location" ;
-          rdfs:range xsd:string .
+          rdfs:range xsd:string ;
+          nrl:maxCardinality 1 .
 
     ncal:eventStatus
           a       rdf:Property ;
           rdfs:comment "Defines the overall status or confirmation for an Event. Based on the STATUS property defined in RFC 2445 sec. 4.8.1.11." ;
           rdfs:domain ncal:Event ;
           rdfs:label "status" ;
-          rdfs:range ncal:EventStatus .
+          rdfs:range ncal:EventStatus ;
+          nrl:maxCardinality 1 .
 
     ncal:AttendeeOrOrganizer
           a       rdfs:Class ;
@@ -868,10 +900,11 @@
 
     ncal:bydayModifier
           a       rdf:Property ;
-          rdfs:comment "A n integer modifier for the BYDAY rule part.    Each BYDAY value can also be preceded by a positive (+n) or negative  (-n) integer. If present, this indicates the nth occurrence of the specific day within the MONTHLY or YEARLY RRULE. For example, within a MONTHLY rule, +1MO (or simply 1MO) represents the first Monday within the month, whereas -1MO represents the last Monday of the month. If an integer modifier is not present, it means all days of this type within the specified frequency. For example, within a MONTHLY rule, MO represents all Mondays within the month. Inspired by RFC 2445 sec. 4.3.10" ;
+          rdfs:comment "An integer modifier for the BYDAY rule part.    Each BYDAY value can also be preceded by a positive (+n) or negative  (-n) integer. If present, this indicates the nth occurrence of the specific day within the MONTHLY or YEARLY RRULE. For example, within a MONTHLY rule, +1MO (or simply 1MO) represents the first Monday within the month, whereas -1MO represents the last Monday of the month. If an integer modifier is not present, it means all days of this type within the specified frequency. For example, within a MONTHLY rule, MO represents all Mondays within the month. Inspired by RFC 2445 sec. 4.3.10" ;
           rdfs:domain ncal:BydayRulePart ;
           rdfs:label "bydayModifier" ;
-          rdfs:range xsd:integer .
+          rdfs:range xsd:integer ;
+          nrl:maxCardinality 1 .
 
     ncal:UnionOfAlarmEventFreebusyJournalTodo
           a       rdfs:Class ;
@@ -887,7 +920,8 @@
           rdfs:comment "This property defines the iCalendar object method associated with the calendar object. Defined in RFC 2445 sec. 4.7.2" ;
           rdfs:domain ncal:Calendar ;
           rdfs:label "method" ;
-          rdfs:range xsd:string .
+          rdfs:range xsd:string ;
+          nrl:maxCardinality 1 .
 
     ncal:tuesday
           a       ncal:Weekday ;
@@ -903,7 +937,8 @@
           rdfs:comment "The exact date and time of the trigger. This property has been created to express the VALUE=DATE, and VALUE=DATE-TIME parameters of the TRIGGER property. See the documentation for ncal:trigger for more details" ;
           rdfs:domain ncal:Trigger ;
           rdfs:label "triggerDateTime" ;
-          rdfs:range xsd:dateTime .
+          rdfs:range xsd:dateTime ;
+          nrl:maxCardinality 1 .
 
     ncal:endTriggerRelation
           a       ncal:TriggerRelation ;
@@ -921,14 +956,16 @@
           rdfs:comment "The INTERVAL rule part contains a positive integer representing how often the recurrence rule repeats. The default value is \"1\", meaning every second for a SECONDLY rule, or every minute for a MINUTELY rule, every hour for an HOURLY rule, every day for a DAILY rule, every week for a WEEKLY rule, every month for a MONTHLY rule andevery year for a YEARLY rule. Defined in RFC 2445 sec. 4.3.10" ;
           rdfs:domain ncal:RecurrenceRule ;
           rdfs:label "interval" ;
-          rdfs:range xsd:integer .
+          rdfs:range xsd:integer ;
+          nrl:maxCardinality 1 .
 
     ncal:requestStatus
           a       rdf:Property ;
           rdfs:comment "This property defines the status code returned for a scheduling request. Inspired by RFC 2445 sec. 4.8.8.2. Original value of this property was a four-element structure. The RequestStatus class has been introduced to express it. In RFC 2445 this property could have the LANGUAGE parameter. This has been discarded in this ontology. Use xml:lang literals to express it if necessary." ;
           rdfs:domain ncal:UnionOfEventFreebusyJournalTodo ;
           rdfs:label "requestStatus" ;
-          rdfs:range ncal:RequestStatus .
+          rdfs:range ncal:RequestStatus ;
+          nrl:maxCardinality 1 .
 
     ncal:byday
           a       rdf:Property ;
@@ -946,7 +983,8 @@
           rdfs:comment "This property is used in conjunction with the \"UID\" and \"SEQUENCE\" property to identify a specific instance of a recurring \"VEVENT\", \"VTODO\" or \"VJOURNAL\" calendar component. The property value is the effective value of the \"DTSTART\" property of the recurrence instance. Inspired by the RFC 2445 sec. 4.8.4.4" ;
           rdfs:domain ncal:UnionOfEventJournalTimezoneTodo ;
           rdfs:label "recurrenceId" ;
-          rdfs:range ncal:RecurrenceIdentifier .
+          rdfs:range ncal:RecurrenceIdentifier ;
+          nrl:maxCardinality 1 .
 
     ncal:thisAndPriorRange
           a       ncal:RecurrenceIdentifierRange ;
@@ -957,7 +995,8 @@
           rdfs:comment "Beginng of a period. Inspired by the first part of a structured value of the PERIOD datatype specified in RFC 2445 sec. 4.3.9" ;
           rdfs:domain ncal:NcalPeriod ;
           rdfs:label "periodBegin" ;
-          rdfs:range xsd:dateTime .
+          rdfs:range xsd:dateTime ;
+          nrl:maxCardinality 1 .
 
     ncal:byweekno
           a       rdf:Property ;
@@ -971,14 +1010,16 @@
           rdfs:comment "This property specifies the offset which is in use prior to this time zone observance. Inspired by RFC 2445 sec. 4.8.3.3. The original domain was underspecified. It said that this property must appear within a Timezone component. In this ontology a TimezoneObservance class has been introduced to clarify this specification. The original range was UTC-OFFSET. There is no equivalent among the XSD datatypes so plain string was chosen." ;
           rdfs:domain ncal:TimezoneObservance ;
           rdfs:label "tzoffsetfrom" ;
-          rdfs:range xsd:string .
+          rdfs:range xsd:string ;
+          nrl:maxCardinality 1 .
 
     ncal:triggerDuration
           a       rdf:Property ;
           rdfs:comment "The duration of a trigger. This property has been created to express the VALUE=DURATION parameter of the TRIGGER property. See documentation for ncal:trigger for more details." ;
           rdfs:domain ncal:Trigger ;
           rdfs:label "triggerDuration" ;
-          rdfs:range xsd:duration .
+          rdfs:range xsd:duration ;
+          nrl:maxCardinality 1 .
 
     ncal:FreebusyType
           a       rdfs:Class ;
@@ -1003,14 +1044,16 @@
           rdfs:comment "This property defines the calendar scale used for the calendar information specified in the iCalendar object. Defined in RFC 2445 sec. 4.7.1" ;
           rdfs:domain ncal:Calendar ;
           rdfs:label "calscale" ;
-          rdfs:range ncal:CalendarScale .
+          rdfs:range ncal:CalendarScale ;
+          nrl:maxCardinality 1 .
 
     ncal:periodEnd
           a       rdf:Property ;
           rdfs:comment "End of a period of time. Inspired by the second part of a structured value of a PERIOD datatype specified in RFC 2445 sec. 4.3.9. Note that a single NcalPeriod instance shouldn't have the periodEnd and periodDuration properties specified simultaneously." ;
           rdfs:domain ncal:NcalPeriod ;
           rdfs:label "periodEnd" ;
-          rdfs:range xsd:dateTime .
+          rdfs:range xsd:dateTime ;
+          nrl:maxCardinality 1 .
 
     ncal:ParticipationStatus
           a       rdfs:Class ;
@@ -1054,7 +1097,8 @@
           rdfs:comment "This property specifies the offset which is in use in this time zone observance. nspired by RFC 2445 sec. 4.8.3.4. The original domain was underspecified. It said that this property must appear within a Timezone component. In this ontology a TimezoneObservance class has been introduced to clarify this specification. The original range was UTC-OFFSET. There is no equivalent among the XSD datatypes so plain string was chosen." ;
           rdfs:domain ncal:TimezoneObservance ;
           rdfs:label "tzoffsetto" ;
-          rdfs:range xsd:string .
+          rdfs:range xsd:string ;
+          nrl:maxCardinality 1 .
 
     ncal:exdate
           a       rdf:Property ;
@@ -1121,7 +1165,8 @@
           rdfs:comment "To specify the effective range of recurrence instances from the instance specified by the recurrence identifier specified by the property. It is intended to express the RANGE parameter specified in RFC 2445 sec. 4.2.13. The set of possible values for this property is limited. See also the documentation for ncal:recurrenceId for more details." ;
           rdfs:domain ncal:RecurrenceIdentifier ;
           rdfs:label "range" ;
-          rdfs:range ncal:RecurrenceIdentifierRange .
+          rdfs:range ncal:RecurrenceIdentifierRange ;
+          nrl:maxCardinality 1 .
 
     ncal:monthly
           a       ncal:RecurrenceFrequency ;
@@ -1154,14 +1199,16 @@
           rdfs:comment "Defines the overall status or confirmation for a todo. Based on the STATUS property defined in RFC 2445 sec. 4.8.1.11." ;
           rdfs:domain ncal:Todo ;
           rdfs:label "status" ;
-          rdfs:range ncal:TodoStatus .
+          rdfs:range ncal:TodoStatus ;
+          nrl:maxCardinality 1 .
 
     ncal:journalStatus
           a       rdf:Property ;
           rdfs:comment "Defines the overall status or confirmation for a journal entry. Based on the STATUS property defined in RFC 2445 sec. 4.8.1.11." ;
           rdfs:domain ncal:Journal ;
           rdfs:label "status" ;
-          rdfs:range ncal:JournalStatus .
+          rdfs:range ncal:JournalStatus ;
+          nrl:maxCardinality 1 .
 
     ncal:publicClassification
           a       ncal:AccessClassification ;
@@ -1179,7 +1226,8 @@
           rdfs:comment "This property defines the date and time that a to-do is expected to be completed. Inspired by RFC 2445 sec. 4.8.2.3" ;
           rdfs:domain ncal:Todo ;
           rdfs:label "due" ;
-          rdfs:range ncal:NcalDateTime .
+          rdfs:range ncal:NcalDateTime ;
+          nrl:maxCardinality 1 .
 
     ncal:contactAltRep
           a       rdf:Property ;
@@ -1211,7 +1259,8 @@
           rdfs:comment "The date and time of a recurrence identifier. Provided to express the actual value of the ncal:recurrenceId property. See documentation for ncal:recurrenceId for details." ;
           rdfs:domain ncal:RecurrenceIdentifier ;
           rdfs:label "recurrenceIdDateTime" ;
-          rdfs:range ncal:NcalDateTime .
+          rdfs:range ncal:NcalDateTime ;
+          nrl:maxCardinality 1 .
 
     ncal:reqParticipantRole
           a       ncal:AttendeeRole ;
@@ -1234,14 +1283,16 @@
 4.xx - Scheduling Error. This class of status code indicates that the request was not successful. Some sort of error occurred within the  calendaring and scheduling service, not directly related to the request itself.""" ;
           rdfs:domain ncal:RequestStatus ;
           rdfs:label "returnStatus" ;
-          rdfs:range xsd:string .
+          rdfs:range xsd:string ;
+          nrl:maxCardinality 1 .
 
     ncal:daylight
           a       rdf:Property ;
           rdfs:comment "Links a timezone with it's daylight observance. This property has no direct equivalent in the RFC 2445. It has been inspired by the structure of the Vtimezone component defined in sec.4.6.5" ;
           rdfs:domain ncal:Timezone ;
           rdfs:label "daylight" ;
-          rdfs:range ncal:TimezoneObservance .
+          rdfs:range ncal:TimezoneObservance ;
+          nrl:maxCardinality 1 .
 
     ncal:locationAltRep
           a       rdf:Property ;
@@ -1322,7 +1373,8 @@
           rdfs:comment "To specify an alternate inline encoding for the property value. Inspired by RFC 2445 sec. 4.2.7. Originally this property had a limited vocabulary. ('8BIT' and 'BASE64'). The terms of this vocabulary have been expressed as instances of the AttachmentEncoding class" ;
           rdfs:domain ncal:Attachment ;
           rdfs:label "encoding" ;
-          rdfs:range ncal:AttachmentEncoding .
+          rdfs:range ncal:AttachmentEncoding ;
+          nrl:maxCardinality 1 .
 
     ncal:requestStatusData
           a       rdf:Property ;
@@ -1351,7 +1403,8 @@
           rdfs:comment "This property specifies the text value that uniquely identifies the \"VTIMEZONE\" calendar component. Inspired by RFC 2445 sec 4.8.3.1" ;
           rdfs:domain ncal:Timezone ;
           rdfs:label "tzid" ;
-          rdfs:range xsd:string .
+          rdfs:range xsd:string ;
+          nrl:maxCardinality 1 .
 
     ncal:thisAndFutureRange
           a       ncal:RecurrenceIdentifierRange ;
@@ -1377,7 +1430,8 @@
           rdfs:comment "Frequency of a recurrence rule. Defined in RFC 2445 sec. 4.3.10" ;
           rdfs:domain ncal:RecurrenceRule ;
           rdfs:label "freq" ;
-          rdfs:range ncal:RecurrenceFrequency .
+          rdfs:range ncal:RecurrenceFrequency ;
+          nrl:maxCardinality 1 .
 }
 
 <http://www.semanticdesktop.org/ontologies/2007/04/02/ncal_metadata#> {<http://www.semanticdesktop.org/ontologies/2007/04/02/ncal_metadata#>
@@ -1392,9 +1446,10 @@
                   "http://www.semanticdesktop.org/ontologies/2007/04/02/ncal#"; ;
           nao:hasDefaultNamespaceAbbreviation
                   "ncal" ;
-          nao:lastModified "2008-10-05T19:45:48.109Z" ;
+          nao:lastModified "2011-06-27T07:50:48.109Z" ;
           nao:status "Unstable" ;
           nao:updatable "0 " ;
-          nao:version "Revision-8" .
+          nao:version "0.8.1" ;
+          nao:prefLabel "Nepomuk Calendar Ontology" ;
+          nao:description "The NEPOMUK Calendaring Ontology intends to provide vocabulary for describing calendaring data (events, tasks, journal entries) which is an important part of the body of information usually stored on a desktop. It is an adaptation of the ICALTZD ontology created by the W3C." .
 }
-

=== modified file 'extra/ontology/nco.trig'
--- extra/ontology/nco.trig	2011-08-02 13:50:15 +0000
+++ extra/ontology/nco.trig	2011-12-29 14:39:51 +0000
@@ -1,6 +1,7 @@
 #
 # Copyright (c) 2007 NEPOMUK Consortium
-# Copyright (c) 2009 Sebastian Trueg <trueg@xxxxxxx>
+# Copyright (c) 2009-2011 Sebastian Trueg <trueg@xxxxxxx>
+#
 # All rights reserved, licensed under either CC-BY or BSD.
 #
 # You are free:
@@ -95,7 +96,8 @@
           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:domain nco:PersonContact ;
           rdfs:label "nameFamily" ;
-          rdfs:range xsd:string .
+          rdfs:range xsd:string ;
+          nrl:maxCardinality "1" .
 
     nco:VideoTelephoneNumber
           a       rdfs:Class ;
@@ -109,7 +111,8 @@
           rdfs:domain nco:Contact ;
           rdfs:label "contactUID" ;
           rdfs:range xsd:string ;
-          rdfs:subPropertyOf nie:identifier .
+          rdfs:subPropertyOf nie:identifier ;
+          nrl:maxCardinality "1" .
 
     nco:publisher
           a       rdf:Property ;
@@ -139,7 +142,8 @@
           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:domain nco:PostalAddress ;
           rdfs:label "extendedAddress" ;
-          rdfs:range xsd:string .
+          rdfs:range xsd:string ;
+          nrl:maxCardinality "1" .
 
     nco:IMAccount
           a       rdfs:Class ;
@@ -163,7 +167,7 @@
 
     nco:creator
           a       rdf:Property ;
-          rdfs:comment "Creator of a data object, an entity primarily responsible for the creation of the content of the data object." ;
+          rdfs:comment "Creator of an information element, an entity primarily responsible for the creation of the content of the data object." ;
           rdfs:domain nie:InformationElement ;
           rdfs:label "creator" ;
           rdfs:range nco:Contact ;
@@ -174,29 +178,72 @@
           rdfs:comment "Geographical location of the contact. Inspired by the 'GEO' property specified in RFC 2426 Sec. 3.4.2" ;
           rdfs:domain nco:Contact ;
           rdfs:label "hasLocation" ;
-          rdfs:range geo:Point .
+          rdfs:range geo:Point ;
+          nrl:maxCardinality "1" .
 
     nco:phoneNumber
           a       rdf:Property ;
           rdfs:domain nco:PhoneNumber ;
           rdfs:label "phoneNumber" ;
-          rdfs:range xsd:string .
+          rdfs:range xsd:string ;
+          nrl:maxCardinality "1" .
 
     nco:nickname
           a       rdf:Property ;
-          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 "A nickname of the Object represented by this Contact. This is an equivalent of the 'NICKNAME' property as defined in RFC 2426 Sec. 3.1.3." ;
           rdfs:domain nco:Contact ;
           rdfs:label "nickname" ;
           rdfs:range xsd:string .
 
     nco:imStatus
           a       rdf:Property ;
-          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 "Current status of the given IM account. When this property is set, the nco:imStatusType should also always be set. Applications should attempt to parse this property to determine the presence, only falling back to the nco:imStatusType property in the case that this property's value is unrecognised. Values for this property may include 'available', 'offline', 'busy' etc. The exact choice of them is unspecified, although it is recommended to follow the guidance of the Telepathy project when choosing a string identifier http://telepathy.freedesktop.org/spec/Connection_Interface_Simple_Presence.html#description"; ;
           rdfs:domain nco:IMAccount ;
           rdfs:label "imStatus" ;
           rdfs:range xsd:string ;
           nrl:maxCardinality 1 .
 
+    nco:imStatusType
+          a       rdf:Property ;
+          rdfs:comment "Current status type of the given IM account. When this property is set, the nco:imStatus property should also always be set. Applications should attempt to parse the nco:imStatus property to determine the presence, only falling back to this property in the case that the nco:imStatus property's value is unrecognised." ;
+          rdfs:domain nco:IMAccount ;
+          rdfs:label "instant messaging status type" ;
+          rdfs:range nco:IMStatusType ;
+          nrl:maxCardinality 1 .
+
+    nco:IMStatusType a rdfs:Class ;
+          rdfs:label "instant messaging status type" ;
+          rdfs:comment "The status type of an IMAccount. Based on the Connection_Presence_Type enumeration of the Telepathy project: http://telepathy.freedesktop.org/spec/Connection_Interface_Simple_Presence.html#Enum:Connection_Presence_Type"; ;
+          rdfs:subClassOf rdfs:Resource .
+
+    nco:IMStatusTypeOffline
+          a nco:IMStatusType ;
+          rdfs:label "offline" .
+
+    nco:IMStatusTypeAvailable
+          a nco:IMStatusType ;
+          rdfs:label "available" .
+
+    nco:IMStatusTypeAway
+          a nco:IMStatusType ;
+          rdfs:label "away" .
+
+    nco:IMStatusTypeExtendedAway
+          a nco:IMStatusType ;
+          rdfs:label "extended away".
+
+    nco:IMStatusTypeHidden
+          a nco:IMStatusType ;
+          rdfs:label "hidden" .
+
+    nco:IMStatusTypeBusy
+          a nco:IMStatusType ;
+          rdfs:label "busy" .
+
+    nco:IMStatusTypeUnknown
+          a nco:IMStatusType ;
+          rdfs:label "unknown" .
+
     nco:containsContact
           a       rdf:Property ;
           rdfs:comment """A property used to group contacts into contact groups. This 
@@ -227,7 +274,8 @@
           rdfs:comment "The geographical location of a postal address." ;
           rdfs:domain nco:PostalAddress ;
           rdfs:label "addressLocation" ;
-          rdfs:range geo:Point .
+          rdfs:range geo:Point ;
+          nrl:maxCardinality "1" .
 
     nco:note
           a       rdf:Property ;
@@ -256,7 +304,8 @@
           rdfs:comment "The given name for the object represented by this Contact. See documentation for 'nameFamily' property for details." ;
           rdfs:domain nco:PersonContact ;
           rdfs:label "nameGiven" ;
-          rdfs:range xsd:string .
+          rdfs:range xsd:string ;
+          nrl:maxCardinality "1" .
 
     nco:PcsNumber
           a       rdfs:Class ;
@@ -302,7 +351,8 @@
           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:domain nco:PostalAddress ;
           rdfs:label "streetAddress" ;
-          rdfs:range xsd:string .
+          rdfs:range xsd:string ;
+          nrl:maxCardinality "1" .
 
     nco:OrganizationContact
           a       rdfs:Class ;
@@ -350,7 +400,7 @@
 
     nco:photo
           a       rdf:Property ;
-          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 "Photograph attached to a Contact. The DataObject referred 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:domain nco:Contact ;
           rdfs:label "photo" ;
           rdfs:range nie:DataObject ;
@@ -433,7 +483,8 @@
           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:domain nco:Affiliation ;
           rdfs:label "org" ;
-          rdfs:range nco:OrganizationContact .
+          rdfs:range nco:OrganizationContact ;
+          nrl:maxCardinality "1" .
 
     nco:PersonContact
           a       rdfs:Class ;
@@ -452,11 +503,13 @@
           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:domain nco:Affiliation ;
           rdfs:label "title" ;
-          rdfs:range xsd:string .
+          rdfs:range xsd:string ;
+          nrl:maxCardinality "1" .
 
     nco:AudioIMAccount
           a       rdfs:Class ;
-          rdfs:comment "An account in an InstantMessaging system capable of real-time audio conversations." ;
+          nao:deprecated true ;
+          rdfs:comment "Deprecated in favour of nco:imCapabilityAudio." ;
           rdfs:label "AudioIMAccount" ;
           rdfs:subClassOf nco:IMAccount .
 
@@ -465,7 +518,8 @@
           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:domain nco:VoicePhoneNumber ;
           rdfs:label "voiceMail" ;
-          rdfs:range xsd:boolean .
+          rdfs:range xsd:boolean ;
+          nrl:maxCardinality "1" .
 
     nco:PostalAddress
           a       rdfs:Class ;
@@ -506,10 +560,11 @@
 
     nco:contactMediumComment
           a       rdf:Property ;
-          rdfs:comment "A comment about the contact medium." ;
+          rdfs:comment "A comment about the contact medium. (Deprecated in favor of nie:comment or nao:description - based on the context)" ;
           rdfs:domain nco:ContactMedium ;
           rdfs:label "contactMediumComment" ;
-          rdfs:range xsd:string .
+          rdfs:range xsd:string ;
+          nao:deprecated true.
 
     nco:foafUrl
           a       rdf:Property ;
@@ -554,13 +609,14 @@
 
     nco:VideoIMAccount
           a       rdfs:Class ;
-          rdfs:comment "An account in an instant messaging system capable of video conversations." ;
+          nao:deprecated true ;
+          rdfs:comment "Deprecated in favour of nco:imCapabilityVideo." ;
           rdfs:label "VideoIMAccount" ;
           rdfs:subClassOf nco:AudioIMAccount .
 
     nco:sound
           a       rdf:Property ;
-          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 "Sound clip attached to a Contact. The DataObject referred 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:domain nco:Contact ;
           rdfs:label "sound" ;
           rdfs:range nie:DataObject ;
@@ -631,14 +687,16 @@
           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:domain nco:IMAccount ;
           rdfs:label "imAccountType" ;
-          rdfs:range xsd:string .
+          rdfs:range xsd:string ;
+          nrl:maxCardinality "1" .
 
     nco:pobox
           a       rdf:Property ;
           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:domain nco:PostalAddress ;
           rdfs:label "pobox" ;
-          rdfs:range xsd:string .
+          rdfs:range xsd:string  ;
+          nrl:maxCardinality "1".
 
     nco:hasAffiliation
           a       rdf:Property ;
@@ -660,7 +718,69 @@
           rdfs:comment "A feature common in most IM systems. A message left by the user for all his/her contacts to see." ;
           rdfs:domain nco:IMAccount ;
           rdfs:label "imStatusMessage" ;
-          rdfs:range xsd:string .
+          rdfs:range xsd:string ;
+          nrl:maxCardinality "1" .
+ 
+    nco:start
+          a rdf:Property ;
+          rdfs:comment "Start datetime for the role, such as: the datetime of joining a project or organization, datetime of starting employment, datetime of marriage" ;
+          rdfs:label "start" ;
+          rdfs:domain nco:Role ;
+          rdfs:range  xsd:dateTime ;
+          nrl:maxCardinality 1 .
+
+    nco:end
+          a rdf:Property;
+          rdfs:comment "End datetime for the role, such as: the datetime of leaving a project or organization, datetime of ending employment, datetime of divorce. If absent or set to a date in the future, the role is currently active." ;
+          rdfs:label "end" ;
+          rdfs:domain nco:Role ;
+          rdfs:range  xsd:dateTime ;
+          nrl:maxCardinality 1 .
+
+    nco:IMCapability a rdfs:Class ;
+          rdfs:label "imCapability" ;
+          rdfs:comment "Capabilities of a cetain IMAccount." ;
+          rdfs:subClassOf rdfs:Resource .
+
+    nco:imCapabilityText a nco:IMCapability .
+    nco:imCapabilityAudio a nco:IMCapability .
+    nco:imCapabilityVideo a nco:IMCapability .
+
+    nco:hasIMCapability
+          a rdf:Property ;
+          rdfs:comment "Indicates that an IMAccount has a certain capability." ;
+          rdfs:domain nco:IMAccount ;
+          rdfs:label "hasIMCapability" ;
+          rdfs:range nco:IMCapability .
+
+    nco:isAccessedBy
+        a rdf:Property ;
+        rdfs:comment "Indicates the local IMAccount by which this IMAccount is accessed. This does not imply membership of a contact list." ;
+        rdfs:label "isKnownBy" ;
+        rdfs:domain nco:IMAccount ;
+        rdfs:range nco:IMAccount .
+
+    nco:publishesPresenceTo
+          a rdf:Property ;
+          rdfs:comment "Indicates that this IMAccount publishes its presence information to the other IMAccount." ;
+          rdfs:label "publishesPresenceTo" ;
+          rdfs:domain nco:IMAccount ;
+          rdfs:range nco:IMAccount .
+
+    nco:requestedPresenceSubscriptionTo
+          a rdf:Property ;
+          rdfs:comment "Indicates that this IMAccount has requested a subscription to the presence information of the other IMAccount." ;
+          rdfs:label "requestedPresenceSubscriptionTo" ;
+          rdfs:domain nco:IMAccount ;
+          rdfs:range nco:IMAccount .
+
+    nco:isBlocked
+          a rdf:Property ;
+          rdfs:comment "Indicates that this IMAccount has been blocked." ;
+          rdfs:domain nco:IMAccount ;
+          rdfs:label "isBlocked" ;
+          rdfs:range xsd:boolean ;
+          nrl:maxCardinality "1" .
 }
 
 <http://www.semanticdesktop.org/ontologies/2007/03/22/nco_metadata#> {nco:  a       nrl:Ontology ;
@@ -669,14 +789,15 @@
                   "http://www.semanticdesktop.org/ontologies/2007/03/22/nco#"; ;
           nao:hasDefaultNamespaceAbbreviation
                   "nco" ;
-          nao:lastModified "2009-11-27T11:45:58Z" ;
+          nao:lastModified "2011-07-15T09:00:58Z" ;
           nao:status "Unstable" ;
           nao:updatable "0 " ;
-          nao:version "Revision-9" .
+          nao:version "0.8.1" ;
+          nao:prefLabel "Nepomuk Contact Ontology" ;
+          nao:description "The Nepomuk Contact Ontology describes contact information, common in many places on the desktop. It evolved from the VCARD specification (RFC 2426) and has been inspired by the Vcard Ontology by Renato Ianella. The scope of NCO is much broader though." .
 
     <http://www.semanticdesktop.org/ontologies/2007/03/22/nco_metadata#>
           a       nrl:GraphMetadata ;
           nrl:coreGraphMetadataFor
                   nco: .
 }
-

=== modified file 'extra/ontology/nfo.trig'
--- extra/ontology/nfo.trig	2011-08-02 13:50:15 +0000
+++ extra/ontology/nfo.trig	2011-12-29 14:39:51 +0000
@@ -1,5 +1,6 @@
 #
 # Copyright (c) 2007 NEPOMUK Consortium
+# Copyright (c) 2011 Sebastian Trueg <trueg@xxxxxxx>
 # All rights reserved, licensed under either CC-BY or BSD.
 #
 # You are free:
@@ -58,7 +59,8 @@
           rdfs:comment "Horizontal resolution of an image (if printed). Expressed in DPI." ;
           rdfs:domain nfo:Image ;
           rdfs:label "horizontalResolution" ;
-          rdfs:range xsd:integer .
+          rdfs:range xsd:integer ;
+          nrl:maxCardinality 1 .
 
     nfo:sampleRate
           a       rdf:Property ;
@@ -66,7 +68,8 @@
           rdfs:domain nfo:Audio ;
           rdfs:label "sampleRate" ;
           rdfs:range xsd:float ;
-          rdfs:subPropertyOf nfo:rate .
+          rdfs:subPropertyOf nfo:rate ;
+          nrl:maxCardinality 1 .
 
     nfo:HardDiskPartition
           a       rdfs:Class ;
@@ -76,6 +79,7 @@
 
     nfo:fileName
           a       rdf:Property ;
+          rdfs:subPropertyOf nao:prefLabel ;
           rdfs:comment "Name of the file, together with the extension" ;
           rdfs:domain nfo:FileDataObject ;
           rdfs:label "fileName" ;
@@ -105,14 +109,16 @@
           rdfs:comment "Name of the algorithm used to compute the hash value. Examples might include CRC32, MD5, SHA, TTH etc." ;
           rdfs:domain nfo:FileHash ;
           rdfs:label "hashAlgorithm" ;
-          rdfs:range xsd:string .
+          rdfs:range xsd:string ;
+          nrl:maxCardinality 1 .
 
     nfo:commentCharacterCount
           a       rdf:Property ;
           rdfs:comment "The amount of character in comments i.e. characters ignored by the compiler/interpreter." ;
           rdfs:domain nfo:SourceCode ;
           rdfs:label "commentCharacterCount" ;
-          rdfs:range xsd:integer .
+          rdfs:range xsd:integer ;
+          nrl:maxCardinality 1 .
 
     nfo:PlainTextDocument
           a       rdfs:Class ;
@@ -126,7 +132,8 @@
           rdfs:domain nfo:Font ;
           rdfs:label "foundry" ;
           rdfs:range nco:Contact ;
-          rdfs:subPropertyOf nco:creator .
+          rdfs:subPropertyOf nco:creator ;
+          nrl:maxCardinality 1 .
 
     nfo:losslessCompressionType
           a       nfo:CompressionType ;
@@ -137,21 +144,24 @@
           rdfs:comment "Number of side channels" ;
           rdfs:label "sideChannels" ;
           rdfs:range xsd:integer ;
-          rdfs:subPropertyOf nfo:channels .
+          rdfs:subPropertyOf nfo:channels ;
+          nrl:maxCardinality 1 .
 
     nfo:interlaceMode
           a       rdf:Property ;
           rdfs:comment "True if the image is interlaced, false if not." ;
           rdfs:domain nfo:Visual ;
           rdfs:label "interlaceMode" ;
-          rdfs:range xsd:boolean .
+          rdfs:range xsd:boolean ;
+          nrl:maxCardinality 1 .
 
     nfo:width
           a       rdf:Property ;
           rdfs:comment "Visual content width in pixels." ;
           rdfs:domain nfo:Visual ;
           rdfs:label "width" ;
-          rdfs:range xsd:integer .
+          rdfs:range xsd:integer ;
+          nrl:maxCardinality 1 .
 
     nfo:frameCount
           a       rdf:Property ;
@@ -159,7 +169,8 @@
           rdfs:domain nfo:Video ;
           rdfs:label "frameCount" ;
           rdfs:range xsd:integer ;
-          rdfs:subPropertyOf nfo:count .
+          rdfs:subPropertyOf nfo:count ;
+          nrl:maxCardinality 1 .
 
     nfo:MediaFileListEntry
           a       rdfs:Class ;
@@ -169,10 +180,50 @@
 
     nfo:Filesystem
           a       rdfs:Class ;
-          rdfs:comment "A filesystem. Examples of filesystems include hard disk partitions, removable media, but also images thereof stored in files." ;
+          rdfs:comment "A filesystem. Examples of filesystems include hard disk partitions, removable media, but also images thereof stored in files such as ISO." ;
           rdfs:label "Filesystem" ;
           rdfs:subClassOf nfo:DataContainer .
 
+    nfo:filesystemType
+          a       rdf:Property ;
+          rdfs:comment "Type of filesystem such as ext3 and ntfs." ;
+          rdfs:domain nfo:Filesystem ;
+          rdfs:range xsd:string ;
+          rdfs:label "filesystemType" ;
+          nrl:maxCardinality 1 .
+
+    nfo:totalSpace
+          a       rdf:Property ;
+          rdfs:comment "Total storage space of the filesystem, which can be different from nie:contentSize because the latter includes filesystem format overhead." ;
+          rdfs:domain nfo:Filesystem ;
+          rdfs:range xsd:integer ;
+          rdfs:label "totalSpace" ;
+          nrl:maxCardinality 1 .
+
+    nfo:freeSpace
+          a       rdf:Property ;
+          rdfs:comment "Unoccupied storage space of the filesystem." ;
+          rdfs:domain nfo:Filesystem ;
+          rdfs:range xsd:integer ;
+          rdfs:label "freeSpace" ;
+          nrl:maxCardinality 1 .
+
+    nfo:occupiedSpace
+          a       rdf:Property ;
+          rdfs:comment "Occupied storage space of the filesystem." ;
+          rdfs:domain nfo:Filesystem ;
+          rdfs:range xsd:integer ;
+          rdfs:label "occupiedSpace" ;
+          nrl:maxCardinality 1 .
+
+    nfo:uuid
+          a       rdf:Property ;
+          rdfs:subPropertyOf nie:identifier ;
+          rdfs:comment "Universally unique identifier of the filesystem. In the future, this property may have its parent changed to a more generic class." ;
+          rdfs:domain nfo:Filesystem ;
+          rdfs:range xsd:string ;
+          rdfs:label "uuid" .
+
     nfo:definesFunction
           a       rdf:Property ;
           rdfs:comment "A name of a function/method defined in the given source code file." ;
@@ -191,14 +242,16 @@
           rdfs:comment "A string containing the permissions of a file. A feature common in many UNIX-like operating systems." ;
           rdfs:domain nfo:FileDataObject ;
           rdfs:label "permissions" ;
-          rdfs:range xsd:string .
+          rdfs:range xsd:string ;
+          nrl:maxCardinality 1 .
 
     nfo:lineCount
           a       rdf:Property ;
           rdfs:comment "The amount of lines in a text document" ;
           rdfs:domain nfo:TextDocument ;
           rdfs:label "lineCount" ;
-          rdfs:range xsd:integer .
+          rdfs:range xsd:integer ;
+          nrl:maxCardinality 1 .
 
     nfo:SoftwareItem
           a       rdfs:Class ;
@@ -217,7 +270,8 @@
           rdfs:comment "The amount of words in a text document." ;
           rdfs:domain nfo:TextDocument ;
           rdfs:label "wordCount" ;
-          rdfs:range xsd:integer .
+          rdfs:range xsd:integer ;
+          nrl:maxCardinality 1 .
 
     nfo:bookmarks
           a       rdf:Property ;
@@ -225,7 +279,32 @@
           rdfs:domain nfo:Bookmark ;
           rdfs:label "link" ;
           rdfs:range nie:DataObject ;
-          rdfs:subPropertyOf nie:links .
+          rdfs:subPropertyOf nie:links ;
+          nrl:cardinality 1 .
+
+    nfo:characterPosition
+          a       rdf:Property ;
+          rdfs:comment "Character position of the bookmark." ;
+          rdfs:domain nfo:Bookmark ;
+          rdfs:label "characterPosition" ;
+          rdfs:range xsd:integer ;
+          nrl:maxCardinality 1 .
+
+    nfo:pageNumber
+          a       rdf:Property ;
+          rdfs:comment "Page linked by the bookmark." ;
+          rdfs:domain nfo:Bookmark ;
+          rdfs:label "pageNumber" ;
+          rdfs:range xsd:integer ;
+          nrl:maxCardinality 1 .
+
+    nfo:streamPosition
+          a       rdf:Property ;
+          rdfs:comment "Stream position of the bookmark, suitable for e.g. audio books. Expressed in milliseconds" ;
+          rdfs:domain nfo:Bookmark ;
+          rdfs:label "streamPosition" ;
+          rdfs:range xsd:integer ;
+          nrl:maxCardinality 1 .
 
     nfo:RemotePortAddress
           a       rdfs:Class ;
@@ -256,7 +335,8 @@
           rdfs:comment "The amount of characters in the document." ;
           rdfs:domain nfo:TextDocument ;
           rdfs:label "characterCount" ;
-          rdfs:range xsd:integer .
+          rdfs:range xsd:integer ;
+          nrl:maxCardinality 1 .
 
     nfo:fileLastAccessed
           a       rdf:Property ;
@@ -264,7 +344,8 @@
           rdfs:domain nfo:FileDataObject ;
           rdfs:label "fileLastAccessed" ;
           rdfs:range xsd:dateTime ;
-          rdfs:subPropertyOf dc:date .
+          rdfs:subPropertyOf dc:date ;
+          nrl:maxCardinality 1 .
 
     nfo:supercedes
           a       rdf:Property ;
@@ -298,7 +379,8 @@
           rdfs:domain nfo:Audio ;
           rdfs:label "sampleCount" ;
           rdfs:range xsd:integer ;
-          rdfs:subPropertyOf nfo:count .
+          rdfs:subPropertyOf nfo:count ;
+          nrl:maxCardinality 1 .
 
     nfo:Image
           a       rdfs:Class ;
@@ -311,18 +393,21 @@
           rdfs:comment "Visual content height in pixels." ;
           rdfs:domain nfo:Visual ;
           rdfs:label "height" ;
-          rdfs:range xsd:integer .
+          rdfs:range xsd:integer ;
+          nrl:maxCardinality 1 .
 
     nfo:frontChannels
           a       rdf:Property ;
           rdfs:comment "Number of front channels." ;
           rdfs:label "frontChannels" ;
           rdfs:range xsd:integer ;
-          rdfs:subPropertyOf nfo:channels .
+          rdfs:subPropertyOf nfo:channels ;
+          nrl:maxCardinality 1 .
 
     nfo:FilesystemImage
           a       rdfs:Class ;
-          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)" ;
+          nao:deprecated true ;
+          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). Deprecated in favor of nfo:Filesystem." ;
           rdfs:label "FilesystemImage" ;
           rdfs:subClassOf nfo:Filesystem .
 
@@ -343,7 +428,8 @@
           rdfs:comment "Number of rear channels." ;
           rdfs:label "rearChannels" ;
           rdfs:range xsd:integer ;
-          rdfs:subPropertyOf nfo:channels .
+          rdfs:subPropertyOf nfo:channels ;
+          nrl:maxCardinality 1 .
 
     nfo:bitsPerSample
           a       rdf:Property ;
@@ -351,7 +437,8 @@
           rdfs:domain nfo:Audio ;
           rdfs:label "bitsPerSample" ;
           rdfs:range xsd:integer ;
-          rdfs:subPropertyOf nfo:bitDepth .
+          rdfs:subPropertyOf nfo:bitDepth ;
+          nrl:maxCardinality 1 .
 
     nfo:HtmlDocument
           a       rdfs:Class ;
@@ -376,14 +463,16 @@
           rdfs:comment "Duration of a media piece." ;
           rdfs:domain nfo:Media ;
           rdfs:label "duration" ;
-          rdfs:range xsd:duration .
+          rdfs:range xsd:duration ;
+          nrl:maxCardinality 1 .
 
     nfo:lfeChannels
           a       rdf:Property ;
           rdfs:comment "Number of Low Frequency Expansion (subwoofer) channels." ;
           rdfs:label "lfeChannels" ;
           rdfs:range xsd:integer ;
-          rdfs:subPropertyOf nfo:channels .
+          rdfs:subPropertyOf nfo:channels ;
+          nrl:maxCardinality 1 .
 
     nfo:Video
           a       rdfs:Class ;
@@ -410,14 +499,16 @@
           rdfs:comment "States if a given resource is password-protected." ;
           rdfs:domain nfo:ArchiveItem ;
           rdfs:label "isPasswordProtected" ;
-          rdfs:range xsd:boolean .
+          rdfs:range xsd:boolean ;
+          nrl:maxCardinality 1 .
 
     nfo:hashValue
           a       rdf:Property ;
           rdfs:comment "The actual value of the hash." ;
           rdfs:domain nfo:FileHash ;
           rdfs:label "hashValue" ;
-          rdfs:range xsd:string .
+          rdfs:range xsd:string ;
+          nrl:cardinality 1 .
 
     nfo:Document
           a       rdfs:Class ;
@@ -428,7 +519,7 @@
     nfo:FileDataObject
           a       rdfs:Class ;
           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:label "File" ;
+          rdfs:label "file" ;
           rdfs:subClassOf nie:DataObject .
 
     nfo:encryptedStatus
@@ -446,14 +537,16 @@
           rdfs:comment "Uncompressed size of the content of a compressed file." ;
           rdfs:domain nfo:Archive ;
           rdfs:label "uncompressedSize" ;
-          rdfs:range xsd:integer .
+          rdfs:range xsd:integer ;
+          nrl:maxCardinality 1 .
 
     nfo:deletionDate
           a       rdf:Property ;
           rdfs:comment "The date and time of the deletion." ;
           rdfs:domain nfo:DeletedResource ;
           rdfs:label "deletionDate" ;
-          rdfs:range xsd:dateTime .
+          rdfs:range xsd:dateTime ;
+          nrl:maxCardinality 1 .
 
     nfo:MindMap
           a       rdfs:Class ;
@@ -463,7 +556,7 @@
 
     nfo:SoftwareService
           a       rdfs:Class ;
-          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 "A service published by a piece of software, either by an operating system or an application. Examples of such services may include calendar, addressbook 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:label "SoftwareService" ;
           rdfs:subClassOf nie:DataObject .
 
@@ -476,7 +569,8 @@
           rdfs:comment "The original location of the deleted resource." ;
           rdfs:domain nfo:DeletedResource ;
           rdfs:label "originalLocation" ;
-          rdfs:range xsd:string .
+          rdfs:range xsd:string ;
+          nrl:maxCardinality 1 .
 
     nfo:Website
           a       rdfs:Class ;
@@ -519,7 +613,8 @@
           rdfs:comment "Number of channels. This property is to be used directly if no detailed information is necessary. Otherwise use more detailed subproperties." ;
           rdfs:domain nfo:Audio ;
           rdfs:label "channels" ;
-          rdfs:range xsd:integer .
+          rdfs:range xsd:integer ;
+          nrl:maxCardinality 1 .
 
     nfo:colorDepth
           a       rdf:Property ;
@@ -527,7 +622,8 @@
           rdfs:domain nfo:Visual ;
           rdfs:label "colorDepth" ;
           rdfs:range xsd:integer ;
-          rdfs:subPropertyOf nfo:bitDepth .
+          rdfs:subPropertyOf nfo:bitDepth ;
+          nrl:maxCardinality 1 .
 
     nfo:Font
           a       rdfs:Class ;
@@ -541,7 +637,8 @@
           rdfs:domain nfo:Media ;
           rdfs:label "averageBitrate" ;
           rdfs:range xsd:float ;
-          rdfs:subPropertyOf nfo:rate .
+          rdfs:subPropertyOf nfo:rate ;
+          nrl:maxCardinality 1 .
 
     nfo:Icon
           a       rdfs:Class ;
@@ -554,21 +651,24 @@
           rdfs:comment "The owner of the file as defined by the file system access rights feature." ;
           rdfs:domain nfo:FileDataObject ;
           rdfs:label "fileOwner" ;
-          rdfs:range nco:Contact .
+          rdfs:range nco:Contact ;
+          nrl:maxCardinality 1 .
 
     nfo:aspectRatio
           a       rdf:Property ;
           rdfs:comment "Visual content aspect ratio. (Width divided by Height)" ;
           rdfs:domain nfo:Visual ;
           rdfs:label "aspectRatio" ;
-          rdfs:range xsd:float .
+          rdfs:range xsd:float ;
+          nrl:maxCardinality 1 .
 
     nfo:bitDepth
           a       rdf:Property ;
           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:domain nfo:Media ;
           rdfs:label "bitDepth" ;
-          rdfs:range rdfs:Literal .
+          rdfs:range rdfs:Literal ;
+          nrl:maxCardinality 1 .
 
     nfo:containsBookmarkFolder
           a       rdf:Property ;
@@ -591,7 +691,8 @@
           rdfs:comment "Vertical resolution of an Image (if printed). Expressed in DPI" ;
           rdfs:domain nfo:Image ;
           rdfs:label "verticalResolution" ;
-          rdfs:range xsd:integer .
+          rdfs:range xsd:integer ;
+          nrl:maxCardinality 1 .
 
     nfo:fileUrl
           a       rdf:Property ;
@@ -615,14 +716,16 @@
           rdfs:domain nfo:Video ;
           rdfs:label "frameRate" ;
           rdfs:range xsd:float ;
-          rdfs:subPropertyOf nfo:rate .
+          rdfs:subPropertyOf nfo:rate ;
+          nrl:maxCardinality 1 .
 
     nfo:fontFamily
           a       rdf:Property ;
           rdfs:comment "The name of the font family." ;
           rdfs:domain nfo:Font ;
           rdfs:label "fontFamily" ;
-          rdfs:range xsd:string .
+          rdfs:range xsd:string ;
+          nrl:maxCardinality 1 .
 
     nfo:EmbeddedFileDataObject
           a       rdfs:Class ;
@@ -636,21 +739,24 @@
           rdfs:domain nfo:FileDataObject ;
           rdfs:label "fileCreated" ;
           rdfs:range xsd:dateTime ;
-          rdfs:subPropertyOf nie:created .
+          rdfs:subPropertyOf nie:created ;
+          nrl:maxCardinality 1 .
 
     nfo:bitrateType
           a       rdf:Property ;
           rdfs:comment "The type of the bitrate. Examples may include CBR and VBR." ;
           rdfs:domain nfo:Media ;
           rdfs:label "bitrateType" ;
-          rdfs:range xsd:string .
+          rdfs:range xsd:string ;
+          nrl:maxCardinality 1 .
 
     nfo:encoding
           a       rdf:Property ;
           rdfs:comment "The encoding used for the Embedded File. Examples might include BASE64 or UUEncode" ;
           rdfs:domain nfo:EmbeddedFileDataObject ;
           rdfs:label "encoding" ;
-          rdfs:range xsd:string .
+          rdfs:range xsd:string ;
+          nrl:maxCardinality 1 .
 
     nfo:Folder
           a       rdfs:Class ;
@@ -674,7 +780,7 @@
 
     nfo:fileLastModified
           a       rdf:Property ;
-	  nao:deprecated true;
+	  nao:deprecated true ;
           rdfs:comment "last modification date" ;
           rdfs:domain nfo:FileDataObject ;
           rdfs:label "fileLastModified" ;
@@ -686,14 +792,16 @@
           rdfs:comment "The type of the compression. Values include, 'lossy' and 'lossless'." ;
           rdfs:domain nfo:Media ;
           rdfs:label "compressionType" ;
-          rdfs:range nfo:CompressionType .
+          rdfs:range nfo:CompressionType ;
+          nrl:maxCardinality 1 .
 
     nfo:pageCount
           a       rdf:Property ;
           rdfs:comment "Number of pages." ;
           rdfs:domain nfo:PaginatedTextDocument ;
           rdfs:label "pageCount" ;
-          rdfs:range xsd:integer .
+          rdfs:range xsd:integer ;
+          nrl:maxCardinality 1 .
 
     nfo:RasterImage
           a       rdfs:Class ;
@@ -732,7 +840,8 @@
           rdfs:comment "The status of the encryption of the InformationElement." ;
           rdfs:domain nie:InformationElement ;
           rdfs:label "encryptionStatus" ;
-          rdfs:range nfo:EncryptionStatus .
+          rdfs:range nfo:EncryptionStatus ;
+          nrl:maxCardinality 1 .
 
     nfo:containsBookmark
           a       rdf:Property ;
@@ -759,7 +868,8 @@
           a       rdfs:Class ;
           rdfs:comment "A piece of software. Examples may include applications and the operating system. This interpretation most commonly applies to SoftwareItems." ;
           rdfs:label "Software" ;
-          rdfs:subClassOf nie:InformationElement .
+          rdfs:subClassOf nie:InformationElement ;
+          rdfs:subClassOf nao:Agent .
 
     nfo:lossyCompressionType
           a       nfo:CompressionType ;
@@ -795,13 +905,35 @@
           rdfs:domain nfo:FileDataObject ;
           rdfs:label "fileSize" ;
           rdfs:range xsd:integer ;
-          rdfs:subPropertyOf nie:byteSize .
+          rdfs:subPropertyOf nie:byteSize ;
+          nrl:maxCardinality 1 .
 
     nfo:RemoteDataObject
           a       rdfs:Class ;
           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:label "RemoteDataObject" ;
           rdfs:subClassOf nfo:FileDataObject .
+
+    nfo:colorCount
+          a rdf:Property ;
+          rdfs:label "color count" ;
+          rdfs:comment "The number of colors used/available in a raster image." ;
+          rdfs:domain nfo:RasterImage ;
+          rdfs:range xsd:integer ;
+          nrl:maxCardinality 1 .
+
+    nfo:paletteSize
+          a rdf:Property ;
+          rdfs:label "palette size" ;
+          rdfs:comment "The number of colors defined in palette of the raster image." ;
+          rdfs:domain nfo:RasterImage ;
+          rdfs:range xsd:integer ;
+          nrl:maxCardinality 1 .
+
+    nfo:WebDataObject a rdfs:Class ;
+          rdfs:subClassOf nie:DataObject ;
+          rdfs:label "web data object" ;
+          rdfs:comment "An information resources of which representations (files, streams) can be retrieved through a web server. They may be generated at retrieval time. Typical examples are pages served by PHP or AJAX or mp3 streams." .
 }
 
 <http://www.semanticdesktop.org/ontologies/2007/03/22/nfo_metadata#> {nfo:  a       nrl:Ontology ;
@@ -810,10 +942,12 @@
                   "http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#"; ;
           nao:hasDefaultNamespaceAbbreviation
                   "nfo" ;
-          nao:lastModified "2009-07-20T14:59:09.500Z" ;
+          nao:lastModified "2011-08-22T12:26:40.500Z" ;
           nao:status "Unstable" ;
           nao:updatable "0 " ;
-          nao:version "Revision-9" .
+          nao:version "0.8.1" ;
+          nao:prefLabel "Nepomuk File Ontology" ;
+          nao:description "The Nepomuk File Ontology provides vocabulary to express information extracted from various sources. They include files, pieces of software and remote hosts." .
 
     <http://www.semanticdesktop.org/ontologies/2007/03/22/nfo_metadata#>
           a       nrl:GraphMetadata ;

=== modified file 'extra/ontology/nie.trig'
--- extra/ontology/nie.trig	2011-08-02 13:50:15 +0000
+++ extra/ontology/nie.trig	2011-12-29 14:39:51 +0000
@@ -1,5 +1,6 @@
 #
 # Copyright (c) 2007 NEPOMUK Consortium
+# Copyright (c) 2010-2011 Sebastian Trueg <trueg@xxxxxxx>
 # All rights reserved, licensed under either CC-BY or BSD.
 #
 # You are free:
@@ -58,7 +59,8 @@
           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:domain nie:InformationElement ;
           rdfs:label "characterSet" ;
-          rdfs:range xsd:string .
+          rdfs:range xsd:string ;
+          nrl:maxCardinality "1" .
 
     nie:rootElementOf
           a       rdf:Property ;
@@ -97,7 +99,8 @@
           rdfs:domain nie:InformationElement ;
           rdfs:label "language" ;
           rdfs:range xsd:string ;
-          rdfs:subPropertyOf dc:language .
+          rdfs:subPropertyOf dc:language ;
+          nrl:maxCardinality "1" .
 
     nie:copyright
           a       rdf:Property ;
@@ -106,13 +109,21 @@
           rdfs:range xsd:string ;
           rdfs:subPropertyOf nie:legal , dcterms:accessRights .
 
+    nie:modified
+          a       rdf:Property ;
+          rdfs:comment "Date the DataObject was changed in any way.  Note that this date refers to the modification of the DataObject itself (i.e. the physical representation). Compare with nie:contentModified." ;
+          rdfs:domain nie:DataObject ;
+          rdfs:label "modified" ;
+          rdfs:range xsd:dateTime .
+
     nie:created
           a       rdf:Property ;
           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:domain nie:DataObject ;
           rdfs:label "created" ;
           rdfs:range xsd:dateTime ;
-          rdfs:subPropertyOf dcterms:created, nao:created .
+          rdfs:subPropertyOf dcterms:created, nao:created, nie:modified ;
+          nrl:maxCardinality "1" .
 
     nie:lastModified
           a       rdf:Property ;
@@ -120,14 +131,16 @@
           rdfs:domain nie:DataObject ;
           rdfs:label "lastModified" ;
           rdfs:range xsd:dateTime ;
-          rdfs:subPropertyOf dc:date, nao:lastModified .
+          rdfs:subPropertyOf dc:date, nao:lastModified, nie:modified ;
+          nrl:maxCardinality "1" .
 
     nie:mimeType
           a       rdf:Property ;
           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:domain nie:InformationElement ;
           rdfs:label "mimeType" ;
-          rdfs:range xsd:string .
+          rdfs:range xsd:string ;
+          nrl:maxCardinality "1" .
 
     nie:version
           a       rdf:Property ;
@@ -173,7 +186,7 @@
           rdfs:range xsd:string .
 
     nie:isPartOf
-          a       rdf:Property ;
+          a       rdf:Property, nrl:FunctionalProperty ;
           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:domain nie:DataObject ;
           rdfs:label "isPartOf" ;
@@ -208,7 +221,7 @@
           rdfs:domain nie:InformationElement ;
           rdfs:label "contentCreated" ;
           rdfs:range xsd:dateTime ;
-          rdfs:subPropertyOf nie:informationElementDate, nao:created ;
+          rdfs:subPropertyOf nie:informationElementDate, nao:created, nie:contentModified ;
           nrl:maxCardinality "1" .
 
     nie:title
@@ -217,7 +230,8 @@
           rdfs:domain nie:InformationElement ;
           rdfs:label "title" ;
           rdfs:range xsd:string ;
-          rdfs:subPropertyOf dc:title, nao:prefLabel .
+          rdfs:subPropertyOf dc:title, nao:prefLabel ;
+          nrl:maxCardinality "1" .
 
     nie:lastRefreshed
           a       rdf:Property ;
@@ -250,13 +264,20 @@
           rdfs:range nie:DataObject ;
           rdfs:subPropertyOf nie:relatedTo .
 
+    nie:contentModified
+          a       rdf:Property ;
+          rdfs:comment "The date of a modification of the original content (not its corresponding DataObject or local copy). Compare with nie:modified." ;
+          rdfs:domain nie:InformationElement ;
+          rdfs:label "modified" ;
+          rdfs:range xsd:dateTime .
+
     nie:contentLastModified
           a       rdf:Property ;
           rdfs:comment "The date of the last modification of the original content (not its corresponding DataObject or local copy). Compare with nie:lastModified." ;
           rdfs:domain nie:InformationElement ;
           rdfs:label "contentLastModified" ;
           rdfs:range xsd:dateTime ;
-          rdfs:subPropertyOf nie:informationElementDate, nao:lastModified ;
+          rdfs:subPropertyOf nie:informationElementDate, nao:lastModified, nie:contentModified ;
           nrl:maxCardinality "1" .
 
     nie:keyword
@@ -288,7 +309,16 @@
           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:domain nie:InformationElement ;
           rdfs:label "plainTextContent" ;
-          rdfs:range xsd:string .
+          rdfs:range xsd:string ;
+          nrl:maxCardinality "1" .
+
+    nie:htmlContent
+          a       rdf:Property ;
+          rdfs:comment "The HTML content of an information element. This property can be used to store text including formatting in a generic fashion." ;
+          rdfs:domain nie:InformationElement ;
+          rdfs:label "html content" ;
+          rdfs:range xsd:string ;
+          nrl:maxCardinality "1" .
 
     nie:comment
           a       rdf:Property ;
@@ -310,7 +340,8 @@
           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:domain nie:InformationElement ;
           rdfs:label "contentSize" ;
-          rdfs:range xsd:integer .
+          rdfs:range xsd:integer ;
+          nrl:maxCardinality "1" .
 
     nie:license
           a       rdf:Property ;
@@ -329,13 +360,14 @@
 
     nie:coreGraph
           a       rdf:Property ;
-          rdfs:comment "Connects the data object with the graph that contains information about it." ;
+          nao:deprecated true ;
+          rdfs:comment "Connects the data object with the graph that contains information about it. Deprecated in favor of a more generic nao:isDataGraphFor." ;
           rdfs:domain nie:DataObject ;
           rdfs:label "coreGraph" ;
           rdfs:range nrl:InstanceBase .
 
     nie:hasPart
-          a       rdf:Property ;
+          a       rdf:Property, nrl:InverseFunctionalProperty ;
           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:domain nie:InformationElement ;
           rdfs:label "hasPart" ;
@@ -372,7 +404,8 @@
           rdfs:comment "URL of a DataObject. It points to the location of the object. A typial usage is FileDataObject. 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:domain nie:DataObject ;
           rdfs:label "url" ;
-          rdfs:range rdfs:Resource .
+          rdfs:range rdfs:Resource ;
+          nrl:maxCardinality "1" .
 }
 
 <http://www.semanticdesktop.org/ontologies/2007/01/19/nie_metadata#> {nie:  a       nrl:Ontology ;
@@ -381,14 +414,15 @@
                   "http://www.semanticdesktop.org/ontologies/2007/01/19/nie#"; ;
           nao:hasDefaultNamespaceAbbreviation
                   "nie" ;
-          nao:lastModified "2009-11-12T07:45:58Z" ;
+          nao:lastModified "2011-06-05T10:36:58Z" ;
           nao:status "Unstable" ;
           nao:updatable "0 " ;
-          nao:version "Revision-9" .
+          nao:version "0.8.1" ;
+          nao:prefLabel "Nepomuk Information Element Ontology" ;
+          nao:description "The Nepomuk Information Element Framework provides unified vocabulary for describing native resources available on the desktop. NIE itself contains of classes and properties that comprise the core part of the framework." .
 
     <http://www.semanticdesktop.org/ontologies/2007/01/19/nie_metadata#>
           a       nrl:GraphMetadata ;
           nrl:coreGraphMetadataFor
                   nie: .
 }
-

=== modified file 'extra/ontology/nmm.trig'
--- extra/ontology/nmm.trig	2011-08-02 13:50:15 +0000
+++ extra/ontology/nmm.trig	2011-12-29 14:39:51 +0000
@@ -1,6 +1,6 @@
 #
 # Copyright (c) 2009-2010 Evgeny Egorochkin <phreedom.stdin@xxxxxxxxx>
-# Copyright (c) 2010 Sebastian Trueg <trueg@xxxxxxx>
+# Copyright (c) 2010-2011 Sebastian Trueg <trueg@xxxxxxx>
 # Copyright (c) 2010 Andrew Lake <jamboarder@xxxxxxxxx>
 # All rights reserved, licensed under either CC-BY or BSD.
 #
@@ -49,7 +49,7 @@
 
     nmm:MusicPiece
     a rdfs:Class ;
-    rdfs:subClassOf nfo:Media ;
+    rdfs:subClassOf nfo:Audio ;
     rdfs:label "music" ;
     rdfs:comment "Used to assign music-specific properties such a BPM to video and audio" .
 
@@ -98,7 +98,8 @@
     rdfs:label "track number" ;
     rdfs:comment "Track number of the music in its album" ;
     rdfs:domain nmm:MusicPiece ;
-    rdfs:range xsd:integer .
+    rdfs:range xsd:integer ;
+    nrl:maxCardinality 1 .
 
     nmm:musicBrainzTrackID
     a rdf:Property ;
@@ -106,19 +107,24 @@
     rdfs:label "musicbrainz track ID" ;
     rdfs:comment "MusicBrainz track ID" ;
     rdfs:domain nmm:MusicPiece ;
-    rdfs:range xsd:integer .
+    rdfs:range xsd:integer ;
+    nrl:maxCardinality 1 .
 
     nmm:trackGain
     a rdf:Property ;
     rdfs:label "track gain" ;
     rdfs:comment "ReplayGain track gain" ;
-    rdfs:domain nmm:MusicPiece .
+    rdfs:domain nmm:MusicPiece ;
+    rdfs:range xsd:float ;
+    nrl:maxCardinality 1 .
 
     nmm:trackPeakGain
     a rdf:Property ;
     rdfs:label "track peak gain" ;
     rdfs:comment "ReplayGain track peak gain" ;
-    rdfs:domain nmm:MusicPiece .
+    rdfs:domain nmm:MusicPiece ;
+    rdfs:range xsd:float ;
+    nrl:maxCardinality 1 .
 
 
     nmm:MusicAlbum
@@ -141,7 +147,8 @@
     rdfs:label "international standard recording code" ;
     rdfs:comment "ISRC ID. Format: 'CC-XXX-YY-NNNNN'" ;
     rdfs:domain nmm:MusicAlbum ;
-    rdfs:range xsd:string .
+    rdfs:range xsd:string ;
+    nrl:maxCardinality 1 .
 
     nmm:musicBrainzAlbumID
     a rdf:Property ;
@@ -149,19 +156,24 @@
     rdfs:label "musicbrainz album ID" ;
     rdfs:comment "MusicBrainz album ID" ;
     rdfs:domain nmm:MusicAlbum ;
-    rdfs:range xsd:string .
+    rdfs:range xsd:string ;
+    nrl:maxCardinality 1 .
 
     nmm:albumGain
     a rdf:Property ;
     rdfs:label "album gain" ;
     rdfs:comment "ReplayGain album(audiophile) gain" ;
-    rdfs:domain nmm:MusicAlbum .
+    rdfs:domain nmm:MusicAlbum ;
+    rdfs:range xsd:float ;
+    nrl:maxCardinality 1 .
 
     nmm:albumPeakGain
     a rdf:Property ;
     rdfs:label "album peak gain" ;
     rdfs:comment "ReplayGain album(audiophile) peak gain" ;
-    rdfs:domain nmm:MusicAlbum .
+    rdfs:domain nmm:MusicAlbum ;
+    rdfs:range xsd:float ;
+    nrl:maxCardinality 1 .
     
     nmm:genre 
     a rdf:Property ;
@@ -293,7 +305,32 @@
     rdfs:label "release date" ;
     rdfs:comment "The date the media was released." ;
     rdfs:domain nfo:Media ;
-    rdfs:range xsd:dateTime .
+    rdfs:range xsd:dateTime ;
+    nrl:maxCardinality 1 .
+
+    nmm:albumTrackCount
+    a rdf:Property ;
+    rdfs:label "album track count" ;
+    rdfs:comment "The number of tracks in a music album." ;
+    rdfs:domain nmm:MusicAlbum ;
+    rdfs:range xsd:integer ;
+    nrl:maxCardinality 1 .
+
+    nmm:setNumber
+    a rdf:Property ;
+    rdfs:label "set number" ;
+    rdfs:comment "The part of a set the audio came from." ;
+    rdfs:domain nmm:MusicPiece ;
+    rdfs:range xsd:integer ;
+    nrl:maxCardinality 1 .
+
+    nmm:setSize
+    a rdf:Property ;
+    rdfs:label "set size" ;
+    rdfs:comment "The number of parts in the set." ;
+    rdfs:domain nmm:MusicAlbum ;
+    rdfs:range xsd:integer ;
+    nrl:maxCardinality 1 .
 }
 
 <http://www.semanticdesktop.org/ontologies/2009/02/19/nmm/metadata>
@@ -302,11 +339,13 @@
           a       nrl:DocumentGraph , nrl:Ontology ;
           nao:hasDefaultNamespace "http://www.semanticdesktop.org/ontologies/2009/02/19/nmm#"; ;
           nao:hasDefaultNamespaceAbbreviation "nmm" ;
-          nao:lastModified "2010-02-15T08:34:29" ;
+          nao:lastModified "2011-11-25T15:05:29" ;
           nao:serializationLanguage "TriG" ;
           nao:status "Testing" ;
           nrl:updatable "0" ;
-          nao:version "2" .
+          nao:version "0.8.1" ;
+          nao:prefLabel "Nepomuk Multimedia Ontology" ;
+          nao:description "The Nepomuk Multimedia Ontology defines metadata properties and classes for multimedia files." .
 
     <http://www.semanticdesktop.org/ontologies/2009/02/19/nmm/metadata>
           a       nrl:GraphMetadata , nrl:DocumentGraph ;

=== modified file 'extra/ontology/nmo.trig'
--- extra/ontology/nmo.trig	2011-08-02 13:50:15 +0000
+++ extra/ontology/nmo.trig	2011-12-29 14:39:51 +0000
@@ -1,6 +1,6 @@
 #
 # Copyright (c) 2007 NEPOMUK Consortium
-# Copyright (c) 2009 Sebastian Trueg <trueg@xxxxxxx>
+# Copyright (c) 2009-2011 Sebastian Trueg <trueg@xxxxxxx>
 # All rights reserved, licensed under either CC-BY or BSD.
 #
 # You are free:
@@ -90,33 +90,61 @@
 
     nmo:to
           a       rdf:Property ;
+          nao:deprecated true ;
+          rdfs:comment "deprecated in favor of nmo:emailTo" ;
+          rdfs:domain nmo:Email ;
+          rdfs:label "to" ;
+          rdfs:range nco:Contact ;
+          rdfs:subPropertyOf nmo:primaryRecipient .
+
+    nmo:emailTo
+          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 .
+          rdfs:range nco:ContactMedium ;
+          rdfs:subPropertyOf nmo:primaryMessageRecipient .
 
     nmo:cc
           a       rdf:Property ;
+          nao:deprecated true ;
+          rdfs:comment "deprecated in favor of nmo:emailCc" ;
+          rdfs:domain nmo:Email ;
+          rdfs:label "cc" ;
+          rdfs:range nco:Contact ;
+          rdfs:subPropertyOf nmo:secondaryRecipient .
+
+    nmo:emailCc
+          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 .
+          rdfs:range nco:ContactMedium ;
+          rdfs:subPropertyOf nmo:secondaryMessageRecipient .
 
     nmo:from
           a       rdf:Property ;
+          nao:deprecated true ;
+          rdfs:comment "deprecated in favor of nmo:messageFrom" ;
+          rdfs:domain nmo:Message ;
+          rdfs:label "from" ;
+          rdfs:range nco:Contact .
+
+    nmo:messageFrom
+          a       rdf:Property ;
           rdfs:comment "The sender of the message" ;
           rdfs:domain nmo:Message ;
           rdfs:label "from" ;
-          rdfs:range nco:Contact .
+          rdfs:range nco:ContactMedium ;
+          nrl:maxCardinality 1 .
 
     nmo:isRead
           a       rdf:Property ;
           rdfs:comment "A flag that states the fact that a MailboxDataObject has been read." ;
-          rdfs:domain nmo:MailboxDataObject ;
+          rdfs:domain nmo:Message ;
           rdfs:label "isRead" ;
-          rdfs:range xsd:boolean .
+          rdfs:range xsd:boolean ;
+          nrl:maxCardinality 1 .
 
     nmo:Mailbox
           a       rdfs:Class ;
@@ -140,11 +168,20 @@
 
     nmo:primaryRecipient
           a       rdf:Property ;
+          nao:deprecated true ;
+          rdfs:comment "deprecated in favor of primaryMessageRecipient" ;
+          rdfs:domain nmo:Message ;
+          rdfs:label "primaryRecipient" ;
+          rdfs:range nco:Contact ;
+          rdfs:subPropertyOf nmo:recipient .
+
+    nmo:primaryMessageRecipient
+          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 .
+          rdfs:range nco:ContactMedium ;
+          rdfs:subPropertyOf nmo:messageRecipient .
 
     nmo:inReplyTo
           a       rdf:Property ;
@@ -152,7 +189,8 @@
           rdfs:domain nmo:Message ;
           rdfs:label "inReplyTo" ;
           rdfs:range nmo:Message ;
-          rdfs:subPropertyOf nmo:references .
+          rdfs:subPropertyOf nmo:references ;
+          nrl:maxCardinality 1 .
 
     nmo:messageId
           a       rdf:Property ;
@@ -179,33 +217,68 @@
 
     nmo:replyTo
           a       rdf:Property ;
+          nao:deprecated true ;
+          rdfs:comment "deprecated in favor of nmo:messageReplyTo" ;
+          rdfs:domain nmo:Message ;
+          rdfs:label "replyTo" ;
+          rdfs:range nco:Contact .
+
+    nmo:messageReplyTo
+          a       rdf:Property ;
           rdfs:comment "An address where the reply should be sent." ;
           rdfs:domain nmo:Message ;
           rdfs:label "replyTo" ;
-          rdfs:range nco:Contact .
+          rdfs:range nco:ContactMedium ;
+          nrl:maxCardinality 1 .
 
     nmo:recipient
           a       rdf:Property ;
+          nao:deprecated true ;
+          rdfs:comment "deprecated in favor of nmo:messageRecipient" ;
+          rdfs:domain nmo:Message ;
+          rdfs:label "recipient" ;
+          rdfs:range nco:Contact .
+
+    nmo:messageRecipient
+          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 .
+          rdfs:range nco:ContactMedium .
 
     nmo:bcc
           a       rdf:Property ;
+          nao:deprecated true ;
+          rdfs:comment "deprecated in favor of nmo:emailBcc" ;
+          rdfs:domain nmo:Email ;
+          rdfs:label "bcc" ;
+          rdfs:range nco:Contact ;
+          rdfs:subPropertyOf nmo:secondaryRecipient .
+
+    nmo:emailBcc
+          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 .
+          rdfs:range nco:ContactMedium ;
+          rdfs:subPropertyOf nmo:secondaryMessageRecipient .
 
     nmo:secondaryRecipient
           a       rdf:Property ;
+          nao:deprecated true ;
+          rdfs:comment "deprecated in favor of nmo:secondaryMessageRecipient" ;
+          rdfs:domain nmo:Message ;
+          rdfs:label "secondaryRecipient" ;
+          rdfs:range nco:Contact ;
+          rdfs:subPropertyOf nmo:recipient .
+
+    nmo:secondaryMessageRecipient
+          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 .
+          rdfs:range nco:ContactMedium ;
+          rdfs:subPropertyOf nmo:messageRecipient .
 
     nmo:contentMimeType
           a       rdf:Property ;
@@ -214,7 +287,8 @@
           rdfs:domain nmo:Email ;
           rdfs:label "contentMimeType" ;
           rdfs:range xsd:string ;
-          rdfs:subPropertyOf nie:mimeType .
+          rdfs:subPropertyOf nie:mimeType ;
+          nrl:maxCardinality 1 .
 
     nmo:plainTextMessageContent
           a       rdf:Property ;
@@ -235,7 +309,8 @@
           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 .
+          rdfs:range xsd:string ;
+          rdfs:subPropertyOf nie:htmlContent .
 
     nmo:sentDate
           a       rdf:Property ;
@@ -248,11 +323,21 @@
 
     nmo:sender
           a       rdf:Property ;
+          nao:deprecated true ;
+          rdfs:comment "deprecated in favor of nmo:messageSender" ;
+          rdfs:domain nmo:Message ;
+          rdfs:label "sender" ;
+          rdfs:range nco:Contact ;
+          rdfs:subPropertyOf nmo:recipient .
+
+    nmo:messageSender
+          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 .
+          rdfs:range nco:ContactMedium ;
+          rdfs:subPropertyOf nmo:messageRecipient ;
+          nrl:maxCardinality 1 .
 
     nmo:headerName
           a       rdf:Property ;
@@ -290,9 +375,11 @@
                   "http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#"; ;
           nao:hasDefaultNamespaceAbbreviation
                   "nmo" ;
-          nao:lastModified "2008-11-27T11:45:56.656Z" ;
+          nao:lastModified "2011-05-11T18:08:45.656Z" ;
           nao:status "Unstable" ;
           nao:updatable "0 " ;
-          nao:version "Revision-9" .
+          nao:version "0.8.1" ;
+          nao:prefLabel "Nepomuk Message Ontology" ;
+          nao:description "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." .
 }