rdf-n3 3.1.1 → 3.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (124) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +148 -69
  3. data/UNLICENSE +1 -1
  4. data/VERSION +1 -1
  5. data/lib/rdf/n3.rb +8 -8
  6. data/lib/rdf/n3/algebra.rb +147 -68
  7. data/lib/rdf/n3/algebra/builtin.rb +79 -0
  8. data/lib/rdf/n3/algebra/formula.rb +355 -94
  9. data/lib/rdf/n3/algebra/list/append.rb +33 -4
  10. data/lib/rdf/n3/algebra/list/first.rb +24 -0
  11. data/lib/rdf/n3/algebra/list/in.rb +42 -3
  12. data/lib/rdf/n3/algebra/list/last.rb +17 -4
  13. data/lib/rdf/n3/algebra/list/length.rb +24 -0
  14. data/lib/rdf/n3/algebra/list/member.rb +39 -2
  15. data/lib/rdf/n3/algebra/list_operator.rb +83 -0
  16. data/lib/rdf/n3/algebra/log/conclusion.rb +57 -1
  17. data/lib/rdf/n3/algebra/log/conjunction.rb +28 -1
  18. data/lib/rdf/n3/algebra/log/content.rb +34 -0
  19. data/lib/rdf/n3/algebra/log/equal_to.rb +34 -0
  20. data/lib/rdf/n3/algebra/log/implies.rb +55 -30
  21. data/lib/rdf/n3/algebra/log/includes.rb +58 -1
  22. data/lib/rdf/n3/algebra/log/n3_string.rb +34 -0
  23. data/lib/rdf/n3/algebra/log/not_equal_to.rb +23 -0
  24. data/lib/rdf/n3/algebra/log/not_includes.rb +27 -0
  25. data/lib/rdf/n3/algebra/log/output_string.rb +40 -0
  26. data/lib/rdf/n3/algebra/log/parsed_as_n3.rb +36 -0
  27. data/lib/rdf/n3/algebra/log/semantics.rb +40 -0
  28. data/lib/rdf/n3/algebra/math/absolute_value.rb +36 -0
  29. data/lib/rdf/n3/algebra/math/acos.rb +26 -0
  30. data/lib/rdf/n3/algebra/math/acosh.rb +26 -0
  31. data/lib/rdf/n3/algebra/math/asin.rb +26 -0
  32. data/lib/rdf/n3/algebra/math/asinh.rb +26 -0
  33. data/lib/rdf/n3/algebra/math/atan.rb +26 -0
  34. data/lib/rdf/n3/algebra/math/atanh.rb +26 -0
  35. data/lib/rdf/n3/algebra/math/ceiling.rb +28 -0
  36. data/lib/rdf/n3/algebra/math/cos.rb +40 -0
  37. data/lib/rdf/n3/algebra/math/cosh.rb +38 -0
  38. data/lib/rdf/n3/algebra/math/difference.rb +34 -3
  39. data/lib/rdf/n3/algebra/math/equal_to.rb +54 -0
  40. data/lib/rdf/n3/algebra/math/exponentiation.rb +29 -3
  41. data/lib/rdf/n3/algebra/math/floor.rb +28 -0
  42. data/lib/rdf/n3/algebra/math/greater_than.rb +41 -0
  43. data/lib/rdf/n3/algebra/math/less_than.rb +41 -0
  44. data/lib/rdf/n3/algebra/math/negation.rb +31 -2
  45. data/lib/rdf/n3/algebra/math/not_equal_to.rb +25 -0
  46. data/lib/rdf/n3/algebra/math/not_greater_than.rb +25 -0
  47. data/lib/rdf/n3/algebra/math/not_less_than.rb +25 -0
  48. data/lib/rdf/n3/algebra/math/product.rb +14 -3
  49. data/lib/rdf/n3/algebra/math/quotient.rb +30 -3
  50. data/lib/rdf/n3/algebra/math/remainder.rb +29 -3
  51. data/lib/rdf/n3/algebra/math/rounded.rb +20 -3
  52. data/lib/rdf/n3/algebra/math/sin.rb +40 -0
  53. data/lib/rdf/n3/algebra/math/sinh.rb +38 -0
  54. data/lib/rdf/n3/algebra/math/sum.rb +35 -4
  55. data/lib/rdf/n3/algebra/math/tan.rb +40 -0
  56. data/lib/rdf/n3/algebra/math/tanh.rb +38 -0
  57. data/lib/rdf/n3/algebra/not_implemented.rb +13 -0
  58. data/lib/rdf/n3/algebra/resource_operator.rb +123 -0
  59. data/lib/rdf/n3/algebra/str/concatenation.rb +21 -3
  60. data/lib/rdf/n3/algebra/str/contains.rb +28 -4
  61. data/lib/rdf/n3/algebra/str/contains_ignoring_case.rb +33 -0
  62. data/lib/rdf/n3/algebra/str/ends_with.rb +33 -0
  63. data/lib/rdf/n3/algebra/str/equal_ignoring_case.rb +34 -0
  64. data/lib/rdf/n3/algebra/str/format.rb +12 -4
  65. data/lib/rdf/n3/algebra/str/greater_than.rb +38 -0
  66. data/lib/rdf/n3/algebra/str/less_than.rb +33 -0
  67. data/lib/rdf/n3/algebra/str/matches.rb +33 -5
  68. data/lib/rdf/n3/algebra/str/not_equal_ignoring_case.rb +17 -0
  69. data/lib/rdf/n3/algebra/str/not_greater_than.rb +17 -0
  70. data/lib/rdf/n3/algebra/str/not_less_than.rb +17 -0
  71. data/lib/rdf/n3/algebra/str/not_matches.rb +18 -0
  72. data/lib/rdf/n3/algebra/str/replace.rb +28 -5
  73. data/lib/rdf/n3/algebra/str/scrape.rb +31 -5
  74. data/lib/rdf/n3/algebra/str/starts_with.rb +33 -0
  75. data/lib/rdf/n3/algebra/time/day.rb +35 -0
  76. data/lib/rdf/n3/algebra/time/day_of_week.rb +27 -0
  77. data/lib/rdf/n3/algebra/time/gm_time.rb +29 -0
  78. data/lib/rdf/n3/algebra/time/hour.rb +35 -0
  79. data/lib/rdf/n3/algebra/time/in_seconds.rb +59 -0
  80. data/lib/rdf/n3/algebra/time/local_time.rb +29 -0
  81. data/lib/rdf/n3/algebra/time/minute.rb +35 -0
  82. data/lib/rdf/n3/algebra/time/month.rb +35 -0
  83. data/lib/rdf/n3/algebra/time/second.rb +35 -0
  84. data/lib/rdf/n3/algebra/time/timezone.rb +36 -0
  85. data/lib/rdf/n3/algebra/time/year.rb +29 -0
  86. data/lib/rdf/n3/extensions.rb +180 -21
  87. data/lib/rdf/n3/format.rb +65 -0
  88. data/lib/rdf/n3/list.rb +630 -0
  89. data/lib/rdf/n3/reader.rb +762 -485
  90. data/lib/rdf/n3/reasoner.rb +57 -68
  91. data/lib/rdf/n3/refinements.rb +178 -0
  92. data/lib/rdf/n3/repository.rb +332 -0
  93. data/lib/rdf/n3/terminals.rb +80 -0
  94. data/lib/rdf/n3/vocab.rb +35 -7
  95. data/lib/rdf/n3/writer.rb +208 -148
  96. metadata +110 -52
  97. data/AUTHORS +0 -1
  98. data/History.markdown +0 -99
  99. data/lib/rdf/n3/algebra/log/equalTo.rb +0 -7
  100. data/lib/rdf/n3/algebra/log/notEqualTo.rb +0 -7
  101. data/lib/rdf/n3/algebra/log/notIncludes.rb +0 -12
  102. data/lib/rdf/n3/algebra/log/outputString.rb +0 -7
  103. data/lib/rdf/n3/algebra/math/absoluteValue.rb +0 -9
  104. data/lib/rdf/n3/algebra/math/equalTo.rb +0 -9
  105. data/lib/rdf/n3/algebra/math/greaterThan.rb +0 -9
  106. data/lib/rdf/n3/algebra/math/integerQuotient.rb +0 -9
  107. data/lib/rdf/n3/algebra/math/lessThan.rb +0 -9
  108. data/lib/rdf/n3/algebra/math/memberCount.rb +0 -9
  109. data/lib/rdf/n3/algebra/math/notEqualTo.rb +0 -9
  110. data/lib/rdf/n3/algebra/math/notGreaterThan.rb +0 -9
  111. data/lib/rdf/n3/algebra/math/notLessThan.rb +0 -9
  112. data/lib/rdf/n3/algebra/str/containsIgnoringCase.rb +0 -9
  113. data/lib/rdf/n3/algebra/str/endsWith.rb +0 -9
  114. data/lib/rdf/n3/algebra/str/equalIgnoringCase.rb +0 -9
  115. data/lib/rdf/n3/algebra/str/greaterThan.rb +0 -9
  116. data/lib/rdf/n3/algebra/str/lessThan.rb +0 -9
  117. data/lib/rdf/n3/algebra/str/notEqualIgnoringCase.rb +0 -9
  118. data/lib/rdf/n3/algebra/str/notGreaterThan.rb +0 -9
  119. data/lib/rdf/n3/algebra/str/notLessThan.rb +0 -9
  120. data/lib/rdf/n3/algebra/str/notMatches.rb +0 -9
  121. data/lib/rdf/n3/algebra/str/startsWith.rb +0 -56
  122. data/lib/rdf/n3/patches/array_hacks.rb +0 -53
  123. data/lib/rdf/n3/reader/meta.rb +0 -641
  124. data/lib/rdf/n3/reader/parser.rb +0 -239
metadata CHANGED
@@ -1,16 +1,30 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rdf-n3
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.1
4
+ version: 3.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gregg
8
8
  - Kellogg
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-12-13 00:00:00.000000000 Z
12
+ date: 2020-12-25 00:00:00.000000000 Z
13
13
  dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: ebnf
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - "~>"
19
+ - !ruby/object:Gem::Version
20
+ version: '2.1'
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - "~>"
26
+ - !ruby/object:Gem::Version
27
+ version: '2.1'
14
28
  - !ruby/object:Gem::Dependency
15
29
  name: rdf
16
30
  requirement: !ruby/object:Gem::Requirement
@@ -18,6 +32,9 @@ dependencies:
18
32
  - - "~>"
19
33
  - !ruby/object:Gem::Version
20
34
  version: '3.1'
35
+ - - ">="
36
+ - !ruby/object:Gem::Version
37
+ version: 3.1.8
21
38
  type: :runtime
22
39
  prerelease: false
23
40
  version_requirements: !ruby/object:Gem::Requirement
@@ -25,6 +42,9 @@ dependencies:
25
42
  - - "~>"
26
43
  - !ruby/object:Gem::Version
27
44
  version: '3.1'
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: 3.1.8
28
48
  - !ruby/object:Gem::Dependency
29
49
  name: sparql
30
50
  requirement: !ruby/object:Gem::Requirement
@@ -32,6 +52,9 @@ dependencies:
32
52
  - - "~>"
33
53
  - !ruby/object:Gem::Version
34
54
  version: '3.1'
55
+ - - ">="
56
+ - !ruby/object:Gem::Version
57
+ version: 3.1.4
35
58
  type: :runtime
36
59
  prerelease: false
37
60
  version_requirements: !ruby/object:Gem::Requirement
@@ -39,6 +62,9 @@ dependencies:
39
62
  - - "~>"
40
63
  - !ruby/object:Gem::Version
41
64
  version: '3.1'
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ version: 3.1.4
42
68
  - !ruby/object:Gem::Dependency
43
69
  name: sxp
44
70
  requirement: !ruby/object:Gem::Requirement
@@ -68,35 +94,35 @@ dependencies:
68
94
  - !ruby/object:Gem::Version
69
95
  version: '3.1'
70
96
  - !ruby/object:Gem::Dependency
71
- name: rspec
97
+ name: rdf-spec
72
98
  requirement: !ruby/object:Gem::Requirement
73
99
  requirements:
74
100
  - - "~>"
75
101
  - !ruby/object:Gem::Version
76
- version: '3.9'
102
+ version: '3.1'
77
103
  type: :development
78
104
  prerelease: false
79
105
  version_requirements: !ruby/object:Gem::Requirement
80
106
  requirements:
81
107
  - - "~>"
82
108
  - !ruby/object:Gem::Version
83
- version: '3.9'
109
+ version: '3.1'
84
110
  - !ruby/object:Gem::Dependency
85
- name: rspec-its
111
+ name: rdf-isomorphic
86
112
  requirement: !ruby/object:Gem::Requirement
87
113
  requirements:
88
114
  - - "~>"
89
115
  - !ruby/object:Gem::Version
90
- version: '1.3'
116
+ version: '3.1'
91
117
  type: :development
92
118
  prerelease: false
93
119
  version_requirements: !ruby/object:Gem::Requirement
94
120
  requirements:
95
121
  - - "~>"
96
122
  - !ruby/object:Gem::Version
97
- version: '1.3'
123
+ version: '3.1'
98
124
  - !ruby/object:Gem::Dependency
99
- name: rdf-spec
125
+ name: rdf-trig
100
126
  requirement: !ruby/object:Gem::Requirement
101
127
  requirements:
102
128
  - - "~>"
@@ -110,61 +136,61 @@ dependencies:
110
136
  - !ruby/object:Gem::Version
111
137
  version: '3.1'
112
138
  - !ruby/object:Gem::Dependency
113
- name: rdf-isomorphic
139
+ name: rdf-vocab
114
140
  requirement: !ruby/object:Gem::Requirement
115
141
  requirements:
116
142
  - - "~>"
117
143
  - !ruby/object:Gem::Version
118
- version: '3.0'
144
+ version: '3.1'
119
145
  type: :development
120
146
  prerelease: false
121
147
  version_requirements: !ruby/object:Gem::Requirement
122
148
  requirements:
123
149
  - - "~>"
124
150
  - !ruby/object:Gem::Version
125
- version: '3.0'
151
+ version: '3.1'
126
152
  - !ruby/object:Gem::Dependency
127
- name: rdf-trig
153
+ name: rspec
128
154
  requirement: !ruby/object:Gem::Requirement
129
155
  requirements:
130
156
  - - "~>"
131
157
  - !ruby/object:Gem::Version
132
- version: '3.1'
158
+ version: '3.10'
133
159
  type: :development
134
160
  prerelease: false
135
161
  version_requirements: !ruby/object:Gem::Requirement
136
162
  requirements:
137
163
  - - "~>"
138
164
  - !ruby/object:Gem::Version
139
- version: '3.1'
165
+ version: '3.10'
140
166
  - !ruby/object:Gem::Dependency
141
- name: rdf-vocab
167
+ name: rspec-its
142
168
  requirement: !ruby/object:Gem::Requirement
143
169
  requirements:
144
170
  - - "~>"
145
171
  - !ruby/object:Gem::Version
146
- version: '3.1'
172
+ version: '1.3'
147
173
  type: :development
148
174
  prerelease: false
149
175
  version_requirements: !ruby/object:Gem::Requirement
150
176
  requirements:
151
177
  - - "~>"
152
178
  - !ruby/object:Gem::Version
153
- version: '3.1'
179
+ version: '1.3'
154
180
  - !ruby/object:Gem::Dependency
155
181
  name: yard
156
182
  requirement: !ruby/object:Gem::Requirement
157
183
  requirements:
158
184
  - - "~>"
159
185
  - !ruby/object:Gem::Version
160
- version: 0.9.20
186
+ version: '0.9'
161
187
  type: :development
162
188
  prerelease: false
163
189
  version_requirements: !ruby/object:Gem::Requirement
164
190
  requirements:
165
191
  - - "~>"
166
192
  - !ruby/object:Gem::Version
167
- version: 0.9.20
193
+ version: '0.9'
168
194
  description: RDF::N3 is an Notation-3 reader/writer and reasoner for the RDF.rb library
169
195
  suite.
170
196
  email: public-rdf-ruby@w3.org
@@ -172,66 +198,98 @@ executables: []
172
198
  extensions: []
173
199
  extra_rdoc_files: []
174
200
  files:
175
- - AUTHORS
176
- - History.markdown
177
201
  - README.md
178
202
  - UNLICENSE
179
203
  - VERSION
180
204
  - lib/rdf/n3.rb
181
205
  - lib/rdf/n3/algebra.rb
206
+ - lib/rdf/n3/algebra/builtin.rb
182
207
  - lib/rdf/n3/algebra/formula.rb
183
208
  - lib/rdf/n3/algebra/list/append.rb
209
+ - lib/rdf/n3/algebra/list/first.rb
184
210
  - lib/rdf/n3/algebra/list/in.rb
185
211
  - lib/rdf/n3/algebra/list/last.rb
212
+ - lib/rdf/n3/algebra/list/length.rb
186
213
  - lib/rdf/n3/algebra/list/member.rb
214
+ - lib/rdf/n3/algebra/list_operator.rb
187
215
  - lib/rdf/n3/algebra/log/conclusion.rb
188
216
  - lib/rdf/n3/algebra/log/conjunction.rb
189
- - lib/rdf/n3/algebra/log/equalTo.rb
217
+ - lib/rdf/n3/algebra/log/content.rb
218
+ - lib/rdf/n3/algebra/log/equal_to.rb
190
219
  - lib/rdf/n3/algebra/log/implies.rb
191
220
  - lib/rdf/n3/algebra/log/includes.rb
192
- - lib/rdf/n3/algebra/log/notEqualTo.rb
193
- - lib/rdf/n3/algebra/log/notIncludes.rb
194
- - lib/rdf/n3/algebra/log/outputString.rb
195
- - lib/rdf/n3/algebra/math/absoluteValue.rb
221
+ - lib/rdf/n3/algebra/log/n3_string.rb
222
+ - lib/rdf/n3/algebra/log/not_equal_to.rb
223
+ - lib/rdf/n3/algebra/log/not_includes.rb
224
+ - lib/rdf/n3/algebra/log/output_string.rb
225
+ - lib/rdf/n3/algebra/log/parsed_as_n3.rb
226
+ - lib/rdf/n3/algebra/log/semantics.rb
227
+ - lib/rdf/n3/algebra/math/absolute_value.rb
228
+ - lib/rdf/n3/algebra/math/acos.rb
229
+ - lib/rdf/n3/algebra/math/acosh.rb
230
+ - lib/rdf/n3/algebra/math/asin.rb
231
+ - lib/rdf/n3/algebra/math/asinh.rb
232
+ - lib/rdf/n3/algebra/math/atan.rb
233
+ - lib/rdf/n3/algebra/math/atanh.rb
234
+ - lib/rdf/n3/algebra/math/ceiling.rb
235
+ - lib/rdf/n3/algebra/math/cos.rb
236
+ - lib/rdf/n3/algebra/math/cosh.rb
196
237
  - lib/rdf/n3/algebra/math/difference.rb
197
- - lib/rdf/n3/algebra/math/equalTo.rb
238
+ - lib/rdf/n3/algebra/math/equal_to.rb
198
239
  - lib/rdf/n3/algebra/math/exponentiation.rb
199
- - lib/rdf/n3/algebra/math/greaterThan.rb
200
- - lib/rdf/n3/algebra/math/integerQuotient.rb
201
- - lib/rdf/n3/algebra/math/lessThan.rb
202
- - lib/rdf/n3/algebra/math/memberCount.rb
240
+ - lib/rdf/n3/algebra/math/floor.rb
241
+ - lib/rdf/n3/algebra/math/greater_than.rb
242
+ - lib/rdf/n3/algebra/math/less_than.rb
203
243
  - lib/rdf/n3/algebra/math/negation.rb
204
- - lib/rdf/n3/algebra/math/notEqualTo.rb
205
- - lib/rdf/n3/algebra/math/notGreaterThan.rb
206
- - lib/rdf/n3/algebra/math/notLessThan.rb
244
+ - lib/rdf/n3/algebra/math/not_equal_to.rb
245
+ - lib/rdf/n3/algebra/math/not_greater_than.rb
246
+ - lib/rdf/n3/algebra/math/not_less_than.rb
207
247
  - lib/rdf/n3/algebra/math/product.rb
208
248
  - lib/rdf/n3/algebra/math/quotient.rb
209
249
  - lib/rdf/n3/algebra/math/remainder.rb
210
250
  - lib/rdf/n3/algebra/math/rounded.rb
251
+ - lib/rdf/n3/algebra/math/sin.rb
252
+ - lib/rdf/n3/algebra/math/sinh.rb
211
253
  - lib/rdf/n3/algebra/math/sum.rb
254
+ - lib/rdf/n3/algebra/math/tan.rb
255
+ - lib/rdf/n3/algebra/math/tanh.rb
256
+ - lib/rdf/n3/algebra/not_implemented.rb
257
+ - lib/rdf/n3/algebra/resource_operator.rb
212
258
  - lib/rdf/n3/algebra/str/concatenation.rb
213
259
  - lib/rdf/n3/algebra/str/contains.rb
214
- - lib/rdf/n3/algebra/str/containsIgnoringCase.rb
215
- - lib/rdf/n3/algebra/str/endsWith.rb
216
- - lib/rdf/n3/algebra/str/equalIgnoringCase.rb
260
+ - lib/rdf/n3/algebra/str/contains_ignoring_case.rb
261
+ - lib/rdf/n3/algebra/str/ends_with.rb
262
+ - lib/rdf/n3/algebra/str/equal_ignoring_case.rb
217
263
  - lib/rdf/n3/algebra/str/format.rb
218
- - lib/rdf/n3/algebra/str/greaterThan.rb
219
- - lib/rdf/n3/algebra/str/lessThan.rb
264
+ - lib/rdf/n3/algebra/str/greater_than.rb
265
+ - lib/rdf/n3/algebra/str/less_than.rb
220
266
  - lib/rdf/n3/algebra/str/matches.rb
221
- - lib/rdf/n3/algebra/str/notEqualIgnoringCase.rb
222
- - lib/rdf/n3/algebra/str/notGreaterThan.rb
223
- - lib/rdf/n3/algebra/str/notLessThan.rb
224
- - lib/rdf/n3/algebra/str/notMatches.rb
267
+ - lib/rdf/n3/algebra/str/not_equal_ignoring_case.rb
268
+ - lib/rdf/n3/algebra/str/not_greater_than.rb
269
+ - lib/rdf/n3/algebra/str/not_less_than.rb
270
+ - lib/rdf/n3/algebra/str/not_matches.rb
225
271
  - lib/rdf/n3/algebra/str/replace.rb
226
272
  - lib/rdf/n3/algebra/str/scrape.rb
227
- - lib/rdf/n3/algebra/str/startsWith.rb
273
+ - lib/rdf/n3/algebra/str/starts_with.rb
274
+ - lib/rdf/n3/algebra/time/day.rb
275
+ - lib/rdf/n3/algebra/time/day_of_week.rb
276
+ - lib/rdf/n3/algebra/time/gm_time.rb
277
+ - lib/rdf/n3/algebra/time/hour.rb
278
+ - lib/rdf/n3/algebra/time/in_seconds.rb
279
+ - lib/rdf/n3/algebra/time/local_time.rb
280
+ - lib/rdf/n3/algebra/time/minute.rb
281
+ - lib/rdf/n3/algebra/time/month.rb
282
+ - lib/rdf/n3/algebra/time/second.rb
283
+ - lib/rdf/n3/algebra/time/timezone.rb
284
+ - lib/rdf/n3/algebra/time/year.rb
228
285
  - lib/rdf/n3/extensions.rb
229
286
  - lib/rdf/n3/format.rb
230
- - lib/rdf/n3/patches/array_hacks.rb
287
+ - lib/rdf/n3/list.rb
231
288
  - lib/rdf/n3/reader.rb
232
- - lib/rdf/n3/reader/meta.rb
233
- - lib/rdf/n3/reader/parser.rb
234
289
  - lib/rdf/n3/reasoner.rb
290
+ - lib/rdf/n3/refinements.rb
291
+ - lib/rdf/n3/repository.rb
292
+ - lib/rdf/n3/terminals.rb
235
293
  - lib/rdf/n3/version.rb
236
294
  - lib/rdf/n3/vocab.rb
237
295
  - lib/rdf/n3/writer.rb
@@ -239,7 +297,7 @@ homepage: https://ruby-rdf.github.com/rdf-n3
239
297
  licenses:
240
298
  - Unlicense
241
299
  metadata: {}
242
- post_install_message:
300
+ post_install_message:
243
301
  rdoc_options: []
244
302
  require_paths:
245
303
  - lib
@@ -254,8 +312,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
254
312
  - !ruby/object:Gem::Version
255
313
  version: '0'
256
314
  requirements: []
257
- rubygems_version: 3.0.6
258
- signing_key:
315
+ rubygems_version: 3.1.4
316
+ signing_key:
259
317
  specification_version: 4
260
318
  summary: Notation3 reader/writer and reasoner for RDF.rb.
261
319
  test_files: []
data/AUTHORS DELETED
@@ -1 +0,0 @@
1
- * Gregg Kellogg <gregg@greggkellogg.net>
@@ -1,99 +0,0 @@
1
- ## 0.3.6
2
- * Update for RDF.rb 0.3.4
3
- * Added format detection.
4
-
5
- ## 0.3.5
6
- * Use RDF::List for reading and writing lists.
7
- * Performance improvements.
8
- * Writer whitespace and property ordering improvements.
9
- * Remove explicit Turtle support in Reader.
10
-
11
- ## 0.3.4.1
12
- * In Reader, if no base\_uri is used, make sure that @prefix : <#> is generated, not @prefix : <>.
13
- * In Writer, fix bug when trying to use `:standard\_prefixes` option.
14
-
15
- ## 0.3.4
16
- * Reader accepts 1.0E1 in addition to 1.0e1 (case-insensitive match on exponent).
17
- * Writer was not outputting xsd prefix if it was only used in a literal datatype.
18
- * Use bare representations of xsd:integer, xsd:boolean, xsd:double, and xsd:decimal.
19
- * Implement literal canonicalization (on option) in writer.
20
-
21
- ## 0.3.3.1
22
- * Fixed bug in writer when given a base URI.
23
-
24
- ## 0.3.3
25
- * Update dependencies to RDF.rb 0.3.3
26
- * Update specs to use open-uri-cached and Spira; no longer directly include W3C test cases.
27
- * Use Bundler when running specs.
28
- * Only output prefix definitions used in serialization.
29
- * Fixed stack overflow in regular expression when matching long multi-line literals.
30
- * Fixed bug (issue 14) where illegal QNames were generated in writer.
31
-
32
- ## 0.3.2
33
- * Skipped
34
-
35
- ## 0.3.1.3
36
- * Normalize language tags to lower case (only when canonicalizing). SPARQL specs expect the reader
37
- to not screw with the language case for equivalence tests.
38
-
39
- ## 0.3.1.2
40
- * Normalize language tags to lower case.
41
-
42
- ## 0.3.1.1
43
- * Assert formats for :ttl, :turtle, and :notation3 in addition to :n3
44
-
45
- ## 0.3.1
46
- * Add application/turtle, application/x-turtle, text/rdf+n3 and application/rdf+n3 as mime types
47
- matching this format, even though only text/turtle and text/n3 are valid.
48
-
49
- ## 0.3.0
50
- * New Predictive-Parser based N3 Reader, substantially faster than previous Treetop-based parser
51
- * RDF.rb 0.3.0 compatibility updates
52
- * Remove literal_normalization and qname_hacks, add back uri_hacks (until 0.3.0)
53
- * Use nil for default namespace
54
- * In Writer
55
- * Use only :prefixes for creating QNames.
56
- * Add :standard_prefixes and :default_namespace options.
57
- * Use """ for multi-line quotes, or anything including escaped characters
58
- * In Reader
59
- * URI canonicalization and validation.
60
- * Added :canonicalize, and :intern options.
61
- * Added #prefixes method returning a hash of prefix definitions.
62
- * Change :strict option to :validate.
63
- * Add check to ensure that predicates are not literals, it's not legal in any RDF variant.
64
- * RSpec 2 compatibility
65
-
66
- ## 0.2.3
67
- * In Writer, set @base_uri not @base, as :base_uri is an attribute.
68
- * Relativize URLs without matching as regexp.
69
- * Allow mixed case literal languages.
70
- * Improve N3 Unicode support for Ruby 1.9
71
- * Improve Turtle/N3 Writer to use unescaped and qname'd values
72
-
73
- ## 0.2.2
74
- * Ruby 1.9.2 compatibility
75
- * Added script/tc to run test cases
76
- * Fixed RDF.to_s != RDF.to_uri.to_s in writer, it worke for every other vocabulary
77
- * Handle XMLLiteral when value is a Nokogiri node set.
78
- * Simplify process_uri by not having a special case for ^# type URIs.
79
- * Unescape values when creating URIs.
80
- * URI normalization isn't required for N3, so removed.
81
- * Added Reader#rewind and #close as stubs because document is parsed on initialize and input is closed.
82
-
83
- ## 0.2.1
84
- * Compatible with RDF.rb 0.2.1
85
-
86
- ## 0.0.3
87
- * Replace require against rdf/rdfxml/patches/* with rdf/n3/patches/*
88
-
89
- ## 0.0.2
90
- * N3 parsing and Turtle serialization substantially complete.
91
- * A little more work needed on some tests and some lingering issues in RDF.rb to be resolved.
92
- * Added script/console and script/parse
93
- * Updates to reader to bring it in line with other readers. Implement uri() and ns() as helper functions for constructing URIs.
94
- * Literal_normalization to override RDF::Literal.initialize and create Literal#valid?
95
- * rdf_escape Literals when serializing via to_s
96
- * Remove trailing "#" from URIs when normalizing.
97
-
98
- ## 0.0.1
99
- * First port from RdfContext version 0.5.4
@@ -1,7 +0,0 @@
1
- module RDF::N3::Algebra::Log
2
- ##
3
- # True if the subject and object are the same RDF node (symbol or literal). Do not confuse with owl:sameAs. A cwm built-in logical operator, RDF graph level.
4
- class EqualTo < SPARQL::Algebra::Operator::Binary
5
- NAME = :logEqualTo
6
- end
7
- end
@@ -1,7 +0,0 @@
1
- module RDF::N3::Algebra::Log
2
- ##
3
- # Equality in this sense is actually the same URI. A cwm built-in logical operator.
4
- class NotEqualTo < SPARQL::Algebra::Operator::Binary
5
- NAME = :logNotEqualTo
6
- end
7
- end