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,383 +0,0 @@
1
- # -*- encoding: utf-8 -*-
2
- # This file generated automatically using vocab-fetch from etc/data-vocab.ttl
3
- require 'rdf'
4
- module RDF
5
- # @deprecated Please use `RDF::Vocab::VMD` from the rdf-vocab gem instead
6
- class VMD < RDF::StrictVocabulary("http://data-vocabulary.org/")
7
-
8
- # Class definitions
9
- term :Address,
10
- comment: %(Postal address for a Person or Organization.).freeze,
11
- label: "Address".freeze,
12
- type: "rdfs:Class".freeze
13
- term :Breadcrumb,
14
- comment: %(Represents a single Breadcrumb in a Breadcrumb trail.).freeze,
15
- label: "Breadcrumb".freeze,
16
- type: ["rdfs:Class".freeze, "owl:Class".freeze]
17
- term :Instructions,
18
- comment: %(Represents the steps to make a dish.).freeze,
19
- label: "Instructions".freeze,
20
- type: "rdfs:Class".freeze
21
- term :Nutrition,
22
- comment: %(Represents the nutrition information about a recipe.).freeze,
23
- label: "Nutrition".freeze,
24
- type: "rdfs:Class".freeze
25
- term :Offer,
26
- comment: %(Represents an offer to sell a product.).freeze,
27
- label: "Offer".freeze,
28
- type: ["rdfs:Class".freeze, "owl:Class".freeze]
29
- term :OfferAggregate,
30
- comment: %(Represents a collection of offers to sell a product.).freeze,
31
- label: "OfferAggregate".freeze,
32
- type: ["rdfs:Class".freeze, "owl:Class".freeze]
33
- term :Organization,
34
- comment: %(An Organization is a business, agency, school, etc.).freeze,
35
- label: "Organization".freeze,
36
- type: ["rdfs:Class".freeze, "owl:Class".freeze]
37
- term :Person,
38
- comment: %(Represents a Person, living/dead/fictional.).freeze,
39
- label: "Person".freeze,
40
- type: ["rdfs:Class".freeze, "owl:Class".freeze]
41
- term :Product,
42
- comment: %(Represents a product or service in a Review or Review-aggregate.).freeze,
43
- label: "Product".freeze,
44
- type: ["rdfs:Class".freeze, "owl:Class".freeze]
45
- term :Rating,
46
- comment: %(Represents a rating in a Review or Review-aggregate.).freeze,
47
- label: "Rating".freeze,
48
- type: ["rdfs:Class".freeze, "owl:Class".freeze]
49
- term :Recipe,
50
- comment: %(A single instance of a Recipe.).freeze,
51
- label: "Recipe".freeze,
52
- type: ["rdfs:Class".freeze, "owl:Class".freeze]
53
- term :RecipeIngredient,
54
- comment: %(Represents ingredients used in a recipe.).freeze,
55
- label: "RecipeIngredient".freeze,
56
- type: "rdfs:Class".freeze
57
- term :Review,
58
- comment: %(A single instance of a Review.).freeze,
59
- label: "Review".freeze,
60
- type: ["rdfs:Class".freeze, "owl:Class".freeze]
61
- term :"Review-aggregate",
62
- comment: %(Represents data from a collection of reviews.
63
- Can be used whether or not there is instance-level Review data on the page.
64
- ).freeze,
65
- label: "Review-aggregate".freeze,
66
- subClassOf: "vmd:Review".freeze,
67
- type: "rdfs:Class".freeze
68
- term :TimeRange,
69
- comment: %(Represents the length of time it takes to prepare a recipe.).freeze,
70
- label: "TimeRange".freeze,
71
- type: ["rdfs:Class".freeze, "owl:Class".freeze]
72
-
73
- # Property definitions
74
- property :acquaintance,
75
- domain: "vmd:Person".freeze,
76
- label: "acquaintance".freeze,
77
- type: "rdf:Property".freeze
78
- property :address,
79
- label: "address".freeze,
80
- range: "vmd:Address".freeze,
81
- type: "rdf:Property".freeze
82
- property :affiliation,
83
- comment: %(An affiliation can be specified by a string literal or an Organization instance.).freeze,
84
- domain: "vmd:Person".freeze,
85
- label: "affiliation".freeze,
86
- type: "rdf:Property".freeze
87
- property :amount,
88
- domain: "vmd:RecipeIngredient".freeze,
89
- label: "amount".freeze,
90
- type: "rdf:Property".freeze
91
- property :author,
92
- comment: %(An author of the recipe can be specified by a string literal or a Person instance.).freeze,
93
- domain: "vmd:Recipe".freeze,
94
- label: "author".freeze,
95
- type: "rdf:Property".freeze
96
- property :availability,
97
- domain: "vmd:Offer".freeze,
98
- label: "availability".freeze,
99
- type: "rdf:Property".freeze
100
- property :average,
101
- comment: %(The average of an aggregate value.).freeze,
102
- domain: "vmd:Rating".freeze,
103
- label: "average".freeze,
104
- type: "rdf:Property".freeze
105
- property :best,
106
- comment: %(The best value of a rating scale \(default 5\).).freeze,
107
- domain: "vmd:Rating".freeze,
108
- label: "best".freeze,
109
- type: "rdf:Property".freeze
110
- property :brand,
111
- domain: "vmd:Product".freeze,
112
- label: "brand".freeze,
113
- type: "rdf:Property".freeze
114
- property :calories,
115
- domain: "vmd:Nutrition".freeze,
116
- label: "calories".freeze,
117
- type: "rdf:Property".freeze
118
- property :carbohydrates,
119
- domain: "vmd:Nutrition".freeze,
120
- label: "carbohydrates".freeze,
121
- type: "rdf:Property".freeze
122
- property :category,
123
- label: "category".freeze,
124
- type: "rdf:Property".freeze
125
- property :child,
126
- domain: "vmd:Breadcrumb".freeze,
127
- label: "child".freeze,
128
- type: "rdf:Property".freeze
129
- property :cholesterol,
130
- domain: "vmd:Nutrition".freeze,
131
- label: "cholesterol".freeze,
132
- type: "rdf:Property".freeze
133
- property :colleague,
134
- domain: "vmd:Person".freeze,
135
- label: "colleague".freeze,
136
- type: "rdf:Property".freeze
137
- property :condition,
138
- label: "condition".freeze,
139
- type: "rdf:Property".freeze
140
- property :contact,
141
- domain: "vmd:Person".freeze,
142
- label: "contact".freeze,
143
- type: "rdf:Property".freeze
144
- property :cookTime,
145
- domain: "vmd:Recipe".freeze,
146
- label: "cookTime".freeze,
147
- type: "rdf:Property".freeze
148
- property :count,
149
- comment: %(The total number of items used in an aggregate \(e.g., number of reviews\).).freeze,
150
- domain: "vmd:Review-aggregate".freeze,
151
- label: "count".freeze,
152
- type: "rdf:Property".freeze
153
- property :"country-name",
154
- domain: "vmd:Address".freeze,
155
- label: "country-name".freeze,
156
- type: "rdf:Property".freeze
157
- property :currency,
158
- label: "currency".freeze,
159
- type: "rdf:Property".freeze
160
- property :description,
161
- label: "description".freeze,
162
- type: "rdf:Property".freeze
163
- property :dtreviewed,
164
- comment: %(The date of the review.).freeze,
165
- domain: "vmd:Review".freeze,
166
- label: "dtreviewed".freeze,
167
- type: "rdf:Property".freeze
168
- property :duration,
169
- domain: "vmd:Recipe".freeze,
170
- label: "duration".freeze,
171
- type: "rdf:Property".freeze
172
- property :fat,
173
- domain: "vmd:Nutrition".freeze,
174
- label: "fat".freeze,
175
- type: "rdf:Property".freeze
176
- property :fiber,
177
- domain: "vmd:Nutrition".freeze,
178
- label: "fiber".freeze,
179
- type: "rdf:Property".freeze
180
- property :friend,
181
- domain: "vmd:Person".freeze,
182
- label: "friend".freeze,
183
- type: "rdf:Property".freeze
184
- property :highprice,
185
- domain: "vmd:OfferAggregate".freeze,
186
- label: "highprice".freeze,
187
- type: "rdf:Property".freeze
188
- property :identifier,
189
- label: "identifier".freeze,
190
- type: "rdf:Property".freeze
191
- property :image,
192
- domain: "vmd:Product".freeze,
193
- label: "image".freeze,
194
- type: "rdf:Property".freeze
195
- property :ingredient,
196
- comment: %(Represents ingredients used in a recipe.).freeze,
197
- domain: "vmd:Recipe".freeze,
198
- label: "ingredient".freeze,
199
- range: "vmd:RecipeIngredient".freeze,
200
- type: "rdf:Property".freeze
201
- property :instruction,
202
- domain: "vmd:Instructions".freeze,
203
- label: "instruction".freeze,
204
- type: "rdf:Property".freeze
205
- property :instructions,
206
- comment: %(Represents the steps to make a dish.).freeze,
207
- domain: "vmd:Recipe".freeze,
208
- label: "instructions".freeze,
209
- range: "vmd:Instructions".freeze,
210
- type: "rdf:Property".freeze
211
- property :itemoffered,
212
- label: "itemoffered".freeze,
213
- type: "rdf:Property".freeze
214
- property :itemreviewed,
215
- domain: "vmd:Review".freeze,
216
- label: "itemreviewed".freeze,
217
- type: "rdf:Property".freeze
218
- property :locality,
219
- domain: "vmd:Address".freeze,
220
- label: "locality".freeze,
221
- type: "rdf:Property".freeze
222
- property :lowprice,
223
- domain: "vmd:OfferAggregate".freeze,
224
- label: "lowprice".freeze,
225
- type: "rdf:Property".freeze
226
- property :max,
227
- comment: %(The maximum value of an aggregated Rating.).freeze,
228
- label: "max".freeze,
229
- type: "rdf:Property".freeze
230
- property :min,
231
- comment: %(The minimum value of an aggregated Rating.).freeze,
232
- label: "min".freeze,
233
- type: "rdf:Property".freeze
234
- property :name,
235
- label: "name".freeze,
236
- type: "rdf:Property".freeze
237
- property :nickname,
238
- domain: "vmd:Person".freeze,
239
- label: "nickname".freeze,
240
- type: "rdf:Property".freeze
241
- property :nutrition,
242
- comment: %(Represents the nutrition information about a recipe.).freeze,
243
- domain: "vmd:Recipe".freeze,
244
- label: "nutrition".freeze,
245
- range: "vmd:Nutrition".freeze,
246
- type: "rdf:Property".freeze
247
- property :offercount,
248
- domain: "vmd:OfferAggregate".freeze,
249
- label: "offercount".freeze,
250
- type: "rdf:Property".freeze
251
- property :offerdetails,
252
- domain: "vmd:Product".freeze,
253
- label: "offerdetails".freeze,
254
- type: "rdf:Property".freeze
255
- property :offerurl,
256
- label: "offerurl".freeze,
257
- type: "rdf:Property".freeze
258
- property :photo,
259
- label: "photo".freeze,
260
- type: "rdf:Property".freeze
261
- property :"postal-code",
262
- domain: "vmd:Address".freeze,
263
- label: "postal-code".freeze,
264
- type: "rdf:Property".freeze
265
- property :prepTime,
266
- domain: "vmd:Recipe".freeze,
267
- label: "prepTime".freeze,
268
- type: "rdf:Property".freeze
269
- property :price,
270
- domain: "vmd:Offer".freeze,
271
- label: "price".freeze,
272
- type: "rdf:Property".freeze
273
- property :pricerange,
274
- comment: %(The price range of products and services offered
275
- by a restaurant, business or other organization.
276
- ).freeze,
277
- domain: "vmd:Organization".freeze,
278
- label: "pricerange".freeze,
279
- type: "rdf:Property".freeze
280
- property :pricevaliduntil,
281
- domain: "vmd:Offer".freeze,
282
- label: "pricevaliduntil".freeze,
283
- type: "rdf:Property".freeze
284
- property :protein,
285
- domain: "vmd:Nutrition".freeze,
286
- label: "protein".freeze,
287
- type: "rdf:Property".freeze
288
- property :published,
289
- domain: "vmd:Recipe".freeze,
290
- label: "published".freeze,
291
- type: "rdf:Property".freeze
292
- property :quantity,
293
- domain: "vmd:Offer".freeze,
294
- label: "quantity".freeze,
295
- type: "rdf:Property".freeze
296
- property :rating,
297
- comment: %(A rating can be specified by a string literal or a Rating instance.).freeze,
298
- domain: "vmd:Review".freeze,
299
- label: "rating".freeze,
300
- type: "rdf:Property".freeze
301
- property :recipeType,
302
- domain: "vmd:Recipe".freeze,
303
- label: "recipeType".freeze,
304
- type: "rdf:Property".freeze
305
- property :region,
306
- domain: "vmd:Address".freeze,
307
- label: "region".freeze,
308
- type: "rdf:Property".freeze
309
- property :reviewer,
310
- comment: %(A reviewer can be specified by a string literal or a Person instance.).freeze,
311
- domain: "vmd:Review".freeze,
312
- label: "reviewer".freeze,
313
- type: "rdf:Property".freeze
314
- property :role,
315
- domain: "vmd:Person".freeze,
316
- label: "role".freeze,
317
- type: "rdf:Property".freeze
318
- property :saturatedFat,
319
- domain: "vmd:Nutrition".freeze,
320
- label: "saturatedFat".freeze,
321
- type: "rdf:Property".freeze
322
- property :seller,
323
- domain: "vmd:Offer".freeze,
324
- label: "seller".freeze,
325
- type: "rdf:Property".freeze
326
- property :servingSize,
327
- domain: "vmd:Nutrition".freeze,
328
- label: "servingSize".freeze,
329
- type: "rdf:Property".freeze
330
- property :"street-address",
331
- domain: "vmd:Address".freeze,
332
- label: "street-address".freeze,
333
- type: "rdf:Property".freeze
334
- property :sugar,
335
- domain: "vmd:Nutrition".freeze,
336
- label: "sugar".freeze,
337
- type: "rdf:Property".freeze
338
- property :summary,
339
- label: "summary".freeze,
340
- type: "rdf:Property".freeze
341
- property :tag,
342
- domain: "vmd:Recipe".freeze,
343
- label: "tag".freeze,
344
- type: "rdf:Property".freeze
345
- property :tel,
346
- label: "tel".freeze,
347
- type: "rdf:Property".freeze
348
- property :timeRange,
349
- comment: %(Represents the length of time it takes to prepare a recipe.).freeze,
350
- domain: "vmd:Recipe".freeze,
351
- label: "timeRange".freeze,
352
- range: "vmd:TimeRange".freeze,
353
- type: "rdf:Property".freeze
354
- property :title,
355
- label: "title".freeze,
356
- type: "rdf:Property".freeze
357
- property :totalTime,
358
- domain: "vmd:Recipe".freeze,
359
- label: "totalTime".freeze,
360
- type: "rdf:Property".freeze
361
- property :unsaturatedFat,
362
- domain: "vmd:Nutrition".freeze,
363
- label: "unsaturatedFat".freeze,
364
- type: "rdf:Property".freeze
365
- property :url,
366
- label: "url".freeze,
367
- type: "rdf:Property".freeze
368
- property :value,
369
- comment: %(The value of a single Rating.).freeze,
370
- domain: "vmd:Rating".freeze,
371
- label: "value".freeze,
372
- type: "rdf:Property".freeze
373
- property :worst,
374
- comment: %(The poorest value of a rating scale \(default 1\).).freeze,
375
- domain: "vmd:Rating".freeze,
376
- label: "worst".freeze,
377
- type: "rdf:Property".freeze
378
- property :yield,
379
- domain: "vmd:Recipe".freeze,
380
- label: "yield".freeze,
381
- type: "rdf:Property".freeze
382
- end
383
- end
@@ -1,186 +0,0 @@
1
- # -*- encoding: utf-8 -*-
2
- # This file generated automatically using vocab-fetch from http://vocab.deri.ie/void.rdf
3
- require 'rdf'
4
- module RDF
5
- # @deprecated Please use `RDF::Vocab::VOID` from the rdf-vocab gem instead
6
- class VOID < RDF::StrictVocabulary("http://rdfs.org/ns/void#")
7
-
8
- # Class definitions
9
- term :Dataset,
10
- comment: %(A set of RDF triples that are published, maintained or aggregated by a single provider.).freeze,
11
- label: "dataset".freeze,
12
- type: ["rdfs:Class".freeze, "owl:Class".freeze]
13
- term :DatasetDescription,
14
- comment: %(A web resource whose foaf:primaryTopic or foaf:topics include void:Datasets.).freeze,
15
- label: "dataset description".freeze,
16
- subClassOf: "foaf:Document".freeze,
17
- type: ["rdfs:Class".freeze, "owl:Class".freeze]
18
- term :Linkset,
19
- comment: %(A collection of RDF links between two void:Datasets.).freeze,
20
- label: "linkset".freeze,
21
- subClassOf: "void:Dataset".freeze,
22
- type: ["rdfs:Class".freeze, "owl:Class".freeze]
23
- term :TechnicalFeature,
24
- comment: %(A technical feature of a void:Dataset, such as a supported RDF serialization format.).freeze,
25
- label: "technical feature".freeze,
26
- type: ["rdfs:Class".freeze, "owl:Class".freeze]
27
-
28
- # Property definitions
29
- property :class,
30
- comment: %(The rdfs:Class that is the rdf:type of all entities in a class-based partition.).freeze,
31
- domain: "void:Dataset".freeze,
32
- label: "class".freeze,
33
- range: "rdfs:Class".freeze,
34
- type: ["rdf:Property".freeze, "owl:FunctionalProperty".freeze]
35
- property :classPartition,
36
- comment: %(A subset of a void:Dataset that contains only the entities of a certain rdfs:Class.).freeze,
37
- domain: "void:Dataset".freeze,
38
- label: "class partition".freeze,
39
- range: "void:Dataset".freeze,
40
- subPropertyOf: "void:subset".freeze,
41
- type: "rdf:Property".freeze
42
- property :classes,
43
- comment: %(The total number of distinct classes in a void:Dataset. In other words, the number of distinct resources occuring as objects of rdf:type triples in the dataset.).freeze,
44
- domain: "void:Dataset".freeze,
45
- label: "classes".freeze,
46
- range: "xsd:integer".freeze,
47
- type: ["rdf:Property".freeze, "owl:DatatypeProperty".freeze]
48
- property :dataDump,
49
- comment: %(An RDF dump, partial or complete, of a void:Dataset.).freeze,
50
- domain: "void:Dataset".freeze,
51
- label: "Data Dump".freeze,
52
- range: "rdfs:Resource".freeze,
53
- type: "rdf:Property".freeze
54
- property :distinctObjects,
55
- comment: %(The total number of distinct objects in a void:Dataset. In other words, the number of distinct resources that occur in the object position of triples in the dataset. Literals are included in this count.).freeze,
56
- domain: "void:Dataset".freeze,
57
- label: "distinct objects".freeze,
58
- range: "xsd:integer".freeze,
59
- type: ["rdf:Property".freeze, "owl:DatatypeProperty".freeze]
60
- property :distinctSubjects,
61
- comment: %(The total number of distinct subjects in a void:Dataset. In other words, the number of distinct resources that occur in the subject position of triples in the dataset.).freeze,
62
- domain: "void:Dataset".freeze,
63
- label: "distinct subjects".freeze,
64
- range: "xsd:integer".freeze,
65
- type: ["rdf:Property".freeze, "owl:DatatypeProperty".freeze]
66
- property :documents,
67
- comment: %(The total number of documents, for datasets that are published as a set of individual documents, such as RDF/XML documents or RDFa-annotated web pages. Non-RDF documents, such as web pages in HTML or images, are usually not included in this count. This property is intended for datasets where the total number of triples or entities is hard to determine. void:triples or void:entities should be preferred where practical.).freeze,
68
- domain: "void:Dataset".freeze,
69
- label: "number of documents".freeze,
70
- range: "xsd:integer".freeze,
71
- type: ["rdf:Property".freeze, "owl:DatatypeProperty".freeze]
72
- property :entities,
73
- comment: %(The total number of entities that are described in a void:Dataset.).freeze,
74
- domain: "void:Dataset".freeze,
75
- label: "number of entities".freeze,
76
- range: "xsd:integer".freeze,
77
- type: ["rdf:Property".freeze, "owl:DatatypeProperty".freeze]
78
- property :exampleResource,
79
- domain: "void:Dataset".freeze,
80
- label: "example resource of dataset".freeze,
81
- range: "rdfs:Resource".freeze,
82
- type: "rdf:Property".freeze
83
- property :feature,
84
- domain: "void:Dataset".freeze,
85
- label: "feature".freeze,
86
- range: "void:TechnicalFeature".freeze,
87
- type: "rdf:Property".freeze
88
- property :inDataset,
89
- comment: %(Points to the void:Dataset that a document is a part of.).freeze,
90
- domain: "foaf:Document".freeze,
91
- label: "in dataset".freeze,
92
- range: "void:Dataset".freeze,
93
- type: "rdf:Property".freeze
94
- property :linkPredicate,
95
- domain: "void:Linkset".freeze,
96
- label: "a link predicate".freeze,
97
- range: "rdf:Property".freeze,
98
- type: "rdf:Property".freeze
99
- property :objectsTarget,
100
- comment: %(The dataset describing the objects of the triples contained in the Linkset.).freeze,
101
- domain: "void:Linkset".freeze,
102
- label: "Objects Target".freeze,
103
- range: "void:Dataset".freeze,
104
- subPropertyOf: "void:target".freeze,
105
- type: ["rdf:Property".freeze, "owl:FunctionalProperty".freeze]
106
- property :openSearchDescription,
107
- comment: %(An OpenSearch description document for a free-text search service over a void:Dataset.).freeze,
108
- domain: "void:Dataset".freeze,
109
- label: "open search description".freeze,
110
- range: "foaf:Document".freeze,
111
- type: "rdf:Property".freeze
112
- property :properties,
113
- comment: %(The total number of distinct properties in a void:Dataset. In other words, the number of distinct resources that occur in the predicate position of triples in the dataset.).freeze,
114
- domain: "void:Dataset".freeze,
115
- label: "number of properties".freeze,
116
- range: "xsd:integer".freeze,
117
- type: ["rdf:Property".freeze, "owl:DatatypeProperty".freeze]
118
- property :property,
119
- comment: %(The rdf:Property that is the predicate of all triples in a property-based partition.).freeze,
120
- domain: "void:Dataset".freeze,
121
- label: "property".freeze,
122
- range: "rdf:Property".freeze,
123
- type: ["rdf:Property".freeze, "owl:FunctionalProperty".freeze]
124
- property :propertyPartition,
125
- comment: %(A subset of a void:Dataset that contains only the triples of a certain rdf:Property.).freeze,
126
- domain: "void:Dataset".freeze,
127
- label: "property partition".freeze,
128
- range: "void:Dataset".freeze,
129
- subPropertyOf: "void:subset".freeze,
130
- type: "rdf:Property".freeze
131
- property :rootResource,
132
- comment: %(A top concept or entry point for a void:Dataset that is structured in a tree-like fashion. All resources in a dataset can be reached by following links from its root resources in a small number of steps.).freeze,
133
- domain: "void:Dataset".freeze,
134
- label: "root resource".freeze,
135
- type: "rdf:Property".freeze
136
- property :sparqlEndpoint,
137
- domain: "void:Dataset".freeze,
138
- label: "has a SPARQL endpoint at".freeze,
139
- type: "rdf:Property".freeze
140
- property :subjectsTarget,
141
- comment: %(The dataset describing the subjects of triples contained in the Linkset.).freeze,
142
- domain: "void:Linkset".freeze,
143
- label: "Subjects Target".freeze,
144
- range: "void:Dataset".freeze,
145
- subPropertyOf: "void:target".freeze,
146
- type: ["rdf:Property".freeze, "owl:FunctionalProperty".freeze]
147
- property :subset,
148
- domain: "void:Dataset".freeze,
149
- label: "has subset".freeze,
150
- range: "void:Dataset".freeze,
151
- type: "rdf:Property".freeze
152
- property :target,
153
- comment: %(One of the two datasets linked by the Linkset.).freeze,
154
- domain: "void:Linkset".freeze,
155
- label: "Target".freeze,
156
- range: "void:Dataset".freeze,
157
- type: "rdf:Property".freeze
158
- property :triples,
159
- comment: %(The total number of triples contained in a void:Dataset.).freeze,
160
- domain: "void:Dataset".freeze,
161
- label: "number of triples".freeze,
162
- range: "xsd:integer".freeze,
163
- type: ["rdf:Property".freeze, "owl:DatatypeProperty".freeze]
164
- property :uriLookupEndpoint,
165
- comment: %(Defines a simple URI look-up protocol for accessing a dataset.).freeze,
166
- domain: "void:Dataset".freeze,
167
- label: "has an URI look-up endpoint at".freeze,
168
- type: "rdf:Property".freeze
169
- property :uriRegexPattern,
170
- comment: %(Defines a regular expression pattern matching URIs in the dataset.).freeze,
171
- domain: "void:Dataset".freeze,
172
- label: "has URI regular expression pattern".freeze,
173
- type: "rdf:Property".freeze
174
- property :uriSpace,
175
- comment: %(A URI that is a common string prefix of all the entity URIs in a void:Dataset.).freeze,
176
- domain: "void:Dataset".freeze,
177
- label: "URI space".freeze,
178
- range: "rdfs:Literal".freeze,
179
- type: ["rdf:Property".freeze, "owl:DatatypeProperty".freeze]
180
- property :vocabulary,
181
- comment: %(A vocabulary that is used in the dataset.).freeze,
182
- domain: "void:Dataset".freeze,
183
- label: "vocabulary".freeze,
184
- type: "rdf:Property".freeze
185
- end
186
- end