rdf 1.99.1 → 2.0.0.beta1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. checksums.yaml +4 -4
  2. data/{README → README.md} +9 -44
  3. data/VERSION +1 -1
  4. data/bin/rdf +1 -1
  5. data/lib/rdf.rb +40 -49
  6. data/lib/rdf/changeset.rb +161 -0
  7. data/lib/rdf/cli.rb +195 -33
  8. data/lib/rdf/cli/vocab-loader.rb +13 -3
  9. data/lib/rdf/format.rb +44 -26
  10. data/lib/rdf/mixin/enumerable.rb +133 -97
  11. data/lib/rdf/mixin/enumerator.rb +8 -0
  12. data/lib/rdf/mixin/indexable.rb +1 -1
  13. data/lib/rdf/mixin/mutable.rb +101 -22
  14. data/lib/rdf/mixin/queryable.rb +21 -32
  15. data/lib/rdf/mixin/transactable.rb +94 -0
  16. data/lib/rdf/mixin/writable.rb +12 -3
  17. data/lib/rdf/model/dataset.rb +48 -0
  18. data/lib/rdf/model/graph.rb +73 -43
  19. data/lib/rdf/model/list.rb +61 -33
  20. data/lib/rdf/model/literal.rb +20 -19
  21. data/lib/rdf/model/literal/double.rb +20 -4
  22. data/lib/rdf/model/literal/numeric.rb +15 -13
  23. data/lib/rdf/model/node.rb +15 -16
  24. data/lib/rdf/model/statement.rb +1 -43
  25. data/lib/rdf/model/term.rb +10 -8
  26. data/lib/rdf/model/uri.rb +35 -34
  27. data/lib/rdf/model/value.rb +1 -1
  28. data/lib/rdf/nquads.rb +2 -11
  29. data/lib/rdf/ntriples.rb +1 -1
  30. data/lib/rdf/ntriples/reader.rb +33 -46
  31. data/lib/rdf/ntriples/writer.rb +42 -5
  32. data/lib/rdf/query.rb +6 -40
  33. data/lib/rdf/query/pattern.rb +4 -17
  34. data/lib/rdf/query/solutions.rb +6 -6
  35. data/lib/rdf/reader.rb +65 -14
  36. data/lib/rdf/repository.rb +365 -229
  37. data/lib/rdf/transaction.rb +211 -84
  38. data/lib/rdf/util.rb +1 -0
  39. data/lib/rdf/util/cache.rb +5 -5
  40. data/lib/rdf/util/file.rb +12 -9
  41. data/lib/rdf/util/logger.rb +272 -0
  42. data/lib/rdf/version.rb +2 -2
  43. data/lib/rdf/vocab/owl.rb +82 -77
  44. data/lib/rdf/vocab/rdfs.rb +22 -17
  45. data/lib/rdf/vocab/xsd.rb +5 -0
  46. data/lib/rdf/vocabulary.rb +50 -56
  47. data/lib/rdf/writer.rb +104 -52
  48. metadata +45 -90
  49. data/lib/rdf/mixin/inferable.rb +0 -5
  50. data/lib/rdf/vocab/cc.rb +0 -128
  51. data/lib/rdf/vocab/cert.rb +0 -245
  52. data/lib/rdf/vocab/dc.rb +0 -948
  53. data/lib/rdf/vocab/dc11.rb +0 -167
  54. data/lib/rdf/vocab/dcat.rb +0 -214
  55. data/lib/rdf/vocab/doap.rb +0 -337
  56. data/lib/rdf/vocab/exif.rb +0 -941
  57. data/lib/rdf/vocab/foaf.rb +0 -614
  58. data/lib/rdf/vocab/geo.rb +0 -157
  59. data/lib/rdf/vocab/gr.rb +0 -1501
  60. data/lib/rdf/vocab/ht.rb +0 -236
  61. data/lib/rdf/vocab/ical.rb +0 -528
  62. data/lib/rdf/vocab/ma.rb +0 -513
  63. data/lib/rdf/vocab/mo.rb +0 -2412
  64. data/lib/rdf/vocab/og.rb +0 -222
  65. data/lib/rdf/vocab/ogc.rb +0 -58
  66. data/lib/rdf/vocab/prov.rb +0 -1550
  67. data/lib/rdf/vocab/rsa.rb +0 -72
  68. data/lib/rdf/vocab/rss.rb +0 -66
  69. data/lib/rdf/vocab/schema.rb +0 -10569
  70. data/lib/rdf/vocab/sioc.rb +0 -669
  71. data/lib/rdf/vocab/skos.rb +0 -238
  72. data/lib/rdf/vocab/skosxl.rb +0 -57
  73. data/lib/rdf/vocab/v.rb +0 -383
  74. data/lib/rdf/vocab/vcard.rb +0 -841
  75. data/lib/rdf/vocab/vmd.rb +0 -383
  76. data/lib/rdf/vocab/void.rb +0 -186
  77. data/lib/rdf/vocab/vs.rb +0 -28
  78. data/lib/rdf/vocab/wdrs.rb +0 -134
  79. data/lib/rdf/vocab/wot.rb +0 -167
  80. data/lib/rdf/vocab/xhtml.rb +0 -8
  81. data/lib/rdf/vocab/xhv.rb +0 -505
@@ -1,236 +0,0 @@
1
- # -*- encoding: utf-8 -*-
2
- # This file generated automatically using vocab-fetch from http://www.w3.org/2011/http#
3
- require 'rdf'
4
- module RDF
5
- # @deprecated Please use `RDF::Vocab::HT` from the rdf-vocab gem instead
6
- class HT < RDF::StrictVocabulary("http://www.w3.org/2011/http#")
7
-
8
- # Class definitions
9
- term :Connection,
10
- comment: %(A connection used for HTTP transfer.).freeze,
11
- label: "Connection".freeze,
12
- "rdfs:isDefinedBy" => %(http://www.ietf.org/rfc/rfc2616.txt).freeze,
13
- type: ["rdfs:Class".freeze, "owl:Class".freeze]
14
- term :EntityHeader,
15
- comment: %(An entity header in an HTTP message.).freeze,
16
- label: "Entity Header".freeze,
17
- subClassOf: "http://www.w3.org/2011/http#MessageHeader".freeze,
18
- type: ["rdfs:Class".freeze, "owl:Class".freeze]
19
- term :GeneralHeader,
20
- comment: %(A general header in an HTTP message.).freeze,
21
- label: "General Header".freeze,
22
- subClassOf: "http://www.w3.org/2011/http#MessageHeader".freeze,
23
- type: ["rdfs:Class".freeze, "owl:Class".freeze]
24
- term :HeaderElement,
25
- comment: %(A part of a deconstructed header value.).freeze,
26
- label: "Header Element".freeze,
27
- type: ["rdfs:Class".freeze, "owl:Class".freeze]
28
- term :HeaderName,
29
- comment: %(A header name.).freeze,
30
- label: "Header Name".freeze,
31
- type: ["rdfs:Class".freeze, "owl:Class".freeze]
32
- term :Message,
33
- comment: %(An HTTP message.).freeze,
34
- label: "Message".freeze,
35
- "rdfs:isDefinedBy" => %(http://www.ietf.org/rfc/rfc2616.txt).freeze,
36
- type: ["rdfs:Class".freeze, "owl:Class".freeze]
37
- term :MessageHeader,
38
- comment: %(A header in an HTTP message.).freeze,
39
- label: "Message Header".freeze,
40
- type: ["rdfs:Class".freeze, "owl:Class".freeze]
41
- term :Method,
42
- comment: %(The HTTP method used for the request.).freeze,
43
- label: "Method".freeze,
44
- "rdfs:isDefinedBy" => %(http://www.ietf.org/rfc/rfc2616.txt).freeze,
45
- type: ["rdfs:Class".freeze, "owl:Class".freeze]
46
- term :Parameter,
47
- comment: %(A parameter for a part of a header value.).freeze,
48
- label: "Parameter".freeze,
49
- type: ["rdfs:Class".freeze, "owl:Class".freeze]
50
- term :Request,
51
- comment: %(An HTTP request.).freeze,
52
- label: "Request".freeze,
53
- "rdfs:isDefinedBy" => %(http://www.ietf.org/rfc/rfc2616.txt).freeze,
54
- subClassOf: "http://www.w3.org/2011/http#Message".freeze,
55
- type: ["rdfs:Class".freeze, "owl:Class".freeze]
56
- term :RequestHeader,
57
- comment: %(A header in an HTTP request message.).freeze,
58
- label: "Request Header".freeze,
59
- subClassOf: "http://www.w3.org/2011/http#MessageHeader".freeze,
60
- type: ["rdfs:Class".freeze, "owl:Class".freeze]
61
- term :Response,
62
- comment: %(An HTTP response.).freeze,
63
- label: "Response".freeze,
64
- "rdfs:isDefinedBy" => %(http://www.ietf.org/rfc/rfc2616.txt).freeze,
65
- subClassOf: "http://www.w3.org/2011/http#Message".freeze,
66
- type: ["rdfs:Class".freeze, "owl:Class".freeze]
67
- term :ResponseHeader,
68
- comment: %(A header in an HTTP response message.).freeze,
69
- label: "Response Header".freeze,
70
- subClassOf: "http://www.w3.org/2011/http#MessageHeader".freeze,
71
- type: ["rdfs:Class".freeze, "owl:Class".freeze]
72
- term :StatusCode,
73
- comment: %(The status code of an HTTP response.).freeze,
74
- label: "Status code".freeze,
75
- "rdfs:isDefinedBy" => %(http://www.ietf.org/rfc/rfc2616.txt).freeze,
76
- type: ["rdfs:Class".freeze, "owl:Class".freeze]
77
-
78
- # Property definitions
79
- property :absolutePath,
80
- comment: %(The absolute path sort of request URI.).freeze,
81
- label: "Absolute path".freeze,
82
- subPropertyOf: "http://www.w3.org/2011/http#requestURI".freeze,
83
- type: "rdf:Property".freeze
84
- property :absoluteURI,
85
- comment: %(The absolute request URI.).freeze,
86
- label: "Absolute URI".freeze,
87
- subPropertyOf: "http://www.w3.org/2011/http#requestURI".freeze,
88
- type: "rdf:Property".freeze
89
- property :authority,
90
- comment: %(The authority sort of request URI.).freeze,
91
- label: "Authority".freeze,
92
- subPropertyOf: "http://www.w3.org/2011/http#requestURI".freeze,
93
- type: "rdf:Property".freeze
94
- property :body,
95
- comment: %(The entity body of an HTTP message.).freeze,
96
- domain: "http://www.w3.org/2011/http#Message".freeze,
97
- label: "Entity Body".freeze,
98
- range: "http://www.w3.org/2011/content#ContentAsBase64".freeze,
99
- "rdfs:isDefinedBy" => %(http://www.ietf.org/rfc/rfc2616.txt).freeze,
100
- type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
101
- property :connectionAuthority,
102
- comment: %(The authority of a connection used for the HTTP transfer.).freeze,
103
- domain: "http://www.w3.org/2011/http#Connection".freeze,
104
- label: "Connection authority".freeze,
105
- range: "rdfs:Literal".freeze,
106
- type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
107
- property :elementName,
108
- comment: %(The name of a header element.).freeze,
109
- domain: "http://www.w3.org/2011/http#HeaderElement".freeze,
110
- label: "Header element name".freeze,
111
- range: "rdfs:Literal".freeze,
112
- type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
113
- property :elementValue,
114
- comment: %(The value of a header element.).freeze,
115
- domain: "http://www.w3.org/2011/http#HeaderElement".freeze,
116
- label: "Header element value".freeze,
117
- range: "rdfs:Literal".freeze,
118
- type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
119
- property :fieldName,
120
- comment: %(The name of an HTTP header field.).freeze,
121
- domain: "http://www.w3.org/2011/http#MessageHeader".freeze,
122
- label: "Field name".freeze,
123
- range: "rdfs:Literal".freeze,
124
- type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
125
- property :fieldValue,
126
- comment: %(The value of an HTTP header field.).freeze,
127
- domain: "http://www.w3.org/2011/http#MessageHeader".freeze,
128
- label: "Field value".freeze,
129
- range: "rdfs:Literal".freeze,
130
- type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
131
- property :hdrName,
132
- comment: %(The name of an HTTP header.).freeze,
133
- domain: "http://www.w3.org/2011/http#MessageHeader".freeze,
134
- label: "Header name".freeze,
135
- range: "http://www.w3.org/2011/http#HeaderName".freeze,
136
- type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
137
- property :headerElements,
138
- comment: %(The deconstructed parts of an HTTP header value.).freeze,
139
- domain: "http://www.w3.org/2011/http#MessageHeader".freeze,
140
- label: "Header elements".freeze,
141
- type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
142
- property :headers,
143
- comment: %(The headers in an HTTP message.).freeze,
144
- domain: "http://www.w3.org/2011/http#Message".freeze,
145
- label: "Headers".freeze,
146
- "rdfs:isDefinedBy" => %(http://www.ietf.org/rfc/rfc2616.txt).freeze,
147
- type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
148
- property :httpVersion,
149
- comment: %(The HTTP version of an HTTP message.).freeze,
150
- domain: "http://www.w3.org/2011/http#Message".freeze,
151
- label: "HTTP version".freeze,
152
- range: "rdfs:Literal".freeze,
153
- "rdfs:isDefinedBy" => %(http://www.ietf.org/rfc/rfc2616.txt).freeze,
154
- type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
155
- property :methodName,
156
- comment: %(The HTTP method name used for the HTTP request.).freeze,
157
- domain: "http://www.w3.org/2011/http#Request".freeze,
158
- label: "Method name".freeze,
159
- range: "rdfs:Literal".freeze,
160
- "rdfs:isDefinedBy" => %(http://www.ietf.org/rfc/rfc2616.txt).freeze,
161
- type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
162
- property :mthd,
163
- comment: %(The HTTP method used for the HTTP request.).freeze,
164
- domain: "http://www.w3.org/2011/http#Request".freeze,
165
- label: "Method".freeze,
166
- range: "http://www.w3.org/2011/http#Method".freeze,
167
- "rdfs:isDefinedBy" => %(http://www.ietf.org/rfc/rfc2616.txt).freeze,
168
- type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
169
- property :paramName,
170
- comment: %(The name of a parameter in a part of a deconstructed HTTP header value.).freeze,
171
- domain: "http://www.w3.org/2011/http#Parameter".freeze,
172
- label: "Parameter name".freeze,
173
- range: "rdfs:Literal".freeze,
174
- type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
175
- property :paramValue,
176
- comment: %(The value of a parameter in a part of a deconstructed HTTP header value.).freeze,
177
- domain: "http://www.w3.org/2011/http#Parameter".freeze,
178
- label: "Parameter value".freeze,
179
- range: "rdfs:Literal".freeze,
180
- type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
181
- property :params,
182
- comment: %(The parameters in a part of a deconstructed HTTP header value.).freeze,
183
- domain: "http://www.w3.org/2011/http#HeaderElement".freeze,
184
- label: "Header parameters".freeze,
185
- type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
186
- property :reasonPhrase,
187
- comment: %(The reason phrase \(status text\) of an HTTP response.).freeze,
188
- domain: "http://www.w3.org/2011/http#Response".freeze,
189
- label: "Reason phrase".freeze,
190
- range: "rdfs:Literal".freeze,
191
- "rdfs:isDefinedBy" => %(http://www.ietf.org/rfc/rfc2616.txt).freeze,
192
- type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
193
- property :requestURI,
194
- comment: %(The request URI of an HTTP request.).freeze,
195
- domain: "http://www.w3.org/2011/http#Request".freeze,
196
- label: "Request URI".freeze,
197
- range: "rdfs:Literal".freeze,
198
- "rdfs:isDefinedBy" => %(http://www.ietf.org/rfc/rfc2616.txt).freeze,
199
- type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
200
- property :requests,
201
- comment: %(The HTTP requests made via a connection.).freeze,
202
- domain: "http://www.w3.org/2011/http#Connection".freeze,
203
- label: "Requests".freeze,
204
- "rdfs:isDefinedBy" => %(http://www.ietf.org/rfc/rfc2616.txt).freeze,
205
- type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
206
- property :resp,
207
- comment: %(The HTTP response sent in answer to an HTTP request.).freeze,
208
- domain: "http://www.w3.org/2011/http#Request".freeze,
209
- label: "Response".freeze,
210
- range: "http://www.w3.org/2011/http#Response".freeze,
211
- "rdfs:isDefinedBy" => %(http://www.ietf.org/rfc/rfc2616.txt).freeze,
212
- type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
213
- property :sc,
214
- comment: %(The status code of an HTTP response.).freeze,
215
- domain: "http://www.w3.org/2011/http#Response".freeze,
216
- label: "Status code".freeze,
217
- range: "http://www.w3.org/2011/http#StatusCode".freeze,
218
- "rdfs:isDefinedBy" => %(http://www.ietf.org/rfc/rfc2616.txt).freeze,
219
- type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
220
- property :statusCodeNumber,
221
- comment: %(The status code number.).freeze,
222
- domain: "http://www.w3.org/2011/http#StatusCode".freeze,
223
- label: "Status code".freeze,
224
- range: "xsd:int".freeze,
225
- "rdfs:isDefinedBy" => %(http://www.ietf.org/rfc/rfc2616.txt).freeze,
226
- subPropertyOf: "dc:identifier".freeze,
227
- type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
228
- property :statusCodeValue,
229
- comment: %(The status code value of an HTTP response.).freeze,
230
- domain: "http://www.w3.org/2011/http#Response".freeze,
231
- label: "Status code".freeze,
232
- range: "rdfs:Literal".freeze,
233
- "rdfs:isDefinedBy" => %(http://www.ietf.org/rfc/rfc2616.txt).freeze,
234
- type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
235
- end
236
- end
@@ -1,528 +0,0 @@
1
- # -*- encoding: utf-8 -*-
2
- # This file generated automatically using vocab-fetch from http://www.w3.org/2002/12/cal/icaltzd#
3
- require 'rdf'
4
- module RDF
5
- # @deprecated Please use `RDF::Vocab::ICAL` from the rdf-vocab gem instead
6
- class ICAL < RDF::StrictVocabulary("http://www.w3.org/2002/12/cal/icaltzd#")
7
-
8
- # Class definitions
9
- term :DomainOf_rrule,
10
- label: "DomainOf_rrule".freeze,
11
- type: "owl:Class".freeze
12
- term :List_of_Float,
13
- label: "List_of_Float".freeze,
14
- type: "owl:Class".freeze
15
- term :Valarm,
16
- comment: %(Provide a grouping of component properties that define an alarm.).freeze,
17
- label: "Valarm".freeze,
18
- type: "owl:Class".freeze
19
- term :"Value_CAL-ADDRESS",
20
- label: "Value_CAL-ADDRESS".freeze,
21
- type: "owl:Class".freeze
22
- term :Value_DATE,
23
- label: "Value_DATE".freeze,
24
- type: "owl:Class".freeze
25
- term :Value_DURATION,
26
- label: "Value_DURATION".freeze,
27
- type: "owl:Class".freeze
28
- term :Value_PERIOD,
29
- label: "Value_PERIOD".freeze,
30
- type: "owl:Class".freeze
31
- term :Value_RECUR,
32
- label: "Value_RECUR".freeze,
33
- type: "owl:Class".freeze
34
- term :Vcalendar,
35
- label: "VCALENDAR".freeze,
36
- type: "owl:Class".freeze
37
- term :Vevent,
38
- comment: %(Provide a grouping of component properties that describe an event.).freeze,
39
- label: "Event".freeze,
40
- type: "owl:Class".freeze
41
- term :Vfreebusy,
42
- 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.).freeze,
43
- label: "Vfreebusy".freeze,
44
- type: "owl:Class".freeze
45
- term :Vjournal,
46
- comment: %(Provide a grouping of component properties that describe a journal entry.).freeze,
47
- label: "Vjournal".freeze,
48
- type: "owl:Class".freeze
49
- term :Vtimezone,
50
- comment: %(Provide a grouping of component properties that defines a time zone.).freeze,
51
- label: "Vtimezone".freeze,
52
- type: "owl:Class".freeze
53
- term :Vtodo,
54
- comment: %(Provide a grouping of calendar properties that describe a to-do.).freeze,
55
- label: "To-do".freeze,
56
- type: "owl:Class".freeze
57
-
58
- # Property definitions
59
- property :"X-",
60
- comment: [%(This class of property provides a framework for defining non-standard properties.).freeze, %(
61
- value type: TEXT).freeze],
62
- "http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(TEXT).freeze,
63
- label: "X-".freeze,
64
- range: "xsd:string".freeze,
65
- type: "owl:DatatypeProperty".freeze
66
- property :action,
67
- comment: [%(This property defines the action to be invoked when an alarm is triggered.).freeze, %(
68
- value type: TEXT).freeze],
69
- "http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(TEXT).freeze,
70
- label: "action".freeze,
71
- range: "xsd:string".freeze,
72
- type: "owl:DatatypeProperty".freeze
73
- property :altrep,
74
- comment: %(To specify an alternate text representation for the property value.).freeze,
75
- label: "altrep".freeze,
76
- type: "owl:DatatypeProperty".freeze
77
- property :attach,
78
- comment: [%(The property provides the capability to associate a document object with a calendar component.).freeze, %(
79
- default value type: URI).freeze],
80
- "http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(URI).freeze,
81
- label: "attach".freeze,
82
- type: "owl:ObjectProperty".freeze
83
- property :attendee,
84
- comment: [%(The property defines an "Attendee" within a calendar component.).freeze, %(
85
- value type: CAL-ADDRESS).freeze],
86
- "http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(CAL-ADDRESS).freeze,
87
- label: "attendee".freeze,
88
- range: "ical:Value_CAL-ADDRESS".freeze,
89
- type: "owl:ObjectProperty".freeze
90
- property :byday,
91
- label: "BYDAY".freeze,
92
- type: "owl:DatatypeProperty".freeze
93
- property :byhour,
94
- label: "BYHOUR".freeze,
95
- type: "owl:DatatypeProperty".freeze
96
- property :byminute,
97
- label: "BYMINUTE".freeze,
98
- type: "owl:DatatypeProperty".freeze
99
- property :bymonth,
100
- label: "BYMONTH".freeze,
101
- type: "owl:DatatypeProperty".freeze
102
- property :bysecond,
103
- label: "BYSECOND".freeze,
104
- type: "owl:DatatypeProperty".freeze
105
- property :bysetpos,
106
- label: "BYSETPOS".freeze,
107
- type: "owl:DatatypeProperty".freeze
108
- property :byweekno,
109
- label: "BYWEEKNO".freeze,
110
- type: "owl:DatatypeProperty".freeze
111
- property :byyearday,
112
- label: "BYYEARDAY".freeze,
113
- type: "owl:DatatypeProperty".freeze
114
- property :calAddress,
115
- label: "calAddress".freeze,
116
- type: "owl:ObjectProperty".freeze
117
- property :calscale,
118
- comment: [%(This property defines the calendar scale used for the calendar information specified in the iCalendar object.).freeze, %(
119
- value type: TEXT).freeze],
120
- "http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(TEXT).freeze,
121
- label: "calscale".freeze,
122
- range: "xsd:string".freeze,
123
- type: "owl:DatatypeProperty".freeze
124
- property :categories,
125
- comment: [%(This property defines the categories for a calendar component.).freeze, %(
126
- value type: TEXT).freeze],
127
- "http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(TEXT).freeze,
128
- label: "categories".freeze,
129
- range: "xsd:string".freeze,
130
- type: "owl:DatatypeProperty".freeze
131
- property :class,
132
- comment: [%(This property defines the access classification for a calendar component.).freeze, %(
133
- value type: TEXT).freeze],
134
- "http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(TEXT).freeze,
135
- label: "class".freeze,
136
- range: "xsd:string".freeze,
137
- type: "owl:DatatypeProperty".freeze
138
- property :cn,
139
- comment: %(To specify the common name to be associated with the calendar user specified by the property.).freeze,
140
- label: "cn".freeze,
141
- type: "owl:DatatypeProperty".freeze
142
- property :comment,
143
- comment: [%(This property specifies non-processing information intended to provide a comment to the calendar user.).freeze, %(
144
- value type: TEXT).freeze],
145
- "http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(TEXT).freeze,
146
- label: "comment".freeze,
147
- range: "xsd:string".freeze,
148
- type: "owl:DatatypeProperty".freeze
149
- property :completed,
150
- comment: [%(This property defines the date and time that a to-do was actually completed.).freeze, %(
151
- value type: DATE-TIME).freeze],
152
- domain: "ical:Vtodo".freeze,
153
- "http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(DATE-TIME).freeze,
154
- label: "completed".freeze,
155
- range: "ical:Value_DATE-TIME".freeze,
156
- type: "owl:DatatypeProperty".freeze
157
- property :component,
158
- label: "component".freeze,
159
- type: "owl:ObjectProperty".freeze
160
- property :contact,
161
- comment: [%(The property is used to represent contact information or alternately a reference to contact information associated with the calendar component.).freeze, %(
162
- value type: TEXT).freeze],
163
- "http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(TEXT).freeze,
164
- label: "contact".freeze,
165
- range: "xsd:string".freeze,
166
- type: "owl:DatatypeProperty".freeze
167
- property :count,
168
- label: "COUNT".freeze,
169
- type: "owl:DatatypeProperty".freeze
170
- property :created,
171
- 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.).freeze, %(
172
- value type: DATE-TIME).freeze],
173
- "http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(DATE-TIME).freeze,
174
- label: "created".freeze,
175
- range: "ical:Value_DATE-TIME".freeze,
176
- type: "owl:DatatypeProperty".freeze
177
- property :cutype,
178
- comment: %(To specify the type of calendar user specified by the property.).freeze,
179
- label: "cutype".freeze,
180
- type: "owl:DatatypeProperty".freeze
181
- property :daylight,
182
- label: "DAYLIGHT".freeze,
183
- type: "owl:ObjectProperty".freeze
184
- property :delegatedFrom,
185
- comment: %(To specify the calendar users that have delegated their participation to the calendar user specified by the property.).freeze,
186
- label: "delegatedFrom".freeze,
187
- type: "owl:DatatypeProperty".freeze
188
- property :delegatedTo,
189
- comment: %(To specify the calendar users to whom the calendar user specified by the property has delegated participation.).freeze,
190
- label: "delegatedTo".freeze,
191
- type: "owl:DatatypeProperty".freeze
192
- property :description,
193
- comment: [%(This property provides a more complete description of the calendar component, than that provided by the "SUMMARY" property.).freeze, %(
194
- value type: TEXT).freeze],
195
- "http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(TEXT).freeze,
196
- label: "description".freeze,
197
- range: "xsd:string".freeze,
198
- type: "owl:DatatypeProperty".freeze
199
- property :dir,
200
- comment: %(To specify reference to a directory entry associated with the calendar user specified by the property.).freeze,
201
- label: "dir".freeze,
202
- type: "owl:DatatypeProperty".freeze
203
- property :dtend,
204
- comment: [%(This property specifies the date and time that a calendar component ends.).freeze, %(
205
- default value type: DATE-TIME).freeze],
206
- "http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(DATE-TIME).freeze,
207
- label: "end".freeze,
208
- type: "owl:DatatypeProperty".freeze
209
- property :dtstamp,
210
- comment: [%(The property indicates the date/time that the instance of the iCalendar object was created.).freeze, %(
211
- value type: DATE-TIME).freeze],
212
- "http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(DATE-TIME).freeze,
213
- label: "dtstamp".freeze,
214
- range: "ical:Value_DATE-TIME".freeze,
215
- type: "owl:DatatypeProperty".freeze
216
- property :dtstart,
217
- comment: [%(This property specifies when the calendar component begins.).freeze, %(
218
- default value type: DATE-TIME).freeze],
219
- "http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(DATE-TIME).freeze,
220
- label: "start".freeze,
221
- type: "owl:DatatypeProperty".freeze
222
- property :due,
223
- comment: [%(This property defines the date and time that a to-do is expected to be completed.).freeze, %(
224
- default value type: DATE-TIME).freeze],
225
- domain: "ical:Vtodo".freeze,
226
- "http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(DATE-TIME).freeze,
227
- label: "due".freeze,
228
- type: "owl:DatatypeProperty".freeze
229
- property :duration,
230
- comment: [%(The property specifies a positive duration of time.).freeze, %(
231
- value type: DURATION).freeze],
232
- "http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(DURATION).freeze,
233
- label: "duration".freeze,
234
- range: "ical:Value_DURATION".freeze,
235
- type: "owl:ObjectProperty".freeze
236
- property :encoding,
237
- comment: %(To specify an alternate inline encoding for the property value.).freeze,
238
- label: "encoding".freeze,
239
- type: "owl:DatatypeProperty".freeze
240
- property :exdate,
241
- comment: [%(This property defines the list of date/time exceptions for a recurring calendar component.).freeze, %(
242
- default value type: DATE-TIME).freeze],
243
- domain: "ical:DomainOf_rrule".freeze,
244
- "http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(DATE-TIME).freeze,
245
- label: "exdate".freeze,
246
- type: "owl:DatatypeProperty".freeze
247
- property :exrule,
248
- comment: [%(This property defines a rule or repeating pattern for an exception to a recurrence set.).freeze, %(
249
- value type: RECUR).freeze],
250
- "http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(RECUR).freeze,
251
- label: "exrule".freeze,
252
- range: "ical:Value_RECUR".freeze,
253
- type: "owl:ObjectProperty".freeze
254
- property :fbtype,
255
- comment: %(To specify the free or busy time type.).freeze,
256
- label: "fbtype".freeze,
257
- type: "owl:DatatypeProperty".freeze
258
- property :fmttype,
259
- comment: %(To specify the content type of a referenced object.).freeze,
260
- label: "fmttype".freeze,
261
- type: "owl:DatatypeProperty".freeze
262
- property :freebusy,
263
- comment: [%(The property defines one or more free or busy time intervals.).freeze, %(
264
- value type: PERIOD).freeze],
265
- "http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(PERIOD).freeze,
266
- label: "freebusy".freeze,
267
- range: "ical:Value_PERIOD".freeze,
268
- type: "owl:ObjectProperty".freeze
269
- property :freq,
270
- label: "FREQ".freeze,
271
- type: "owl:DatatypeProperty".freeze
272
- property :geo,
273
- comment: [%(This property specifies information related to the global position for the activity specified by a calendar component.).freeze, %(
274
- value type: list of FLOAT).freeze],
275
- "http://www.w3.org/2002/12/cal/icalSpec#valueListType" => %(FLOAT).freeze,
276
- label: "geo".freeze,
277
- range: "ical:List_of_Float".freeze,
278
- type: "owl:ObjectProperty".freeze
279
- property :interval,
280
- label: "INTERVAL".freeze,
281
- type: "owl:DatatypeProperty".freeze
282
- property :language,
283
- comment: %(To specify the language for text values in a property or property parameter.).freeze,
284
- label: "language".freeze,
285
- type: "owl:DatatypeProperty".freeze
286
- property :lastModified,
287
- 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.).freeze, %(
288
- value type: DATE-TIME).freeze],
289
- "http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(DATE-TIME).freeze,
290
- label: "lastModified".freeze,
291
- range: "ical:Value_DATE-TIME".freeze,
292
- type: "owl:DatatypeProperty".freeze
293
- property :location,
294
- comment: [%(The property defines the intended venue for the activity defined by a calendar component.).freeze, %(
295
- value type: TEXT).freeze],
296
- "http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(TEXT).freeze,
297
- label: "location".freeze,
298
- range: "xsd:string".freeze,
299
- type: "owl:DatatypeProperty".freeze
300
- property :member,
301
- comment: %(To specify the group or list membership of the calendar user specified by the property.).freeze,
302
- label: "member".freeze,
303
- type: "owl:DatatypeProperty".freeze
304
- property :method,
305
- comment: [%(This property defines the iCalendar object method associated with the calendar object.).freeze, %(
306
- value type: TEXT).freeze],
307
- "http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(TEXT).freeze,
308
- label: "method".freeze,
309
- range: "xsd:string".freeze,
310
- type: "owl:DatatypeProperty".freeze
311
- property :organizer,
312
- comment: [%(The property defines the organizer for a calendar component.).freeze, %(
313
- value type: CAL-ADDRESS).freeze],
314
- "http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(CAL-ADDRESS).freeze,
315
- label: "organizer".freeze,
316
- range: "ical:Value_CAL-ADDRESS".freeze,
317
- type: "owl:ObjectProperty".freeze
318
- property :partstat,
319
- comment: %(To specify the participation status for the calendar user specified by the property.).freeze,
320
- label: "partstat".freeze,
321
- type: "owl:DatatypeProperty".freeze
322
- property :percentComplete,
323
- 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.).freeze, %(
324
- value type: INTEGER).freeze],
325
- domain: "ical:Vtodo".freeze,
326
- "http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(INTEGER).freeze,
327
- label: "percentComplete".freeze,
328
- range: "xsd:integer".freeze,
329
- type: "owl:DatatypeProperty".freeze
330
- property :priority,
331
- comment: [%(The property defines the relative priority for a calendar component.).freeze, %(
332
- value type: INTEGER).freeze],
333
- "http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(INTEGER).freeze,
334
- label: "priority".freeze,
335
- range: "xsd:integer".freeze,
336
- type: "owl:DatatypeProperty".freeze
337
- property :prodid,
338
- comment: [%(This property specifies the identifier for the product that created the iCalendar object.).freeze, %(
339
- value type: TEXT).freeze],
340
- "http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(TEXT).freeze,
341
- label: "prodid".freeze,
342
- range: "xsd:string".freeze,
343
- type: "owl:DatatypeProperty".freeze
344
- property :range,
345
- comment: %(To specify the effective range of recurrence instances from the instance specified by the recurrence identifier specified by the property.).freeze,
346
- label: "range".freeze,
347
- type: "owl:DatatypeProperty".freeze
348
- property :rdate,
349
- comment: [%(This property defines the list of date/times for a recurrence set.).freeze, %(
350
- default value type: DATE-TIME).freeze],
351
- "http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(DATE-TIME).freeze,
352
- label: "rdate".freeze,
353
- type: "owl:DatatypeProperty".freeze
354
- property :recurrenceId,
355
- 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.).freeze, %(
356
- default value type: DATE-TIME).freeze],
357
- domain: "ical:DomainOf_rrule".freeze,
358
- "http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(DATE-TIME).freeze,
359
- label: "recurrenceId".freeze,
360
- type: "owl:DatatypeProperty".freeze
361
- property :related,
362
- comment: %(To specify the relationship of the alarm trigger with respect to the start or end of the calendar component.).freeze,
363
- label: "related".freeze,
364
- type: "owl:DatatypeProperty".freeze
365
- property :relatedTo,
366
- comment: [%(The property is used to represent a relationship or reference between one calendar component and another.).freeze, %(
367
- value type: TEXT).freeze],
368
- "http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(TEXT).freeze,
369
- label: "relatedTo".freeze,
370
- range: "xsd:string".freeze,
371
- type: "owl:DatatypeProperty".freeze
372
- property :reltype,
373
- comment: %(To specify the type of hierarchical relationship associated with the calendar component specified by the property.).freeze,
374
- label: "reltype".freeze,
375
- type: "owl:DatatypeProperty".freeze
376
- property :repeat,
377
- comment: [%(This property defines the number of time the alarm should be repeated, after the initial trigger.).freeze, %(
378
- value type: INTEGER).freeze],
379
- domain: "ical:Valarm".freeze,
380
- "http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(INTEGER).freeze,
381
- label: "repeat".freeze,
382
- range: "xsd:integer".freeze,
383
- type: "owl:DatatypeProperty".freeze
384
- property :requestStatus,
385
- comment: [%(This property defines the status code returned for a scheduling request.).freeze, %(
386
- value type: TEXT).freeze],
387
- "http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(TEXT).freeze,
388
- label: "requestStatus".freeze,
389
- range: "xsd:string".freeze,
390
- type: "owl:DatatypeProperty".freeze
391
- property :resources,
392
- comment: [%(This property defines the equipment or resources anticipated for an activity specified by a calendar entity..).freeze, %(
393
- value type: TEXT).freeze],
394
- "http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(TEXT).freeze,
395
- label: "resources".freeze,
396
- range: "xsd:string".freeze,
397
- type: "owl:DatatypeProperty".freeze
398
- property :role,
399
- comment: %(To specify the participation role for the calendar user specified by the property.).freeze,
400
- label: "role".freeze,
401
- type: "owl:DatatypeProperty".freeze
402
- property :rrule,
403
- comment: [%(This property defines a rule or repeating pattern for recurring events, to-dos, or time zone definitions.).freeze, %(
404
- value type: RECUR).freeze],
405
- "http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(RECUR).freeze,
406
- label: "rrule".freeze,
407
- range: "ical:Value_RECUR".freeze,
408
- type: "owl:ObjectProperty".freeze
409
- property :rsvp,
410
- comment: %(To specify whether there is an expectation of a favor of a reply from the calendar user specified by the property value.).freeze,
411
- label: "rsvp".freeze,
412
- type: "owl:DatatypeProperty".freeze
413
- property :sentBy,
414
- comment: %(To specify the calendar user that is acting on behalf of the calendar user specified by the property.).freeze,
415
- label: "sentBy".freeze,
416
- type: "owl:DatatypeProperty".freeze
417
- property :sequence,
418
- comment: [%(This property defines the revision sequence number of the calendar component within a sequence of revisions.).freeze, %(
419
- value type: integer).freeze],
420
- "http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(integer).freeze,
421
- label: "sequence".freeze,
422
- range: "xsd:integer".freeze,
423
- type: "owl:DatatypeProperty".freeze
424
- property :standard,
425
- label: "STANDARD".freeze,
426
- type: "owl:ObjectProperty".freeze
427
- property :status,
428
- comment: [%(This property defines the overall status or confirmation for the calendar component.).freeze, %(
429
- value type: TEXT).freeze],
430
- "http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(TEXT).freeze,
431
- label: "status".freeze,
432
- range: "xsd:string".freeze,
433
- type: "owl:DatatypeProperty".freeze
434
- property :summary,
435
- comment: [%(This property defines a short summary or subject for the calendar component.).freeze, %(
436
- value type: TEXT).freeze],
437
- "http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(TEXT).freeze,
438
- label: "summary".freeze,
439
- range: "xsd:string".freeze,
440
- subPropertyOf: "rdfs:label".freeze,
441
- type: "owl:DatatypeProperty".freeze
442
- property :transp,
443
- comment: [%(This property defines whether an event is transparent or not to busy time searches.).freeze, %(
444
- value type: TEXT).freeze],
445
- domain: "ical:Vevent".freeze,
446
- "http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(TEXT).freeze,
447
- label: "transp".freeze,
448
- range: "xsd:string".freeze,
449
- type: "owl:DatatypeProperty".freeze
450
- property :trigger,
451
- comment: [%(This property specifies when an alarm will trigger.).freeze, %(
452
- default value type: DURATION).freeze],
453
- "http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(DURATION).freeze,
454
- label: "trigger".freeze,
455
- type: "owl:ObjectProperty".freeze
456
- property :tzid,
457
- comment: [%(This property specifies the text value that uniquely identifies the "VTIMEZONE" calendar component.).freeze, %(
458
- value type: TEXT).freeze, %(To specify the identifier for the time zone definition for a time component in the property value.).freeze],
459
- domain: "ical:Vtimezone".freeze,
460
- "http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(TEXT).freeze,
461
- label: "tzid".freeze,
462
- range: "xsd:string".freeze,
463
- type: "owl:DatatypeProperty".freeze
464
- property :tzname,
465
- comment: [%(This property specifies the customary designation for a time zone description.).freeze, %(
466
- value type: TEXT).freeze],
467
- domain: "ical:Vtimezone".freeze,
468
- "http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(TEXT).freeze,
469
- label: "tzname".freeze,
470
- range: "xsd:string".freeze,
471
- type: "owl:DatatypeProperty".freeze
472
- property :tzoffsetfrom,
473
- comment: [%(This property specifies the offset which is in use prior to this time zone observance.).freeze, %(
474
- value type: UTC-OFFSET).freeze],
475
- "http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(UTC-OFFSET).freeze,
476
- label: "tzoffsetfrom".freeze,
477
- range: "xsd:string".freeze,
478
- type: "owl:DatatypeProperty".freeze
479
- property :tzoffsetto,
480
- comment: [%(This property specifies the offset which is in use in this time zone observance.).freeze, %(
481
- value type: UTC-OFFSET).freeze],
482
- domain: "ical:Vtimezone".freeze,
483
- "http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(UTC-OFFSET).freeze,
484
- label: "tzoffsetto".freeze,
485
- range: "xsd:string".freeze,
486
- type: "owl:DatatypeProperty".freeze
487
- property :tzurl,
488
- 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.).freeze, %(
489
- value type: URI).freeze],
490
- "http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(URI).freeze,
491
- label: "tzurl".freeze,
492
- type: "owl:ObjectProperty".freeze
493
- property :uid,
494
- comment: [%(This property defines the persistent, globally unique identifier for the calendar component.).freeze, %(
495
- value type: TEXT).freeze],
496
- "http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(TEXT).freeze,
497
- label: "uid".freeze,
498
- range: "xsd:string".freeze,
499
- type: "owl:DatatypeProperty".freeze
500
- property :until,
501
- label: "UNTIL".freeze,
502
- type: "owl:DatatypeProperty".freeze
503
- property :url,
504
- comment: [%(This property defines a Uniform Resource Locator \(URL\) associated with the iCalendar object.).freeze, %(
505
- value type: URI).freeze],
506
- "http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(URI).freeze,
507
- label: "see also".freeze,
508
- type: "owl:ObjectProperty".freeze
509
- property :version,
510
- 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.).freeze, %(
511
- value type: TEXT).freeze],
512
- "http://www.w3.org/2002/12/cal/icalSpec#valueType" => %(TEXT).freeze,
513
- label: "version".freeze,
514
- range: "xsd:string".freeze,
515
- type: "owl:DatatypeProperty".freeze
516
- property :wkst,
517
- label: "WKST".freeze,
518
- type: "owl:DatatypeProperty".freeze
519
-
520
- # Datatype definitions
521
- term :"Value_DATE-TIME",
522
- label: "Value_DATE-TIME".freeze,
523
- type: "rdfs:Datatype".freeze
524
- term :dateTime,
525
- label: "dateTime".freeze,
526
- type: "rdfs:Datatype".freeze
527
- end
528
- end