[tracker] Updated scal ontology to cover the ical standard



commit 109a51f9fc01fffd6c7bc66860010388f39d4e8c
Author: Ivan Frade <ivan frade nokia com>
Date:   Thu Oct 1 19:30:05 2009 +0300

    Updated scal ontology to cover the ical standard

 data/ontologies/36-scal.ontology |  239 +++++++++++++++++++++++++++++++++++++-
 1 files changed, 233 insertions(+), 6 deletions(-)
---
diff --git a/data/ontologies/36-scal.ontology b/data/ontologies/36-scal.ontology
index 6994e2e..002124f 100644
--- a/data/ontologies/36-scal.ontology
+++ b/data/ontologies/36-scal.ontology
@@ -29,6 +29,37 @@ scal:belongsToCalendar a rdf:Property ;
       rdfs:domain scal:CalendarItem ;
       rdfs:range scal:Calendar .
 
+scal:textLocation a rdf:Property ;
+      rdfs:label "Text Location";
+      rdfs:comment "Textual description of location for an item. Sec. 4.8.1.7. Use better mlo:location" ;
+      rdfs:domain scal:CalendarItem ;
+      nrl:maxCardinality 1 ;
+      rdfs:range xsd:integer .
+
+scal:resources a rdf:Property ;
+      rdfs:label "Resources";
+      rdfs:comment "Resources required for the calendar item (equipment, installations...)" ;
+      rdfs:domain scal:CalendarItem ;
+      nrl:maxCardinality 1 ;
+      rdfs:range xsd:string .
+
+# Transparency for every calendar item
+scal:TransparencyValues a rdfs:Class ;
+      rdfs:label "Transparency values" ;
+      rdfs:comment "Predefined instances of time transparency for the calendar items" ;
+      rdfs:subClassOf rdfs:Resource .
+
+scal:transparency-transparent a scal:TransparencyValues .
+scal:transparency-opaque a scal:TransparencyValues .
+
+scal:transparency a rdf:Property ;
+      rdfs:label "Transparency" ;
+      rdfs:comment "Time transparency for the item (busy time or transparent)";
+      nrl:maxCardinality 1 ;
+      rdfs:domain scal:CalendarItem ;
+      rdfs:range scal:TransparencyValues .
+
+
 #
 # All calendar items inherit from InformationElement
 #  nie:title, nie:description and mlo:location
@@ -42,14 +73,19 @@ scal:Attendee a rdfs:Class ;
       rdfs:comment "Contact related with a calendar item" ;
       rdfs:subClassOf rdfs:Resource .
 
+# Status of an attendee
 scal:AttendanceStatus a rdfs:Class ;
-      rdfs:label "Attendance status values" ;
-      rdfs:comment "Predefined set of instances: Confirmed, Maybe, Declined" ;
+      rdfs:label "Attendance status values (partstat in ical spec)" ;
+      rdfs:comment "Predefined set of instances: needs-action, accepted..." ;
       rdfs:subClassOf rdfs:Resource .
 
-scal:attendance-confirmed a scal:AttendanceStatus .
-scal:attendance-maybe a scal:AttendanceStatus .
+scal:attendance-needs-action a scal:AttendanceStatus .
+scal:attendance-accepted a scal:AttendanceStatus .
 scal:attendance-declined a scal:AttendanceStatus .
+scal:attendance-tentative a scal:AttendanceStatus .
+scal:attendance-delegated a scal:AttendanceStatus .
+scal:attendance-completed a scal:AttendanceStatus .
+scal:attendance-in-process a scal:AttendanceStatus .
 
 scal:attendanceStatus a rdf:Property ;
       rdfs:label "Attendance status" ;
@@ -58,6 +94,25 @@ scal:attendanceStatus a rdf:Property ;
       rdfs:domain scal:Attendee ;
       rdfs:range scal:AttendanceStatus .
 
+# Role of an attendee
+scal:AttendeeRole a rdfs:Class ;
+      rdfs:label "Attendee role in the event (Role in ical spec)" ;
+      rdfs:comment "Predefined set of instances: chain, req-participant..." ;
+      rdfs:subClassOf rdfs:Resource .
+
+scal:attendee-role-chair a scal:AttendeeRole .
+scal:attendee-role-req-participant a scal:AttendeeRole .
+scal:attendee-role-opt-participant a scal:AttendeeRole .
+scal:attendee-role-non-participant a scal:AttendeeRole .
+
+scal:attendeeRole a rdf:Property ;
+      rdfs:label "Attendee role in the event" ;
+      rdfs:comment "Property to link with an attendee role instance" ;
+      nrl:maxCardinality 1 ;
+      rdfs:domain scal:Attendee ;
+      rdfs:range scal:AttendeeRole .
+
+
 scal:attendeeContact a rdf:Property ;
       rdfs:label "Link to contact" ;
       rdfs:comment "Link from the attendee to the actual contact" ;
@@ -65,12 +120,85 @@ scal:attendeeContact a rdf:Property ;
       rdfs:domain scal:Attendee ;
       rdfs:range nco:Contact .
 
+# RSVP of an attendee
+scal:RSVPValues a rdfs:Class ;
+      rdfs:label "RSVP Values" ;
+      rdfs:comment "Predefined set of instances: Yes/No (not boolean to allow undefined values)" ;
+      rdfs:subClassOf rdfs:Resource .
+
+scal:rsvp-value-true a scal:RSVPValues .
+scal:rsvp-value-false a scal:RSVPValues .
+
+scal:rsvp a rdf:Property ;
+      rdfs:label "rsvp" ;
+      rdfs:comment "Link an attendee with his rsvp status" ;
+      nrl:maxCardinality 1 ;
+      rdfs:domain scal:Attendee ;
+      rdfs:range scal:RSVPValues .
+
+
 scal:attendee a rdf:Property ;
       rdfs:label "Attendee" ;
       rdfs:comment "Link of an Calendar item with an attendee, that can have different status" ;
       rdfs:domain scal:CalendarItem ;
       rdfs:range scal:Attendee .
 
+scal:contact a rdf:Property ;
+      rdfs:label "Contact" ;
+      rdfs:comment "Contact related with the Calendar Item (spec 4.8.4.2)" ;
+      rdfs:domain scal:CalendarItem ;
+      rdfs:range scal:Attendee .
+
+# Calendar User Type
+scal:CalendarUserType a rdfs:Class ;
+      rdfs:label "Calendar user type instances (CUTYPE in ical spec)";
+      rdfs:comment "Predefined set of instance for calendar user types";
+      rdfs:subClassOf rdfs:Resource .
+
+#
+# Individual/Group is not nco:PersonContact /nco:OrganizationContact ?
+# Room and resource as calendar USER type?!?!?!
+# Property of "ATTENDEE" ?!?!?! <- misunderstanding the spec, or the spec is trollshit.
+#
+scal:cutype-individual a scal:CalendarUserType .
+scal:cutype-group a scal:CalendarUserType .
+scal:cutype-room a scal:CalendarUserType .
+scal:cutype-resource a scal:CalendarUserType .
+scal:cutype-unknown a scal:CalendarUserType .
+
+scal:calendarUserType a rdf:Property ;
+      rdfs:label "Calendar user type" ;
+      rdfs:comment "Link an attendee instance with a cutype" ;
+      nrl:maxCardinality 1 ;
+      rdfs:domain scal:Attendee ;
+      rdfs:range scal:CalendarUserType .
+
+# Do we need more fine-grained description of these properties?
+scal:member a rdf:Property ;
+      rdfs:label "Member" ;
+      rdfs:comment "To specify the group or list membership of the calendar user specified by the property" ;
+      rdfs:domain scal:Attendee ;
+      rdfs:range nco:Contact .
+
+scal:delegated-to a rdf:Property ;
+      rdfs:label "Delegated-to" ;
+      rdfs:comment "to indicate the calendar users that the original request was delegated to" ;
+      rdfs:domain scal:Attendee ;
+      rdfs:range nco:Contact .
+
+scal:delegated-from a rdf:Property ;
+      rdfs:label "Delegated-from" ;
+      rdfs:comment "to indicate the calendar users whom the request was delegated from" ;
+      rdfs:domain scal:Attendee ;
+      rdfs:range nco:Contact .
+
+scal:sent-by a rdf:Property ;
+      rdfs:label "Sent-by" ;
+      rdfs:comment "to indicate whom is acting on behalf of the ATTENDEE" ;
+      rdfs:domain scal:Attendee ;
+      rdfs:range nco:Contact .
+
+
 
 
 scal:Event a rdfs:Class ;
@@ -88,6 +216,60 @@ scal:Journal a rdfs:Class ;
       rdfs:comment "A Journal entry according to the ical definition" ;
       rdfs:subClassOf scal:CalendarItem .
 
+# Status for event
+scal:EventStatus a rdfs:Class ;
+	rdfs:label "Calendar event status";
+	rdfs:comment "Predefined instances of status for events" ;
+	rdfs:subClassOf rdfs:Resource .
+
+scal:event-status-tentative a scal:EventStatus .
+scal:event-status-confirmed a scal:EventStatus .
+scal:event-status-cancelled a scal:EventStatus .
+
+scal:eventStatus a rdf:Property ;
+	rdfs:label "event status" ;
+	rdfs:comment "Link of an event with its status" ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain scal:Event ;
+	rdfs:range scal:EventStatus .
+
+# Status for Todo
+scal:TodoStatus a rdfs:Class ;
+	rdfs:label "Calendar todo status";
+	rdfs:comment "Predefined instances of status for todos" ;
+	rdfs:subClassOf rdfs:Resource .
+
+scal:todo-status-needs-action a scal:TodoStatus .
+scal:todo-status-completed a scal:TodoStatus .
+scal:todo-status-in-process a scal:TodoStatus .
+scal:todo-status-cancelled a scal:TodoStatus .
+
+scal:todoStatus a rdf:Property ;
+	rdfs:label "todo status" ;
+	rdfs:comment "Link of an todo with its status" ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain scal:Todo ;
+	rdfs:range scal:TodoStatus .
+
+# Status for Journal
+scal:JournalStatus a rdfs:Class ;
+	rdfs:label "Calendar journal status";
+	rdfs:comment "Predefined instances of status for journals" ;
+	rdfs:subClassOf rdfs:Resource .
+
+scal:journal-status-needs-action a scal:JournalStatus .
+scal:journal-status-completed a scal:JournalStatus .
+scal:journal-status-in-process a scal:JournalStatus .
+scal:journal-status-cancelled a scal:JournalStatus .
+
+scal:journalStatus a rdf:Property ;
+	rdfs:label "journal status" ;
+	rdfs:comment "Link of an journal with its status" ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain scal:Journal ;
+	rdfs:range scal:JournalStatus .
+
+
 #
 # Alarms:
 #
@@ -113,6 +295,11 @@ scal:calendarItemAlarm a rdf:Property ;
       rdfs:domain scal:CalendarItem ;
       rdfs:range scal:CalendarAlarm .
 
+scal:alarmAttendee a rdf:Property ;
+      rdfs:label "Alarm attendee" ;
+      rdfs:comment "Alarms can have attendees. RFC has told" ;
+      rdfs:domain scal:CalendarAlarm ;
+      rdfs:range scal:Attendee .
 
 #
 # Time point
@@ -211,7 +398,12 @@ scal:priority a rdf:Property ;
       nrl:maxCardinality 1 ;
       rdfs:domain scal:CalendarItem ;
       rdfs:range xsd:integer .
-     
+
+scal:attachment a rdf:Property ;
+      rdfs:label "Attachment" ;
+      rdfs:comment "Item attached to a calendar item" ;
+      rdfs:domain scal:CalendarItem ;
+      rdfs:range  nie:DataObject .
 
 #
 # Recurrence rules
@@ -222,7 +414,7 @@ scal:RecurrenceRule a rdfs:Class ;
 	rdfs:subClassOf rdfs:Resource .
 
 scal:rrule a rdf:Property ;
-	rdfs:label "rrule" ;
+	rdfs:label "recurrence rule" ;
 	rdfs:comment "Repeating pattern for recurring CalendarItems" ;
 	rdfs:domain scal:CalendarItem ;
 	rdfs:range scal:RecurrenceRule .
@@ -239,4 +431,39 @@ scal:recurrencePattern a rdf:Property ;
 	nrl:maxCardinality 1 ;
 	rdfs:range xsd:string .
 
+scal:recurrenceStartDate a rdf:Property;
+	rdfs:label "Recurrence pattern start date" ;
+	rdfs:comment "Reuse here the start-date instance of the base event for this recurrence rule. This property makes possible to retrieve all required data to expand the recurrence rule in one short query" ;
+	rdfs:domain scal:RecurrenceRule ;
+	nrl:maxCardinality 1 ;
+	rdfs:range scal:TimePoint .
+
+scal:exception a rdf:Property ;
+	rdfs:label "recurrence rule exception" ;
+	rdfs:comment "True if this recurrence rules must be interpreted as an exception" ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain scal:RecurrenceRule ;
+	rdfs:range xsd:boolean .
+
+scal:rdate a rdf:Property ;
+        rdfs:label "Recurrence date" ;
+	rdfs:comment "One of more concrete ocurrences of the calendar item using ';' as separator. Included for backward compatibility. Use rrule instead" ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain scal:CalendarItem ;
+	rdfs:range xsd:integer .
+
+scal:exceptionRDate a rdf:Property ;
+        rdfs:label "Recurrence date exception" ;
+	rdfs:comment "One of more concrete exceptions of the calendar item using ';' as separator. Included for backward compatibility. Use rrule with exception='true' instead" ;
+	nrl:maxCardinality 1 ;
+	rdfs:domain scal:CalendarItem ;
+	rdfs:range xsd:integer .
 
+
+
+#
+# TODO
+# 
+#  equivalent of ncal:Action, including ncal:repeat and ncal:duration
+#
+#



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