Merge lp:~zeitgeist/zeitgeist/bb-extensions-conf into lp:zeitgeist/0.1

Proposed by Siegfried Gevatter
Status: Rejected
Rejected by: Siegfried Gevatter
Proposed branch: lp:~zeitgeist/zeitgeist/bb-extensions-conf
Merge into: lp:zeitgeist/0.1
Diff against target: 14882 lines (+14523/-0) (has conflicts)
66 files modified
.bzrignore (+48/-0)
AUTHORS (+4/-0)
COPYING (+339/-0)
MAINTAINERS (+5/-0)
Makefile.am (+45/-0)
autogen.sh (+9/-0)
config.vapi (+7/-0)
configure.ac (+65/-0)
extensions/Makefile.am (+39/-0)
extensions/blacklist.vala (+200/-0)
extensions/ds-registry.vala (+378/-0)
extensions/histogram.vala (+129/-0)
extra/Makefile.am (+21/-0)
extra/ontology/Makefile.am (+25/-0)
extra/ontology/nao.trig (+358/-0)
extra/ontology/ncal.trig (+1400/-0)
extra/ontology/nco.trig (+682/-0)
extra/ontology/nfo.trig (+823/-0)
extra/ontology/nie.trig (+394/-0)
extra/ontology/nmm.trig (+315/-0)
extra/ontology/nmo.trig (+298/-0)
extra/ontology/zg.trig (+161/-0)
extra/ontology2code (+421/-0)
extra/org.gnome.zeitgeist.service.in (+3/-0)
extra/zeitgeist-daemon.bash_completion (+14/-0)
po/LINGUAS (+2/-0)
po/POTFILES.in (+3/-0)
po/POTFILES.skip (+1/-0)
src/Makefile.am (+100/-0)
src/datamodel.vala (+590/-0)
src/engine.vala (+1152/-0)
src/errors.vala (+51/-0)
src/extension-collection.vala (+174/-0)
src/extension-store.vala (+118/-0)
src/extension.vala (+258/-0)
src/notify.vala (+219/-0)
src/ontology-uris.vala.in (+22/-0)
src/ontology.vala.in (+172/-0)
src/remote.vala (+112/-0)
src/sql-schema.vala (+372/-0)
src/sql.vala (+291/-0)
src/table-lookup.vala (+105/-0)
src/utils.vala (+108/-0)
src/where-clause.vala (+259/-0)
src/zeitgeist-daemon.vala (+346/-0)
test/Makefile.am (+6/-0)
test/data/five_events.js (+86/-0)
test/data/five_events_ext_move.js (+37/-0)
test/data/single_event.js (+19/-0)
test/data/three_events.js (+43/-0)
test/data/twenty_events.js (+327/-0)
test/data/unicode_event.js (+19/-0)
test/dbus/Makefile.am (+10/-0)
test/dbus/blacklist-test.py (+154/-0)
test/dbus/dsr-test.py (+285/-0)
test/dbus/engine-test.py (+1139/-0)
test/dbus/monitor-test.py (+290/-0)
test/dbus/remote-test.py (+393/-0)
test/dbus/run-all-tests.py (+105/-0)
test/dbus/testutils.py (+435/-0)
test/direct/Makefile.am (+64/-0)
test/direct/assertions.vapi (+23/-0)
test/direct/marshalling.vala (+76/-0)
test/direct/query-operators-test.vala (+140/-0)
test/direct/table-lookup-test.vala (+89/-0)
test/direct/where-clause-test.vala (+145/-0)
Conflict adding file .bzrignore.  Moved existing file to .bzrignore.moved.
Conflict adding file AUTHORS.  Moved existing file to AUTHORS.moved.
Conflict adding file COPYING.  Moved existing file to COPYING.moved.
Conflict adding file MAINTAINERS.  Moved existing file to MAINTAINERS.moved.
Conflict adding file Makefile.am.  Moved existing file to Makefile.am.moved.
Conflict adding file NEWS.  Moved existing file to NEWS.moved.
Conflict adding file README.  Moved existing file to README.moved.
Conflict adding file autogen.sh.  Moved existing file to autogen.sh.moved.
Conflict adding file configure.ac.  Moved existing file to configure.ac.moved.
Conflict adding file extra.  Moved existing file to extra.moved.
Conflict adding file po.  Moved existing file to po.moved.
Conflict adding file test.  Moved existing file to test.moved.
To merge this branch: bzr merge lp:~zeitgeist/zeitgeist/bb-extensions-conf
Reviewer Review Type Date Requested Status
Zeitgeist Framework Team Pending
Review via email: mp+76901@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Siegfried Gevatter (rainct) wrote :

Eek, filled against the wrong branch.

Unmerged revisions

275. By Siegfried Gevatter

Add API enabling extensions to store their state in the database. Use it
for blacklist.

274. By Siegfried Gevatter

datamodel: style fixes

273. By Siegfried Gevatter

Fix segmentation fault removing a blacklist that doesn't exist.

272. By Siegfried Gevatter

Add actor_uri field to event_view.

271. By Siegfried Gevatter

Avoid using event_view's subqueries in WHERE clauses.

270. By Seif Lotfy

remove faulty fixme notice

269. By Siegfried Gevatter

Handle SIGINT properly.

268. By Seif Lotfy

added new extensions_conf table for extensions to store their data into

267. By Siegfried Gevatter

exit -> Posix.exit

266. By Siegfried Gevatter

Add FIXME about --replace

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file '.bzrignore'
2--- .bzrignore 1970-01-01 00:00:00 +0000
3+++ .bzrignore 2011-09-25 13:50:28 +0000
4@@ -0,0 +1,48 @@
5+codeblocks.cbp
6+codeblocks.layout
7+INSTALL
8+Makefile
9+Makefile.in
10+aclocal.m4
11+autom4te.cache
12+compile
13+config.guess
14+config.h
15+config.h.in
16+config.log
17+config.status
18+config.sub
19+configure
20+depcomp
21+install-sh
22+stamp-h1
23+mkinstalldirs
24+po/POTFILES
25+po/stamp-it
26+src/.deps
27+missing
28+ltmain.sh
29+libtool
30+intltool-update.in
31+intltool-merge.in
32+intltool-extract.in
33+po/Makefile.in.in
34+src/.libs
35+src/*.c
36+src/*.stamp
37+src/bluebird
38+test/direct/where-clause-test
39+extra/ontology/*.py
40+query-operators-test
41+src/ontology.vala
42+src/ontology-uris.vala
43+extra/org.gnome.zeitgeist.service
44+extensions/.deps
45+extensions/.libs
46+extensions/*.c
47+extensions/*.stamp
48+extensions/*.la
49+extensions/*.lo
50+test/direct/marshalling
51+test/dbus/__pycache__
52+test/direct/table-lookup-test
53
54=== renamed file '.bzrignore' => '.bzrignore.moved'
55=== added file 'AUTHORS'
56--- AUTHORS 1970-01-01 00:00:00 +0000
57+++ AUTHORS 2011-09-25 13:50:28 +0000
58@@ -0,0 +1,4 @@
59+Seif Lotfy <seif@lotfy.com>
60+Siegfried-Angel Gevatter Pujals <siegfried@gevatter.com>
61+Manish Sinha <manishsinha@ubuntu.com>
62+Michael Hruby <michal.mhr@gmail.com>
63
64=== renamed file 'AUTHORS' => 'AUTHORS.moved'
65=== added file 'COPYING'
66--- COPYING 1970-01-01 00:00:00 +0000
67+++ COPYING 2011-09-25 13:50:28 +0000
68@@ -0,0 +1,339 @@
69+ GNU GENERAL PUBLIC LICENSE
70+ Version 2, June 1991
71+
72+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
73+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
74+ Everyone is permitted to copy and distribute verbatim copies
75+ of this license document, but changing it is not allowed.
76+
77+ Preamble
78+
79+ The licenses for most software are designed to take away your
80+freedom to share and change it. By contrast, the GNU General Public
81+License is intended to guarantee your freedom to share and change free
82+software--to make sure the software is free for all its users. This
83+General Public License applies to most of the Free Software
84+Foundation's software and to any other program whose authors commit to
85+using it. (Some other Free Software Foundation software is covered by
86+the GNU Lesser General Public License instead.) You can apply it to
87+your programs, too.
88+
89+ When we speak of free software, we are referring to freedom, not
90+price. Our General Public Licenses are designed to make sure that you
91+have the freedom to distribute copies of free software (and charge for
92+this service if you wish), that you receive source code or can get it
93+if you want it, that you can change the software or use pieces of it
94+in new free programs; and that you know you can do these things.
95+
96+ To protect your rights, we need to make restrictions that forbid
97+anyone to deny you these rights or to ask you to surrender the rights.
98+These restrictions translate to certain responsibilities for you if you
99+distribute copies of the software, or if you modify it.
100+
101+ For example, if you distribute copies of such a program, whether
102+gratis or for a fee, you must give the recipients all the rights that
103+you have. You must make sure that they, too, receive or can get the
104+source code. And you must show them these terms so they know their
105+rights.
106+
107+ We protect your rights with two steps: (1) copyright the software, and
108+(2) offer you this license which gives you legal permission to copy,
109+distribute and/or modify the software.
110+
111+ Also, for each author's protection and ours, we want to make certain
112+that everyone understands that there is no warranty for this free
113+software. If the software is modified by someone else and passed on, we
114+want its recipients to know that what they have is not the original, so
115+that any problems introduced by others will not reflect on the original
116+authors' reputations.
117+
118+ Finally, any free program is threatened constantly by software
119+patents. We wish to avoid the danger that redistributors of a free
120+program will individually obtain patent licenses, in effect making the
121+program proprietary. To prevent this, we have made it clear that any
122+patent must be licensed for everyone's free use or not licensed at all.
123+
124+ The precise terms and conditions for copying, distribution and
125+modification follow.
126+
127+ GNU GENERAL PUBLIC LICENSE
128+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
129+
130+ 0. This License applies to any program or other work which contains
131+a notice placed by the copyright holder saying it may be distributed
132+under the terms of this General Public License. The "Program", below,
133+refers to any such program or work, and a "work based on the Program"
134+means either the Program or any derivative work under copyright law:
135+that is to say, a work containing the Program or a portion of it,
136+either verbatim or with modifications and/or translated into another
137+language. (Hereinafter, translation is included without limitation in
138+the term "modification".) Each licensee is addressed as "you".
139+
140+Activities other than copying, distribution and modification are not
141+covered by this License; they are outside its scope. The act of
142+running the Program is not restricted, and the output from the Program
143+is covered only if its contents constitute a work based on the
144+Program (independent of having been made by running the Program).
145+Whether that is true depends on what the Program does.
146+
147+ 1. You may copy and distribute verbatim copies of the Program's
148+source code as you receive it, in any medium, provided that you
149+conspicuously and appropriately publish on each copy an appropriate
150+copyright notice and disclaimer of warranty; keep intact all the
151+notices that refer to this License and to the absence of any warranty;
152+and give any other recipients of the Program a copy of this License
153+along with the Program.
154+
155+You may charge a fee for the physical act of transferring a copy, and
156+you may at your option offer warranty protection in exchange for a fee.
157+
158+ 2. You may modify your copy or copies of the Program or any portion
159+of it, thus forming a work based on the Program, and copy and
160+distribute such modifications or work under the terms of Section 1
161+above, provided that you also meet all of these conditions:
162+
163+ a) You must cause the modified files to carry prominent notices
164+ stating that you changed the files and the date of any change.
165+
166+ b) You must cause any work that you distribute or publish, that in
167+ whole or in part contains or is derived from the Program or any
168+ part thereof, to be licensed as a whole at no charge to all third
169+ parties under the terms of this License.
170+
171+ c) If the modified program normally reads commands interactively
172+ when run, you must cause it, when started running for such
173+ interactive use in the most ordinary way, to print or display an
174+ announcement including an appropriate copyright notice and a
175+ notice that there is no warranty (or else, saying that you provide
176+ a warranty) and that users may redistribute the program under
177+ these conditions, and telling the user how to view a copy of this
178+ License. (Exception: if the Program itself is interactive but
179+ does not normally print such an announcement, your work based on
180+ the Program is not required to print an announcement.)
181+
182+These requirements apply to the modified work as a whole. If
183+identifiable sections of that work are not derived from the Program,
184+and can be reasonably considered independent and separate works in
185+themselves, then this License, and its terms, do not apply to those
186+sections when you distribute them as separate works. But when you
187+distribute the same sections as part of a whole which is a work based
188+on the Program, the distribution of the whole must be on the terms of
189+this License, whose permissions for other licensees extend to the
190+entire whole, and thus to each and every part regardless of who wrote it.
191+
192+Thus, it is not the intent of this section to claim rights or contest
193+your rights to work written entirely by you; rather, the intent is to
194+exercise the right to control the distribution of derivative or
195+collective works based on the Program.
196+
197+In addition, mere aggregation of another work not based on the Program
198+with the Program (or with a work based on the Program) on a volume of
199+a storage or distribution medium does not bring the other work under
200+the scope of this License.
201+
202+ 3. You may copy and distribute the Program (or a work based on it,
203+under Section 2) in object code or executable form under the terms of
204+Sections 1 and 2 above provided that you also do one of the following:
205+
206+ a) Accompany it with the complete corresponding machine-readable
207+ source code, which must be distributed under the terms of Sections
208+ 1 and 2 above on a medium customarily used for software interchange; or,
209+
210+ b) Accompany it with a written offer, valid for at least three
211+ years, to give any third party, for a charge no more than your
212+ cost of physically performing source distribution, a complete
213+ machine-readable copy of the corresponding source code, to be
214+ distributed under the terms of Sections 1 and 2 above on a medium
215+ customarily used for software interchange; or,
216+
217+ c) Accompany it with the information you received as to the offer
218+ to distribute corresponding source code. (This alternative is
219+ allowed only for noncommercial distribution and only if you
220+ received the program in object code or executable form with such
221+ an offer, in accord with Subsection b above.)
222+
223+The source code for a work means the preferred form of the work for
224+making modifications to it. For an executable work, complete source
225+code means all the source code for all modules it contains, plus any
226+associated interface definition files, plus the scripts used to
227+control compilation and installation of the executable. However, as a
228+special exception, the source code distributed need not include
229+anything that is normally distributed (in either source or binary
230+form) with the major components (compiler, kernel, and so on) of the
231+operating system on which the executable runs, unless that component
232+itself accompanies the executable.
233+
234+If distribution of executable or object code is made by offering
235+access to copy from a designated place, then offering equivalent
236+access to copy the source code from the same place counts as
237+distribution of the source code, even though third parties are not
238+compelled to copy the source along with the object code.
239+
240+ 4. You may not copy, modify, sublicense, or distribute the Program
241+except as expressly provided under this License. Any attempt
242+otherwise to copy, modify, sublicense or distribute the Program is
243+void, and will automatically terminate your rights under this License.
244+However, parties who have received copies, or rights, from you under
245+this License will not have their licenses terminated so long as such
246+parties remain in full compliance.
247+
248+ 5. You are not required to accept this License, since you have not
249+signed it. However, nothing else grants you permission to modify or
250+distribute the Program or its derivative works. These actions are
251+prohibited by law if you do not accept this License. Therefore, by
252+modifying or distributing the Program (or any work based on the
253+Program), you indicate your acceptance of this License to do so, and
254+all its terms and conditions for copying, distributing or modifying
255+the Program or works based on it.
256+
257+ 6. Each time you redistribute the Program (or any work based on the
258+Program), the recipient automatically receives a license from the
259+original licensor to copy, distribute or modify the Program subject to
260+these terms and conditions. You may not impose any further
261+restrictions on the recipients' exercise of the rights granted herein.
262+You are not responsible for enforcing compliance by third parties to
263+this License.
264+
265+ 7. If, as a consequence of a court judgment or allegation of patent
266+infringement or for any other reason (not limited to patent issues),
267+conditions are imposed on you (whether by court order, agreement or
268+otherwise) that contradict the conditions of this License, they do not
269+excuse you from the conditions of this License. If you cannot
270+distribute so as to satisfy simultaneously your obligations under this
271+License and any other pertinent obligations, then as a consequence you
272+may not distribute the Program at all. For example, if a patent
273+license would not permit royalty-free redistribution of the Program by
274+all those who receive copies directly or indirectly through you, then
275+the only way you could satisfy both it and this License would be to
276+refrain entirely from distribution of the Program.
277+
278+If any portion of this section is held invalid or unenforceable under
279+any particular circumstance, the balance of the section is intended to
280+apply and the section as a whole is intended to apply in other
281+circumstances.
282+
283+It is not the purpose of this section to induce you to infringe any
284+patents or other property right claims or to contest validity of any
285+such claims; this section has the sole purpose of protecting the
286+integrity of the free software distribution system, which is
287+implemented by public license practices. Many people have made
288+generous contributions to the wide range of software distributed
289+through that system in reliance on consistent application of that
290+system; it is up to the author/donor to decide if he or she is willing
291+to distribute software through any other system and a licensee cannot
292+impose that choice.
293+
294+This section is intended to make thoroughly clear what is believed to
295+be a consequence of the rest of this License.
296+
297+ 8. If the distribution and/or use of the Program is restricted in
298+certain countries either by patents or by copyrighted interfaces, the
299+original copyright holder who places the Program under this License
300+may add an explicit geographical distribution limitation excluding
301+those countries, so that distribution is permitted only in or among
302+countries not thus excluded. In such case, this License incorporates
303+the limitation as if written in the body of this License.
304+
305+ 9. The Free Software Foundation may publish revised and/or new versions
306+of the General Public License from time to time. Such new versions will
307+be similar in spirit to the present version, but may differ in detail to
308+address new problems or concerns.
309+
310+Each version is given a distinguishing version number. If the Program
311+specifies a version number of this License which applies to it and "any
312+later version", you have the option of following the terms and conditions
313+either of that version or of any later version published by the Free
314+Software Foundation. If the Program does not specify a version number of
315+this License, you may choose any version ever published by the Free Software
316+Foundation.
317+
318+ 10. If you wish to incorporate parts of the Program into other free
319+programs whose distribution conditions are different, write to the author
320+to ask for permission. For software which is copyrighted by the Free
321+Software Foundation, write to the Free Software Foundation; we sometimes
322+make exceptions for this. Our decision will be guided by the two goals
323+of preserving the free status of all derivatives of our free software and
324+of promoting the sharing and reuse of software generally.
325+
326+ NO WARRANTY
327+
328+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
329+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
330+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
331+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
332+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
333+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
334+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
335+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
336+REPAIR OR CORRECTION.
337+
338+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
339+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
340+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
341+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
342+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
343+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
344+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
345+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
346+POSSIBILITY OF SUCH DAMAGES.
347+
348+ END OF TERMS AND CONDITIONS
349+
350+ How to Apply These Terms to Your New Programs
351+
352+ If you develop a new program, and you want it to be of the greatest
353+possible use to the public, the best way to achieve this is to make it
354+free software which everyone can redistribute and change under these terms.
355+
356+ To do so, attach the following notices to the program. It is safest
357+to attach them to the start of each source file to most effectively
358+convey the exclusion of warranty; and each file should have at least
359+the "copyright" line and a pointer to where the full notice is found.
360+
361+ <one line to give the program's name and a brief idea of what it does.>
362+ Copyright (C) <year> <name of author>
363+
364+ This program is free software; you can redistribute it and/or modify
365+ it under the terms of the GNU General Public License as published by
366+ the Free Software Foundation; either version 2 of the License, or
367+ (at your option) any later version.
368+
369+ This program is distributed in the hope that it will be useful,
370+ but WITHOUT ANY WARRANTY; without even the implied warranty of
371+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
372+ GNU General Public License for more details.
373+
374+ You should have received a copy of the GNU General Public License along
375+ with this program; if not, write to the Free Software Foundation, Inc.,
376+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
377+
378+Also add information on how to contact you by electronic and paper mail.
379+
380+If the program is interactive, make it output a short notice like this
381+when it starts in an interactive mode:
382+
383+ Gnomovision version 69, Copyright (C) year name of author
384+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
385+ This is free software, and you are welcome to redistribute it
386+ under certain conditions; type `show c' for details.
387+
388+The hypothetical commands `show w' and `show c' should show the appropriate
389+parts of the General Public License. Of course, the commands you use may
390+be called something other than `show w' and `show c'; they could even be
391+mouse-clicks or menu items--whatever suits your program.
392+
393+You should also get your employer (if you work as a programmer) or your
394+school, if any, to sign a "copyright disclaimer" for the program, if
395+necessary. Here is a sample; alter the names:
396+
397+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
398+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
399+
400+ <signature of Ty Coon>, 1 April 1989
401+ Ty Coon, President of Vice
402+
403+This General Public License does not permit incorporating your program into
404+proprietary programs. If your program is a subroutine library, you may
405+consider it more useful to permit linking proprietary applications with the
406+library. If this is what you want to do, use the GNU Lesser General
407+Public License instead of this License.
408
409=== renamed file 'COPYING' => 'COPYING.moved'
410=== added file 'ChangeLog'
411=== added file 'MAINTAINERS'
412--- MAINTAINERS 1970-01-01 00:00:00 +0000
413+++ MAINTAINERS 2011-09-25 13:50:28 +0000
414@@ -0,0 +1,5 @@
415+Seif Lotfy <seif@lotfy.com>
416+Siegfried-Angel Gevatter Pujals <siegfried@gevatter.com>
417+Manish Sinha <manishsinha@ubuntu.com>
418+Michael Hruby <michal.mhr@gmail.com>
419+
420
421=== renamed file 'MAINTAINERS' => 'MAINTAINERS.moved'
422=== added file 'Makefile.am'
423--- Makefile.am 1970-01-01 00:00:00 +0000
424+++ Makefile.am 2011-09-25 13:50:28 +0000
425@@ -0,0 +1,45 @@
426+NULL =
427+
428+SUBDIRS = \
429+ src \
430+ extensions \
431+ extra \
432+ test \
433+ po \
434+ $(NULL)
435+
436+bluebirddocdir = ${prefix}/doc/bluebird
437+bluebirddoc_DATA = \
438+ ChangeLog \
439+ README \
440+ COPYING \
441+ AUTHORS \
442+ INSTALL \
443+ NEWS \
444+ $(NULL)
445+
446+EXTRA_DIST = \
447+ $(bluebirddoc_DATA) \
448+ intltool-extract.in \
449+ intltool-merge.in \
450+ intltool-update.in \
451+ $(NULL)
452+
453+DISTCLEANFILES = \
454+ intltool-extract \
455+ intltool-merge \
456+ intltool-update \
457+ po/.intltool-merge-cache \
458+ $(NULL)
459+
460+run: all
461+ ./src/bluebird
462+
463+debug: all
464+ gdb ./src/bluebird
465+
466+test: all
467+ ./test/dbus/run-all-tests.py
468+
469+test-direct: all
470+ cd ./test/direct/ && make run;
471
472=== renamed file 'Makefile.am' => 'Makefile.am.moved'
473=== added file 'NEWS'
474=== renamed file 'NEWS' => 'NEWS.moved'
475=== added file 'README'
476=== renamed file 'README' => 'README.moved'
477=== added file 'autogen.sh'
478--- autogen.sh 1970-01-01 00:00:00 +0000
479+++ autogen.sh 2011-09-25 13:50:28 +0000
480@@ -0,0 +1,9 @@
481+#!/bin/sh
482+# Run this to generate all the initial makefiles, etc.
483+
484+srcdir=`dirname $0`
485+test -z "$srcdir" && srcdir=.
486+
487+PKG_NAME="bluebird"
488+
489+. gnome-autogen.sh
490
491=== renamed file 'autogen.sh' => 'autogen.sh.moved'
492=== added file 'config.vapi'
493--- config.vapi 1970-01-01 00:00:00 +0000
494+++ config.vapi 2011-09-25 13:50:28 +0000
495@@ -0,0 +1,7 @@
496+[CCode (cprefix = "", lower_case_cprefix = "", cheader_filename = "config.h")]
497+namespace Config
498+{
499+ public const string GETTEXT_PACKAGE;
500+ public const string VERSION;
501+ public const string DATADIR;
502+}
503
504=== added file 'configure.ac'
505--- configure.ac 1970-01-01 00:00:00 +0000
506+++ configure.ac 2011-09-25 13:50:28 +0000
507@@ -0,0 +1,65 @@
508+AC_INIT([bluebird], [0.8.99], [dev@lists.zeitgeist-project.com], [bluebird])
509+AC_CONFIG_SRCDIR([Makefile.am])
510+AC_CONFIG_HEADERS(config.h)
511+AM_INIT_AUTOMAKE([dist-bzip2])
512+AM_MAINTAINER_MODE
513+
514+AC_PROG_CC
515+AM_PROG_CC_C_O
516+AC_DISABLE_STATIC
517+AC_PROG_LIBTOOL
518+
519+AM_PROG_VALAC([0.12.1])
520+
521+AM_SILENT_RULES([yes])
522+
523+AH_TEMPLATE([GETTEXT_PACKAGE], [Package name for gettext])
524+GETTEXT_PACKAGE=bluebird
525+AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE")
526+AC_SUBST(GETTEXT_PACKAGE)
527+AM_GLIB_GNU_GETTEXT
528+IT_PROG_INTLTOOL([0.35.0])
529+
530+AC_SUBST(CFLAGS)
531+AC_SUBST(CPPFLAGS)
532+AC_SUBST(LDFLAGS)
533+
534+GLIB_REQUIRED=2.26.0
535+
536+BLUEBIRD_REQUIRED="glib-2.0 >= $GLIB_REQUIRED
537+ gobject-2.0 >= $GLIB_REQUIRED
538+ gio-unix-2.0 >= $GLIB_REQUIRED
539+ sqlite3"
540+
541+PKG_CHECK_MODULES(BLUEBIRD, [$BLUEBIRD_REQUIRED])
542+AC_SUBST(BLUEBIRD_CFLAGS)
543+AC_SUBST(BLUEBIRD_LIBS)
544+
545+AC_CONFIG_FILES([
546+ Makefile
547+ src/Makefile
548+ extensions/Makefile
549+ extra/Makefile
550+ extra/ontology/Makefile
551+ test/Makefile
552+ test/dbus/Makefile
553+ test/direct/Makefile
554+ po/Makefile.in
555+])
556+
557+# check for rapper
558+AC_CHECK_PROG(HAVE_RAPPER, rapper, yes, no)
559+if test "x$HAVE_RAPPER" = "xno"; then
560+ AC_MSG_ERROR("You need the tool `rapper' from the `raptor-utils' package in order to compile Zeitgeist")
561+fi
562+
563+# check for python-rdflib
564+AC_MSG_CHECKING([for python-rdflib])
565+echo "import rdflib" | python - 2>/dev/null
566+if test $? -ne 0 ; then
567+ AC_MSG_FAILURE([failed. Please install the python-rdflib package.])
568+else
569+ AC_MSG_RESULT([yes])
570+fi
571+
572+AC_OUTPUT
573
574=== renamed file 'configure.ac' => 'configure.ac.moved'
575=== added directory 'extensions'
576=== added file 'extensions/Makefile.am'
577--- extensions/Makefile.am 1970-01-01 00:00:00 +0000
578+++ extensions/Makefile.am 2011-09-25 13:50:28 +0000
579@@ -0,0 +1,39 @@
580+NULL =
581+
582+#extensionsdir = $(libdir)/zeitgeist/extensions
583+noinst_LTLIBRARIES = ds-registry.la blacklist.la
584+
585+AM_CPPFLAGS = \
586+ $(BLUEBIRD_CFLAGS) \
587+ -include $(CONFIG_HEADER) \
588+ -I $(top_srcdir)/src \
589+ -w \
590+ $(NULL)
591+
592+VALAFLAGS = \
593+ --target-glib=2.26 \
594+ --pkg gio-2.0 \
595+ --pkg sqlite3 \
596+ --pkg gmodule-2.0 \
597+ $(top_srcdir)/src/zeitgeist-engine.vapi \
598+ $(NULL)
599+
600+ds_registry_la_SOURCES = \
601+ ds-registry.vala \
602+ $(NULL)
603+
604+ds_registry_la_LDFLAGS = -module -avoid-version
605+
606+ds_registry_la_LIBADD = \
607+ $(BLUEBIRD_LIBS) \
608+ $(NULL)
609+
610+blacklist_la_SOURCES = \
611+ blacklist.vala \
612+ $(NULL)
613+
614+blacklist_la_LDFLAGS = -module -avoid-version
615+
616+blacklist_la_LIBADD = \
617+ $(BLUEBIRD_LIBS) \
618+ $(NULL)
619
620=== added file 'extensions/blacklist.vala'
621--- extensions/blacklist.vala 1970-01-01 00:00:00 +0000
622+++ extensions/blacklist.vala 2011-09-25 13:50:28 +0000
623@@ -0,0 +1,200 @@
624+/* ds-registry.vala
625+ *
626+ * Copyright © 2011 Collabora Ltd.
627+ * By Siegfried-Angel Gevatter Pujals <siegfried@gevatter.com>
628+ * Copyright © 2011 Michal Hruby <michal.mhr@gmail.com>
629+ *
630+ * Based upon a Python implementation (2009-2011) by:
631+ * Mikkel Kamstrup Erlandsen <mikkel.kamstrup@gmail.com>
632+ * Manish Sinha <manishsinha@ubuntu.com>
633+ *
634+ * This program is free software: you can redistribute it and/or modify
635+ * it under the terms of the GNU Lesser General Public License as published by
636+ * the Free Software Foundation, either version 2.1 of the License, or
637+ * (at your option) any later version.
638+ *
639+ * This program is distributed in the hope that it will be useful,
640+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
641+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
642+ * GNU General Public License for more details.
643+ *
644+ * You should have received a copy of the GNU Lesser General Public License
645+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
646+ *
647+ */
648+
649+namespace Zeitgeist
650+{
651+ [DBus (name = "org.gnome.zeitgeist.Blacklist")]
652+ public interface RemoteBlacklist: Object
653+ {
654+ public abstract void add_template (string template_id,
655+ [DBus (signature = "(asaasay)")] Variant event_template)
656+ throws Error;
657+ [DBus (signature = "a{s(asaasay)}")]
658+ public abstract Variant get_templates () throws Error;
659+ public abstract void remove_template (string template_id)
660+ throws Error;
661+
662+ public signal void template_added (string template_id,
663+ [DBus (signature = "s(asaasay)")] Variant event_template);
664+ public signal void template_removed (string template_id,
665+ [DBus (signature = "s(asassay)")] Variant event_template);
666+ }
667+
668+ namespace BlacklistTemplates
669+ {
670+ private const string SIG_BLACKLIST = "a{s("+Utils.SIG_EVENT+")}";
671+
672+ private static HashTable<string, Event> from_variant (
673+ Variant templates_variant)
674+ {
675+ var blacklist = new HashTable<string, Event> (str_hash, str_equal);
676+
677+ assert (templates_variant.get_type_string () == SIG_BLACKLIST);
678+ foreach (Variant template_variant in templates_variant)
679+ {
680+ VariantIter iter = template_variant.iterator ();
681+ string template_id = iter.next_value ().get_string ();
682+ // FIXME: throw exception upon error instead of aborting
683+ Event template = new Event.from_variant (iter.next_value ());
684+ blacklist.insert (template_id, template);
685+ }
686+
687+ return blacklist;
688+ }
689+
690+ public static Variant to_variant (HashTable<string, Event> blacklist)
691+ {
692+ var vb = new VariantBuilder (new VariantType (SIG_BLACKLIST));
693+ {
694+ var iter = HashTableIter<string, Event> (blacklist);
695+ string template_id;
696+ Event event_template;
697+ while (iter.next (out template_id, out event_template))
698+ {
699+ vb.open (new VariantType ("{s("+Utils.SIG_EVENT+")}"));
700+ vb.add ("s", template_id);
701+ vb.add_value (event_template.to_variant ());
702+ vb.close ();
703+ }
704+ }
705+ return vb.end ();
706+ }
707+ }
708+
709+ class Blacklist: Extension, RemoteBlacklist
710+ {
711+ private HashTable<string, Event> blacklist;
712+ private uint registration_id;
713+
714+ Blacklist ()
715+ {
716+ Object ();
717+ }
718+
719+ construct
720+ {
721+ // Restore previous blacklist from database, or create an empty one
722+ Variant? templates = retrieve_config ("blacklist",
723+ BlacklistTemplates.SIG_BLACKLIST);
724+ if (templates != null)
725+ blacklist = BlacklistTemplates.from_variant (templates);
726+ else
727+ blacklist = new HashTable<string, Event> (str_hash, str_equal);
728+
729+ // This will be called after bus is acquired, so it shouldn't block
730+ try
731+ {
732+ var connection = Bus.get_sync (BusType.SESSION, null);
733+ registration_id = connection.register_object<RemoteBlacklist> (
734+ "/org/gnome/zeitgeist/blacklist", this);
735+ }
736+ catch (Error err)
737+ {
738+ warning ("%s", err.message);
739+ }
740+ }
741+
742+ public override string get_name () {
743+ return "blacklist";
744+ }
745+
746+ public override void unload ()
747+ {
748+ try
749+ {
750+ var connection = Bus.get_sync (BusType.SESSION, null);
751+ if (registration_id != 0)
752+ {
753+ connection.unregister_object (registration_id);
754+ registration_id = 0;
755+ }
756+ }
757+ catch (Error err)
758+ {
759+ warning ("%s", err.message);
760+ }
761+
762+ debug ("%s, this.ref_count = %u", Log.METHOD, this.ref_count);
763+ }
764+
765+ private void flush ()
766+ {
767+ Variant v = BlacklistTemplates.to_variant (blacklist);
768+ store_config ("blacklist", v);
769+ }
770+
771+ public override void pre_insert_events (GenericArray<Event?> events,
772+ BusName? sender)
773+ {
774+ for (int i=0; i < events.length; i++)
775+ foreach (var tmpl in blacklist.get_values ())
776+ if (events[i].matches_template (tmpl)) events[i] = null;
777+ }
778+
779+ public void add_template (string template_id, Variant event_template)
780+ throws EngineError
781+ {
782+ Event template = new Event.from_variant (event_template);
783+ blacklist.insert (template_id, template);
784+ debug ("Added blacklist template: %s", template_id);
785+ template_added (template_id, event_template);
786+ flush ();
787+ }
788+
789+ public void remove_template (string template_id)
790+ {
791+ Event event_template = blacklist.lookup (template_id);
792+ if (blacklist.remove (template_id))
793+ {
794+ debug ("Removed blacklist template: %s", template_id);
795+ template_removed (template_id, event_template.to_variant ());
796+ flush ();
797+ }
798+ else
799+ {
800+ debug ("Blacklist template \"%s\" not found.", template_id);
801+ }
802+ }
803+
804+ public Variant get_templates ()
805+ {
806+ return BlacklistTemplates.to_variant (blacklist);
807+ }
808+
809+ }
810+
811+ [ModuleInit]
812+#if BUILTIN_EXTENSIONS
813+ public static Type blacklist_init (TypeModule module)
814+ {
815+#else
816+ public static Type extension_register (TypeModule module)
817+ {
818+#endif
819+ return typeof (Blacklist);
820+ }
821+}
822+
823+// vim:expandtab:ts=4:sw=4
824
825=== added file 'extensions/ds-registry.vala'
826--- extensions/ds-registry.vala 1970-01-01 00:00:00 +0000
827+++ extensions/ds-registry.vala 2011-09-25 13:50:28 +0000
828@@ -0,0 +1,378 @@
829+/* ds-registry.vala
830+ *
831+ * Copyright © 2011 Michal Hruby <michal.mhr@gmail.com>
832+ *
833+ * Based upon a Python implementation (2009-2010) by:
834+ * Siegfried-Angel Gevatter Pujals <siegfried@gevatter.com>
835+ * Mikkel Kamstrup Erlandsen <mikkel.kamstrup@gmail.com>
836+ *
837+ * This program is free software: you can redistribute it and/or modify
838+ * it under the terms of the GNU Lesser General Public License as published by
839+ * the Free Software Foundation, either version 2.1 of the License, or
840+ * (at your option) any later version.
841+ *
842+ * This program is distributed in the hope that it will be useful,
843+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
844+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
845+ * GNU General Public License for more details.
846+ *
847+ * You should have received a copy of the GNU Lesser General Public License
848+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
849+ *
850+ */
851+
852+namespace Zeitgeist
853+{
854+ [DBus (name = "org.gnome.zeitgeist.DataSourceRegistry")]
855+ public interface RemoteRegistry: Object
856+ {
857+ [DBus (signature = "a(sssa(asaasay)bxb)")]
858+ public abstract Variant get_data_sources () throws Error;
859+ public abstract bool register_data_source (string unique_id,
860+ string name, string description,
861+ [DBus (signature = "a(asaasay)")] Variant event_templates, BusName? sender)
862+ throws Error;
863+ public abstract void set_data_source_enabled (string unique_id,
864+ bool enabled) throws Error;
865+ [DBus (signature = "(sssa(asaasay)bxb)")]
866+ public abstract Variant get_data_source_from_id (string id) throws Error;
867+
868+ public signal void data_source_disconnected (
869+ [DBus (signature = "(sssa(asaasay)bxb)")] Variant data_source);
870+ public signal void data_source_enabled (string unique_id,
871+ bool enabled);
872+ public signal void data_source_registered (
873+ [DBus (signature = "(sssa(asaasay)bxb)")] Variant data_source);
874+ }
875+
876+ class DataSource: Object
877+ {
878+ public GenericArray<Event>? event_templates { get; set; }
879+ public string unique_id { get; set; }
880+ public string name { get; set; }
881+ public string description { get; set; }
882+
883+ public bool enabled { get; set; }
884+ public bool running { get; set; }
885+ public int64 timestamp { get; set; }
886+
887+ public DataSource ()
888+ {
889+ Object ();
890+ }
891+
892+ public DataSource.full (string unique_id, string name,
893+ string description, GenericArray<Event> templates)
894+ {
895+ Object (unique_id: unique_id, name: name, description: description,
896+ event_templates: templates);
897+ }
898+
899+ public DataSource.from_variant (Variant variant)
900+ {
901+ // we expect (sssa(asaasay)bxb)
902+ warn_if_fail (variant.get_type_string () == "(sssa("+Utils.SIG_EVENT+")bxb)"
903+ || variant.get_type_string () == "sssa("+Utils.SIG_EVENT+")");
904+ var iter = variant.iterator ();
905+
906+ assert (iter.n_children () >= 4);
907+
908+ unique_id = iter.next_value ().get_string ();
909+ name = iter.next_value ().get_string ();
910+ description = iter.next_value ().get_string ();
911+ event_templates = Events.from_variant (iter.next_value ());
912+
913+ if (iter.n_children () > 4)
914+ {
915+ running = iter.next_value ().get_boolean ();
916+ timestamp = iter.next_value ().get_int64 ();
917+ enabled = iter.next_value ().get_boolean ();
918+ }
919+ }
920+
921+ public Variant to_variant ()
922+ {
923+ var vb = new VariantBuilder (new VariantType (
924+ "(sssa("+Utils.SIG_EVENT+")bxb)"));
925+
926+ vb.add ("s", unique_id);
927+ vb.add ("s", name);
928+ vb.add ("s", description);
929+ if (event_templates != null && event_templates.length > 0)
930+ {
931+ vb.add_value (Events.to_variant (event_templates));
932+ }
933+ else
934+ {
935+ vb.open (new VariantType ("a("+Utils.SIG_EVENT+")"));
936+ vb.close ();
937+ }
938+
939+ vb.add ("b", running);
940+ vb.add ("x", timestamp);
941+ vb.add ("b", enabled);
942+
943+ return vb.end ();
944+ }
945+ }
946+
947+ class DataSourceRegistry: Extension, RemoteRegistry
948+ {
949+ private HashTable<string, DataSource> sources;
950+ private HashTable<string, GenericArray<BusName?>> running;
951+ private uint registration_id;
952+ private bool dirty;
953+
954+ DataSourceRegistry ()
955+ {
956+ Object ();
957+ }
958+
959+ construct
960+ {
961+ sources = new HashTable<string, DataSource> (str_hash, str_equal);
962+ running = new HashTable<string, GenericArray<BusName?>>(str_hash, str_equal);
963+ // FIXME: load data sources
964+
965+ // this will be called after bus is acquired, so it shouldn't block
966+ try
967+ {
968+ var connection = Bus.get_sync (BusType.SESSION, null);
969+ registration_id = connection.register_object<RemoteRegistry> (
970+ "/org/gnome/zeitgeist/data_source_registry", this);
971+
972+ connection.signal_subscribe ("org.freedesktop.DBus",
973+ "org.freedesktop.DBus", "NameOwnerChanged",
974+ "/org/freedesktop/DBus", null, 0,
975+ (conn, sender, path, ifc_name, sig_name, parameters) =>
976+ {
977+ // name, old_owner, new_owner
978+ var name = parameters.get_child_value (0).dup_string ();
979+ var old_owner = parameters.get_child_value (1).dup_string ();
980+ var new_owner = parameters.get_child_value (2).dup_string ();
981+ if (new_owner != "") return;
982+
983+ // are there DataSources with this BusName?
984+ var disconnected_ds = new GenericArray<DataSource> ();
985+ var iter = HashTableIter<string, GenericArray<BusName?>> (running);
986+ unowned string uid;
987+ unowned GenericArray<BusName> name_arr;
988+ while (iter.next (out uid, out name_arr))
989+ {
990+ for (int i = 0; i < name_arr.length; i++)
991+ {
992+ if (name_arr[i] == name)
993+ {
994+ disconnected_ds.add (sources.lookup (uid));
995+ name_arr.remove_index_fast (i--);
996+ }
997+ }
998+ }
999+
1000+ if (disconnected_ds.length == 0) return;
1001+
1002+ for (int i = 0; i < disconnected_ds.length; i++)
1003+ {
1004+ var ds = disconnected_ds[i];
1005+ uid = ds.unique_id;
1006+ ds.timestamp = Timestamp.now ();
1007+ var strid = "%s [%s]".printf (ds.name, uid);
1008+ debug ("Client disconnected: %s", strid);
1009+
1010+ if (running.lookup (uid).length == 0)
1011+ {
1012+ debug ("No remaining client running: %s", strid);
1013+ running.remove (uid);
1014+ ds.running = false;
1015+
1016+ data_source_disconnected (ds.to_variant ());
1017+ }
1018+ }
1019+ });
1020+ }
1021+ catch (Error err)
1022+ {
1023+ warning ("%s", err.message);
1024+ }
1025+
1026+ // FIXME: set up gobject timer like ->
1027+ // gobject.timeout_add(DISK_WRITE_TIMEOUT, self._write_to_disk)
1028+ }
1029+
1030+
1031+ public override string get_name ()
1032+ {
1033+ return "data-source-registry";
1034+ }
1035+
1036+ public override void unload ()
1037+ {
1038+ try
1039+ {
1040+ var connection = Bus.get_sync (BusType.SESSION, null);
1041+ if (registration_id != 0)
1042+ {
1043+ connection.unregister_object (registration_id);
1044+ registration_id = 0;
1045+ }
1046+ }
1047+ catch (Error err)
1048+ {
1049+ warning ("%s", err.message);
1050+ }
1051+
1052+ write_to_disk();
1053+ debug ("%s, this.ref_count = %u", Log.METHOD, this.ref_count);
1054+ }
1055+
1056+ public Variant get_data_sources ()
1057+ {
1058+ var array = new VariantBuilder (new VariantType (
1059+ "a(sssa("+Utils.SIG_EVENT+")bxb)"));
1060+ List<unowned DataSource> data_sources = sources.get_values ();
1061+ data_sources.sort ((a, b) =>
1062+ {
1063+ return strcmp (a.unique_id, b.unique_id);
1064+ });
1065+
1066+ foreach (unowned DataSource ds in data_sources)
1067+ {
1068+ array.add_value (ds.to_variant ());
1069+ }
1070+
1071+ return array.end ();
1072+ }
1073+
1074+ private bool is_sender_known(BusName? sender,
1075+ GenericArray<BusName?> sender_array)
1076+ {
1077+ for (int i=0; i<sender_array.length; i++)
1078+ {
1079+ if (sender == sender_array[i])
1080+ return true;
1081+ }
1082+ return false;
1083+ }
1084+
1085+ public bool register_data_source (string unique_id, string name,
1086+ string description, Variant event_templates, BusName? sender)
1087+ {
1088+ debug ("%s: %s, %s, %s", Log.METHOD, unique_id, name, description);
1089+
1090+ var sender_array = running.lookup (unique_id);
1091+ if (sender_array == null)
1092+ {
1093+ running.insert (unique_id, new GenericArray<BusName?>());
1094+ running.lookup (unique_id).add (sender);
1095+ }
1096+ else if (is_sender_known (sender, sender_array))
1097+ {
1098+ running.lookup (unique_id).add (sender);
1099+ }
1100+
1101+ unowned DataSource? ds = sources.lookup (unique_id);
1102+ if (ds != null)
1103+ {
1104+ var templates = Events.from_variant (event_templates);
1105+ ds.name = name;
1106+ ds.description = description;
1107+ ds.event_templates = templates;
1108+ ds.timestamp = Timestamp.now ();
1109+ ds.running = true;
1110+ write_to_disk();
1111+
1112+ data_source_registered (ds.to_variant ());
1113+
1114+ return ds.enabled;
1115+ }
1116+ else
1117+ {
1118+ var templates = Events.from_variant (event_templates);
1119+ DataSource new_ds = new DataSource.full (unique_id, name,
1120+ description, templates);
1121+ new_ds.enabled = true;
1122+ new_ds.running = true;
1123+ new_ds.timestamp = Timestamp.now ();
1124+ sources.insert (unique_id, new_ds);
1125+ write_to_disk();
1126+
1127+ data_source_registered (new_ds.to_variant ());
1128+
1129+ return new_ds.enabled;
1130+ }
1131+
1132+ }
1133+
1134+ public void set_data_source_enabled (string unique_id, bool enabled)
1135+ {
1136+ debug ("%s: %s, %d", Log.METHOD, unique_id, (int) enabled);
1137+ unowned DataSource? ds = sources.lookup (unique_id);
1138+ if (ds != null)
1139+ {
1140+ bool changed = ds.enabled != enabled;
1141+ ds.enabled = enabled;
1142+
1143+ if (changed) data_source_enabled (unique_id, enabled);
1144+ }
1145+ else
1146+ {
1147+ warning ("DataSource \"%s\" wasn't registered!", unique_id);
1148+ }
1149+ }
1150+
1151+ public Variant get_data_source_from_id (string unique_id) throws Error
1152+ {
1153+ unowned DataSource? ds = sources.lookup (unique_id);
1154+ if (ds != null)
1155+ {
1156+ return ds.to_variant ();
1157+ }
1158+
1159+ throw new EngineError.INVALID_KEY (
1160+ "Datasource with unique ID: %s not found".printf (unique_id));
1161+ }
1162+
1163+ public override void pre_insert_events (GenericArray<Event?> events,
1164+ BusName? sender)
1165+ {
1166+ foreach (string unique_id in running.get_keys())
1167+ {
1168+ GenericArray<BusName?> bus_names = running.lookup(unique_id);
1169+ if (is_sender_known(sender, bus_names))
1170+ {
1171+ var data_source = sources.lookup(unique_id);
1172+ data_source.timestamp = Timestamp.now ();
1173+ dirty = false;
1174+ if (!data_source.enabled)
1175+ {
1176+ for (int i=0; i < events.length; i++)
1177+ {
1178+ events[i] = null;
1179+ }
1180+ }
1181+ }
1182+ }
1183+ }
1184+
1185+ private void write_to_disk ()
1186+ {
1187+ if (dirty)
1188+ {
1189+ //FIXME: Write to disk needs to be implemented
1190+ }
1191+ }
1192+ }
1193+
1194+ [ModuleInit]
1195+#if BUILTIN_EXTENSIONS
1196+ public static Type data_source_registry_init (TypeModule module)
1197+ {
1198+#else
1199+ public static Type extension_register (TypeModule module)
1200+ {
1201+#endif
1202+ return typeof (DataSourceRegistry);
1203+ }
1204+}
1205+
1206+// vim:expandtab:ts=4:sw=4
1207
1208=== added file 'extensions/histogram.vala'
1209--- extensions/histogram.vala 1970-01-01 00:00:00 +0000
1210+++ extensions/histogram.vala 2011-09-25 13:50:28 +0000
1211@@ -0,0 +1,129 @@
1212+/* histogram.vala
1213+ *
1214+ * Copyright © 2011 Michal Hruby <michal.mhr@gmail.com>
1215+ *
1216+ * Based upon a Python implementation (2010-2011) by:
1217+ * Siegfried-Angel Gevatter Pujals <siegfried@gevatter.com>
1218+ *
1219+ * This program is free software: you can redistribute it and/or modify
1220+ * it under the terms of the GNU Lesser General Public License as published by
1221+ * the Free Software Foundation, either version 2.1 of the License, or
1222+ * (at your option) any later version.
1223+ *
1224+ * This program is distributed in the hope that it will be useful,
1225+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
1226+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1227+ * GNU General Public License for more details.
1228+ *
1229+ * You should have received a copy of the GNU Lesser General Public License
1230+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
1231+ *
1232+ */
1233+
1234+namespace Zeitgeist
1235+{
1236+ [DBus (name = "org.gnome.zeitgeist.Histogram")]
1237+ public interface RemoteHistogram: Object
1238+ {
1239+ [DBus (signature = "a(xu)")]
1240+ public abstract Variant get_histogram_data () throws Error;
1241+ }
1242+
1243+ class Histogram: Extension, RemoteHistogram
1244+ {
1245+
1246+ private uint registration_id = 0;
1247+
1248+ construct
1249+ {
1250+ // This will be called after bus is acquired, so it shouldn't block
1251+ try
1252+ {
1253+ var connection = Bus.get_sync (BusType.SESSION, null);
1254+ registration_id = connection.register_object<RemoteHistogram> (
1255+ "/org/gnome/zeitgeist/journal/activity", this);
1256+ }
1257+ catch (Error err)
1258+ {
1259+ warning ("%s", err.message);
1260+ }
1261+ }
1262+
1263+ public override string get_name ()
1264+ {
1265+ return "histogram";
1266+ }
1267+
1268+ public override void unload ()
1269+ {
1270+ try
1271+ {
1272+ var connection = Bus.get_sync (BusType.SESSION, null);
1273+ if (registration_id != 0)
1274+ {
1275+ connection.unregister_object (registration_id);
1276+ registration_id = 0;
1277+ }
1278+ }
1279+ catch (Error err)
1280+ {
1281+ warning ("%s", err.message);
1282+ }
1283+
1284+ debug ("%s, this.ref_count = %u", Log.METHOD, this.ref_count);
1285+ }
1286+
1287+ public Variant get_histogram_data () throws Error
1288+ {
1289+ var builder = new VariantBuilder (new VariantType ("a(xu)"));
1290+
1291+ string sql = """
1292+ SELECT strftime('%s', datetime(timestamp/1000, 'unixepoch'),
1293+ 'start of day') AS daystamp,
1294+ COUNT(*)
1295+ FROM event
1296+ GROUP BY daystamp
1297+ ORDER BY daystamp DESC
1298+ """;
1299+
1300+ Sqlite.Statement stmt;
1301+ var database = engine.database;
1302+ unowned Sqlite.Database db = database.database;
1303+
1304+ int rc = db.prepare_v2 (sql, -1, out stmt);
1305+ database.assert_query_success (rc, "SQL error");
1306+
1307+ while ((rc = stmt.step ()) == Sqlite.ROW)
1308+ {
1309+ int64 t = stmt.column_int64 (0);
1310+ uint32 count = stmt.column_int (1);
1311+
1312+ builder.add ("(xu)", t, count);
1313+ }
1314+
1315+ if (rc != Sqlite.DONE)
1316+ {
1317+ string error_message = "Error in get_histogram_data: " +
1318+ "%d, %s".printf (rc, db.errmsg ());
1319+ warning ("%s", error_message);
1320+ throw new EngineError.DATABASE_ERROR (error_message);
1321+ }
1322+
1323+ return builder.end ();
1324+ }
1325+
1326+ }
1327+
1328+ [ModuleInit]
1329+#if BUILTIN_EXTENSIONS
1330+ public static Type histogram_init (TypeModule module)
1331+ {
1332+#else
1333+ public static Type extension_register (TypeModule module)
1334+ {
1335+#endif
1336+ return typeof (Histogram);
1337+ }
1338+}
1339+
1340+// vim:expandtab:ts=4:sw=4
1341
1342=== added directory 'extra'
1343=== renamed directory 'extra' => 'extra.moved'
1344=== added file 'extra/Makefile.am'
1345--- extra/Makefile.am 1970-01-01 00:00:00 +0000
1346+++ extra/Makefile.am 2011-09-25 13:50:28 +0000
1347@@ -0,0 +1,21 @@
1348+SUBDIRS = ontology
1349+
1350+servicedir = $(datadir)/dbus-1/services
1351+nodist_service_DATA = org.gnome.zeitgeist.service
1352+
1353+org.gnome.zeitgeist.service: org.gnome.zeitgeist.service.in
1354+ sed -e s!\@prefix\@!$(prefix)! < $< > $@
1355+org.gnome.zeitgeist.service: Makefile
1356+
1357+CLEANFILES = org.gnome.zeitgeist.service \
1358+ PythonSerializer.pyc
1359+EXTRA_DIST = \
1360+ org.gnome.zeitgeist.service.in \
1361+ zeitgeist-daemon.bash_completion \
1362+ ontology2code \
1363+ $(NULL)
1364+
1365+all-local: org.gnome.zeitgeist.service
1366+
1367+clean:
1368+ rm -rf *.pyc *.~[0-9]~
1369
1370=== added directory 'extra/ontology'
1371=== added file 'extra/ontology/Makefile.am'
1372--- extra/ontology/Makefile.am 1970-01-01 00:00:00 +0000
1373+++ extra/ontology/Makefile.am 2011-09-25 13:50:28 +0000
1374@@ -0,0 +1,25 @@
1375+ontology_trig_DATA = \
1376+ zg.trig \
1377+ nie.trig \
1378+ nco.trig \
1379+ nfo.trig \
1380+ ncal.trig \
1381+ nao.trig \
1382+ nmo.trig \
1383+ nmm.trig
1384+
1385+ontology_py_DATA = \
1386+ zeitgeist.py
1387+
1388+ontology_trigdir = $(datadir)/zeitgeist/ontology
1389+ontology_pydir = $(datadir)/zeitgeist/ontology
1390+
1391+zeitgeist.py: $(ontology_trig_DATA)
1392+ echo -e "#\n# Auto-generated from all .trig files ($^). Do not edit.\n#" > $@
1393+ $(top_srcdir)/extra/ontology2code --dump-python >> $@
1394+
1395+CLEANFILES = \
1396+ $(ontology_py_DATA)
1397+
1398+EXTRA_DIST = \
1399+ $(ontology_trig_DATA)
1400
1401=== added file 'extra/ontology/nao.trig'
1402--- extra/ontology/nao.trig 1970-01-01 00:00:00 +0000
1403+++ extra/ontology/nao.trig 2011-09-25 13:50:28 +0000
1404@@ -0,0 +1,358 @@
1405+#
1406+# Copyright (c) 2007 NEPOMUK Consortium
1407+# All rights reserved, licensed under either CC-BY or BSD.
1408+#
1409+# You are free:
1410+# * to Share - to copy, distribute and transmit the work
1411+# * to Remix - to adapt the work
1412+# Under the following conditions:
1413+# * Attribution - You must attribute the work in the manner specified by the author
1414+# or licensor (but not in any way that suggests that they endorse you or your use
1415+# of the work).
1416+#
1417+# Redistribution and use in source and binary forms, with or without modification,
1418+# are permitted provided that the following conditions are met:
1419+# * Redistributions of source code must retain the above copyright notice, this
1420+# list of conditions and the following disclaimer.
1421+# * Redistributions in binary form must reproduce the above copyright notice, this
1422+# list of conditions and the following disclaimer in the documentation and/or
1423+# other materials provided with the distribution.
1424+# * Neither the names of the authors nor the names of contributors may
1425+# be used to endorse or promote products derived from this ontology without
1426+# specific prior written permission.
1427+#
1428+# THIS ONTOLOGY IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
1429+# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
1430+# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
1431+# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
1432+# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
1433+# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
1434+# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1435+# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1436+# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
1437+# THIS ONTOLOGY, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1438+#
1439+
1440+@prefix dc: <http://purl.org/dc/elements/1.1/> .
1441+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
1442+@prefix nao: <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#> .
1443+@prefix nrl: <http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#> .
1444+@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
1445+@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
1446+@prefix dcterms: <http://purl.org/dc/terms/> .
1447+
1448+<http://www.semanticdesktop.org/ontologies/2007/08/15/nao> {
1449+ <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#hasDefaultNamespaceAbbreviation>
1450+ a rdf:Property ;
1451+ rdfs:comment "Defines the default static namespace abbreviation for a graph" ;
1452+ rdfs:domain nrl:Data ;
1453+ rdfs:label "has default namespace abbreviation" ;
1454+ rdfs:range rdfs:Literal ;
1455+ rdfs:subPropertyOf <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#annotation> ;
1456+ nrl:maxCardinality "1"^^xsd:nonNegativeInteger .
1457+
1458+ <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#Symbol>
1459+ a rdfs:Class ;
1460+ rdfs:comment "Represents a symbol" ;
1461+ rdfs:label "symbol" ;
1462+ rdfs:subClassOf rdfs:Resource .
1463+
1464+ <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#FreeDesktopIcon>
1465+ a rdfs:Class ;
1466+ rdfs:comment "Represents a desktop icon as defined in the FreeDesktop Icon Naming Standard" ;
1467+ rdfs:label "freedesktopicon" ;
1468+ rdfs:subClassOf nao:Symbol .
1469+
1470+ <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#iconName>
1471+ a rdf:Property ;
1472+ rdfs:comment "Defines a name for a FreeDesktop Icon as defined in the FreeDesktop Icon Naming Standard" ;
1473+ rdfs:domain nao:FreeDesktopIcon ;
1474+ rdfs:label "iconname" ;
1475+ rdfs:range rdfs:Literal ;
1476+ rdfs:subPropertyOf <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#identifier> ;
1477+ nrl:minCardinality "1"^^xsd:nonNegativeInteger .
1478+
1479+ <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#score>
1480+ a rdf:Property ;
1481+ rdfs:comment "An authoritative score for an item valued between 0 and 1" ;
1482+ rdfs:domain rdfs:Resource ;
1483+ rdfs:label "score" ;
1484+ rdfs:range xsd:float ;
1485+ rdfs:subPropertyOf <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#annotation> .
1486+
1487+ <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#scoreParameter>
1488+ a rdf:Property ;
1489+ rdfs:comment "A marker property to mark selected properties which are input to a mathematical algorithm to generate scores for resources. Properties are marked by being defined as subproperties of this property" ;
1490+ rdfs:domain rdfs:Resource ;
1491+ rdfs:label "scoreparameter" ;
1492+ rdfs:range xsd:float ;
1493+ rdfs:subPropertyOf <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#annotation> .
1494+
1495+
1496+ <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#isTopicOf>
1497+ a rdf:Property ;
1498+ rdfs:comment "Defines a relationship between two resources, where the subject is a topic of the object" ;
1499+ rdfs:label "is topic of" ;
1500+ rdfs:range rdfs:Resource ;
1501+ rdfs:subPropertyOf <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#isRelated> ;
1502+ nrl:inverseProperty nao:hasTopic .
1503+
1504+ <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#hasSubResource>
1505+ a rdf:Property, nrl:SymmetricProperty ;
1506+ rdfs:comment "Defines a relationship between a resource and one or more sub resources" ;
1507+ rdfs:label "has Subresource" ;
1508+ rdfs:range rdfs:Resource ;
1509+ rdfs:subPropertyOf <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#isRelated> ;
1510+ nrl:inverseProperty nao:hasSuperResource .
1511+
1512+ <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#hasSuperResource>
1513+ a rdf:Property, nrl:SymmetricProperty ;
1514+ rdfs:comment "Defines a relationship between a resource and one or more super resources" ;
1515+ rdfs:label "has Superresource" ;
1516+ rdfs:range rdfs:Resource ;
1517+ rdfs:subPropertyOf <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#isRelated> ;
1518+ nrl:inverseProperty nao:hasSubResource .
1519+
1520+ <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#isTagFor>
1521+ a rdf:Property ;
1522+ rdfs:comment "States which resources a tag is associated with" ;
1523+ rdfs:domain <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#Tag> ;
1524+ rdfs:label "is tag for" ;
1525+ rdfs:range rdfs:Resource ;
1526+ rdfs:subPropertyOf <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#annotation> ;
1527+ nrl:inverseProperty nao:hasTag .
1528+
1529+ <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#version>
1530+ a rdf:Property ;
1531+ rdfs:comment "Specifies the version of a graph, in numeric format" ;
1532+ rdfs:domain nrl:Data ;
1533+ rdfs:label "version" ;
1534+ rdfs:range xsd:float ;
1535+ rdfs:subPropertyOf <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#annotation> ;
1536+ nrl:maxCardinality "1"^^xsd:nonNegativeInteger .
1537+
1538+ <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#altLabel>
1539+ a rdf:Property ;
1540+ rdfs:comment "An alternative label alongside the preferred label for a resource" ;
1541+ rdfs:label "alternative label" ;
1542+ rdfs:range rdfs:Literal ;
1543+ rdfs:subPropertyOf rdfs:label .
1544+
1545+ <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#hasSymbol>
1546+ a rdf:Property ;
1547+ rdfs:comment "Annotation for a resource in the form of a symbol representation" ;
1548+ rdfs:domain rdfs:Resource ;
1549+ rdfs:label "has symbol" ;
1550+ rdfs:range <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#Symbol> .
1551+
1552+ <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#prefSymbol>
1553+ a rdf:Property ;
1554+ rdfs:comment "A unique preferred symbol representation for a resource" ;
1555+ rdfs:domain rdfs:Resource ;
1556+ rdfs:label "preferred symbol" ;
1557+ rdfs:subPropertyOf <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#hasSymbol> ;
1558+ rdfs:range <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#Symbol> .
1559+
1560+ <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#altSymbol>
1561+ a rdf:Property ;
1562+ rdfs:comment "An alternative symbol representation for a resource" ;
1563+ rdfs:domain rdfs:Resource ;
1564+ rdfs:label "alternative symbol" ;
1565+ rdfs:subPropertyOf <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#hasSymbol> ;
1566+ rdfs:range <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#Symbol> .
1567+
1568+ <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#hasTopic>
1569+ a rdf:Property ;
1570+ rdfs:comment "Defines a relationship between two resources, where the object is a topic of the subject" ;
1571+ rdfs:label "has topic" ;
1572+ rdfs:range rdfs:Resource ;
1573+ rdfs:subPropertyOf <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#isRelated> ;
1574+ nrl:inverseProperty nao:isTopicOf .
1575+
1576+ <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#serializationLanguage>
1577+ a rdf:Property ;
1578+ rdfs:comment "States the serialization language for a named graph that is represented within a document" ;
1579+ rdfs:domain nrl:DocumentGraph ;
1580+ rdfs:label "serialization language" ;
1581+ rdfs:range rdfs:Literal ;
1582+ nrl:maxCardinality "1"^^xsd:nonNegativeInteger .
1583+
1584+ <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#creator>
1585+ a rdf:Property ;
1586+ rdfs:comment "Refers to the single or group of individuals that created the resource" ;
1587+ rdfs:domain rdfs:Resource ;
1588+ rdfs:label "creator" ;
1589+ rdfs:range <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#Party> ;
1590+ rdfs:subPropertyOf <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#annotation> , dc:creator .
1591+
1592+ <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#annotation>
1593+ a rdf:Property ;
1594+ rdfs:comment "Generic annotation for a resource" ;
1595+ rdfs:domain rdfs:Resource ;
1596+ rdfs:label "annotation" .
1597+
1598+ <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#rating>
1599+ a rdf:Property ;
1600+ rdfs:subPropertyOf <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#annotation> ;
1601+ rdfs:comment "Annotation for a resource in the form of an unrestricted rating" ;
1602+ rdfs:domain rdfs:Resource ;
1603+ rdfs:label "rating" .
1604+
1605+ <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#numericRating>
1606+ a rdf:Property ;
1607+ rdfs:subPropertyOf <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#rating> ,
1608+ <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#scoreParameter> ;
1609+ rdfs:comment " Annotation for a resource in the form of a numeric rating (float value), allowed values are between 1 and 10 whereas 0 is interpreted as not set" ;
1610+ rdfs:domain rdfs:Resource ;
1611+ rdfs:label "numeric rating" ;
1612+ rdfs:range xsd:integer ;
1613+ nrl:maxCardinality "1"^^xsd:nonNegativeInteger .
1614+
1615+ <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#Tag>
1616+ a rdfs:Class ;
1617+ rdfs:comment "Represents a generic tag" ;
1618+ rdfs:label "tag" ;
1619+ rdfs:subClassOf rdfs:Resource .
1620+
1621+ <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#contributor>
1622+ a rdf:Property ;
1623+ rdfs:comment "Refers to a single or a group of individuals that contributed to a resource" ;
1624+ rdfs:domain rdfs:Resource ;
1625+ rdfs:label "contributor" ;
1626+ rdfs:range <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#Party> ;
1627+ rdfs:subPropertyOf <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#annotation> , dc:contributor .
1628+
1629+ <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#hasDefaultNamespace>
1630+ a rdf:Property ;
1631+ rdfs:comment "Defines the default static namespace for a graph" ;
1632+ rdfs:domain nrl:Data ;
1633+ rdfs:label "has default namespace" ;
1634+ rdfs:range rdfs:Literal ;
1635+ rdfs:subPropertyOf <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#annotation> ;
1636+ nrl:maxCardinality "1"^^xsd:nonNegativeInteger .
1637+
1638+ <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#modified>
1639+ a rdf:Property ;
1640+ rdfs:comment "States the modification time for a resource" ;
1641+ rdfs:domain rdfs:Resource ;
1642+ rdfs:label "modified at" ;
1643+ rdfs:range xsd:dateTime ;
1644+ rdfs:subPropertyOf dcterms:modified , <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#annotation> .
1645+
1646+ <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#created>
1647+ a rdf:Property ;
1648+ rdfs:comment "States the creation, or first modification time for a resource" ;
1649+ rdfs:domain rdfs:Resource ;
1650+ rdfs:label "created at" ;
1651+ rdfs:range xsd:dateTime ;
1652+ rdfs:subPropertyOf <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#modified> ;
1653+ nrl:maxCardinality "1"^^xsd:nonNegativeInteger .
1654+
1655+ <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#lastModified>
1656+ a rdf:Property ;
1657+ rdfs:comment "States the last modification time for a resource" ;
1658+ rdfs:domain rdfs:Resource ;
1659+ rdfs:label "last modified at" ;
1660+ rdfs:range xsd:dateTime ;
1661+ rdfs:subPropertyOf <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#modified> ;
1662+ nrl:maxCardinality "1"^^xsd:nonNegativeInteger .
1663+
1664+ <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#identifier>
1665+ a rdf:Property ;
1666+ rdfs:comment "Defines a generic identifier for a resource" ;
1667+ rdfs:domain rdfs:Resource ;
1668+ rdfs:label "identifier" .
1669+
1670+ <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#status>
1671+ a rdf:Property ;
1672+ rdfs:comment "Specifies the status of a graph, stable, unstable or testing" ;
1673+ rdfs:domain nrl:Data ;
1674+ rdfs:label "status" ;
1675+ rdfs:range rdfs:Literal ;
1676+ rdfs:subPropertyOf <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#annotation> ;
1677+ nrl:maxCardinality "1"^^xsd:nonNegativeInteger .
1678+
1679+ <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#description>
1680+ a rdf:Property ;
1681+ rdfs:comment "A non-technical textual annotation for a resource" ;
1682+ rdfs:label "description" ;
1683+ rdfs:range rdfs:Literal ;
1684+ rdfs:subPropertyOf rdfs:comment , <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#annotation> .
1685+
1686+
1687+ <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#prefLabel>
1688+ a rdf:Property ;
1689+ rdfs:comment "A preferred label for a resource" ;
1690+ rdfs:label "preferred label" ;
1691+ rdfs:range rdfs:Literal ;
1692+ rdfs:subPropertyOf rdfs:label .
1693+
1694+ <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#pluralPrefLabel>
1695+ a rdf:Property ;
1696+ rdfs:comment "The plural form of the preferred label for a resource" ;
1697+ rdfs:label "preferred label plural form" ;
1698+ rdfs:range rdfs:Literal ;
1699+ rdfs:subPropertyOf rdfs:label .
1700+
1701+ <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#engineeringTool>
1702+ a rdf:Property ;
1703+ rdfs:comment "Specifies the engineering tool used to generate the graph" ;
1704+ rdfs:domain nrl:Data ;
1705+ rdfs:label "engineering tool" ;
1706+ rdfs:range rdfs:Literal ;
1707+ rdfs:subPropertyOf <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#annotation> .
1708+
1709+ <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#hasTag>
1710+ a rdf:Property ;
1711+ rdfs:comment "Defines an existing tag for a resource" ;
1712+ rdfs:domain rdfs:Resource ;
1713+ rdfs:label "has tag" ;
1714+ rdfs:range <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#Tag> ;
1715+ rdfs:subPropertyOf <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#annotation> ;
1716+ nrl:inverseProperty nao:isTagFor .
1717+
1718+ <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#isRelated>
1719+ a rdf:Property , nrl:SymmetricProperty ;
1720+ rdfs:comment "Defines an annotation for a resource in the form of a relationship between the subject resource and another resource" ;
1721+ rdfs:label "is related to" ;
1722+ rdfs:range rdfs:Resource ;
1723+ rdfs:subPropertyOf <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#annotation> .
1724+
1725+ <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#personalIdentifier>
1726+ a rdf:Property , nrl:InverseFunctionalProperty ;
1727+ rdfs:comment "Defines a personal string identifier for a resource" ;
1728+ rdfs:label "personal identifier" ;
1729+ rdfs:range rdfs:Literal ;
1730+ rdfs:subPropertyOf <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#identifier> .
1731+
1732+ <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#Party>
1733+ a rdfs:Class ;
1734+ rdfs:comment "Represents a single or a group of individuals" ;
1735+ rdfs:label "party" ;
1736+ rdfs:subClassOf rdfs:Resource .
1737+
1738+ nao:deprecated
1739+ a rdf:Property ;
1740+ 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." ;
1741+ rdfs:label "deprecated" ;
1742+ rdfs:domain rdfs:Resource ;
1743+ rdfs:range rdfs:Resource .
1744+}
1745+
1746+<http://www.semanticdesktop.org/ontologies/2007/08/15/nao/metadata> {
1747+ <http://www.semanticdesktop.org/ontologies/2007/08/15/nao/metadata>
1748+ a nrl:GraphMetadata ;
1749+ nrl:coreGraphMetadataFor <http://www.semanticdesktop.org/ontologies/2007/08/15/nao> .
1750+
1751+
1752+ <http://www.semanticdesktop.org/ontologies/2007/08/15/nao>
1753+ a nrl:Ontology , nrl:DocumentGraph ;
1754+ nao:hasDefaultNamespace "http://www.semanticdesktop.org/ontologies/2007/08/15/nao#" ;
1755+ nao:hasDefaultNamespaceAbbreviation "nao" ;
1756+ nao:lastModified "2009-07-20T14:59:09.500Z" ;
1757+ nao:serializationLanguage "TriG" ;
1758+ nao:status "Unstable" ;
1759+ nrl:updatable "0" ;
1760+ nao:version "3" .
1761+}
1762+
1763
1764=== added file 'extra/ontology/ncal.trig'
1765--- extra/ontology/ncal.trig 1970-01-01 00:00:00 +0000
1766+++ extra/ontology/ncal.trig 2011-09-25 13:50:28 +0000
1767@@ -0,0 +1,1400 @@
1768+#
1769+# Copyright (c) 2007 NEPOMUK Consortium
1770+# All rights reserved, licensed under either CC-BY or BSD.
1771+#
1772+# You are free:
1773+# * to Share - to copy, distribute and transmit the work
1774+# * to Remix - to adapt the work
1775+# Under the following conditions:
1776+# * Attribution - You must attribute the work in the manner specified by the author
1777+# or licensor (but not in any way that suggests that they endorse you or your use
1778+# of the work).
1779+#
1780+# Redistribution and use in source and binary forms, with or without modification,
1781+# are permitted provided that the following conditions are met:
1782+# * Redistributions of source code must retain the above copyright notice, this
1783+# list of conditions and the following disclaimer.
1784+# * Redistributions in binary form must reproduce the above copyright notice, this
1785+# list of conditions and the following disclaimer in the documentation and/or
1786+# other materials provided with the distribution.
1787+# * Neither the names of the authors nor the names of contributors may
1788+# be used to endorse or promote products derived from this ontology without
1789+# specific prior written permission.
1790+#
1791+# THIS ONTOLOGY IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
1792+# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
1793+# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
1794+# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
1795+# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
1796+# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
1797+# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
1798+# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
1799+# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
1800+# THIS ONTOLOGY, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
1801+#
1802+
1803+@prefix nid3: <http://www.semanticdesktop.org/ontologies/2007/05/10/nid3#> .
1804+@prefix nrl: <http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#> .
1805+@prefix nfo: <http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#> .
1806+@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
1807+@prefix tmo: <http://www.semanticdesktop.org/ontologies/2008/05/20/tmo#> .
1808+@prefix protege: <http://protege.stanford.edu/system#> .
1809+@prefix nmo: <http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#> .
1810+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
1811+@prefix nexif: <http://www.semanticdesktop.org/ontologies/2007/05/10/nexif#> .
1812+@prefix ncal: <http://www.semanticdesktop.org/ontologies/2007/04/02/ncal#> .
1813+@prefix pimo: <http://www.semanticdesktop.org/ontologies/2007/11/01/pimo#> .
1814+@prefix dcterms: <http://purl.org/dc/terms/> .
1815+@prefix nao: <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#> .
1816+@prefix geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> .
1817+@prefix dc: <http://purl.org/dc/elements/1.1/> .
1818+@prefix nie: <http://www.semanticdesktop.org/ontologies/2007/01/19/nie#> .
1819+@prefix nco: <http://www.semanticdesktop.org/ontologies/2007/03/22/nco#> .
1820+@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
1821+
1822+ncal: {ncal:sunday
1823+ a ncal:Weekday ;
1824+ rdfs:label "sunday" .
1825+
1826+ ncal:ncalTimezone
1827+ a rdf:Property ;
1828+ 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" ;
1829+ rdfs:domain ncal:NcalDateTime ;
1830+ rdfs:label "ncalTimezone" ;
1831+ rdfs:range ncal:Timezone .
1832+
1833+ ncal:delegatedFrom
1834+ a rdf:Property ;
1835+ rdfs:comment "To specify the calendar users that have delegated their participation to the calendar user specified by the property. Inspired by RFC 2445 sec. 4.2.4. Originally the value type for this property was CAL-ADDRESS. This has been expressed as nco:Contact to promote integration between NCAL and NCO." ;
1836+ rdfs:domain ncal:Attendee ;
1837+ rdfs:label "delegatedFrom" ;
1838+ rdfs:range nco:Contact .
1839+
1840+ ncal:TimezoneObservance
1841+ a rdfs:Class ;
1842+ rdfs:label "TimezoneObservance" ;
1843+ rdfs:subClassOf ncal:UnionOfTimezoneObservanceEventJournalTimezoneTodo , ncal:UnionOfTimezoneObservanceEventFreebusyTimezoneTodo , ncal:UnionOfTimezoneObservanceEventFreebusyJournalTimezoneTodo .
1844+
1845+ ncal:base64Encoding
1846+ a ncal:AttachmentEncoding ;
1847+ rdfs:label "base64Encoding" .
1848+
1849+ ncal:related
1850+ a rdf:Property ;
1851+ rdfs:comment "To specify the relationship of the alarm trigger with respect to the start or end of the calendar component. Inspired by RFC 2445 4.2.14. The RFC has specified two possible values for this property ('START' and 'END') they have been expressed as instances of the TriggerRelation class." ;
1852+ rdfs:domain ncal:Trigger ;
1853+ rdfs:label "related" ;
1854+ rdfs:range ncal:TriggerRelation .
1855+
1856+ ncal:Event
1857+ a rdfs:Class ;
1858+ rdfs:comment "Provide a grouping of component properties that describe an event." ;
1859+ rdfs:label "Event" ;
1860+ rdfs:subClassOf ncal:UnionOfTimezoneObservanceEventFreebusyTimezoneTodo , ncal:UnionOfAlarmEventFreebusyJournalTodo , ncal:UnionOfEventFreebusy , ncal:UnionOfAlarmEventJournalTodo , ncal:UnionOfEventFreebusyJournalTodo , nie:InformationElement , ncal:UnionOfEventJournalTodo , ncal:UnionOfTimezoneObservanceEventJournalTimezoneTodo , ncal:UnionOfTimezoneObservanceEventFreebusyJournalTimezoneTodo , ncal:UnionOfEventJournalTimezoneTodo , ncal:UnionOfAlarmEventFreebusyTodo , ncal:UnionOfEventTodo , ncal:UnionOfAlarmEventTodo .
1861+
1862+ ncal:created
1863+ a rdf:Property ;
1864+ rdfs:comment "This property specifies the date and time that the calendar information was created by the calendar user agent in the calendar store. Note: This is analogous to the creation date and time for a file in the file system. Inspired by RFC 2445 sec. 4.8.7.1. Note that this property is a subproperty of nie:created. The domain of nie:created is nie:DataObject. It is not a superclass of UnionOf_Vevent_Vjournal_Vtodo, but since that union is conceived as an 'abstract' class, and in real-life all resources referenced by this property will also be DataObjects, than this shouldn't cause too much of a problem. Note that RFC allows ONLY UTC time values for this property." ;
1865+ rdfs:domain ncal:UnionOfEventJournalTodo ;
1866+ rdfs:label "created" ;
1867+ rdfs:range xsd:dateTime ;
1868+ rdfs:subPropertyOf nie:created .
1869+
1870+ ncal:comment
1871+ a rdf:Property ;
1872+ 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." ;
1873+ rdfs:domain ncal:UnionOfTimezoneObservanceEventFreebusyJournalTimezoneTodo ;
1874+ rdfs:label "comment" ;
1875+ rdfs:range xsd:string .
1876+
1877+ ncal:summaryAltRep
1878+ a rdf:Property ;
1879+ rdfs:comment """Alternate representation of the comment. Introduced to cover
1880+the ALTREP parameter of the SUMMARY property. See
1881+documentation of ncal:summary for details.""" ;
1882+ rdfs:domain ncal:UnionOfAlarmEventJournalTodo ;
1883+ rdfs:label "summaryAltRep" ;
1884+ rdfs:range rdfs:Resource .
1885+
1886+ ncal:completedParticipationStatus
1887+ a ncal:ParticipationStatus ;
1888+ rdfs:label "completedParticipationStatus" .
1889+
1890+ ncal:component
1891+ a rdf:Property ;
1892+ rdfs:comment "Links the Vcalendar instance with the calendar components. This property has no direct equivalent in the RFC specification. It has been introduced to express the containmnent relations." ;
1893+ rdfs:domain ncal:Calendar ;
1894+ rdfs:label "component" ;
1895+ rdfs:range ncal:CalendarDataObject ;
1896+ rdfs:subPropertyOf nie:hasPart .
1897+
1898+ ncal:RecurrenceIdentifierRange
1899+ a rdfs:Class ;
1900+ rdfs:comment "Recurrence Identifier Range. This class has been created to provide means to express the limited set of values for the ncal:range property. See documentation for ncal:range for details." ;
1901+ rdfs:label "RecurrenceIdentifierRange" ;
1902+ rdfs:subClassOf rdfs:Resource .
1903+
1904+ ncal:cutype
1905+ a rdf:Property ;
1906+ rdfs:comment "To specify the type of calendar user specified by the property. Inspired by RFC 2445 sec. 4.2.3. This parameter has a limited vocabulary. The terms that may serve as values for this property have been expressed as instances of CalendarUserType class. The user may use instances provided with this ontology or create his own." ;
1907+ rdfs:domain ncal:Attendee ;
1908+ rdfs:label "cutype" ;
1909+ rdfs:range ncal:CalendarUserType .
1910+
1911+ ncal:needsActionStatus
1912+ a ncal:TodoStatus ;
1913+ rdfs:label "needsActionStatus" .
1914+
1915+ ncal:wkst
1916+ a rdf:Property ;
1917+ 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" ;
1918+ rdfs:domain ncal:RecurrenceRule ;
1919+ rdfs:label "wkst" ;
1920+ rdfs:range ncal:Weekday .
1921+
1922+ ncal:tzurl
1923+ a rdf:Property ;
1924+ rdfs:comment "The TZURL provides a means for a VTIMEZONE component to point to a network location that can be used to retrieve an up-to- date version of itself. Inspired by RFC 2445 sec. 4.8.3.5. Originally the range of this property had been specified as URI." ;
1925+ rdfs:domain ncal:Timezone ;
1926+ rdfs:label "tzurl" ;
1927+ rdfs:range rdfs:Resource .
1928+
1929+ ncal:acceptedParticipationStatus
1930+ a ncal:ParticipationStatus ;
1931+ rdfs:label "acceptedParticipationStatus" .
1932+
1933+ ncal:UnionOfEventTodo
1934+ a rdfs:Class ;
1935+ rdfs:label "UnionOfEventTodo" ;
1936+ rdfs:subClassOf ncal:UnionParentClass .
1937+
1938+ ncal:displayAction
1939+ a ncal:AlarmAction ;
1940+ rdfs:label "displayAction" .
1941+
1942+ ncal:wednesday
1943+ a ncal:Weekday ;
1944+ rdfs:label "wednesday" .
1945+
1946+ ncal:uid
1947+ a rdf:Property ;
1948+ rdfs:comment "This property defines the persistent, globally unique identifier for the calendar component. Inspired by the RFC 2445 sec 4.8.4.7" ;
1949+ rdfs:domain ncal:UnionOfEventFreebusyJournalTodo ;
1950+ rdfs:label "uid" ;
1951+ rdfs:range xsd:string ;
1952+ rdfs:subPropertyOf nie:identifier .
1953+
1954+ ncal:standard
1955+ a rdf:Property ;
1956+ 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" ;
1957+ rdfs:domain ncal:Timezone ;
1958+ rdfs:label "standard" ;
1959+ rdfs:range ncal:TimezoneObservance .
1960+
1961+ ncal:resourceUserType
1962+ a ncal:CalendarUserType ;
1963+ rdfs:label "resourceUserType" .
1964+
1965+ ncal:cancelledEventStatus
1966+ a ncal:EventStatus ;
1967+ rdfs:label "cancelledEventStatus" .
1968+
1969+ ncal:TimeTransparency
1970+ a rdfs:Class ;
1971+ rdfs:comment """Time transparency. Introduced to provide a way to express
1972+the limited vocabulary for the values of ncal:transp property.
1973+See documentation of ncal:transp for details.""" ;
1974+ rdfs:label "TimeTransparency" ;
1975+ rdfs:subClassOf rdfs:Resource .
1976+
1977+ ncal:cancelledTodoStatus
1978+ a ncal:TodoStatus ;
1979+ rdfs:label "cancelledTodoStatus" .
1980+
1981+ ncal:NcalTimeEntity
1982+ a rdfs:Class ;
1983+ rdfs:comment "A time entity. Conceived as a common superclass for NcalDateTime and NcalPeriod. According to RFC 2445 both DateTime and Period can be interpreted in different timezones. The first case is explored in many properties. The second case is theoretically possible in ncal:rdate property. Therefore the timezone properties have been defined at this level." ;
1984+ rdfs:label "NcalTimeEntity" ;
1985+ rdfs:subClassOf rdfs:Resource .
1986+
1987+ ncal:attachmentUri
1988+ a rdf:Property ;
1989+ 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." ;
1990+ rdfs:domain ncal:Attachment ;
1991+ rdfs:label "attachmentUri" ;
1992+ rdfs:range rdfs:Resource .
1993+
1994+ ncal:CalendarScale
1995+ a rdfs:Class ;
1996+ rdfs:comment "A calendar scale. This class has been introduced to provide the limited vocabulary for the ncal:calscale property." ;
1997+ rdfs:label "CalendarScale" ;
1998+ rdfs:subClassOf rdfs:Resource .
1999+
2000+ ncal:member
2001+ a rdf:Property ;
2002+ rdfs:comment "To specify the group or list membership of the calendar user specified by the property. Inspired by RFC 2445 sec. 4.2.11. Originally this parameter had a value type of CAL-ADDRESS. This has been expressed as nco:Contact to promote integration between NCAL and NCO" ;
2003+ rdfs:domain ncal:Attendee ;
2004+ rdfs:label "member" ;
2005+ rdfs:range nco:Contact .
2006+
2007+ ncal:individualUserType
2008+ a ncal:CalendarUserType ;
2009+ rdfs:label "individualUserType" .
2010+
2011+ ncal:completedStatus
2012+ a ncal:TodoStatus ;
2013+ rdfs:label "completedStatus" .
2014+
2015+ ncal:periodDuration
2016+ a rdf:Property ;
2017+ 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." ;
2018+ rdfs:domain ncal:NcalPeriod ;
2019+ rdfs:label "periodDuration" ;
2020+ rdfs:range xsd:duration .
2021+
2022+ ncal:dtstamp
2023+ a rdf:Property ;
2024+ 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." ;
2025+ rdfs:domain ncal:UnionOfEventFreebusyJournalTodo ;
2026+ rdfs:label "dtstamp" ;
2027+ rdfs:range xsd:dateTime .
2028+
2029+ ncal:UnionOfAlarmEventJournalTodo
2030+ a rdfs:Class ;
2031+ rdfs:label "UnionOfAlarmEventJournalTodo" ;
2032+ rdfs:subClassOf ncal:UnionParentClass .
2033+
2034+ ncal:BydayRulePart
2035+ a rdfs:Class ;
2036+ rdfs:comment "Expresses the compound value of a byday part of a recurrence rule. It stores the weekday and the integer modifier. Inspired by RFC 2445 sec. 4.3.10" ;
2037+ rdfs:label "BydayRulePart" ;
2038+ rdfs:subClassOf rdfs:Resource .
2039+
2040+ ncal:Trigger
2041+ a rdfs:Class ;
2042+ rdfs:comment "An alarm trigger. This class has been created to serve as the range of ncal:trigger property. See the documentation for ncal:trigger for more details." ;
2043+ rdfs:label "Trigger" ;
2044+ rdfs:subClassOf rdfs:Resource .
2045+
2046+ ncal:procedureAction
2047+ a ncal:AlarmAction ;
2048+ rdfs:label "procedureAction" .
2049+
2050+ ncal:class
2051+ a rdf:Property ;
2052+ 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." ;
2053+ rdfs:domain ncal:UnionOfEventJournalTodo ;
2054+ rdfs:label "class" ;
2055+ rdfs:range ncal:AccessClassification .
2056+
2057+ ncal:_8bitEncoding
2058+ a ncal:AttachmentEncoding ;
2059+ rdfs:label "_8bitEncoding" .
2060+
2061+ ncal:delegatedParticipationStatus
2062+ a ncal:ParticipationStatus ;
2063+ rdfs:label "delegatedParticipationStatus" .
2064+
2065+ ncal:transp
2066+ a rdf:Property ;
2067+ 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." ;
2068+ rdfs:domain ncal:Event ;
2069+ rdfs:label "transp" ;
2070+ rdfs:range ncal:TimeTransparency .
2071+
2072+ ncal:date
2073+ a rdf:Property ;
2074+ 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" ;
2075+ rdfs:domain ncal:NcalDateTime ;
2076+ rdfs:label "date" ;
2077+ rdfs:range xsd:date .
2078+
2079+ ncal:busyTentativeFreebusyType
2080+ a ncal:FreebusyType ;
2081+ rdfs:label "busyTentativeFreebusyType" .
2082+
2083+ ncal:emailAction
2084+ a ncal:AlarmAction ;
2085+ rdfs:label "emailAction" .
2086+
2087+ ncal:needsActionParticipationStatus
2088+ a ncal:ParticipationStatus ;
2089+ rdfs:label "needsActionParticipationStatus" .
2090+
2091+ ncal:dtend
2092+ a rdf:Property ;
2093+ rdfs:comment "This property specifies the date and time that a calendar component ends. Inspired by RFC 2445 sec. 4.8.2.2" ;
2094+ rdfs:domain ncal:UnionOfEventFreebusy ;
2095+ rdfs:label "dtend" ;
2096+ rdfs:range ncal:NcalDateTime .
2097+
2098+ ncal:privateClassification
2099+ a ncal:AccessClassification ;
2100+ rdfs:label "privateClassification" .
2101+
2102+ ncal:dateTime
2103+ a rdf:Property ;
2104+ 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" ;
2105+ rdfs:domain ncal:NcalDateTime ;
2106+ rdfs:label "dateTime" ;
2107+ rdfs:range xsd:dateTime .
2108+
2109+ ncal:prodid
2110+ a rdf:Property ;
2111+ rdfs:comment "This property specifies the identifier for the product that created the iCalendar object. Defined in RFC 2445 sec. 4.7.2" ;
2112+ rdfs:domain ncal:Calendar ;
2113+ rdfs:label "prodid" ;
2114+ rdfs:range xsd:string ;
2115+ rdfs:subPropertyOf nie:generator .
2116+
2117+ ncal:bymonthday
2118+ a rdf:Property ;
2119+ rdfs:comment "Day of the month when the event should recur. Defined in RFC 2445 sec. 4.3.10" ;
2120+ rdfs:domain ncal:RecurrenceRule ;
2121+ rdfs:label "bymonthday" ;
2122+ rdfs:range xsd:integer .
2123+
2124+ ncal:ncalRelation
2125+ a rdf:Property ;
2126+ rdfs:comment "A common superproperty for all types of ncal relations. It is not to be used directly." ;
2127+ rdfs:domain ncal:UnionOfEventJournalTodo ;
2128+ rdfs:label "ncalRelation" ;
2129+ rdfs:range xsd:string ;
2130+ rdfs:subPropertyOf dc:relation .
2131+
2132+ ncal:EventStatus
2133+ a rdfs:Class ;
2134+ rdfs:comment """A status of an event. This class has been introduced to express
2135+the limited set of values for the ncal:status property. The user may
2136+use the instances provided with this ontology or create his/her own.
2137+See the documentation for ncal:eventStatus for details.""" ;
2138+ rdfs:label "EventStatus" ;
2139+ rdfs:subClassOf rdfs:Resource .
2140+
2141+ ncal:summary
2142+ a rdf:Property ;
2143+ rdfs:comment "Defines a short summary or subject for the calendar component. Inspired by RFC 2445 sec 4.8.1.12 with the following reservations: the LANGUAGE parameter has been discarded. Please use xml:lang literals to express language. For the ALTREP parameter use the summaryAltRep property." ;
2144+ rdfs:domain ncal:UnionOfAlarmEventJournalTodo ;
2145+ rdfs:label "summary" ;
2146+ rdfs:range xsd:string .
2147+
2148+ ncal:RecurrenceFrequency
2149+ a rdfs:Class ;
2150+ rdfs:comment "Frequency of a recurrence rule. This class has been introduced to express a limited set of allowed values for the ncal:freq property. See the documentation of ncal:freq for details." ;
2151+ rdfs:label "RecurrenceFrequency" ;
2152+ rdfs:subClassOf rdfs:Resource .
2153+
2154+ ncal:Organizer
2155+ a rdfs:Class ;
2156+ rdfs:comment "An organizer of an event. This class has been introduced to serve as a range of ncal:organizer property. See documentation of ncal:organizer for details." ;
2157+ rdfs:label "Organizer" ;
2158+ rdfs:subClassOf ncal:AttendeeOrOrganizer .
2159+
2160+ ncal:fbtype
2161+ a rdf:Property ;
2162+ 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." ;
2163+ rdfs:domain ncal:FreebusyPeriod ;
2164+ rdfs:label "fbtype" ;
2165+ rdfs:range ncal:FreebusyType .
2166+
2167+ ncal:Attachment
2168+ a rdfs:Class ;
2169+ rdfs:comment "An object attached to a calendar entity. This class has been introduced to serve as a structured value of the ncal:attach property. See the documentation of ncal:attach for details." ;
2170+ rdfs:label "Attachment" ;
2171+ rdfs:subClassOf rdfs:Resource , nfo:Attachment .
2172+
2173+ ncal:tzname
2174+ a rdf:Property ;
2175+ rdfs:comment "Specifies the customary designation for a timezone description. Inspired by RFC 2445 sec. 4.8.3.2 The LANGUAGE parameter has been discarded. Please xml:lang literals to express languages. Original specification for the domain of this property stated that it must appear within the timezone component. In this ontology the TimezoneObservance class has been itroduced to clarify this specification." ;
2176+ rdfs:domain ncal:TimezoneObservance ;
2177+ rdfs:label "tzname" ;
2178+ rdfs:range xsd:string .
2179+
2180+ ncal:busyUnavailableFreebusyType
2181+ a ncal:FreebusyType ;
2182+ rdfs:label "busyUnavailableFreebusyType" .
2183+
2184+ ncal:CalendarDataObject
2185+ a rdfs:Class ;
2186+ rdfs:comment "A DataObject found in a calendar. It is usually interpreted as one of the calendar entity types (e.g. Event, Journal, Todo etc.)" ;
2187+ rdfs:label "CalendarDataObject" ;
2188+ rdfs:subClassOf nie:DataObject .
2189+
2190+ ncal:chairRole
2191+ a ncal:AttendeeRole ;
2192+ rdfs:label "chairRole" .
2193+
2194+ ncal:nonParticipantRole
2195+ a ncal:AttendeeRole ;
2196+ rdfs:label "nonParticipantRole" .
2197+
2198+ ncal:descriptionAltRep
2199+ a rdf:Property ;
2200+ rdfs:comment """Alternate representation of the calendar entity description. Introduced to cover
2201+the ALTREP parameter of the DESCRIPTION property. See
2202+documentation of ncal:description for details.""" ;
2203+ rdfs:domain ncal:UnionOfAlarmEventJournalTodo ;
2204+ rdfs:label "descriptionAltRep" ;
2205+ rdfs:range rdfs:Resource .
2206+
2207+ ncal:commentAltRep
2208+ a rdf:Property ;
2209+ rdfs:comment """Alternate representation of the comment. Introduced to cover
2210+the ALTREP parameter of the COMMENT property. See
2211+documentation of ncal:comment for details.""" ;
2212+ rdfs:domain ncal:UnionOfTimezoneObservanceEventFreebusyJournalTimezoneTodo ;
2213+ rdfs:label "commentAltRep" ;
2214+ rdfs:range rdfs:Resource .
2215+
2216+ ncal:UnionOfTimezoneObservanceEventFreebusyJournalTimezoneTodo
2217+ a rdfs:Class ;
2218+ rdfs:label "UnionOfTimezoneObservanceEventFreebusyJournalTimezoneTodo" ;
2219+ rdfs:subClassOf ncal:UnionParentClass .
2220+
2221+ ncal:contact
2222+ a rdf:Property ;
2223+ rdfs:comment "The property is used to represent contact information or alternately a reference to contact information associated with the calendar component. Inspired by RFC 2445 sec. 4.8.4.2 with the following reservations: the LANGUAGE parameter has been discarded. Please use xml:lang literals to express language. For the ALTREP parameter use the contactAltRep property.RFC doesn't define any format for the string." ;
2224+ rdfs:domain ncal:UnionOfEventFreebusyJournalTodo ;
2225+ rdfs:label "contact" ;
2226+ rdfs:range xsd:string .
2227+
2228+ ncal:sequence
2229+ a rdf:Property ;
2230+ 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" ;
2231+ rdfs:domain ncal:UnionOfEventJournalTodo ;
2232+ rdfs:label "sequence" ;
2233+ rdfs:range xsd:integer .
2234+
2235+ ncal:repeat
2236+ a rdf:Property ;
2237+ 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" ;
2238+ rdfs:domain ncal:Alarm ;
2239+ rdfs:label "repeat" ;
2240+ rdfs:range xsd:integer .
2241+
2242+ ncal:freeFreebusyType
2243+ a ncal:FreebusyType ;
2244+ rdfs:label "freeFreebusyType" .
2245+
2246+ ncal:yearly
2247+ a ncal:RecurrenceFrequency ;
2248+ rdfs:label "yearly" .
2249+
2250+ ncal:involvedContact
2251+ a rdf:Property ;
2252+ rdfs:comment "A contact of the Attendee or the organizer involved in an event or other calendar entity. This property has been introduced to express the actual value of the ATTENDEE and ORGANIZER properties. The contact will also represent the CN parameter of those properties. See documentation of ncal:attendee or ncal:organizer for more details." ;
2253+ rdfs:domain ncal:AttendeeOrOrganizer ;
2254+ rdfs:label "involvedContact" ;
2255+ rdfs:range nco:Contact .
2256+
2257+ ncal:opaqueTransparency
2258+ a ncal:TimeTransparency ;
2259+ rdfs:label "opaqueTransparency" .
2260+
2261+ ncal:inProcessStatus
2262+ a ncal:TodoStatus ;
2263+ rdfs:label "inProcessStatus" .
2264+
2265+ ncal:startTriggerRelation
2266+ a ncal:TriggerRelation ;
2267+ rdfs:label "startTriggerRelation" .
2268+
2269+ ncal:AlarmAction
2270+ a rdfs:Class ;
2271+ rdfs:comment "Action to be performed on alarm. This class has been introduced to express the limited set of values of the ncal:action property. Please refer to the documentation of ncal:action for details." ;
2272+ rdfs:label "AlarmAction" ;
2273+ rdfs:subClassOf rdfs:Resource .
2274+
2275+ ncal:UnionParentClass
2276+ a rdfs:Class ;
2277+ rdfs:label "UnionParentClass" ;
2278+ rdfs:subClassOf rdfs:Resource .
2279+
2280+ ncal:Alarm
2281+ a rdfs:Class ;
2282+ rdfs:comment "Provide a grouping of component properties that define an alarm." ;
2283+ rdfs:label "Alarm" ;
2284+ rdfs:subClassOf ncal:UnionOfAlarmEventFreebusyJournalTodo , ncal:UnionOfAlarmEventJournalTodo , ncal:UnionOfAlarmEventFreebusyTodo , ncal:UnionOfAlarmEventTodo , nie:InformationElement .
2285+
2286+ ncal:unknownUserType
2287+ a ncal:CalendarUserType ;
2288+ rdfs:label "unknownUserType" .
2289+
2290+ ncal:rsvp
2291+ a rdf:Property ;
2292+ 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" ;
2293+ rdfs:domain ncal:Attendee ;
2294+ rdfs:label "rsvp" ;
2295+ rdfs:range xsd:boolean .
2296+
2297+ ncal:RecurrenceRule
2298+ a rdfs:Class ;
2299+ rdfs:label "RecurrenceRule" ;
2300+ rdfs:subClassOf rdfs:Resource .
2301+
2302+ ncal:UnionOfEventJournalTimezoneTodo
2303+ a rdfs:Class ;
2304+ rdfs:label "UnionOfEventJournalTimezoneTodo" ;
2305+ rdfs:subClassOf ncal:UnionParentClass .
2306+
2307+ ncal:TodoStatus
2308+ a rdfs:Class ;
2309+ rdfs:comment """A status of a calendar entity. This class has been introduced to express
2310+the limited set of values for the ncal:status property. The user may
2311+use the instances provided with this ontology or create his/her own.
2312+See the documentation for ncal:todoStatus for details.""" ;
2313+ rdfs:label "TodoStatus" ;
2314+ rdfs:subClassOf rdfs:Resource .
2315+
2316+ ncal:monday
2317+ a ncal:Weekday ;
2318+ rdfs:label "monday" .
2319+
2320+ ncal:geo
2321+ a rdf:Property ;
2322+ 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" ;
2323+ rdfs:domain ncal:UnionOfEventTodo ;
2324+ rdfs:label "geo" ;
2325+ rdfs:range geo:Point .
2326+
2327+ ncal:UnionOfAlarmEventFreebusyTodo
2328+ a rdfs:Class ;
2329+ rdfs:label "UnionOfAlarmEventFreebusyTodo" ;
2330+ rdfs:subClassOf ncal:UnionParentClass .
2331+
2332+ ncal:hourly
2333+ a ncal:RecurrenceFrequency ;
2334+ rdfs:label "hourly" .
2335+
2336+ ncal:fmttype
2337+ a rdf:Property ;
2338+ 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)" ;
2339+ rdfs:domain ncal:Attachment ;
2340+ rdfs:label "fmttype" ;
2341+ rdfs:range xsd:string .
2342+
2343+ ncal:byyearday
2344+ a rdf:Property ;
2345+ rdfs:comment "Day of the year the event should occur. Defined in RFC 2445 sec. 4.3.10" ;
2346+ rdfs:domain ncal:RecurrenceRule ;
2347+ rdfs:label "byyearday" ;
2348+ rdfs:range xsd:integer .
2349+
2350+ ncal:dtstart
2351+ a rdf:Property ;
2352+ rdfs:comment "This property specifies when the calendar component begins. Inspired by RFC 2445 sec. 4.8.2.4" ;
2353+ rdfs:domain ncal:UnionOfTimezoneObservanceEventFreebusyTimezoneTodo ;
2354+ rdfs:label "dtstart" ;
2355+ rdfs:range ncal:NcalDateTime .
2356+
2357+ ncal:description
2358+ a rdf:Property ;
2359+ rdfs:comment "A more complete description of the calendar component, than that provided by the ncal:summary property.Inspired by RFC 2445 sec. 4.8.1.5 with following reservations: the LANGUAGE parameter has been discarded. Please use xml:lang literals to express language. For the ALTREP parameter use the descriptionAltRep property." ;
2360+ rdfs:domain ncal:UnionOfAlarmEventJournalTodo ;
2361+ rdfs:label "description" ;
2362+ rdfs:range xsd:string ;
2363+ rdfs:subPropertyOf nie:description .
2364+
2365+ ncal:thursday
2366+ a ncal:Weekday ;
2367+ rdfs:label "thursday" .
2368+
2369+ ncal:daily
2370+ a ncal:RecurrenceFrequency ;
2371+ rdfs:label "daily" .
2372+
2373+ ncal:Weekday
2374+ a rdfs:Class ;
2375+ rdfs:comment "Day of the week. This class has been created to provide the limited vocabulary for ncal:byday property. See the documentation for ncal:byday for details." ;
2376+ rdfs:label "Weekday" ;
2377+ rdfs:subClassOf rdfs:Resource .
2378+
2379+ ncal:partstat
2380+ a rdf:Property ;
2381+ rdfs:comment "To specify the participation status for the calendar user specified by the property. Inspired by RFC 2445 sec. 4.2.12. Originally this parameter had three sets of allowed values. Which set applied to a particular case - depended on the type of calendar entity this parameter occured in. (event, todo, journal entry). This would be awkward to model in RDF so a single ParticipationStatus class has been introduced. Terms of the values vocabulary are expressed as instances of this class. Users are advised to pay attention which instances they use." ;
2382+ rdfs:domain ncal:Attendee ;
2383+ rdfs:label "partstat" ;
2384+ rdfs:range ncal:ParticipationStatus .
2385+
2386+ ncal:relatedToSibling
2387+ a rdf:Property ;
2388+ rdfs:comment "The property is used to represent a relationship or reference between one calendar component and another. Inspired by RFC 2445 sec. 4.8.4.5. Originally this property had a RELTYPE parameter. It has been decided that it is more natural to introduce three different properties to express the values of that parameter. This property expresses the RELATED-TO property with RELTYPE=SIBLING parameter." ;
2389+ rdfs:domain ncal:UnionOfEventJournalTodo ;
2390+ rdfs:label "relatedToSibling" ;
2391+ rdfs:range xsd:string ;
2392+ rdfs:subPropertyOf ncal:ncalRelation .
2393+
2394+ ncal:count
2395+ a rdf:Property ;
2396+ rdfs:comment "How many times should an event be repeated. Defined in RFC 2445 sec. 4.3.10" ;
2397+ rdfs:domain ncal:RecurrenceRule ;
2398+ rdfs:label "count" ;
2399+ rdfs:range xsd:integer .
2400+
2401+ ncal:duration
2402+ a rdf:Property ;
2403+ rdfs:comment "The property specifies a positive duration of time. Inspired by RFC 2445 sec. 4.8.2.5" ;
2404+ rdfs:domain ncal:UnionOfAlarmEventFreebusyTodo ;
2405+ rdfs:label "duration" ;
2406+ rdfs:range xsd:duration .
2407+
2408+ ncal:bymonth
2409+ a rdf:Property ;
2410+ rdfs:comment "Number of the month of the recurrence. Valid values are integers from 1 (January) to 12 (December). Defined in RFC 2445 sec. 4.3.10" ;
2411+ rdfs:domain ncal:RecurrenceRule ;
2412+ rdfs:label "bymonth" ;
2413+ rdfs:range xsd:integer .
2414+
2415+ ncal:inProcessParticipationStatus
2416+ a ncal:ParticipationStatus ;
2417+ rdfs:label "inProcessParticipationStatus" .
2418+
2419+ ncal:weekly
2420+ a ncal:RecurrenceFrequency ;
2421+ rdfs:label "weekly" .
2422+
2423+ ncal:sentBy
2424+ a rdf:Property ;
2425+ rdfs:comment "To specify the calendar user that is acting on behalf of the calendar user specified by the property. Inspired by RFC 2445 sec. 4.2.18. The original data type of this property was a mailto: URI. This has been changed to nco:Contact to promote integration between NCO and NCAL." ;
2426+ rdfs:domain ncal:AttendeeOrOrganizer ;
2427+ rdfs:label "sentBy" ;
2428+ rdfs:range nco:Contact .
2429+
2430+ ncal:attachmentContent
2431+ a rdf:Property ;
2432+ 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 BINARY datatype of that property. see ncal:attachmentUri for the URI datatype." ;
2433+ rdfs:domain ncal:Attachment ;
2434+ rdfs:label "attachmentContent" ;
2435+ rdfs:range xsd:string .
2436+
2437+ ncal:attach
2438+ a rdf:Property ;
2439+ rdfs:comment "The property provides the capability to associate a document object with a calendar component. Defined in the RFC 2445 sec. 4.8.1.1" ;
2440+ rdfs:domain ncal:UnionOfAlarmEventJournalTodo ;
2441+ rdfs:label "attach" ;
2442+ rdfs:range ncal:Attachment ;
2443+ rdfs:subPropertyOf nie:hasPart .
2444+
2445+ ncal:RecurrenceIdentifier
2446+ a rdfs:Class ;
2447+ rdfs:comment "Recurrence Identifier. Introduced to provide a structure for the value of ncal:recurrenceId property. See the documentation of ncal:recurrenceId for details." ;
2448+ rdfs:label "RecurrenceIdentifier" ;
2449+ rdfs:subClassOf rdfs:Resource .
2450+
2451+ ncal:percentComplete
2452+ a rdf:Property ;
2453+ rdfs:comment "This property is used by an assignee or delegatee of a to-do to convey the percent completion of a to-do to the Organizer. Inspired by RFC 2445 sec. 4.8.1.8" ;
2454+ rdfs:domain ncal:Todo ;
2455+ rdfs:label "percentComplete" ;
2456+ rdfs:range xsd:integer .
2457+
2458+ ncal:gregorianCalendarScale
2459+ a ncal:CalendarScale ;
2460+ rdfs:label "gregorianCalendarScale" .
2461+
2462+ ncal:delegatedTo
2463+ a rdf:Property ;
2464+ rdfs:comment "To specify the calendar users to whom the calendar user specified by the property has delegated participation. Inspired by RFC 2445 sec. 4.2.5. Originally the value type for this parameter was CAL-ADDRESS. This has been expressed as nco:Contact to promote integration between NCAL and NCO." ;
2465+ rdfs:domain ncal:Attendee ;
2466+ rdfs:label "delegatedTo" ;
2467+ rdfs:range nco:Contact .
2468+
2469+ ncal:action
2470+ a rdf:Property ;
2471+ rdfs:comment "This property defines the action to be invoked when an alarm is triggered. Inspired by RFC 2445 sec 4.8.6.1. Originally this property had a limited set of values. They are expressed as instances of the AlarmAction class." ;
2472+ rdfs:domain ncal:Alarm ;
2473+ rdfs:label "action" ;
2474+ rdfs:range ncal:AlarmAction .
2475+
2476+ ncal:AttachmentEncoding
2477+ a rdfs:Class ;
2478+ rdfs:comment "Attachment encoding. This class has been introduced to express the limited vocabulary of values for the ncal:encoding property. See the documentation of ncal:encoding for details." ;
2479+ rdfs:label "AttachmentEncoding" ;
2480+ rdfs:subClassOf rdfs:Resource .
2481+
2482+ ncal:lastModified
2483+ a rdf:Property ;
2484+ 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." ;
2485+ rdfs:domain ncal:UnionOfEventJournalTimezoneTodo ;
2486+ rdfs:label "lastModified" ;
2487+ rdfs:range xsd:dateTime .
2488+
2489+ ncal:trigger
2490+ a rdf:Property ;
2491+ rdfs:comment "This property specifies when an alarm will trigger. Inspired by RFC 2445 sec. 4.8.6.3 Originally the value of this property could accept two types : duration and date-time. To express this fact a Trigger class has been introduced. It also has a related property to account for the RELATED parameter." ;
2492+ rdfs:domain ncal:UnionOfAlarmEventTodo ;
2493+ rdfs:label "trigger" ;
2494+ rdfs:range ncal:Trigger .
2495+
2496+ ncal:until
2497+ a rdf:Property ;
2498+ rdfs:comment "The UNTIL rule part defines a date-time value which bounds the recurrence rule in an inclusive manner. If the value specified by UNTIL is synchronized with the specified recurrence, this date or date-time becomes the last instance of the recurrence. If specified as a date-time value, then it MUST be specified in an UTC time format. If not present, and the COUNT rule part is also not present, the RRULE is considered to repeat forever." ;
2499+ rdfs:domain ncal:RecurrenceRule ;
2500+ rdfs:label "until" ;
2501+ rdfs:range xsd:dateTime .
2502+
2503+ ncal:relatedToChild
2504+ a rdf:Property ;
2505+ rdfs:comment "The property is used to represent a relationship or reference between one calendar component and another. Inspired by RFC 2445 sec. 4.8.4.5. Originally this property had a RELTYPE parameter. It has been decided to introduce three different properties to express the values of that parameter. This property expresses the RELATED-TO property with RELTYPE=CHILD parameter." ;
2506+ rdfs:domain ncal:UnionOfEventJournalTodo ;
2507+ rdfs:label "relatedToChild" ;
2508+ rdfs:range xsd:string ;
2509+ rdfs:subPropertyOf ncal:ncalRelation .
2510+
2511+ ncal:url
2512+ a rdf:Property ;
2513+ 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." ;
2514+ rdfs:domain ncal:UnionOfEventFreebusyJournalTodo ;
2515+ rdfs:label "url" ;
2516+ rdfs:range rdfs:Resource .
2517+
2518+ ncal:AccessClassification
2519+ a rdfs:Class ;
2520+ rdfs:comment """Access classification of a calendar component. Introduced to express
2521+the set of values for the ncal:class property. The user may use instances
2522+provided with this ontology or create his/her own with desired semantics.
2523+See the documentation of ncal:class for details.""" ;
2524+ rdfs:label "AccessClassification" ;
2525+ rdfs:subClassOf rdfs:Resource .
2526+
2527+ ncal:Freebusy
2528+ a rdfs:Class ;
2529+ rdfs:comment "Provide a grouping of component properties that describe either a request for free/busy time, describe a response to a request for free/busy time or describe a published set of busy time." ;
2530+ rdfs:label "Freebusy" ;
2531+ rdfs:subClassOf ncal:UnionOfTimezoneObservanceEventFreebusyTimezoneTodo , ncal:UnionOfAlarmEventFreebusyJournalTodo , ncal:UnionOfTimezoneObservanceEventFreebusyJournalTimezoneTodo , ncal:UnionOfEventFreebusy , ncal:UnionOfAlarmEventFreebusyTodo , ncal:UnionOfEventFreebusyJournalTodo , nie:InformationElement .
2532+
2533+ ncal:completed
2534+ a rdf:Property ;
2535+ 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." ;
2536+ rdfs:domain ncal:Todo ;
2537+ rdfs:label "completed" ;
2538+ rdfs:range xsd:dateTime .
2539+
2540+ ncal:JournalStatus
2541+ a rdfs:Class ;
2542+ rdfs:comment """A status of a journal entry. This class has been introduced to express
2543+the limited set of values for the ncal:status property. The user may
2544+use the instances provided with this ontology or create his/her own.
2545+See the documentation for ncal:journalStatus for details.""" ;
2546+ rdfs:label "JournalStatus" ;
2547+ rdfs:subClassOf rdfs:Resource .
2548+
2549+ ncal:UnionOfEventFreebusy
2550+ a rdfs:Class ;
2551+ rdfs:label "UnionOfEventFreebusy" ;
2552+ rdfs:subClassOf ncal:UnionParentClass .
2553+
2554+ ncal:priority
2555+ a rdf:Property ;
2556+ rdfs:comment "The property defines the relative priority for a calendar component. Inspired by RFC 2445 sec. 4.8.1.9" ;
2557+ rdfs:domain ncal:UnionOfEventTodo ;
2558+ rdfs:label "priority" ;
2559+ rdfs:range xsd:integer .
2560+
2561+ ncal:relatedToParent
2562+ a rdf:Property ;
2563+ rdfs:comment "The property is used to represent a relationship or reference between one calendar component and another. Inspired by RFC 2445 sec. 4.8.4.5. Originally this property had a RELTYPE parameter. It has been decided that it is more natural to introduce three different properties to express the values of that parameter. This property expresses the RELATED-TO property with no RELTYPE parameter (the default value is PARENT), or with explicit RELTYPE=PARENT parameter." ;
2564+ rdfs:domain ncal:UnionOfEventJournalTodo ;
2565+ rdfs:label "relatedToParent" ;
2566+ rdfs:range xsd:string ;
2567+ rdfs:subPropertyOf ncal:ncalRelation .
2568+
2569+ ncal:resources
2570+ a rdf:Property ;
2571+ rdfs:comment "Defines the equipment or resources anticipated for an activity specified by a calendar entity. Inspired by RFC 2445 sec. 4.8.1.10 with the following reservations: the LANGUAGE parameter has been discarded. Please use xml:lang literals to express language. For the ALTREP parameter use the resourcesAltRep property. This property specifies multiple resources. The order is not important. it is recommended to introduce a separate triple for each resource." ;
2572+ rdfs:domain ncal:UnionOfEventTodo ;
2573+ rdfs:label "resources" ;
2574+ rdfs:range xsd:string .
2575+
2576+ ncal:bysecond
2577+ a rdf:Property ;
2578+ rdfs:comment "Second of a recurrence. Defined in RFC 2445 sec. 4.3.10" ;
2579+ rdfs:domain ncal:RecurrenceRule ;
2580+ rdfs:label "bysecond" ;
2581+ rdfs:range xsd:integer .
2582+
2583+ ncal:Journal
2584+ a rdfs:Class ;
2585+ rdfs:comment "Provide a grouping of component properties that describe a journal entry." ;
2586+ rdfs:label "Journal" ;
2587+ rdfs:subClassOf ncal:UnionOfTimezoneObservanceEventJournalTimezoneTodo , ncal:UnionOfAlarmEventFreebusyJournalTodo , ncal:UnionOfEventJournalTimezoneTodo , ncal:UnionOfTimezoneObservanceEventFreebusyJournalTimezoneTodo , ncal:UnionOfAlarmEventJournalTodo , ncal:UnionOfEventFreebusyJournalTodo , nie:InformationElement , ncal:UnionOfEventJournalTodo .
2588+
2589+ ncal:Attendee
2590+ a rdfs:Class ;
2591+ rdfs:comment "An attendee of an event. This class has been introduced to serve as the range for ncal:attendee property. See documentation of ncal:attendee for details." ;
2592+ rdfs:label "Attendee" ;
2593+ rdfs:subClassOf ncal:AttendeeOrOrganizer .
2594+
2595+ ncal:saturday
2596+ a ncal:Weekday ;
2597+ rdfs:label "saturday" .
2598+
2599+ ncal:statusDescription
2600+ a rdf:Property ;
2601+ 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" ;
2602+ rdfs:domain ncal:RequestStatus ;
2603+ rdfs:label "statusDescription" ;
2604+ rdfs:range xsd:string .
2605+
2606+ ncal:tentativeStatus
2607+ a ncal:EventStatus ;
2608+ rdfs:label "tentativeStatus" .
2609+
2610+ ncal:location
2611+ a rdf:Property ;
2612+ 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." ;
2613+ rdfs:domain ncal:UnionOfEventTodo ;
2614+ rdfs:label "location" ;
2615+ rdfs:range xsd:string .
2616+
2617+ ncal:eventStatus
2618+ a rdf:Property ;
2619+ 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." ;
2620+ rdfs:domain ncal:Event ;
2621+ rdfs:label "status" ;
2622+ rdfs:range ncal:EventStatus .
2623+
2624+ ncal:AttendeeOrOrganizer
2625+ a rdfs:Class ;
2626+ rdfs:comment "A common superclass for ncal:Attendee and ncal:Organizer." ;
2627+ rdfs:label "AttendeeOrOrganizer" ;
2628+ rdfs:subClassOf rdfs:Resource .
2629+
2630+ ncal:FreebusyPeriod
2631+ a rdfs:Class ;
2632+ rdfs:comment "An aggregate of a period and a freebusy type. This class has been introduced to serve as a range of the ncal:freebusy property. See documentation for ncal:freebusy for details. Note that the specification of freebusy property states that the period is to be expressed using UTC time, so the timezone properties should NOT be used for instances of this class." ;
2633+ rdfs:label "FreebusyPeriod" ;
2634+ rdfs:subClassOf ncal:NcalPeriod .
2635+
2636+ ncal:bydayModifier
2637+ a rdf:Property ;
2638+ 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" ;
2639+ rdfs:domain ncal:BydayRulePart ;
2640+ rdfs:label "bydayModifier" ;
2641+ rdfs:range xsd:integer .
2642+
2643+ ncal:UnionOfAlarmEventFreebusyJournalTodo
2644+ a rdfs:Class ;
2645+ rdfs:label "UnionOfAlarmEventFreebusyJournalTodo" ;
2646+ rdfs:subClassOf ncal:UnionParentClass .
2647+
2648+ ncal:minutely
2649+ a ncal:RecurrenceFrequency ;
2650+ rdfs:label "minutely" .
2651+
2652+ ncal:method
2653+ a rdf:Property ;
2654+ rdfs:comment "This property defines the iCalendar object method associated with the calendar object. Defined in RFC 2445 sec. 4.7.2" ;
2655+ rdfs:domain ncal:Calendar ;
2656+ rdfs:label "method" ;
2657+ rdfs:range xsd:string .
2658+
2659+ ncal:tuesday
2660+ a ncal:Weekday ;
2661+ rdfs:label "tuesday" .
2662+
2663+ ncal:UnionOfEventJournalTodo
2664+ a rdfs:Class ;
2665+ rdfs:label "UnionOfEventJournalTodo" ;
2666+ rdfs:subClassOf ncal:UnionParentClass .
2667+
2668+ ncal:triggerDateTime
2669+ a rdf:Property ;
2670+ 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" ;
2671+ rdfs:domain ncal:Trigger ;
2672+ rdfs:label "triggerDateTime" ;
2673+ rdfs:range xsd:dateTime .
2674+
2675+ ncal:endTriggerRelation
2676+ a ncal:TriggerRelation ;
2677+ rdfs:label "endTriggerRelation" .
2678+
2679+ ncal:dir
2680+ a rdf:Property ;
2681+ rdfs:comment "Specifies a reference to a directory entry associated with the calendar user specified by the property. Inspired by RFC 2445 sec. 4.2.6. Originally the data type of the value of this parameter was URI (Usually an LDAP URI). This has been expressed as rdfs:resource." ;
2682+ rdfs:domain ncal:AttendeeOrOrganizer ;
2683+ rdfs:label "dir" ;
2684+ rdfs:range rdfs:Resource .
2685+
2686+ ncal:interval
2687+ a rdf:Property ;
2688+ 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" ;
2689+ rdfs:domain ncal:RecurrenceRule ;
2690+ rdfs:label "interval" ;
2691+ rdfs:range xsd:integer .
2692+
2693+ ncal:requestStatus
2694+ a rdf:Property ;
2695+ 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." ;
2696+ rdfs:domain ncal:UnionOfEventFreebusyJournalTodo ;
2697+ rdfs:label "requestStatus" ;
2698+ rdfs:range ncal:RequestStatus .
2699+
2700+ ncal:byday
2701+ a rdf:Property ;
2702+ rdfs:comment "Weekdays the recurrence should occur. Defined in RFC 2445 sec. 4.3.10" ;
2703+ rdfs:domain ncal:RecurrenceRule ;
2704+ rdfs:label "byday" ;
2705+ rdfs:range ncal:BydayRulePart .
2706+
2707+ ncal:friday
2708+ a ncal:Weekday ;
2709+ rdfs:label "friday" .
2710+
2711+ ncal:recurrenceId
2712+ a rdf:Property ;
2713+ 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" ;
2714+ rdfs:domain ncal:UnionOfEventJournalTimezoneTodo ;
2715+ rdfs:label "recurrenceId" ;
2716+ rdfs:range ncal:RecurrenceIdentifier .
2717+
2718+ ncal:thisAndPriorRange
2719+ a ncal:RecurrenceIdentifierRange ;
2720+ rdfs:label "thisAndPriorRange" .
2721+
2722+ ncal:periodBegin
2723+ a rdf:Property ;
2724+ 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" ;
2725+ rdfs:domain ncal:NcalPeriod ;
2726+ rdfs:label "periodBegin" ;
2727+ rdfs:range xsd:dateTime .
2728+
2729+ ncal:byweekno
2730+ a rdf:Property ;
2731+ rdfs:comment "The number of the week an event should recur. Defined in RFC 2445 sec. 4.3.10" ;
2732+ rdfs:domain ncal:RecurrenceRule ;
2733+ rdfs:label "byweekno" ;
2734+ rdfs:range xsd:integer .
2735+
2736+ ncal:tzoffsetfrom
2737+ a rdf:Property ;
2738+ 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." ;
2739+ rdfs:domain ncal:TimezoneObservance ;
2740+ rdfs:label "tzoffsetfrom" ;
2741+ rdfs:range xsd:string .
2742+
2743+ ncal:triggerDuration
2744+ a rdf:Property ;
2745+ 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." ;
2746+ rdfs:domain ncal:Trigger ;
2747+ rdfs:label "triggerDuration" ;
2748+ rdfs:range xsd:duration .
2749+
2750+ ncal:FreebusyType
2751+ a rdfs:Class ;
2752+ rdfs:comment "Type of a Freebusy indication. This class has been introduced to serve as a limited set of values for the ncal:fbtype property. See the documentation of ncal:fbtype for details." ;
2753+ rdfs:label "FreebusyType" ;
2754+ rdfs:subClassOf rdfs:Resource .
2755+
2756+ ncal:NcalDateTime
2757+ a rdfs:Class ;
2758+ rdfs:label "NcalDateTime" ;
2759+ rdfs:subClassOf ncal:NcalTimeEntity .
2760+
2761+ ncal:organizer
2762+ a rdf:Property ;
2763+ rdfs:comment "The property defines the organizer for a calendar component. Inspired by RFC 2445 sec. 4.8.4.3. Originally this property accepted many parameters. The Organizer class has been introduced to express them all. Note that NCAL is aligned with NCO. The actual value (of the CAL-ADDRESS type) is expressed as an instance of nco:Contact. Remember that the CN parameter has been removed from NCAL. Instead that value should be expressed using nco:fullname property of the above mentioned nco:Contact instance." ;
2764+ rdfs:domain ncal:UnionOfEventFreebusyJournalTodo ;
2765+ rdfs:label "organizer" ;
2766+ rdfs:range ncal:Organizer .
2767+
2768+ ncal:calscale
2769+ a rdf:Property ;
2770+ 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" ;
2771+ rdfs:domain ncal:Calendar ;
2772+ rdfs:label "calscale" ;
2773+ rdfs:range ncal:CalendarScale .
2774+
2775+ ncal:periodEnd
2776+ a rdf:Property ;
2777+ 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." ;
2778+ rdfs:domain ncal:NcalPeriod ;
2779+ rdfs:label "periodEnd" ;
2780+ rdfs:range xsd:dateTime .
2781+
2782+ ncal:ParticipationStatus
2783+ a rdfs:Class ;
2784+ rdfs:comment "Participation Status. This class has been introduced to express the limited vocabulary of values for the ncal:partstat property. See the documentation of ncal:partstat for details." ;
2785+ rdfs:label "ParticipationStatus" ;
2786+ rdfs:subClassOf rdfs:Resource .
2787+
2788+ ncal:draftStatus
2789+ a ncal:JournalStatus ;
2790+ rdfs:label "draftStatus" .
2791+
2792+ ncal:attendee
2793+ a rdf:Property ;
2794+ rdfs:comment "The property defines an \"Attendee\" within a calendar component. Inspired by RFC 2445 sec. 4.8.4.1. Originally this property accepted many parameters. The Attendee class has been introduced to express them all. Note that NCAL is aligned with NCO. The actual value (of the CAL-ADDRESS type) is expressed as an instance of nco:Contact. Remember that the CN parameter has been removed from NCAL. Instead that value should be expressed using nco:fullname property of the above mentioned nco:Contact instance. The RFC stated that whenever this property is attached to a Valarm instance, the Attendee cannot have any parameters apart from involvedContact." ;
2795+ rdfs:domain ncal:UnionOfAlarmEventFreebusyJournalTodo ;
2796+ rdfs:label "attendee" ;
2797+ rdfs:range ncal:Attendee .
2798+
2799+ ncal:bydayWeekday
2800+ a rdf:Property ;
2801+ rdfs:comment "Connects a BydayRulePath with a weekday." ;
2802+ rdfs:domain ncal:BydayRulePart ;
2803+ rdfs:label "bydayWeekday" ;
2804+ rdfs:range ncal:Weekday .
2805+
2806+ ncal:RequestStatus
2807+ a rdfs:Class ;
2808+ rdfs:comment "Request Status. A class that was introduced to provide a structure for the value of ncal:requestStatus property. See documentation for ncal:requestStatus for details." ;
2809+ rdfs:label "RequestStatus" ;
2810+ rdfs:subClassOf rdfs:Resource .
2811+
2812+ ncal:rrule
2813+ a rdf:Property ;
2814+ rdfs:comment "This property defines a rule or repeating pattern for recurring events, to-dos, or time zone definitions. sec. 4.8.5.4" ;
2815+ rdfs:domain ncal:UnionOfTimezoneObservanceEventJournalTimezoneTodo ;
2816+ rdfs:label "rrule" ;
2817+ rdfs:range ncal:RecurrenceRule .
2818+
2819+ ncal:tzoffsetto
2820+ a rdf:Property ;
2821+ 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." ;
2822+ rdfs:domain ncal:TimezoneObservance ;
2823+ rdfs:label "tzoffsetto" ;
2824+ rdfs:range xsd:string .
2825+
2826+ ncal:exdate
2827+ a rdf:Property ;
2828+ rdfs:comment "This property defines the list of date/time exceptions for a recurring calendar component. Inspired by RFC 2445 sec. 4.8.5.1" ;
2829+ rdfs:domain ncal:UnionOfEventJournalTimezoneTodo ;
2830+ rdfs:label "exdate" ;
2831+ rdfs:range ncal:NcalDateTime .
2832+
2833+ ncal:secondly
2834+ a ncal:RecurrenceFrequency ;
2835+ rdfs:label "secondly" .
2836+
2837+ ncal:role
2838+ a rdf:Property ;
2839+ rdfs:comment "To specify the participation role for the calendar user specified by the property. Inspired by the RFC 2445 sec. 4.2.16. Originally this property had a limited vocabulary for values. The terms of that vocabulary have been expressed as instances of the AttendeeRole class." ;
2840+ rdfs:domain ncal:Attendee ;
2841+ rdfs:label "role" ;
2842+ rdfs:range ncal:AttendeeRole .
2843+
2844+ ncal:UnionOfTimezoneObservanceEventJournalTimezoneTodo
2845+ a rdfs:Class ;
2846+ rdfs:label "UnionOfTimezoneObservanceEventJournalTimezoneTodo" ;
2847+ rdfs:subClassOf ncal:UnionParentClass .
2848+
2849+ ncal:tentativeParticipationStatus
2850+ a ncal:ParticipationStatus ;
2851+ rdfs:label "tentativeParticipationStatus" .
2852+
2853+ ncal:optParticipantRole
2854+ a ncal:AttendeeRole ;
2855+ rdfs:label "optParticipantRole" .
2856+
2857+ ncal:Todo
2858+ a rdfs:Class ;
2859+ rdfs:comment "Provide a grouping of calendar properties that describe a to-do." ;
2860+ rdfs:label "Todo" ;
2861+ rdfs:subClassOf ncal:UnionOfTimezoneObservanceEventJournalTimezoneTodo , ncal:UnionOfTimezoneObservanceEventFreebusyTimezoneTodo , ncal:UnionOfAlarmEventFreebusyJournalTodo , ncal:UnionOfEventJournalTimezoneTodo , ncal:UnionOfTimezoneObservanceEventFreebusyJournalTimezoneTodo , ncal:UnionOfAlarmEventJournalTodo , ncal:UnionOfAlarmEventFreebusyTodo , ncal:UnionOfEventTodo , ncal:UnionOfEventFreebusyJournalTodo , nie:InformationElement , ncal:UnionOfAlarmEventTodo , ncal:UnionOfEventJournalTodo .
2862+
2863+ ncal:busyFreebusyType
2864+ a ncal:FreebusyType ;
2865+ rdfs:label "busyFreebusyType" .
2866+
2867+ ncal:declinedParticipationStatus
2868+ a ncal:ParticipationStatus ;
2869+ rdfs:label "declinedParticipationStatus" .
2870+
2871+ ncal:freebusy
2872+ a rdf:Property ;
2873+ rdfs:comment "The property defines one or more free or busy time intervals. Inspired by RFC 2445 sec. 4.8.2.6. Note that the periods specified by this property can only be expressed with UTC times. Originally this property could have many comma-separated values. Please use a separate triple for each value." ;
2874+ rdfs:domain ncal:Freebusy ;
2875+ rdfs:label "freebusy" ;
2876+ rdfs:range ncal:FreebusyPeriod .
2877+
2878+ ncal:version
2879+ a rdf:Property ;
2880+ rdfs:comment "This property specifies the identifier corresponding to the highest version number or the minimum and maximum range of the iCalendar specification that is required in order to interpret the iCalendar object. Defined in RFC 2445 sec. 4.7.4" ;
2881+ rdfs:domain ncal:Calendar ;
2882+ rdfs:label "version" ;
2883+ rdfs:range xsd:string ;
2884+ rdfs:subPropertyOf nie:generatorOption .
2885+
2886+ ncal:range
2887+ a rdf:Property ;
2888+ 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." ;
2889+ rdfs:domain ncal:RecurrenceIdentifier ;
2890+ rdfs:label "range" ;
2891+ rdfs:range ncal:RecurrenceIdentifierRange .
2892+
2893+ ncal:monthly
2894+ a ncal:RecurrenceFrequency ;
2895+ rdfs:label "monthly" .
2896+
2897+ ncal:Timezone
2898+ a rdfs:Class ;
2899+ rdfs:comment "Provide a grouping of component properties that defines a time zone." ;
2900+ rdfs:label "Timezone" ;
2901+ rdfs:subClassOf ncal:UnionOfTimezoneObservanceEventJournalTimezoneTodo , ncal:UnionOfTimezoneObservanceEventFreebusyTimezoneTodo , ncal:UnionOfTimezoneObservanceEventFreebusyJournalTimezoneTodo , ncal:UnionOfEventJournalTimezoneTodo , nie:InformationElement .
2902+
2903+ ncal:roomUserType
2904+ a ncal:CalendarUserType ;
2905+ rdfs:label "roomUserType" .
2906+
2907+ ncal:NcalPeriod
2908+ a rdfs:Class ;
2909+ rdfs:comment "A period of time. Inspired by the PERIOD datatype specified in RFC 2445 sec. 4.3.9" ;
2910+ rdfs:label "NcalPeriod" ;
2911+ rdfs:subClassOf ncal:NcalTimeEntity .
2912+
2913+ ncal:Calendar
2914+ a rdfs:Class ;
2915+ rdfs:comment "A calendar. Inspirations for this class can be traced to the VCALENDAR component defined in RFC 2445 sec. 4.4, but it may just as well be used to represent any kind of Calendar." ;
2916+ rdfs:label "Calendar" ;
2917+ rdfs:subClassOf nie:InformationElement .
2918+
2919+ ncal:todoStatus
2920+ a rdf:Property ;
2921+ 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." ;
2922+ rdfs:domain ncal:Todo ;
2923+ rdfs:label "status" ;
2924+ rdfs:range ncal:TodoStatus .
2925+
2926+ ncal:journalStatus
2927+ a rdf:Property ;
2928+ 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." ;
2929+ rdfs:domain ncal:Journal ;
2930+ rdfs:label "status" ;
2931+ rdfs:range ncal:JournalStatus .
2932+
2933+ ncal:publicClassification
2934+ a ncal:AccessClassification ;
2935+ rdfs:label "publicClassification" .
2936+
2937+ ncal:bysetpos
2938+ a rdf:Property ;
2939+ rdfs:comment "The BYSETPOS rule part specify values which correspond to the nth occurrence within the set of events specified by the rule. Valid values are 1 to 366 or -366 to -1. It MUST only be used in conjunction with another BYxxx rule part. For example \"the last work day of the month\" could be represented as: RRULE: FREQ=MONTHLY; BYDAY=MO, TU, WE, TH, FR; BYSETPOS=-1. Each BYSETPOS value can include a positive (+n) or negative (-n) integer. If present, this indicates the nth occurrence of the specific occurrence within the set of events specified by the rule. Defined in RFC 2445 sec. 4.3.10" ;
2940+ rdfs:domain ncal:RecurrenceRule ;
2941+ rdfs:label "bysetpos" ;
2942+ rdfs:range xsd:integer .
2943+
2944+ ncal:due
2945+ a rdf:Property ;
2946+ 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" ;
2947+ rdfs:domain ncal:Todo ;
2948+ rdfs:label "due" ;
2949+ rdfs:range ncal:NcalDateTime .
2950+
2951+ ncal:contactAltRep
2952+ a rdf:Property ;
2953+ rdfs:comment """Alternate representation of the contact property. Introduced to cover
2954+the ALTREP parameter of the CONTACT property. See
2955+documentation of ncal:contact for details.""" ;
2956+ rdfs:domain ncal:UnionOfEventFreebusyJournalTodo ;
2957+ rdfs:label "contactAltRep" ;
2958+ rdfs:range rdfs:Resource .
2959+
2960+ ncal:audioAction
2961+ a ncal:AlarmAction ;
2962+ rdfs:label "audioAction" .
2963+
2964+ ncal:UnionOfAlarmEventTodo
2965+ a rdfs:Class ;
2966+ rdfs:label "UnionOfAlarmEventTodo" ;
2967+ rdfs:subClassOf ncal:UnionParentClass .
2968+
2969+ ncal:rdate
2970+ a rdf:Property ;
2971+ rdfs:comment "This property defines the list of date/times for a recurrence set. Inspired by RFC 2445 sec. 4.8.5.3. Note that RFC allows both DATE, DATE-TIME and PERIOD values for this property. That's why the range has been set to NcalTimeEntity." ;
2972+ rdfs:domain ncal:UnionOfTimezoneObservanceEventJournalTimezoneTodo ;
2973+ rdfs:label "rdate" ;
2974+ rdfs:range ncal:NcalTimeEntity .
2975+
2976+ ncal:recurrenceIdDateTime
2977+ a rdf:Property ;
2978+ 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." ;
2979+ rdfs:domain ncal:RecurrenceIdentifier ;
2980+ rdfs:label "recurrenceIdDateTime" ;
2981+ rdfs:range ncal:NcalDateTime .
2982+
2983+ ncal:reqParticipantRole
2984+ a ncal:AttendeeRole ;
2985+ rdfs:label "reqParticipantRole" .
2986+
2987+ ncal:returnStatus
2988+ a rdf:Property ;
2989+ rdfs:comment """Short return status. Inspired by the first element of the structured value of the REQUEST-STATUS property described in RFC 2445 sec. 4.8.8.2.
2990+
2991+The short return status is a PERIOD character (US-ASCII decimal 46) separated 3-tuple of integers. For example, \"3.1.1\". The successive levels of integers provide for a successive level of status code granularity.
2992+
2993+The following are initial classes for the return status code. Individual iCalendar object methods will define specific return status codes for these classes. In addition, other classes for the return status code may be defined using the registration process defined later in this memo.
2994+
2995+ 1.xx - Preliminary success. This class of status of status code indicates that the request has request has been initially processed but that completion is pending.
2996+
2997+2.xx -Successful. This class of status code indicates that the request was completed successfuly. However, the exact status code can indicate that a fallback has been taken.
2998+
2999+3.xx - Client Error. This class of status code indicates that the request was not successful. The error is the result of either a syntax or a semantic error in the client formatted request. Request should not be retried until the condition in the request is corrected.
3000+
3001+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.""" ;
3002+ rdfs:domain ncal:RequestStatus ;
3003+ rdfs:label "returnStatus" ;
3004+ rdfs:range xsd:string .
3005+
3006+ ncal:daylight
3007+ a rdf:Property ;
3008+ 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" ;
3009+ rdfs:domain ncal:Timezone ;
3010+ rdfs:label "daylight" ;
3011+ rdfs:range ncal:TimezoneObservance .
3012+
3013+ ncal:locationAltRep
3014+ a rdf:Property ;
3015+ rdfs:comment """Alternate representation of the event or todo location.
3016+Introduced to cover the ALTREP parameter of the LOCATION
3017+property. See documentation of ncal:location for details.""" ;
3018+ rdfs:domain ncal:UnionOfEventTodo ;
3019+ rdfs:label "locationAltRep" ;
3020+ rdfs:range rdfs:Resource .
3021+
3022+ ncal:exrule
3023+ a rdf:Property ;
3024+ rdfs:comment "This property defines a rule or repeating pattern for an exception to a recurrence set. Inspired by RFC 2445 sec. 4.8.5.2." ;
3025+ rdfs:domain ncal:UnionOfEventJournalTodo ;
3026+ rdfs:label "exrule" ;
3027+ rdfs:range ncal:RecurrenceRule .
3028+
3029+ ncal:hasAlarm
3030+ a rdf:Property ;
3031+ rdfs:comment "Links an event or a todo with a DataObject that can be interpreted as an alarm. This property has no direct equivalent in the RFC 2445. It has been provided to express this relation." ;
3032+ rdfs:domain ncal:UnionOfEventTodo ;
3033+ rdfs:label "hasAlarm" ;
3034+ rdfs:range ncal:CalendarDataObject ;
3035+ rdfs:subPropertyOf nie:hasPart .
3036+
3037+ ncal:TriggerRelation
3038+ a rdfs:Class ;
3039+ rdfs:comment "The relation between the trigger and its parent calendar component. This class has been introduced to express the limited vocabulary for the ncal:related property. See the documentation for ncal:related for more details." ;
3040+ rdfs:label "TriggerRelation" ;
3041+ rdfs:subClassOf rdfs:Resource .
3042+
3043+ ncal:confirmedStatus
3044+ a ncal:EventStatus ;
3045+ rdfs:label "confirmedStatus" .
3046+
3047+ ncal:confidentialClassification
3048+ a ncal:AccessClassification ;
3049+ rdfs:label "confidentialClassification" .
3050+
3051+ ncal:byhour
3052+ a rdf:Property ;
3053+ rdfs:comment "Hour of recurrence. Defined in RFC 2445 sec. 4.3.10" ;
3054+ rdfs:domain ncal:RecurrenceRule ;
3055+ rdfs:label "byhour" ;
3056+ rdfs:range xsd:integer .
3057+
3058+ ncal:byminute
3059+ a rdf:Property ;
3060+ rdfs:comment "Minute of recurrence. Defined in RFC 2445 sec. 4.3.10" ;
3061+ rdfs:domain ncal:RecurrenceRule ;
3062+ rdfs:label "byminute" ;
3063+ rdfs:range xsd:integer .
3064+
3065+ ncal:resourcesAltRep
3066+ a rdf:Property ;
3067+ rdfs:comment "Alternate representation of the resources needed for an event or todo. Introduced to cover the ALTREP parameter of the resources property. See documentation for ncal:resources for details." ;
3068+ rdfs:domain ncal:UnionOfEventTodo ;
3069+ rdfs:label "resourcesAltRep" ;
3070+ rdfs:range rdfs:Resource .
3071+
3072+ ncal:AttendeeRole
3073+ a rdfs:Class ;
3074+ rdfs:comment "A role the attendee is going to play during an event. This class has been introduced to express the limited vocabulary for the values of ncal:role property. Please refer to the documentation of ncal:role for details." ;
3075+ rdfs:label "AttendeeRole" ;
3076+ rdfs:subClassOf rdfs:Resource .
3077+
3078+ ncal:groupUserType
3079+ a ncal:CalendarUserType ;
3080+ rdfs:label "groupUserType" .
3081+
3082+ ncal:UnionOfTimezoneObservanceEventFreebusyTimezoneTodo
3083+ a rdfs:Class ;
3084+ rdfs:label "UnionOfTimezoneObservanceEventFreebusyTimezoneTodo" ;
3085+ rdfs:subClassOf ncal:UnionParentClass .
3086+
3087+ ncal:encoding
3088+ a rdf:Property ;
3089+ 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" ;
3090+ rdfs:domain ncal:Attachment ;
3091+ rdfs:label "encoding" ;
3092+ rdfs:range ncal:AttachmentEncoding .
3093+
3094+ ncal:requestStatusData
3095+ a rdf:Property ;
3096+ rdfs:comment "Additional data associated with a request status. Inspired by the third part of the structured value for the REQUEST-STATUS property defined in RFC 2445 sec. 4.8.8.2 (\"Textual exception data. For example, the offending property name and value or complete property line\")" ;
3097+ rdfs:domain ncal:RequestStatus ;
3098+ rdfs:label "requestStatusData" ;
3099+ rdfs:range xsd:string .
3100+
3101+ ncal:finalStatus
3102+ a ncal:JournalStatus ;
3103+ rdfs:label "finalStatus" .
3104+
3105+ ncal:CalendarUserType
3106+ a rdfs:Class ;
3107+ rdfs:comment "A calendar user type. This class has been introduced to express the limited vocabulary for the ncal:cutype property. See documentation of ncal:cutype for details." ;
3108+ rdfs:label "CalendarUserType" ;
3109+ rdfs:subClassOf rdfs:Resource .
3110+
3111+ ncal:UnionOfEventFreebusyJournalTodo
3112+ a rdfs:Class ;
3113+ rdfs:label "UnionOfEventFreebusyJournalTodo" ;
3114+ rdfs:subClassOf ncal:UnionParentClass .
3115+
3116+ ncal:tzid
3117+ a rdf:Property ;
3118+ rdfs:comment "This property specifies the text value that uniquely identifies the \"VTIMEZONE\" calendar component. Inspired by RFC 2445 sec 4.8.3.1" ;
3119+ rdfs:domain ncal:Timezone ;
3120+ rdfs:label "tzid" ;
3121+ rdfs:range xsd:string .
3122+
3123+ ncal:thisAndFutureRange
3124+ a ncal:RecurrenceIdentifierRange ;
3125+ rdfs:label "thisAndFutureRange" .
3126+
3127+ ncal:categories
3128+ a rdf:Property ;
3129+ rdfs:comment "Categories for a calendar component. Inspired by RFC 2445 sec 4.8.1.2 with the following reservations: The LANGUAGE parameter has been discarded. Please use xml:lang literals to express multiple languages. This property can specify multiple comma-separated categories. The order of categories doesn't matter. Please use a separate triple for each category." ;
3130+ rdfs:domain ncal:UnionOfEventJournalTodo ;
3131+ rdfs:label "categories" ;
3132+ rdfs:range xsd:string .
3133+
3134+ ncal:transparentTransparency
3135+ a ncal:TimeTransparency ;
3136+ rdfs:label "transparentTransparency" .
3137+
3138+ ncal:cancelledJournalStatus
3139+ a ncal:JournalStatus ;
3140+ rdfs:label "cancelledJournalStatus" .
3141+
3142+ ncal:freq
3143+ a rdf:Property ;
3144+ rdfs:comment "Frequency of a recurrence rule. Defined in RFC 2445 sec. 4.3.10" ;
3145+ rdfs:domain ncal:RecurrenceRule ;
3146+ rdfs:label "freq" ;
3147+ rdfs:range ncal:RecurrenceFrequency .
3148+}
3149+
3150+<http://www.semanticdesktop.org/ontologies/2007/04/02/ncal_metadata#> {<http://www.semanticdesktop.org/ontologies/2007/04/02/ncal_metadata#>
3151+ a nrl:GraphMetadata ;
3152+ nrl:coreGraphMetadataFor
3153+ ncal: .
3154+
3155+ ncal:
3156+ a nrl:Ontology ;
3157+ nao:creator <http://www.dfki.uni-kl.de/~mylka> ;
3158+ nao:hasDefaultNamespace
3159+ "http://www.semanticdesktop.org/ontologies/2007/04/02/ncal#" ;
3160+ nao:hasDefaultNamespaceAbbreviation
3161+ "ncal" ;
3162+ nao:lastModified "2008-10-05T19:45:48.109Z" ;
3163+ nao:status "Unstable" ;
3164+ nao:updatable "0 " ;
3165+ nao:version "Revision-8" .
3166+}
3167+
3168
3169=== added file 'extra/ontology/nco.trig'
3170--- extra/ontology/nco.trig 1970-01-01 00:00:00 +0000
3171+++ extra/ontology/nco.trig 2011-09-25 13:50:28 +0000
3172@@ -0,0 +1,682 @@
3173+#
3174+# Copyright (c) 2007 NEPOMUK Consortium
3175+# Copyright (c) 2009 Sebastian Trueg <trueg@kde.org>
3176+# All rights reserved, licensed under either CC-BY or BSD.
3177+#
3178+# You are free:
3179+# * to Share - to copy, distribute and transmit the work
3180+# * to Remix - to adapt the work
3181+# Under the following conditions:
3182+# * Attribution - You must attribute the work in the manner specified by the author
3183+# or licensor (but not in any way that suggests that they endorse you or your use
3184+# of the work).
3185+#
3186+# Redistribution and use in source and binary forms, with or without modification,
3187+# are permitted provided that the following conditions are met:
3188+# * Redistributions of source code must retain the above copyright notice, this
3189+# list of conditions and the following disclaimer.
3190+# * Redistributions in binary form must reproduce the above copyright notice, this
3191+# list of conditions and the following disclaimer in the documentation and/or
3192+# other materials provided with the distribution.
3193+# * Neither the names of the authors nor the names of contributors may
3194+# be used to endorse or promote products derived from this ontology without
3195+# specific prior written permission.
3196+#
3197+# THIS ONTOLOGY IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
3198+# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
3199+# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
3200+# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
3201+# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
3202+# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
3203+# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
3204+# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3205+# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
3206+# THIS ONTOLOGY, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3207+#
3208+
3209+@prefix exif: <http://www.kanzaki.com/ns/exif#> .
3210+@prefix nid3: <http://www.semanticdesktop.org/ontologies/2007/05/10/nid3#> .
3211+@prefix nrl: <http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#> .
3212+@prefix nfo: <http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#> .
3213+@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
3214+@prefix tmo: <http://www.semanticdesktop.org/ontologies/2008/05/20/tmo#> .
3215+@prefix protege: <http://protege.stanford.edu/system#> .
3216+@prefix nmo: <http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#> .
3217+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
3218+@prefix nexif: <http://www.semanticdesktop.org/ontologies/2007/05/10/nexif#> .
3219+@prefix ncal: <http://www.semanticdesktop.org/ontologies/2007/04/02/ncal#> .
3220+@prefix pimo: <http://www.semanticdesktop.org/ontologies/2007/11/01/pimo#> .
3221+@prefix dcterms: <http://purl.org/dc/terms/> .
3222+@prefix nao: <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#> .
3223+@prefix geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> .
3224+@prefix dc: <http://purl.org/dc/elements/1.1/> .
3225+@prefix nie: <http://www.semanticdesktop.org/ontologies/2007/01/19/nie#> .
3226+@prefix nco: <http://www.semanticdesktop.org/ontologies/2007/03/22/nco#> .
3227+@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
3228+
3229+nco: {nco:region
3230+ a rdf:Property ;
3231+ rdfs:comment "Region. Inspired by the fifth part of the value of the 'ADR' property as defined in RFC 2426, sec. 3.2.1" ;
3232+ rdfs:domain nco:PostalAddress ;
3233+ rdfs:label "region" ;
3234+ rdfs:range xsd:string ;
3235+ nrl:maxCardinality 1 .
3236+
3237+ nco:key
3238+ a rdf:Property ;
3239+ rdfs:comment "An encryption key attached to a contact. Inspired by the KEY property defined in RFC 2426 sec. 3.7.2" ;
3240+ rdfs:domain nco:Contact ;
3241+ rdfs:label "key" ;
3242+ rdfs:range nie:DataObject ;
3243+ rdfs:subPropertyOf nie:hasPart .
3244+
3245+ nco:nameHonorificSuffix
3246+ a rdf:Property ;
3247+ rdfs:comment "A suffix for the name of the Object represented by the given object. See documentation for the 'nameFamily' for details." ;
3248+ rdfs:domain nco:PersonContact ;
3249+ rdfs:label "nameHonorificSuffix" ;
3250+ rdfs:range xsd:string .
3251+
3252+ nco:url
3253+ a rdf:Property ;
3254+ rdfs:comment "A uniform resource locator associated with the given role of a Contact. Inspired by the 'URL' property defined in RFC 2426 Sec. 3.6.8." ;
3255+ rdfs:domain nco:Role ;
3256+ rdfs:label "url" ;
3257+ rdfs:range rdfs:Resource .
3258+
3259+ nco:VoicePhoneNumber
3260+ a rdfs:Class ;
3261+ rdfs:comment "A telephone number with voice communication capabilities. Class inspired by the TYPE=voice parameter of the TEL property defined in RFC 2426 sec. 3.3.1" ;
3262+ rdfs:label "VoicePhoneNumber" ;
3263+ rdfs:subClassOf nco:PhoneNumber .
3264+
3265+ nco:nameFamily
3266+ a rdf:Property ;
3267+ 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" ;
3268+ rdfs:domain nco:PersonContact ;
3269+ rdfs:label "nameFamily" ;
3270+ rdfs:range xsd:string .
3271+
3272+ nco:VideoTelephoneNumber
3273+ a rdfs:Class ;
3274+ rdfs:comment "A Video telephone number. A class inspired by the TYPE=video parameter of the TEL property defined in RFC 2426 sec. 3.3.1" ;
3275+ rdfs:label "VideoTelephoneNumber" ;
3276+ rdfs:subClassOf nco:VoicePhoneNumber .
3277+
3278+ nco:contactUID
3279+ a rdf:Property ;
3280+ rdfs:comment "A value that represents a globally unique identifier corresponding to the individual or resource associated with the Contact. An equivalent of the 'UID' property defined in RFC 2426 Sec. 3.6.7" ;
3281+ rdfs:domain nco:Contact ;
3282+ rdfs:label "contactUID" ;
3283+ rdfs:range xsd:string ;
3284+ rdfs:subPropertyOf nie:identifier .
3285+
3286+ nco:publisher
3287+ a rdf:Property ;
3288+ rdfs:comment "An entity responsible for making the InformationElement available." ;
3289+ rdfs:domain nie:InformationElement ;
3290+ rdfs:label "publisher" ;
3291+ rdfs:range nco:Contact ;
3292+ rdfs:subPropertyOf dc:publisher .
3293+
3294+ nco:country
3295+ a rdf:Property ;
3296+ rdfs:comment "A part of an address specyfing the country. Inspired by the seventh part of the value of the 'ADR' property as defined in RFC 2426, sec. 3.2.1" ;
3297+ rdfs:domain nco:PostalAddress ;
3298+ rdfs:label "country" ;
3299+ rdfs:range xsd:string ;
3300+ nrl:maxCardinality 1 .
3301+
3302+ nco:nameHonorificPrefix
3303+ a rdf:Property ;
3304+ rdfs:comment "A prefix for the name of the object represented by this Contact. See documentation for the 'nameFamily' property for details." ;
3305+ rdfs:domain nco:PersonContact ;
3306+ rdfs:label "nameHonorificPrefix" ;
3307+ rdfs:range xsd:string .
3308+
3309+ nco:extendedAddress
3310+ a rdf:Property ;
3311+ 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" ;
3312+ rdfs:domain nco:PostalAddress ;
3313+ rdfs:label "extendedAddress" ;
3314+ rdfs:range xsd:string .
3315+
3316+ nco:IMAccount
3317+ a rdfs:Class ;
3318+ rdfs:comment "An account in an Instant Messaging system." ;
3319+ rdfs:label "IMAccount" ;
3320+ rdfs:subClassOf nco:ContactMedium .
3321+
3322+ nco:hasIMAccount
3323+ a rdf:Property ;
3324+ rdfs:comment "Indicates that an Instant Messaging account owned by an entity represented by this contact." ;
3325+ rdfs:domain nco:Role ;
3326+ rdfs:label "hasIMAccount" ;
3327+ rdfs:range nco:IMAccount ;
3328+ rdfs:subPropertyOf nco:hasContactMedium .
3329+
3330+ nco:IsdnNumber
3331+ a rdfs:Class ;
3332+ rdfs:comment "An ISDN phone number. Inspired by the (TYPE=isdn) parameter of the TEL property as defined in RFC 2426 sec 3.3.1." ;
3333+ rdfs:label "IsdnNumber" ;
3334+ rdfs:subClassOf nco:VoicePhoneNumber .
3335+
3336+ nco:creator
3337+ a rdf:Property ;
3338+ rdfs:comment "Creator of a data object, an entity primarily responsible for the creation of the content of the data object." ;
3339+ rdfs:domain nie:InformationElement ;
3340+ rdfs:label "creator" ;
3341+ rdfs:range nco:Contact ;
3342+ rdfs:subPropertyOf dc:creator , nco:contributor , nao:creator .
3343+
3344+ nco:hasLocation
3345+ a rdf:Property ;
3346+ rdfs:comment "Geographical location of the contact. Inspired by the 'GEO' property specified in RFC 2426 Sec. 3.4.2" ;
3347+ rdfs:domain nco:Contact ;
3348+ rdfs:label "hasLocation" ;
3349+ rdfs:range geo:Point .
3350+
3351+ nco:phoneNumber
3352+ a rdf:Property ;
3353+ rdfs:domain nco:PhoneNumber ;
3354+ rdfs:label "phoneNumber" ;
3355+ rdfs:range xsd:string .
3356+
3357+ nco:nickname
3358+ a rdf:Property ;
3359+ 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." ;
3360+ rdfs:domain nco:Contact ;
3361+ rdfs:label "nickname" ;
3362+ rdfs:range xsd:string .
3363+
3364+ nco:imStatus
3365+ a rdf:Property ;
3366+ 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." ;
3367+ rdfs:domain nco:IMAccount ;
3368+ rdfs:label "imStatus" ;
3369+ rdfs:range xsd:string ;
3370+ nrl:maxCardinality 1 .
3371+
3372+ nco:containsContact
3373+ a rdf:Property ;
3374+ rdfs:comment """A property used to group contacts into contact groups. This
3375+ property was NOT defined in the VCARD standard. See documentation for the
3376+ 'ContactList' class for details""" ;
3377+ rdfs:domain nco:ContactList ;
3378+ rdfs:label "containsContact" ;
3379+ rdfs:range nco:ContactListDataObject ;
3380+ rdfs:subPropertyOf nie:hasPart .
3381+
3382+ nco:department
3383+ a rdf:Property ;
3384+ rdfs:comment "Department. The organizational unit within the organization." ;
3385+ rdfs:domain nco:Affiliation ;
3386+ rdfs:label "department" ;
3387+ rdfs:range xsd:string .
3388+
3389+ nco:imID
3390+ a rdf:Property ;
3391+ rdfs:comment "Identifier of the IM account. Examples of such identifier might include ICQ UINs, Jabber IDs, Skype names etc." ;
3392+ rdfs:domain nco:IMAccount ;
3393+ rdfs:label "imID" ;
3394+ rdfs:range xsd:string ;
3395+ rdfs:subPropertyOf nao:identifier .
3396+
3397+ nco:addressLocation
3398+ a rdf:Property ;
3399+ rdfs:comment "The geographical location of a postal address." ;
3400+ rdfs:domain nco:PostalAddress ;
3401+ rdfs:label "addressLocation" ;
3402+ rdfs:range geo:Point .
3403+
3404+ nco:note
3405+ a rdf:Property ;
3406+ rdfs:comment "A note about the object represented by this Contact. An equivalent for the 'NOTE' property defined in RFC 2426 Sec. 3.6.2" ;
3407+ rdfs:domain nco:Contact ;
3408+ rdfs:label "note" ;
3409+ rdfs:range xsd:string ;
3410+ rdfs:subPropertyOf nie:description .
3411+
3412+ nco:representative
3413+ a rdf:Property ;
3414+ rdfs:comment "An object that represent an object represented by this Contact. Usually this property is used to link a Contact to an organization, to a contact to the representative of this organization the user directly interacts with. An equivalent for the 'AGENT' property defined in RFC 2426 Sec. 3.5.4" ;
3415+ rdfs:domain nco:Contact ;
3416+ rdfs:label "representative" ;
3417+ rdfs:range nco:Contact .
3418+
3419+ nco:nameAdditional
3420+ a rdf:Property ;
3421+ rdfs:comment "Additional given name of an object represented by this contact. See documentation for 'nameFamily' property for details." ;
3422+ rdfs:domain nco:PersonContact ;
3423+ rdfs:label "nameAdditional" ;
3424+ rdfs:range xsd:string .
3425+
3426+ nco:nameGiven
3427+ a rdf:Property ;
3428+ rdfs:comment "The given name for the object represented by this Contact. See documentation for 'nameFamily' property for details." ;
3429+ rdfs:domain nco:PersonContact ;
3430+ rdfs:label "nameGiven" ;
3431+ rdfs:range xsd:string .
3432+
3433+ nco:PcsNumber
3434+ a rdfs:Class ;
3435+ rdfs:comment "Personal Communication Services Number. A class inspired by the TYPE=pcs parameter of the TEL property defined in RFC 2426 sec. 3.3.1" ;
3436+ rdfs:label "PcsNumber" ;
3437+ rdfs:subClassOf nco:VoicePhoneNumber .
3438+
3439+ nco:ContactList
3440+ a rdfs:Class ;
3441+ rdfs:comment "A contact list, this class represents an addressbook or a contact list of an IM application. Contacts inside a contact list can belong to contact groups." ;
3442+ rdfs:label "ContactList" ;
3443+ rdfs:subClassOf nie:InformationElement .
3444+
3445+ nco:fullname
3446+ a rdf:Property ;
3447+ rdfs:comment "To specify the formatted text corresponding to the name of the object the Contact represents. An equivalent of the FN property as defined in RFC 2426 Sec. 3.1.1." ;
3448+ rdfs:domain nco:Contact ;
3449+ rdfs:label "fullname" ;
3450+ rdfs:range xsd:string ;
3451+ nrl:maxCardinality "1" ;
3452+ rdfs:subPropertyOf nie:title .
3453+
3454+ nco:ContactGroup
3455+ a rdfs:Class ;
3456+ rdfs:comment "A group of Contacts. Could be used to express a group in an addressbook or on a contact list of an IM application. One contact can belong to many groups." ;
3457+ rdfs:label "ContactGroup" ;
3458+ rdfs:subClassOf nie:InformationElement .
3459+
3460+ nco:BbsNumber
3461+ a rdfs:Class ;
3462+ rdfs:comment "A Bulletin Board System (BBS) phone number. Inspired by the (TYPE=bbsl) parameter of the TEL property as defined in RFC 2426 sec 3.3.1." ;
3463+ rdfs:label "BbsNumber" ;
3464+ rdfs:subClassOf nco:ModemNumber .
3465+
3466+ nco:Affiliation
3467+ a rdfs:Class ;
3468+ rdfs:comment "Aggregates three properties defined in RFC2426. Originally all three were attached directly to a person. One person could have only one title and one role within one organization. This class is intended to lift this limitation." ;
3469+ rdfs:label "Affiliation" ;
3470+ rdfs:subClassOf nco:Role .
3471+
3472+ nco:streetAddress
3473+ a rdf:Property ;
3474+ 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" ;
3475+ rdfs:domain nco:PostalAddress ;
3476+ rdfs:label "streetAddress" ;
3477+ rdfs:range xsd:string .
3478+
3479+ nco:OrganizationContact
3480+ a rdfs:Class ;
3481+ rdfs:comment "A Contact that denotes on Organization." ;
3482+ rdfs:label "OrganizationContact" ;
3483+ rdfs:subClassOf nco:Contact .
3484+
3485+ nco:PhoneNumber
3486+ a rdfs:Class ;
3487+ rdfs:comment "A telephone number." ;
3488+ rdfs:label "PhoneNumber" ;
3489+ rdfs:subClassOf nco:ContactMedium .
3490+
3491+ nco:Contact
3492+ a rdfs:Class ;
3493+ rdfs:comment "A Contact. A piece of data that can provide means to identify or communicate with an entity." ;
3494+ rdfs:label "Contact" ;
3495+ rdfs:subClassOf nco:Role , nie:InformationElement , nao:Party .
3496+
3497+ nco:ModemNumber
3498+ a rdfs:Class ;
3499+ rdfs:comment "A modem phone number. Inspired by the (TYPE=modem) parameter of the TEL property as defined in RFC 2426 sec 3.3.1." ;
3500+ rdfs:label "ModemNumber" ;
3501+ rdfs:subClassOf nco:PhoneNumber .
3502+
3503+ nco:Role
3504+ a rdfs:Class ;
3505+ rdfs:comment "A role played by a contact. Contacts that denote people, can have many roles (e.g. see the hasAffiliation property and Affiliation class). Contacts that denote Organizations or other Agents usually have one role. Each role can introduce additional contact media." ;
3506+ rdfs:label "Role" ;
3507+ rdfs:subClassOf rdfs:Resource .
3508+
3509+ nco:PagerNumber
3510+ a rdfs:Class ;
3511+ rdfs:comment "A pager phone number. Inspired by the (TYPE=pager) parameter of the TEL property as defined in RFC 2426 sec 3.3.1." ;
3512+ rdfs:label "PagerNumber" ;
3513+ rdfs:subClassOf nco:MessagingNumber .
3514+
3515+ nco:hasPhoneNumber
3516+ a rdf:Property ;
3517+ rdfs:comment "A number for telephony communication with the object represented by this Contact. An equivalent of the 'TEL' property defined in RFC 2426 Sec. 3.3.1" ;
3518+ rdfs:domain nco:Role ;
3519+ rdfs:label "hasPhoneNumber" ;
3520+ rdfs:range nco:PhoneNumber ;
3521+ rdfs:subPropertyOf nco:hasContactMedium .
3522+
3523+ nco:photo
3524+ a rdf:Property ;
3525+ 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" ;
3526+ rdfs:domain nco:Contact ;
3527+ rdfs:label "photo" ;
3528+ rdfs:range nie:DataObject ;
3529+ rdfs:subPropertyOf nie:hasPart .
3530+
3531+ nco:contributor
3532+ a rdf:Property ;
3533+ rdfs:comment "An entity responsible for making contributions to the content of the InformationElement." ;
3534+ rdfs:domain nie:InformationElement ;
3535+ rdfs:label "contributor" ;
3536+ rdfs:range nco:Contact ;
3537+ rdfs:subPropertyOf dc:contributor , nao:contributor .
3538+
3539+ nco:logo
3540+ a rdf:Property ;
3541+ rdfs:comment "Logo of a company. Inspired by the LOGO property defined in RFC 2426 sec. 3.5.3" ;
3542+ rdfs:domain nco:OrganizationContact ;
3543+ rdfs:label "logo" ;
3544+ rdfs:range nie:DataObject ;
3545+ rdfs:subPropertyOf nie:hasPart .
3546+
3547+ nco:websiteUrl
3548+ a rdf:Property ;
3549+ rdfs:comment "A url of a website." ;
3550+ rdfs:domain nco:Role ;
3551+ rdfs:label "websiteUrl" ;
3552+ rdfs:range rdfs:Resource ;
3553+ rdfs:subPropertyOf nco:url .
3554+
3555+ nco:ContactMedium
3556+ a rdfs:Class ;
3557+ rdfs:comment "A superclass for all contact media - ways to contact an entity represented by a Contact instance. Some of the subclasses of this class (the various kinds of telephone numbers and postal addresses) have been inspired by the values of the TYPE parameter of ADR and TEL properties defined in RFC 2426 sec. 3.2.1. and 3.3.1 respectively. Each value is represented by an appropriate subclass with two major exceptions TYPE=home and TYPE=work. They are to be expressed by the roles these contact media are attached to i.e. contact media with TYPE=home parameter are to be attached to the default role (nco:Contact or nco:PersonContact), whereas media with TYPE=work parameter should be attached to nco:Affiliation or nco:OrganizationContact." ;
3558+ rdfs:label "ContactMedium" ;
3559+ rdfs:subClassOf rdfs:Resource .
3560+
3561+ nco:Gender
3562+ a rdfs:Class ;
3563+ rdfs:comment "Gender. Instances of this class may include male and female." ;
3564+ rdfs:label "Gender" ;
3565+ rdfs:subClassOf rdfs:Resource .
3566+
3567+ nco:male
3568+ a nco:Gender ;
3569+ rdfs:comment "A Male" ;
3570+ rdfs:label "male" .
3571+
3572+ nco:birthDate
3573+ a rdf:Property ;
3574+ rdfs:comment "Birth date of the object represented by this Contact. An equivalent of the 'BDAY' property as defined in RFC 2426 Sec. 3.1.5." ;
3575+ rdfs:domain nco:Contact ;
3576+ rdfs:label "birthDate" ;
3577+ rdfs:range xsd:date ;
3578+ rdfs:subPropertyOf dc:date ;
3579+ nrl:maxCardinality 1 .
3580+
3581+ nco:hasEmailAddress
3582+ a rdf:Property ;
3583+ rdfs:comment "An address for electronic mail communication with the object specified by this contact. An equivalent of the 'EMAIL' property as defined in RFC 2426 Sec. 3.3.1." ;
3584+ rdfs:domain nco:Role ;
3585+ rdfs:label "hasEmailAddress" ;
3586+ rdfs:range nco:EmailAddress ;
3587+ rdfs:subPropertyOf nco:hasContactMedium .
3588+
3589+ nco:postalcode
3590+ a rdf:Property ;
3591+ rdfs:comment "Postal Code. Inspired by the sixth part of the value of the 'ADR' property as defined in RFC 2426, sec. 3.2.1" ;
3592+ rdfs:domain nco:PostalAddress ;
3593+ rdfs:label "postalcode" ;
3594+ rdfs:range xsd:string ;
3595+ nrl:maxCardinality 1 .
3596+
3597+ nco:MessagingNumber
3598+ a rdfs:Class ;
3599+ rdfs:comment "A number that can accept textual messages." ;
3600+ rdfs:label "MessagingNumber" ;
3601+ rdfs:subClassOf nco:PhoneNumber .
3602+
3603+ nco:org
3604+ a rdf:Property ;
3605+ 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" ;
3606+ rdfs:domain nco:Affiliation ;
3607+ rdfs:label "org" ;
3608+ rdfs:range nco:OrganizationContact .
3609+
3610+ nco:PersonContact
3611+ a rdfs:Class ;
3612+ rdfs:comment "A Contact that denotes a Person. A person can have multiple Affiliations." ;
3613+ rdfs:label "PersonContact" ;
3614+ rdfs:subClassOf nco:Contact .
3615+
3616+ nco:ParcelDeliveryAddress
3617+ a rdfs:Class ;
3618+ rdfs:comment "Parcel Delivery Addresse. Class inspired by TYPE=parcel parameter of the ADR property defined in RFC 2426 sec. 3.2.1" ;
3619+ rdfs:label "ParcelDeliveryAddress" ;
3620+ rdfs:subClassOf nco:PostalAddress .
3621+
3622+ nco:title
3623+ a rdf:Property ;
3624+ 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" ;
3625+ rdfs:domain nco:Affiliation ;
3626+ rdfs:label "title" ;
3627+ rdfs:range xsd:string .
3628+
3629+ nco:AudioIMAccount
3630+ a rdfs:Class ;
3631+ rdfs:comment "An account in an InstantMessaging system capable of real-time audio conversations." ;
3632+ rdfs:label "AudioIMAccount" ;
3633+ rdfs:subClassOf nco:IMAccount .
3634+
3635+ nco:voiceMail
3636+ a rdf:Property ;
3637+ 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" ;
3638+ rdfs:domain nco:VoicePhoneNumber ;
3639+ rdfs:label "voiceMail" ;
3640+ rdfs:range xsd:boolean .
3641+
3642+ nco:PostalAddress
3643+ a rdfs:Class ;
3644+ rdfs:comment "A postal address. A class aggregating the various parts of a value for the 'ADR' property as defined in RFC 2426 Sec. 3.2.1." ;
3645+ rdfs:label "PostalAddress" ;
3646+ rdfs:subClassOf nco:ContactMedium .
3647+
3648+ nco:belongsToGroup
3649+ a rdf:Property ;
3650+ rdfs:comment "Links a Contact with a ContactGroup it belongs to." ;
3651+ rdfs:domain nco:Contact ;
3652+ rdfs:label "addressLocation" ;
3653+ rdfs:range nco:ContactGroup .
3654+
3655+ nco:hasContactMedium
3656+ a rdf:Property ;
3657+ rdfs:comment "A superProperty for all properties linking a Contact to an instance of a contact medium." ;
3658+ rdfs:domain nco:Role ;
3659+ rdfs:label "hasContactMedium" ;
3660+ rdfs:range nco:ContactMedium .
3661+
3662+ nco:contactGroupName
3663+ a rdf:Property ;
3664+ rdfs:comment """The name of the contact group. This property was NOT defined
3665+ in the VCARD standard. See documentation of the 'ContactGroup' class for
3666+ details""" ;
3667+ rdfs:domain nco:ContactGroup ;
3668+ rdfs:label "contactGroupName" ;
3669+ rdfs:range xsd:string ;
3670+ rdfs:subPropertyOf dc:title ;
3671+ nrl:maxCardinality 1 .
3672+
3673+ nco:FaxNumber
3674+ a rdfs:Class ;
3675+ rdfs:comment "A fax number. Inspired by the (TYPE=fax) parameter of the TEL property as defined in RFC 2426 sec 3.3.1." ;
3676+ rdfs:label "FaxNumber" ;
3677+ rdfs:subClassOf nco:PhoneNumber .
3678+
3679+ nco:contactMediumComment
3680+ a rdf:Property ;
3681+ rdfs:comment "A comment about the contact medium." ;
3682+ rdfs:domain nco:ContactMedium ;
3683+ rdfs:label "contactMediumComment" ;
3684+ rdfs:range xsd:string .
3685+
3686+ nco:foafUrl
3687+ a rdf:Property ;
3688+ rdfs:comment "The URL of the FOAF file." ;
3689+ rdfs:domain nco:Role ;
3690+ rdfs:label "foafUrl" ;
3691+ rdfs:range rdfs:Resource ;
3692+ rdfs:subPropertyOf nco:url .
3693+
3694+ nco:CarPhoneNumber
3695+ a rdfs:Class ;
3696+ rdfs:comment "A car phone number. Inspired by the (TYPE=car) parameter of the TEL property as defined in RFC 2426 sec 3.3.1." ;
3697+ rdfs:label "CarPhoneNumber" ;
3698+ rdfs:subClassOf nco:VoicePhoneNumber .
3699+
3700+ nco:ContactListDataObject
3701+ a rdfs:Class ;
3702+ rdfs:comment "An entity occuring on a contact list (usually interpreted as an nco:Contact)" ;
3703+ rdfs:label "ContactListDataObject" ;
3704+ rdfs:subClassOf nie:DataObject .
3705+
3706+ nco:emailAddress
3707+ a rdf:Property ;
3708+ rdfs:domain nco:EmailAddress ;
3709+ rdfs:label "emailAddress" ;
3710+ rdfs:range xsd:string ;
3711+ nrl:maxCardinality 1 .
3712+
3713+ nco:InternationalDeliveryAddress
3714+ a rdfs:Class ;
3715+ rdfs:comment "International Delivery Addresse. Class inspired by TYPE=intl parameter of the ADR property defined in RFC 2426 sec. 3.2.1" ;
3716+ rdfs:label "InternationalDeliveryAddress" ;
3717+ rdfs:subClassOf nco:PostalAddress .
3718+
3719+ nco:locality
3720+ a rdf:Property ;
3721+ rdfs:comment "Locality or City. Inspired by the fourth part of the value of the 'ADR' property as defined in RFC 2426, sec. 3.2.1" ;
3722+ rdfs:domain nco:PostalAddress ;
3723+ rdfs:label "locality" ;
3724+ rdfs:range xsd:string ;
3725+ nrl:maxCardinality 1 .
3726+
3727+ nco:VideoIMAccount
3728+ a rdfs:Class ;
3729+ rdfs:comment "An account in an instant messaging system capable of video conversations." ;
3730+ rdfs:label "VideoIMAccount" ;
3731+ rdfs:subClassOf nco:AudioIMAccount .
3732+
3733+ nco:sound
3734+ a rdf:Property ;
3735+ 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." ;
3736+ rdfs:domain nco:Contact ;
3737+ rdfs:label "sound" ;
3738+ rdfs:range nie:DataObject ;
3739+ rdfs:subPropertyOf nie:hasPart .
3740+
3741+ nco:EmailAddress
3742+ a rdfs:Class ;
3743+ rdfs:comment "An email address. The recommended best practice is to use mailto: uris for instances of this class." ;
3744+ rdfs:label "EmailAddress" ;
3745+ rdfs:subClassOf nco:ContactMedium .
3746+
3747+ nco:imNickname
3748+ a rdf:Property ;
3749+ rdfs:comment "A nickname attached to a particular IM Account." ;
3750+ rdfs:domain nco:IMAccount ;
3751+ rdfs:label "imNickname" ;
3752+ rdfs:range xsd:string .
3753+
3754+ nco:hobby
3755+ a rdf:Property ;
3756+ rdfs:comment "A hobby associated with a PersonContact. This property can be used to express hobbies and interests." ;
3757+ rdfs:domain nco:PersonContact ;
3758+ rdfs:label "hobby" ;
3759+ rdfs:range xsd:string .
3760+
3761+ nco:blogUrl
3762+ a rdf:Property ;
3763+ rdfs:comment "A Blog url." ;
3764+ rdfs:domain nco:Role ;
3765+ rdfs:label "blogUrl" ;
3766+ rdfs:range rdfs:Resource ;
3767+ rdfs:subPropertyOf nco:url .
3768+
3769+ nco:CellPhoneNumber
3770+ a rdfs:Class ;
3771+ rdfs:comment "A cellular phone number. Inspired by the (TYPE=cell) parameter of the TEL property as defined in RFC 2426 sec 3.3.1. Usually a cellular phone can accept voice calls as well as textual messages (SMS), therefore this class has two superclasses." ;
3772+ rdfs:label "CellPhoneNumber" ;
3773+ rdfs:subClassOf nco:MessagingNumber , nco:VoicePhoneNumber .
3774+
3775+ nco:role
3776+ a rdf:Property ;
3777+ rdfs:comment "Role an object represented by this contact represents in the organization. This might include 'Programmer', 'Manager', 'Sales Representative'. Be careful to avoid confusion with the title property. An equivalent of the 'ROLE' property as defined in RFC 2426. Sec. 3.5.2. Note the difference between nco:Role class and nco:role property." ;
3778+ rdfs:domain nco:Affiliation ;
3779+ rdfs:label "role" ;
3780+ rdfs:range xsd:string .
3781+
3782+ nco:DomesticDeliveryAddress
3783+ a rdfs:Class ;
3784+ rdfs:comment "Domestic Delivery Addresse. Class inspired by TYPE=dom parameter of the ADR property defined in RFC 2426 sec. 3.2.1" ;
3785+ rdfs:label "DomesticDeliveryAddress" ;
3786+ rdfs:subClassOf nco:PostalAddress .
3787+
3788+ nco:female
3789+ a nco:Gender ;
3790+ rdfs:comment "A Female" ;
3791+ rdfs:label "female" .
3792+
3793+ nco:hasPostalAddress
3794+ a rdf:Property ;
3795+ rdfs:comment "The default Address for a Contact. An equivalent of the 'ADR' property as defined in RFC 2426 Sec. 3.2.1." ;
3796+ rdfs:domain nco:Role ;
3797+ rdfs:label "hasPostalAddress" ;
3798+ rdfs:range nco:PostalAddress ;
3799+ rdfs:subPropertyOf nco:hasContactMedium .
3800+
3801+ nco:imAccountType
3802+ a rdf:Property ;
3803+ 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" ;
3804+ rdfs:domain nco:IMAccount ;
3805+ rdfs:label "imAccountType" ;
3806+ rdfs:range xsd:string .
3807+
3808+ nco:pobox
3809+ a rdf:Property ;
3810+ 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" ;
3811+ rdfs:domain nco:PostalAddress ;
3812+ rdfs:label "pobox" ;
3813+ rdfs:range xsd:string .
3814+
3815+ nco:hasAffiliation
3816+ a rdf:Property ;
3817+ rdfs:comment "Links a PersonContact with an Affiliation." ;
3818+ rdfs:domain nco:PersonContact ;
3819+ rdfs:label "hasAffiliation" ;
3820+ rdfs:range nco:Affiliation .
3821+
3822+ nco:gender
3823+ a rdf:Property ;
3824+ rdfs:comment "Gender of the given contact." ;
3825+ rdfs:domain nco:PersonContact ;
3826+ rdfs:label "gender" ;
3827+ rdfs:range nco:Gender ;
3828+ nrl:maxCardinality 1 .
3829+
3830+ nco:imStatusMessage
3831+ a rdf:Property ;
3832+ rdfs:comment "A feature common in most IM systems. A message left by the user for all his/her contacts to see." ;
3833+ rdfs:domain nco:IMAccount ;
3834+ rdfs:label "imStatusMessage" ;
3835+ rdfs:range xsd:string .
3836+}
3837+
3838+<http://www.semanticdesktop.org/ontologies/2007/03/22/nco_metadata#> {nco: a nrl:Ontology ;
3839+ nao:creator <http://www.dfki.uni-kl.de/~mylka> ;
3840+ nao:hasDefaultNamespace
3841+ "http://www.semanticdesktop.org/ontologies/2007/03/22/nco#" ;
3842+ nao:hasDefaultNamespaceAbbreviation
3843+ "nco" ;
3844+ nao:lastModified "2009-11-27T11:45:58Z" ;
3845+ nao:status "Unstable" ;
3846+ nao:updatable "0 " ;
3847+ nao:version "Revision-9" .
3848+
3849+ <http://www.semanticdesktop.org/ontologies/2007/03/22/nco_metadata#>
3850+ a nrl:GraphMetadata ;
3851+ nrl:coreGraphMetadataFor
3852+ nco: .
3853+}
3854+
3855
3856=== added file 'extra/ontology/nfo.trig'
3857--- extra/ontology/nfo.trig 1970-01-01 00:00:00 +0000
3858+++ extra/ontology/nfo.trig 2011-09-25 13:50:28 +0000
3859@@ -0,0 +1,823 @@
3860+#
3861+# Copyright (c) 2007 NEPOMUK Consortium
3862+# All rights reserved, licensed under either CC-BY or BSD.
3863+#
3864+# You are free:
3865+# * to Share - to copy, distribute and transmit the work
3866+# * to Remix - to adapt the work
3867+# Under the following conditions:
3868+# * Attribution - You must attribute the work in the manner specified by the author
3869+# or licensor (but not in any way that suggests that they endorse you or your use
3870+# of the work).
3871+#
3872+# Redistribution and use in source and binary forms, with or without modification,
3873+# are permitted provided that the following conditions are met:
3874+# * Redistributions of source code must retain the above copyright notice, this
3875+# list of conditions and the following disclaimer.
3876+# * Redistributions in binary form must reproduce the above copyright notice, this
3877+# list of conditions and the following disclaimer in the documentation and/or
3878+# other materials provided with the distribution.
3879+# * Neither the names of the authors nor the names of contributors may
3880+# be used to endorse or promote products derived from this ontology without
3881+# specific prior written permission.
3882+#
3883+# THIS ONTOLOGY IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
3884+# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
3885+# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
3886+# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
3887+# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
3888+# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
3889+# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
3890+# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
3891+# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
3892+# THIS ONTOLOGY, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3893+#
3894+
3895+@prefix dc: <http://purl.org/dc/elements/1.1/> .
3896+@prefix exif: <http://www.kanzaki.com/ns/exif#> .
3897+@prefix geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> .
3898+@prefix protege: <http://protege.stanford.edu/system#> .
3899+@prefix nao: <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#> .
3900+@prefix nfo: <http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#> .
3901+@prefix nie: <http://www.semanticdesktop.org/ontologies/2007/01/19/nie#> .
3902+@prefix ncal: <http://www.semanticdesktop.org/ontologies/2007/04/02/ncal#> .
3903+@prefix nco: <http://www.semanticdesktop.org/ontologies/2007/03/22/nco#> .
3904+@prefix dcterms: <http://purl.org/dc/terms/> .
3905+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
3906+@prefix pimo: <http://www.semanticdesktop.org/ontologies/2007/11/01/pimo#> .
3907+@prefix nmo: <http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#> .
3908+@prefix nrl: <http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#> .
3909+@prefix tmo: <http://www.semanticdesktop.org/ontologies/2008/05/20/tmo#> .
3910+@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
3911+@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
3912+@prefix nid3: <http://www.semanticdesktop.org/ontologies/2007/05/10/nid3#> .
3913+@prefix nexif: <http://www.semanticdesktop.org/ontologies/2007/05/10/nexif#> .
3914+
3915+nfo: {nfo:horizontalResolution
3916+ a rdf:Property ;
3917+ rdfs:comment "Horizontal resolution of an image (if printed). Expressed in DPI." ;
3918+ rdfs:domain nfo:Image ;
3919+ rdfs:label "horizontalResolution" ;
3920+ rdfs:range xsd:integer .
3921+
3922+ nfo:sampleRate
3923+ a rdf:Property ;
3924+ rdfs:comment "The amount of audio samples per second." ;
3925+ rdfs:domain nfo:Audio ;
3926+ rdfs:label "sampleRate" ;
3927+ rdfs:range xsd:float ;
3928+ rdfs:subPropertyOf nfo:rate .
3929+
3930+ nfo:HardDiskPartition
3931+ a rdfs:Class ;
3932+ rdfs:comment "A partition on a hard disk" ;
3933+ rdfs:label "HardDiskPartition" ;
3934+ rdfs:subClassOf nie:DataObject .
3935+
3936+ nfo:fileName
3937+ a rdf:Property ;
3938+ rdfs:comment "Name of the file, together with the extension" ;
3939+ rdfs:domain nfo:FileDataObject ;
3940+ rdfs:label "fileName" ;
3941+ nrl:maxCardinality "1" ;
3942+ rdfs:range xsd:string .
3943+
3944+ nfo:MediaStream
3945+ a rdfs:Class ;
3946+ rdfs:comment "A stream of multimedia content, usually contained within a media container such as a movie (containing both audio and video) or a DVD (possibly containing many streams of audio and video). Most common interpretations for such a DataObject include Audio and Video." ;
3947+ rdfs:label "MediaStream" ;
3948+ rdfs:subClassOf nie:DataObject .
3949+
3950+ nfo:Presentation
3951+ a rdfs:Class ;
3952+ rdfs:comment "A Presentation made by some presentation software (Corel Presentations, OpenOffice Impress, MS Powerpoint etc.)" ;
3953+ rdfs:label "Presentation" ;
3954+ rdfs:subClassOf nfo:Document .
3955+
3956+ nfo:Audio
3957+ a rdfs:Class ;
3958+ rdfs:comment "A file containing audio content" ;
3959+ rdfs:label "Audio" ;
3960+ rdfs:subClassOf nfo:Media .
3961+
3962+ nfo:hashAlgorithm
3963+ a rdf:Property ;
3964+ rdfs:comment "Name of the algorithm used to compute the hash value. Examples might include CRC32, MD5, SHA, TTH etc." ;
3965+ rdfs:domain nfo:FileHash ;
3966+ rdfs:label "hashAlgorithm" ;
3967+ rdfs:range xsd:string .
3968+
3969+ nfo:commentCharacterCount
3970+ a rdf:Property ;
3971+ rdfs:comment "The amount of character in comments i.e. characters ignored by the compiler/interpreter." ;
3972+ rdfs:domain nfo:SourceCode ;
3973+ rdfs:label "commentCharacterCount" ;
3974+ rdfs:range xsd:integer .
3975+
3976+ nfo:PlainTextDocument
3977+ a rdfs:Class ;
3978+ rdfs:comment "A file containing plain text (ASCII, Unicode or other encodings). Examples may include TXT, HTML, XML, program source code etc." ;
3979+ rdfs:label "PlainTextDocument" ;
3980+ rdfs:subClassOf nfo:TextDocument .
3981+
3982+ nfo:foundry
3983+ a rdf:Property ;
3984+ rdfs:comment "The foundry, the organization that created the font." ;
3985+ rdfs:domain nfo:Font ;
3986+ rdfs:label "foundry" ;
3987+ rdfs:range nco:Contact ;
3988+ rdfs:subPropertyOf nco:creator .
3989+
3990+ nfo:losslessCompressionType
3991+ a nfo:CompressionType ;
3992+ rdfs:label "losslessCompressionType" .
3993+
3994+ nfo:sideChannels
3995+ a rdf:Property ;
3996+ rdfs:comment "Number of side channels" ;
3997+ rdfs:label "sideChannels" ;
3998+ rdfs:range xsd:integer ;
3999+ rdfs:subPropertyOf nfo:channels .
4000+
4001+ nfo:interlaceMode
4002+ a rdf:Property ;
4003+ rdfs:comment "True if the image is interlaced, false if not." ;
4004+ rdfs:domain nfo:Visual ;
4005+ rdfs:label "interlaceMode" ;
4006+ rdfs:range xsd:boolean .
4007+
4008+ nfo:width
4009+ a rdf:Property ;
4010+ rdfs:comment "Visual content width in pixels." ;
4011+ rdfs:domain nfo:Visual ;
4012+ rdfs:label "width" ;
4013+ rdfs:range xsd:integer .
4014+
4015+ nfo:frameCount
4016+ a rdf:Property ;
4017+ rdfs:comment "The amount of frames in a video sequence." ;
4018+ rdfs:domain nfo:Video ;
4019+ rdfs:label "frameCount" ;
4020+ rdfs:range xsd:integer ;
4021+ rdfs:subPropertyOf nfo:count .
4022+
4023+ nfo:MediaFileListEntry
4024+ a rdfs:Class ;
4025+ rdfs:comment "A single node in the list of media files contained within an MediaList instance. This class is intended to provide a type all those links have. In valid NRL untyped resources cannot be linked. There are no properties defined for this class but the application may expect rdf:first and rdf:last links. The former points to the DataObject instance, interpreted as Media the latter points at another MediaFileListEntr. At the end of the list there is a link to rdf:nil." ;
4026+ rdfs:label "MediaFileListEntry" ;
4027+ rdfs:subClassOf rdfs:Resource .
4028+
4029+ nfo:Filesystem
4030+ a rdfs:Class ;
4031+ rdfs:comment "A filesystem. Examples of filesystems include hard disk partitions, removable media, but also images thereof stored in files." ;
4032+ rdfs:label "Filesystem" ;
4033+ rdfs:subClassOf nfo:DataContainer .
4034+
4035+ nfo:definesFunction
4036+ a rdf:Property ;
4037+ rdfs:comment "A name of a function/method defined in the given source code file." ;
4038+ rdfs:domain nfo:SourceCode ;
4039+ rdfs:label "definesFunction" ;
4040+ rdfs:range xsd:string .
4041+
4042+ nfo:Archive
4043+ a rdfs:Class ;
4044+ rdfs:comment "A compressed file. May contain other files or folder inside. " ;
4045+ rdfs:label "Archive" ;
4046+ rdfs:subClassOf nfo:DataContainer .
4047+
4048+ nfo:permissions
4049+ a rdf:Property ;
4050+ rdfs:comment "A string containing the permissions of a file. A feature common in many UNIX-like operating systems." ;
4051+ rdfs:domain nfo:FileDataObject ;
4052+ rdfs:label "permissions" ;
4053+ rdfs:range xsd:string .
4054+
4055+ nfo:lineCount
4056+ a rdf:Property ;
4057+ rdfs:comment "The amount of lines in a text document" ;
4058+ rdfs:domain nfo:TextDocument ;
4059+ rdfs:label "lineCount" ;
4060+ rdfs:range xsd:integer .
4061+
4062+ nfo:SoftwareItem
4063+ a rdfs:Class ;
4064+ rdfs:comment "A DataObject representing a piece of software. Examples of interpretations of a SoftwareItem include an Application and an OperatingSystem." ;
4065+ rdfs:label "SoftwareItem" ;
4066+ rdfs:subClassOf nie:DataObject .
4067+
4068+ nfo:SourceCode
4069+ a rdfs:Class ;
4070+ rdfs:comment "Code in a compilable or interpreted programming language." ;
4071+ rdfs:label "SourceCode" ;
4072+ rdfs:subClassOf nfo:PlainTextDocument .
4073+
4074+ nfo:wordCount
4075+ a rdf:Property ;
4076+ rdfs:comment "The amount of words in a text document." ;
4077+ rdfs:domain nfo:TextDocument ;
4078+ rdfs:label "wordCount" ;
4079+ rdfs:range xsd:integer .
4080+
4081+ nfo:bookmarks
4082+ a rdf:Property ;
4083+ rdfs:comment "The address of the linked object. Usually a web URI." ;
4084+ rdfs:domain nfo:Bookmark ;
4085+ rdfs:label "link" ;
4086+ rdfs:range nie:DataObject ;
4087+ rdfs:subPropertyOf nie:links .
4088+
4089+ nfo:RemotePortAddress
4090+ a rdfs:Class ;
4091+ rdfs:comment "An address specifying a remote host and port. Such an address can be interpreted in many ways (examples of such interpretations include mailboxes, websites, remote calendars or filesystems), depending on an interpretation, various kinds of data may be extracted from such an address." ;
4092+ rdfs:label "RemotePortAddress" ;
4093+ rdfs:subClassOf nie:DataObject .
4094+
4095+ nfo:Attachment
4096+ a rdfs:Class ;
4097+ rdfs:comment "A file attached to another data object. Many data formats allow for attachments: emails, vcards, ical events, id3 and exif..." ;
4098+ rdfs:label "Attachment" ;
4099+ rdfs:subClassOf nfo:EmbeddedFileDataObject .
4100+
4101+ nfo:DataContainer
4102+ a rdfs:Class ;
4103+ rdfs:comment "A superclass for all entities, whose primary purpose is to serve as containers for other data object. They usually don't have any \"meaning\" by themselves. Examples include folders, archives and optical disc images." ;
4104+ rdfs:label "DataContainer" ;
4105+ rdfs:subClassOf nie:InformationElement .
4106+
4107+ nfo:TextDocument
4108+ a rdfs:Class ;
4109+ rdfs:comment "A text document" ;
4110+ rdfs:label "TextDocument" ;
4111+ rdfs:subClassOf nfo:Document .
4112+
4113+ nfo:characterCount
4114+ a rdf:Property ;
4115+ rdfs:comment "The amount of characters in the document." ;
4116+ rdfs:domain nfo:TextDocument ;
4117+ rdfs:label "characterCount" ;
4118+ rdfs:range xsd:integer .
4119+
4120+ nfo:fileLastAccessed
4121+ a rdf:Property ;
4122+ rdfs:comment "Time when the file was last accessed." ;
4123+ rdfs:domain nfo:FileDataObject ;
4124+ rdfs:label "fileLastAccessed" ;
4125+ rdfs:range xsd:dateTime ;
4126+ rdfs:subPropertyOf dc:date .
4127+
4128+ nfo:supercedes
4129+ a rdf:Property ;
4130+ rdfs:comment "States that a piece of software supercedes another piece of software." ;
4131+ rdfs:domain nfo:Software ;
4132+ rdfs:label "supercedes" ;
4133+ rdfs:range nfo:Software .
4134+
4135+ nfo:programmingLanguage
4136+ a rdf:Property ;
4137+ rdfs:comment "Indicates the name of the programming language this source code file is written in. Examples might include 'C', 'C++', 'Java' etc." ;
4138+ rdfs:domain nfo:SourceCode ;
4139+ rdfs:label "programmingLanguage" ;
4140+ rdfs:range xsd:string .
4141+
4142+ nfo:PaginatedTextDocument
4143+ a rdfs:Class ;
4144+ rdfs:comment "A file containing a text document, that is unambiguously divided into pages. Examples might include PDF, DOC, PS, DVI etc." ;
4145+ rdfs:label "PaginatedTextDocument" ;
4146+ rdfs:subClassOf nfo:TextDocument .
4147+
4148+ nfo:Application
4149+ a rdfs:Class ;
4150+ rdfs:comment "An application" ;
4151+ rdfs:label "Application" ;
4152+ rdfs:subClassOf nfo:Software .
4153+
4154+ nfo:sampleCount
4155+ a rdf:Property ;
4156+ rdfs:comment "The amount of samples in an audio clip." ;
4157+ rdfs:domain nfo:Audio ;
4158+ rdfs:label "sampleCount" ;
4159+ rdfs:range xsd:integer ;
4160+ rdfs:subPropertyOf nfo:count .
4161+
4162+ nfo:Image
4163+ a rdfs:Class ;
4164+ rdfs:comment "A file containing an image." ;
4165+ rdfs:label "Image" ;
4166+ rdfs:subClassOf nfo:Visual .
4167+
4168+ nfo:height
4169+ a rdf:Property ;
4170+ rdfs:comment "Visual content height in pixels." ;
4171+ rdfs:domain nfo:Visual ;
4172+ rdfs:label "height" ;
4173+ rdfs:range xsd:integer .
4174+
4175+ nfo:frontChannels
4176+ a rdf:Property ;
4177+ rdfs:comment "Number of front channels." ;
4178+ rdfs:label "frontChannels" ;
4179+ rdfs:range xsd:integer ;
4180+ rdfs:subPropertyOf nfo:channels .
4181+
4182+ nfo:FilesystemImage
4183+ a rdfs:Class ;
4184+ 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)" ;
4185+ rdfs:label "FilesystemImage" ;
4186+ rdfs:subClassOf nfo:Filesystem .
4187+
4188+ nfo:CompressionType
4189+ a rdfs:Class ;
4190+ rdfs:comment "Type of compression. Instances of this class represent the limited set of values allowed for the nfo:compressionType property." ;
4191+ rdfs:label "CompressionType" ;
4192+ rdfs:subClassOf rdfs:Resource .
4193+
4194+ nfo:ArchiveItem
4195+ a rdfs:Class ;
4196+ rdfs:comment "A file entity inside an archive." ;
4197+ rdfs:label "ArchiveItem" ;
4198+ rdfs:subClassOf nfo:EmbeddedFileDataObject .
4199+
4200+ nfo:rearChannels
4201+ a rdf:Property ;
4202+ rdfs:comment "Number of rear channels." ;
4203+ rdfs:label "rearChannels" ;
4204+ rdfs:range xsd:integer ;
4205+ rdfs:subPropertyOf nfo:channels .
4206+
4207+ nfo:bitsPerSample
4208+ a rdf:Property ;
4209+ rdfs:comment "Amount of bits in each audio sample." ;
4210+ rdfs:domain nfo:Audio ;
4211+ rdfs:label "bitsPerSample" ;
4212+ rdfs:range xsd:integer ;
4213+ rdfs:subPropertyOf nfo:bitDepth .
4214+
4215+ nfo:HtmlDocument
4216+ a rdfs:Class ;
4217+ rdfs:comment "A HTML document, may contain links to other files." ;
4218+ rdfs:label "HtmlDocument" ;
4219+ rdfs:subClassOf nfo:PlainTextDocument .
4220+
4221+ nfo:Bookmark
4222+ a rdfs:Class ;
4223+ rdfs:comment "A bookmark of a webbrowser. Use nie:title for the name/label, nie:contentCreated to represent the date when the user added the bookmark, and nie:contentLastModified for modifications. nfo:bookmarks to store the link." ;
4224+ rdfs:label "Bookmark" ;
4225+ rdfs:subClassOf nie:InformationElement .
4226+
4227+ nfo:FileHash
4228+ a rdfs:Class ;
4229+ rdfs:comment "A fingerprint of the file, generated by some hashing function." ;
4230+ rdfs:label "FileHash" ;
4231+ rdfs:subClassOf rdfs:Resource .
4232+
4233+ nfo:duration
4234+ a rdf:Property ;
4235+ rdfs:comment "Duration of a media piece." ;
4236+ rdfs:domain nfo:Media ;
4237+ rdfs:label "duration" ;
4238+ rdfs:range xsd:duration .
4239+
4240+ nfo:lfeChannels
4241+ a rdf:Property ;
4242+ rdfs:comment "Number of Low Frequency Expansion (subwoofer) channels." ;
4243+ rdfs:label "lfeChannels" ;
4244+ rdfs:range xsd:integer ;
4245+ rdfs:subPropertyOf nfo:channels .
4246+
4247+ nfo:Video
4248+ a rdfs:Class ;
4249+ rdfs:comment "A video file." ;
4250+ rdfs:label "Video" ;
4251+ rdfs:subClassOf nfo:Visual .
4252+
4253+ nfo:hasMediaStream
4254+ a rdf:Property ;
4255+ rdfs:comment "Connects a media container with a single media stream contained within." ;
4256+ rdfs:domain nfo:Media ;
4257+ rdfs:label "hasMediaStream" ;
4258+ rdfs:range nie:DataObject ;
4259+ rdfs:subPropertyOf nie:hasPart .
4260+
4261+ nfo:Spreadsheet
4262+ a rdfs:Class ;
4263+ rdfs:comment "A spreadsheet, created by a spreadsheet application. Examples might include Gnumeric, OpenOffice Calc or MS Excel." ;
4264+ rdfs:label "Spreadsheet" ;
4265+ rdfs:subClassOf nfo:Document .
4266+
4267+ nfo:isPasswordProtected
4268+ a rdf:Property ;
4269+ rdfs:comment "States if a given resource is password-protected." ;
4270+ rdfs:domain nfo:ArchiveItem ;
4271+ rdfs:label "isPasswordProtected" ;
4272+ rdfs:range xsd:boolean .
4273+
4274+ nfo:hashValue
4275+ a rdf:Property ;
4276+ rdfs:comment "The actual value of the hash." ;
4277+ rdfs:domain nfo:FileHash ;
4278+ rdfs:label "hashValue" ;
4279+ rdfs:range xsd:string .
4280+
4281+ nfo:Document
4282+ a rdfs:Class ;
4283+ rdfs:comment "A generic document. A common superclass for all documents on the desktop." ;
4284+ rdfs:label "Document" ;
4285+ rdfs:subClassOf nie:InformationElement .
4286+
4287+ nfo:FileDataObject
4288+ a rdfs:Class ;
4289+ 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." ;
4290+ rdfs:label "File" ;
4291+ rdfs:subClassOf nie:DataObject .
4292+
4293+ nfo:encryptedStatus
4294+ a nfo:EncryptionStatus ;
4295+ rdfs:label "EncryptedStatus" .
4296+
4297+ nfo:Visual
4298+ a rdfs:Class ;
4299+ rdfs:comment "File containing visual content." ;
4300+ rdfs:label "Visual" ;
4301+ rdfs:subClassOf nfo:Media .
4302+
4303+ nfo:uncompressedSize
4304+ a rdf:Property ;
4305+ rdfs:comment "Uncompressed size of the content of a compressed file." ;
4306+ rdfs:domain nfo:Archive ;
4307+ rdfs:label "uncompressedSize" ;
4308+ rdfs:range xsd:integer .
4309+
4310+ nfo:deletionDate
4311+ a rdf:Property ;
4312+ rdfs:comment "The date and time of the deletion." ;
4313+ rdfs:domain nfo:DeletedResource ;
4314+ rdfs:label "deletionDate" ;
4315+ rdfs:range xsd:dateTime .
4316+
4317+ nfo:MindMap
4318+ a rdfs:Class ;
4319+ rdfs:comment "A MindMap, created by a mind-mapping utility. Examples might include FreeMind or mind mapper." ;
4320+ rdfs:label "MindMap" ;
4321+ rdfs:subClassOf nfo:Document .
4322+
4323+ nfo:SoftwareService
4324+ a rdfs:Class ;
4325+ 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." ;
4326+ rdfs:label "SoftwareService" ;
4327+ rdfs:subClassOf nie:DataObject .
4328+
4329+ nfo:decryptedStatus
4330+ a nfo:EncryptionStatus ;
4331+ rdfs:label "DecryptedStatus" .
4332+
4333+ nfo:originalLocation
4334+ a rdf:Property ;
4335+ rdfs:comment "The original location of the deleted resource." ;
4336+ rdfs:domain nfo:DeletedResource ;
4337+ rdfs:label "originalLocation" ;
4338+ rdfs:range xsd:string .
4339+
4340+ nfo:Website
4341+ a rdfs:Class ;
4342+ rdfs:comment "A website, usually a container for remote resources, that may be interpreted as HTMLDocuments, images or other types of content." ;
4343+ rdfs:label "Website" ;
4344+ rdfs:subClassOf nie:InformationElement .
4345+
4346+ nfo:VectorImage
4347+ a rdfs:Class ;
4348+ rdfs:label "VectorImage" ;
4349+ rdfs:subClassOf nfo:Image .
4350+
4351+ nfo:Cursor
4352+ a rdfs:Class ;
4353+ rdfs:comment "A Cursor." ;
4354+ rdfs:label "Cursor" ;
4355+ rdfs:subClassOf nfo:RasterImage .
4356+
4357+ nfo:Media
4358+ a rdfs:Class ;
4359+ rdfs:comment "A piece of media content. This class may be used to express complex media containers with many streams of various media content (both aural and visual)." ;
4360+ rdfs:label "Media" ;
4361+ rdfs:subClassOf nie:InformationElement .
4362+
4363+ nfo:hasMediaFileListEntry
4364+ a rdf:Property ;
4365+ rdfs:comment "This property is intended to point to an RDF list of MediaFiles." ;
4366+ rdfs:domain nfo:MediaList ;
4367+ rdfs:label "hasMediaFileListEntry" ;
4368+ rdfs:range nfo:MediaFileListEntry .
4369+
4370+ nfo:BookmarkFolder
4371+ a rdfs:Class ;
4372+ rdfs:comment "A folder with bookmarks of a webbrowser. Use nfo:containsBookmark to relate Bookmarks. Folders can contain subfolders, use containsBookmarkFolder to relate them." ;
4373+ rdfs:label "Bookmark Folder" ;
4374+ rdfs:subClassOf nie:InformationElement .
4375+
4376+ nfo:channels
4377+ a rdf:Property ;
4378+ rdfs:comment "Number of channels. This property is to be used directly if no detailed information is necessary. Otherwise use more detailed subproperties." ;
4379+ rdfs:domain nfo:Audio ;
4380+ rdfs:label "channels" ;
4381+ rdfs:range xsd:integer .
4382+
4383+ nfo:colorDepth
4384+ a rdf:Property ;
4385+ rdfs:comment "Amount of bits used to express the color of each pixel." ;
4386+ rdfs:domain nfo:Visual ;
4387+ rdfs:label "colorDepth" ;
4388+ rdfs:range xsd:integer ;
4389+ rdfs:subPropertyOf nfo:bitDepth .
4390+
4391+ nfo:Font
4392+ a rdfs:Class ;
4393+ rdfs:comment "A font." ;
4394+ rdfs:label "Font" ;
4395+ rdfs:subClassOf nie:InformationElement .
4396+
4397+ nfo:averageBitrate
4398+ a rdf:Property ;
4399+ rdfs:comment "The average overall bitrate of a media container. (i.e. the size of the piece of media in bits, divided by it's duration expressed in seconds)." ;
4400+ rdfs:domain nfo:Media ;
4401+ rdfs:label "averageBitrate" ;
4402+ rdfs:range xsd:float ;
4403+ rdfs:subPropertyOf nfo:rate .
4404+
4405+ nfo:Icon
4406+ a rdfs:Class ;
4407+ rdfs:comment "An Icon (regardless of whether it's a raster or a vector icon. A resource representing an icon could have two types (Icon and Raster, or Icon and Vector) if required." ;
4408+ rdfs:label "Icon" ;
4409+ rdfs:subClassOf nfo:Image .
4410+
4411+ nfo:fileOwner
4412+ a rdf:Property ;
4413+ rdfs:comment "The owner of the file as defined by the file system access rights feature." ;
4414+ rdfs:domain nfo:FileDataObject ;
4415+ rdfs:label "fileOwner" ;
4416+ rdfs:range nco:Contact .
4417+
4418+ nfo:aspectRatio
4419+ a rdf:Property ;
4420+ rdfs:comment "Visual content aspect ratio. (Width divided by Height)" ;
4421+ rdfs:domain nfo:Visual ;
4422+ rdfs:label "aspectRatio" ;
4423+ rdfs:range xsd:float .
4424+
4425+ nfo:bitDepth
4426+ a rdf:Property ;
4427+ 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" ;
4428+ rdfs:domain nfo:Media ;
4429+ rdfs:label "bitDepth" ;
4430+ rdfs:range rdfs:Literal .
4431+
4432+ nfo:containsBookmarkFolder
4433+ a rdf:Property ;
4434+ rdfs:comment "The folder contains a bookmark folder." ;
4435+ rdfs:domain nfo:BookmarkFolder ;
4436+ rdfs:label "contains folder" ;
4437+ rdfs:range nfo:BookmarkFolder ;
4438+ rdfs:subPropertyOf nie:hasLogicalPart .
4439+
4440+ nfo:belongsToContainer
4441+ a rdf:Property ;
4442+ rdfs:comment "Models the containment relations between Files and Folders (or CompressedFiles)." ;
4443+ rdfs:domain nie:DataObject ;
4444+ rdfs:label "belongsToContainer" ;
4445+ rdfs:range nfo:DataContainer ;
4446+ rdfs:subPropertyOf nie:isPartOf .
4447+
4448+ nfo:verticalResolution
4449+ a rdf:Property ;
4450+ rdfs:comment "Vertical resolution of an Image (if printed). Expressed in DPI" ;
4451+ rdfs:domain nfo:Image ;
4452+ rdfs:label "verticalResolution" ;
4453+ rdfs:range xsd:integer .
4454+
4455+ nfo:fileUrl
4456+ a rdf:Property ;
4457+ nao:deprecated true ;
4458+ rdfs:comment "URL of the file. It points at the location of the file. In cases where creating a simple file:// or http:// URL for a file is difficult (e.g. for files inside compressed archives) the applications are encouraged to use conventions defined by Apache Commons VFS Project at http://jakarta.apache.org/ commons/ vfs/ filesystems.html." ;
4459+ rdfs:domain nfo:FileDataObject ;
4460+ rdfs:label "fileUrl" ;
4461+ rdfs:range rdfs:Resource ;
4462+ rdfs:subPropertyOf nie:url .
4463+
4464+ nfo:count
4465+ a rdf:Property ;
4466+ rdfs:comment "A common superproperty for all properties signifying the amount of atomic media data units. Examples of subproperties may include sampleCount and frameCount." ;
4467+ rdfs:domain nfo:Media ;
4468+ rdfs:label "count" ;
4469+ rdfs:range xsd:integer .
4470+
4471+ nfo:frameRate
4472+ a rdf:Property ;
4473+ rdfs:comment "Amount of video frames per second." ;
4474+ rdfs:domain nfo:Video ;
4475+ rdfs:label "frameRate" ;
4476+ rdfs:range xsd:float ;
4477+ rdfs:subPropertyOf nfo:rate .
4478+
4479+ nfo:fontFamily
4480+ a rdf:Property ;
4481+ rdfs:comment "The name of the font family." ;
4482+ rdfs:domain nfo:Font ;
4483+ rdfs:label "fontFamily" ;
4484+ rdfs:range xsd:string .
4485+
4486+ nfo:EmbeddedFileDataObject
4487+ a rdfs:Class ;
4488+ rdfs:comment "A file embedded in another data object. There are many ways in which a file may be embedded in another one. Use this class directly only in cases if none of the subclasses gives a better description of your case." ;
4489+ rdfs:label "EmbeddedFileDataObject" ;
4490+ rdfs:subClassOf nfo:FileDataObject .
4491+
4492+ nfo:fileCreated
4493+ a rdf:Property ;
4494+ rdfs:comment "File creation date" ;
4495+ rdfs:domain nfo:FileDataObject ;
4496+ rdfs:label "fileCreated" ;
4497+ rdfs:range xsd:dateTime ;
4498+ rdfs:subPropertyOf nie:created .
4499+
4500+ nfo:bitrateType
4501+ a rdf:Property ;
4502+ rdfs:comment "The type of the bitrate. Examples may include CBR and VBR." ;
4503+ rdfs:domain nfo:Media ;
4504+ rdfs:label "bitrateType" ;
4505+ rdfs:range xsd:string .
4506+
4507+ nfo:encoding
4508+ a rdf:Property ;
4509+ rdfs:comment "The encoding used for the Embedded File. Examples might include BASE64 or UUEncode" ;
4510+ rdfs:domain nfo:EmbeddedFileDataObject ;
4511+ rdfs:label "encoding" ;
4512+ rdfs:range xsd:string .
4513+
4514+ nfo:Folder
4515+ a rdfs:Class ;
4516+ rdfs:comment "A folder/directory. Examples of folders include folders on a filesystem and message folders in a mailbox." ;
4517+ rdfs:label "Folder" ;
4518+ rdfs:subClassOf nfo:DataContainer .
4519+
4520+ nfo:hasHash
4521+ a rdf:Property ;
4522+ rdfs:comment "Links the file with it's hash value." ;
4523+ rdfs:domain nfo:FileDataObject ;
4524+ rdfs:label "hasHash" ;
4525+ rdfs:range nfo:FileHash .
4526+
4527+ nfo:codec
4528+ a rdf:Property ;
4529+ rdfs:comment "The name of the codec necessary to decode a piece of media." ;
4530+ rdfs:domain nfo:Media ;
4531+ rdfs:label "codec" ;
4532+ rdfs:range rdfs:Literal .
4533+
4534+ nfo:fileLastModified
4535+ a rdf:Property ;
4536+ nao:deprecated true;
4537+ rdfs:comment "last modification date" ;
4538+ rdfs:domain nfo:FileDataObject ;
4539+ rdfs:label "fileLastModified" ;
4540+ rdfs:range xsd:dateTime ;
4541+ rdfs:subPropertyOf nie:lastModified .
4542+
4543+ nfo:compressionType
4544+ a rdf:Property ;
4545+ rdfs:comment "The type of the compression. Values include, 'lossy' and 'lossless'." ;
4546+ rdfs:domain nfo:Media ;
4547+ rdfs:label "compressionType" ;
4548+ rdfs:range nfo:CompressionType .
4549+
4550+ nfo:pageCount
4551+ a rdf:Property ;
4552+ rdfs:comment "Number of pages." ;
4553+ rdfs:domain nfo:PaginatedTextDocument ;
4554+ rdfs:label "pageCount" ;
4555+ rdfs:range xsd:integer .
4556+
4557+ nfo:RasterImage
4558+ a rdfs:Class ;
4559+ rdfs:comment "A raster image." ;
4560+ rdfs:label "RasterImage" ;
4561+ rdfs:subClassOf nfo:Image .
4562+
4563+ nfo:definesGlobalVariable
4564+ a rdf:Property ;
4565+ rdfs:comment "Name of a global variable defined within the source code file." ;
4566+ rdfs:domain nfo:SourceCode ;
4567+ rdfs:label "definesGlobalVariable" ;
4568+ rdfs:range xsd:string .
4569+
4570+ nfo:DeletedResource
4571+ a rdfs:Class ;
4572+ rdfs:comment "A file entity that has been deleted from the original source. Usually such entities are stored within various kinds of 'Trash' or 'Recycle Bin' folders." ;
4573+ rdfs:label "DeletedResource" ;
4574+ rdfs:subClassOf nfo:FileDataObject .
4575+
4576+ nfo:Trash
4577+ a rdfs:Class ;
4578+ rdfs:comment "Represents a container for deleted files, a feature common in modern operating systems." ;
4579+ rdfs:label "Trash" ;
4580+ rdfs:subClassOf nfo:DataContainer .
4581+
4582+ nfo:conflicts
4583+ a rdf:Property ;
4584+ rdfs:comment "States that a piece of software is in conflict with another piece of software." ;
4585+ rdfs:domain nfo:Software ;
4586+ rdfs:label "conflicts" ;
4587+ rdfs:range nfo:Software .
4588+
4589+ nfo:encryptionStatus
4590+ a rdf:Property ;
4591+ rdfs:comment "The status of the encryption of the InformationElement." ;
4592+ rdfs:domain nie:InformationElement ;
4593+ rdfs:label "encryptionStatus" ;
4594+ rdfs:range nfo:EncryptionStatus .
4595+
4596+ nfo:containsBookmark
4597+ a rdf:Property ;
4598+ rdfs:comment "The folder contains a bookmark." ;
4599+ rdfs:domain nfo:BookmarkFolder ;
4600+ rdfs:label "contains bookmark" ;
4601+ rdfs:range nfo:Bookmark ;
4602+ rdfs:subPropertyOf nie:hasLogicalPart .
4603+
4604+ nfo:Executable
4605+ a rdfs:Class ;
4606+ rdfs:comment "An executable file." ;
4607+ rdfs:label "Executable" ;
4608+ rdfs:subClassOf nie:InformationElement .
4609+
4610+ nfo:definesClass
4611+ a rdf:Property ;
4612+ rdfs:comment "Name of a class defined in the source code file." ;
4613+ rdfs:domain nfo:SourceCode ;
4614+ rdfs:label "definesClass" ;
4615+ rdfs:range xsd:string .
4616+
4617+ nfo:Software
4618+ a rdfs:Class ;
4619+ rdfs:comment "A piece of software. Examples may include applications and the operating system. This interpretation most commonly applies to SoftwareItems." ;
4620+ rdfs:label "Software" ;
4621+ rdfs:subClassOf nie:InformationElement .
4622+
4623+ nfo:lossyCompressionType
4624+ a nfo:CompressionType ;
4625+ rdfs:label "lossyCompressionType" .
4626+
4627+ nfo:EncryptionStatus
4628+ a rdfs:Class ;
4629+ rdfs:comment "The status of the encryption of an InformationElement. nfo:encryptedStatus means that the InformationElement has been encrypted and couldn't be decrypted by the extraction software, thus no content is available. nfo:decryptedStatus means that decryption was successfull and the content is available." ;
4630+ rdfs:label "EncryptionStatus" .
4631+
4632+ nfo:OperatingSystem
4633+ a rdfs:Class ;
4634+ rdfs:comment "An OperatingSystem" ;
4635+ rdfs:label "OperatingSystem" ;
4636+ rdfs:subClassOf nfo:Software .
4637+
4638+ nfo:rate
4639+ a rdf:Property ;
4640+ rdfs:comment "A common superproperty for all properties specifying the media rate. Examples of subproperties may include frameRate for video and sampleRate for audio. This property is expressed in units per second." ;
4641+ rdfs:domain nfo:Media ;
4642+ rdfs:label "rate" ;
4643+ rdfs:range xsd:float .
4644+
4645+ nfo:MediaList
4646+ a rdfs:Class ;
4647+ rdfs:comment "A file containing a list of media files.e.g. a playlist" ;
4648+ rdfs:label "MediaList" ;
4649+ rdfs:subClassOf nie:InformationElement .
4650+
4651+ nfo:fileSize
4652+ a rdf:Property ;
4653+ rdfs:comment "The size of the file in bytes. For compressed files it means the size of the packed file, not of the contents. For folders it means the aggregated size of all contained files and folders " ;
4654+ rdfs:domain nfo:FileDataObject ;
4655+ rdfs:label "fileSize" ;
4656+ rdfs:range xsd:integer ;
4657+ rdfs:subPropertyOf nie:byteSize .
4658+
4659+ nfo:RemoteDataObject
4660+ a rdfs:Class ;
4661+ 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." ;
4662+ rdfs:label "RemoteDataObject" ;
4663+ rdfs:subClassOf nfo:FileDataObject .
4664+}
4665+
4666+<http://www.semanticdesktop.org/ontologies/2007/03/22/nfo_metadata#> {nfo: a nrl:Ontology ;
4667+ nao:creator <http://www.dfki.uni-kl.de/~mylka> ;
4668+ nao:hasDefaultNamespace
4669+ "http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#" ;
4670+ nao:hasDefaultNamespaceAbbreviation
4671+ "nfo" ;
4672+ nao:lastModified "2009-07-20T14:59:09.500Z" ;
4673+ nao:status "Unstable" ;
4674+ nao:updatable "0 " ;
4675+ nao:version "Revision-9" .
4676+
4677+ <http://www.semanticdesktop.org/ontologies/2007/03/22/nfo_metadata#>
4678+ a nrl:GraphMetadata ;
4679+ nrl:coreGraphMetadataFor
4680+ nfo: .
4681+}
4682+
4683
4684=== added file 'extra/ontology/nie.trig'
4685--- extra/ontology/nie.trig 1970-01-01 00:00:00 +0000
4686+++ extra/ontology/nie.trig 2011-09-25 13:50:28 +0000
4687@@ -0,0 +1,394 @@
4688+#
4689+# Copyright (c) 2007 NEPOMUK Consortium
4690+# All rights reserved, licensed under either CC-BY or BSD.
4691+#
4692+# You are free:
4693+# * to Share - to copy, distribute and transmit the work
4694+# * to Remix - to adapt the work
4695+# Under the following conditions:
4696+# * Attribution - You must attribute the work in the manner specified by the author
4697+# or licensor (but not in any way that suggests that they endorse you or your use
4698+# of the work).
4699+#
4700+# Redistribution and use in source and binary forms, with or without modification,
4701+# are permitted provided that the following conditions are met:
4702+# * Redistributions of source code must retain the above copyright notice, this
4703+# list of conditions and the following disclaimer.
4704+# * Redistributions in binary form must reproduce the above copyright notice, this
4705+# list of conditions and the following disclaimer in the documentation and/or
4706+# other materials provided with the distribution.
4707+# * Neither the names of the authors nor the names of contributors may
4708+# be used to endorse or promote products derived from this ontology without
4709+# specific prior written permission.
4710+#
4711+# THIS ONTOLOGY IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
4712+# IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
4713+# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
4714+# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
4715+# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
4716+# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
4717+# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
4718+# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
4719+# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
4720+# THIS ONTOLOGY, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4721+#
4722+
4723+@prefix dc: <http://purl.org/dc/elements/1.1/> .
4724+@prefix exif: <http://www.kanzaki.com/ns/exif#> .
4725+@prefix geo: <http://www.w3.org/2003/01/geo/wgs84_pos#> .
4726+@prefix protege: <http://protege.stanford.edu/system#> .
4727+@prefix nao: <http://www.semanticdesktop.org/ontologies/2007/08/15/nao#> .
4728+@prefix nfo: <http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#> .
4729+@prefix nie: <http://www.semanticdesktop.org/ontologies/2007/01/19/nie#> .
4730+@prefix ncal: <http://www.semanticdesktop.org/ontologies/2007/04/02/ncal#> .
4731+@prefix nco: <http://www.semanticdesktop.org/ontologies/2007/03/22/nco#> .
4732+@prefix dcterms: <http://purl.org/dc/terms/> .
4733+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
4734+@prefix pimo: <http://www.semanticdesktop.org/ontologies/2007/11/01/pimo#> .
4735+@prefix nmo: <http://www.semanticdesktop.org/ontologies/2007/03/22/nmo#> .
4736+@prefix nrl: <http://www.semanticdesktop.org/ontologies/2007/08/15/nrl#> .
4737+@prefix tmo: <http://www.semanticdesktop.org/ontologies/2008/05/20/tmo#> .
4738+@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
4739+@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
4740+@prefix nid3: <http://www.semanticdesktop.org/ontologies/2007/05/10/nid3#> .
4741+@prefix nexif: <http://www.semanticdesktop.org/ontologies/2007/05/10/nexif#> .
4742+
4743+nie: {nie:characterSet
4744+ a rdf:Property ;
4745+ 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." ;
4746+ rdfs:domain nie:InformationElement ;
4747+ rdfs:label "characterSet" ;
4748+ rdfs:range xsd:string .
4749+
4750+ nie:rootElementOf
4751+ a rdf:Property ;
4752+ rdfs:comment "DataObjects extracted from a single data source are organized into a containment tree. This property links the root of that tree with the datasource it has been extracted from" ;
4753+ rdfs:domain nie:InformationElement ;
4754+ rdfs:label "rootElementOf" ;
4755+ rdfs:range nie:DataSource .
4756+
4757+ nie:informationElementDate
4758+ a rdf:Property ;
4759+ rdfs:comment "A point or period of time associated with an event in the lifecycle of an Information Element. A common superproperty for all date-related properties of InformationElements in the NIE Framework." ;
4760+ rdfs:domain nie:InformationElement ;
4761+ rdfs:label "informationElementDate" ;
4762+ rdfs:range xsd:dateTime ;
4763+ rdfs:subPropertyOf dc:date .
4764+
4765+ nie:legal
4766+ a rdf:Property ;
4767+ rdfs:comment "A common superproperty for all properties that point at legal information about an Information Element" ;
4768+ rdfs:domain nie:InformationElement ;
4769+ rdfs:label "legal" ;
4770+ rdfs:range xsd:string ;
4771+ rdfs:subPropertyOf dc:rights .
4772+
4773+ nie:isStoredAs
4774+ a rdf:Property ;
4775+ rdfs:comment "Links the information element with the DataObject it is stored in." ;
4776+ rdfs:domain nie:InformationElement ;
4777+ rdfs:label "isStoredAs" ;
4778+ rdfs:range nie:DataObject ;
4779+ nrl:inverseProperty nie:interpretedAs .
4780+
4781+ nie:language
4782+ a rdf:Property ;
4783+ rdfs:comment "Language the InformationElement is expressed in. This property applies to the data object in its entirety. If the data object is divisible into parts expressed in multiple languages - more specific properties should be used. Users are encouraged to use the two-letter code specified in the RFC 3066" ;
4784+ rdfs:domain nie:InformationElement ;
4785+ rdfs:label "language" ;
4786+ rdfs:range xsd:string ;
4787+ rdfs:subPropertyOf dc:language .
4788+
4789+ nie:copyright
4790+ a rdf:Property ;
4791+ rdfs:comment "Content copyright" ;
4792+ rdfs:label "copyright" ;
4793+ rdfs:range xsd:string ;
4794+ rdfs:subPropertyOf nie:legal , dcterms:accessRights .
4795+
4796+ nie:created
4797+ a rdf:Property ;
4798+ 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." ;
4799+ rdfs:domain nie:DataObject ;
4800+ rdfs:label "created" ;
4801+ rdfs:range xsd:dateTime ;
4802+ rdfs:subPropertyOf dcterms:created, nao:created .
4803+
4804+ nie:lastModified
4805+ a rdf:Property ;
4806+ rdfs:comment "Last modification date of the DataObject. Note that this date refers to the modification of the DataObject itself (i.e. the physical representation). Compare with nie:contentLastModified." ;
4807+ rdfs:domain nie:DataObject ;
4808+ rdfs:label "lastModified" ;
4809+ rdfs:range xsd:dateTime ;
4810+ rdfs:subPropertyOf dc:date, nao:lastModified .
4811+
4812+ nie:mimeType
4813+ a rdf:Property ;
4814+ 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." ;
4815+ rdfs:domain nie:InformationElement ;
4816+ rdfs:label "mimeType" ;
4817+ rdfs:range xsd:string .
4818+
4819+ nie:version
4820+ a rdf:Property ;
4821+ rdfs:comment "The current version of the given data object. Exact semantics is unspecified at this level. Use more specific subproperties if needed." ;
4822+ rdfs:domain nie:InformationElement ;
4823+ rdfs:label "version" ;
4824+ rdfs:range xsd:string ;
4825+ rdfs:subPropertyOf dcterms:hasVersion .
4826+
4827+ nie:interpretedAs
4828+ a rdf:Property ;
4829+ rdfs:comment "Links the DataObject with the InformationElement it is interpreted as." ;
4830+ rdfs:domain nie:DataObject ;
4831+ rdfs:label "interpretedAs" ;
4832+ rdfs:range nie:InformationElement ;
4833+ nrl:inverseProperty nie:isStoredAs .
4834+
4835+ nie:links
4836+ a rdf:Property ;
4837+ rdfs:comment "A linking relation. A piece of content links/mentions a piece of data" ;
4838+ rdfs:domain nie:InformationElement ;
4839+ rdfs:label "links" ;
4840+ rdfs:range nie:DataObject ;
4841+ rdfs:subPropertyOf nie:relatedTo .
4842+
4843+ nie:InformationElement
4844+ a rdfs:Class ;
4845+ rdfs:comment "A unit of content the user works with. This is a superclass for all interpretations of a DataObject." ;
4846+ rdfs:label "InformationElement" ;
4847+ rdfs:subClassOf rdfs:Resource .
4848+
4849+ nie:DataSource
4850+ a rdfs:Class ;
4851+ rdfs:comment "A superclass for all entities from which DataObjects can be extracted. Each entity represents a native application or some other system that manages information that may be of interest to the user of the Semantic Desktop. Subclasses may include FileSystems, Mailboxes, Calendars, websites etc. The exact choice of subclasses and their properties is considered application-specific. Each data extraction application is supposed to provide it's own DataSource ontology. Such an ontology should contain supported data source types coupled with properties necessary for the application to gain access to the data sources. (paths, urls, passwords etc...)" ;
4852+ rdfs:label "DataSource" ;
4853+ rdfs:subClassOf rdfs:Resource .
4854+
4855+ nie:generator
4856+ a rdf:Property ;
4857+ rdfs:comment "Software used to \"generate\" the contents. E.g. a word processor name." ;
4858+ rdfs:domain nie:InformationElement ;
4859+ rdfs:label "generator" ;
4860+ rdfs:range xsd:string .
4861+
4862+ nie:isPartOf
4863+ a rdf:Property ;
4864+ 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." ;
4865+ rdfs:domain nie:DataObject ;
4866+ rdfs:label "isPartOf" ;
4867+ rdfs:range nie:InformationElement ;
4868+ rdfs:subPropertyOf dcterms:isPartOf ;
4869+ nrl:inverseProperty nie:hasPart .
4870+
4871+ nie:disclaimer
4872+ a rdf:Property ;
4873+ rdfs:comment "A disclaimer" ;
4874+ rdfs:label "disclaimer" ;
4875+ rdfs:range xsd:string ;
4876+ rdfs:subPropertyOf nie:legal .
4877+
4878+ nie:generatorOption
4879+ a rdf:Property ;
4880+ rdfs:comment "A common superproperty for all settings used by the generating software. This may include compression settings, algorithms, autosave, interlaced/non-interlaced etc. Note that this property has no range specified and therefore should not be used directly. Always use more specific properties." ;
4881+ rdfs:domain nie:InformationElement ;
4882+ rdfs:label "generatorOption" .
4883+
4884+ nie:description
4885+ a rdf:Property ;
4886+ rdfs:comment "A textual description of the resource. This property may be used for any metadata fields that provide some meta-information or comment about a resource in the form of a passage of text. This property is not to be confused with nie:plainTextContent. Use more specific subproperties wherever possible." ;
4887+ rdfs:domain nie:InformationElement ;
4888+ rdfs:label "description" ;
4889+ rdfs:range xsd:string ;
4890+ rdfs:subPropertyOf dc:description, nao:description .
4891+
4892+ nie:contentCreated
4893+ a rdf:Property ;
4894+ rdfs:comment "The date of the content creation. This may not necessarily be equal to the date when the DataObject (i.e. the physical representation) itself was created. Compare with nie:created property." ;
4895+ rdfs:domain nie:InformationElement ;
4896+ rdfs:label "contentCreated" ;
4897+ rdfs:range xsd:dateTime ;
4898+ rdfs:subPropertyOf nie:informationElementDate, nao:created ;
4899+ nrl:maxCardinality "1" .
4900+
4901+ nie:title
4902+ a rdf:Property ;
4903+ rdfs:comment "Name given to an InformationElement" ;
4904+ rdfs:domain nie:InformationElement ;
4905+ rdfs:label "title" ;
4906+ rdfs:range xsd:string ;
4907+ rdfs:subPropertyOf dc:title, nao:prefLabel .
4908+
4909+ nie:lastRefreshed
4910+ a rdf:Property ;
4911+ rdfs:comment "Date when information about this data object was retrieved (for the first time) or last refreshed from the data source. This property is important for metadata extraction applications that don't receive any notifications of changes in the data source and have to poll it regularly. This may lead to information becoming out of date. In these cases this property may be used to determine the age of data, which is an important element of it's dependability. " ;
4912+ rdfs:domain nie:DataObject ;
4913+ rdfs:label "lastRefreshed" ;
4914+ rdfs:range xsd:dateTime ;
4915+ rdfs:subPropertyOf dc:date ;
4916+ nrl:maxCardinality "1" .
4917+
4918+ nie:dataSource
4919+ a rdf:Property ;
4920+ rdfs:comment "Marks the provenance of a DataObject, what source does a data object come from." ;
4921+ rdfs:domain nie:DataObject ;
4922+ rdfs:label "dataSource" ;
4923+ rdfs:range nie:DataSource ;
4924+ rdfs:subPropertyOf dc:source ;
4925+ nrl:minCardinality "1" .
4926+
4927+ nie:DataObject
4928+ a rdfs:Class ;
4929+ rdfs:comment "A unit of data that is created, annotated and processed on the user desktop. It represents a native structure the user works with. The usage of the term 'native' is important. It means that a DataObject can be directly mapped to a data structure maintained by a native application. This may be a file, a set of files or a part of a file. The granularity depends on the user. This class is not intended to be instantiated by itself. Use more specific subclasses." ;
4930+ rdfs:label "DataObject" ;
4931+ rdfs:subClassOf rdfs:Resource .
4932+
4933+ nie:depends
4934+ a rdf:Property ;
4935+ rdfs:comment "Dependency relation. A piece of content depends on another piece of data in order to be properly understood/used/interpreted." ;
4936+ rdfs:label "depends" ;
4937+ rdfs:range nie:DataObject ;
4938+ rdfs:subPropertyOf nie:relatedTo .
4939+
4940+ nie:contentLastModified
4941+ a rdf:Property ;
4942+ rdfs:comment "The date of the last modification of the original content (not its corresponding DataObject or local copy). Compare with nie:lastModified." ;
4943+ rdfs:domain nie:InformationElement ;
4944+ rdfs:label "contentLastModified" ;
4945+ rdfs:range xsd:dateTime ;
4946+ rdfs:subPropertyOf nie:informationElementDate, nao:lastModified ;
4947+ nrl:maxCardinality "1" .
4948+
4949+ nie:keyword
4950+ a rdf:Property ;
4951+ rdfs:comment "Adapted DublinCore: The topic of the content of the resource, as keyword. No sentences here. Recommended best practice is to select a value from a controlled vocabulary or formal classification scheme. " ;
4952+ rdfs:domain nie:InformationElement ;
4953+ rdfs:label "keyword" ;
4954+ rdfs:range xsd:string .
4955+
4956+ nie:isLogicalPartOf
4957+ a rdf:Property ;
4958+ rdfs:comment "Generic property used to express 'logical' containment relationships between DataObjects. NIE extensions are encouraged to provide more specific subproperties of this one. It is advisable for actual instances of InformationElement to use those specific subproperties. Note the difference between 'physical' containment (isPartOf) and logical containment (isLogicalPartOf)" ;
4959+ rdfs:domain nie:InformationElement ;
4960+ rdfs:label "isLogicalPartOf" ;
4961+ rdfs:range nie:InformationElement ;
4962+ rdfs:subPropertyOf dcterms:isPartOf ;
4963+ nrl:inverseProperty nie:hasLogicalPart .
4964+
4965+ nie:identifier
4966+ a rdf:Property ;
4967+ rdfs:comment "An unambiguous reference to the InformationElement within a given context. Recommended best practice is to identify the resource by means of a string conforming to a formal identification system." ;
4968+ rdfs:domain nie:InformationElement ;
4969+ rdfs:label "identifier" ;
4970+ rdfs:range xsd:string ;
4971+ rdfs:subPropertyOf nao:identifier , dc:identifier .
4972+
4973+ nie:plainTextContent
4974+ a rdf:Property ;
4975+ 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." ;
4976+ rdfs:domain nie:InformationElement ;
4977+ rdfs:label "plainTextContent" ;
4978+ rdfs:range xsd:string .
4979+
4980+ nie:comment
4981+ a rdf:Property ;
4982+ rdfs:comment "A user comment about an InformationElement." ;
4983+ rdfs:domain nie:InformationElement ;
4984+ rdfs:label "comment" ;
4985+ rdfs:range xsd:string .
4986+
4987+ nie:relatedTo
4988+ a rdf:Property ;
4989+ rdfs:comment "A common superproperty for all relations between a piece of content and other pieces of data (which may be interpreted as other pieces of content)." ;
4990+ rdfs:domain nie:InformationElement ;
4991+ rdfs:label "relatedTo" ;
4992+ rdfs:range nie:DataObject ;
4993+ rdfs:subPropertyOf dc:relation .
4994+
4995+ nie:contentSize
4996+ a rdf:Property ;
4997+ 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." ;
4998+ rdfs:domain nie:InformationElement ;
4999+ rdfs:label "contentSize" ;
5000+ rdfs:range xsd:integer .
The diff has been truncated for viewing.