rdf-vocab 3.1.14 → 3.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/VERSION +1 -1
- data/lib/rdf/vocab/as.rb +54 -10
- data/lib/rdf/vocab/bibo.rb +4 -1
- data/lib/rdf/vocab/dbo.rb +1099 -3
- data/lib/rdf/vocab/dcat.rb +34 -32
- data/lib/rdf/vocab/edm.rb +44 -5
- data/lib/rdf/vocab/extensions.rb +6 -6
- data/lib/rdf/vocab/gr.rb +256 -55
- data/lib/rdf/vocab/hydra.rb +1 -1
- data/lib/rdf/vocab/ma.rb +8 -2
- data/lib/rdf/vocab/org.rb +5 -1
- data/lib/rdf/vocab/pplan.rb +114 -16
- data/lib/rdf/vocab/premis.rb +142 -14
- data/lib/rdf/vocab/rdau.rb +272 -124
- data/lib/rdf/vocab/vcard.rb +122 -3
- data/lib/rdf/vocab/void.rb +16 -16
- data/lib/rdf/vocab.rb +5 -2
- data/spec/spec_helper.rb +11 -3
- metadata +24 -48
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5904e409121e21a99f5c745f88d01c502c39da4d216a487e038726fb27a02357
|
4
|
+
data.tar.gz: db4a41e5ebc8e1aba5ae66e690d32f51d6873da741d1a12f1af4491b73ba8e0d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5cade1f927c871f089ca4ff9fe165354699e9e944e14233330e66889bb0bb92b769ddb75555a5154d121b5507ee7ec8872947a8d71b5b8cde7e81e0a3fcecc78
|
7
|
+
data.tar.gz: b2bc9818043bbe998afed080de2cb41726a0a53e4d80a0bf7fff42d8b39f38da08804de5e4dffd719289c503eadc15fbf9a597f66acf1226fd6aae9eb4d22c5c
|
data/README.md
CHANGED
@@ -117,7 +117,7 @@ then
|
|
117
117
|
|
118
118
|
This will load all the vocabulary classes in the library.
|
119
119
|
|
120
|
-
Also adds the `gen-vocab` command to the `rdf` command-line executable to generate specifically generated output in Turtle, JSON-LD, and HTML+RDFa for either built-in or arbitrary vocabularies.
|
120
|
+
Also adds the `gen-vocab` command to the `rdf` command-line executable to generate specifically generated output in Turtle, JSON-LD, and HTML+RDFa for either built-in or arbitrary vocabularies. Other output serialization formats are also supported as generic RDF Writers and may lack the vocabulary-specific formatting of Turtle, JSON-LD, and HTML+RDFa.
|
121
121
|
|
122
122
|
## Adding new vocabularies
|
123
123
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.
|
1
|
+
3.2.0
|
data/lib/rdf/vocab/as.rb
CHANGED
@@ -183,7 +183,20 @@ module RDF::Vocab
|
|
183
183
|
comment: "A variation of Collection in which items are strictly ordered".freeze,
|
184
184
|
label: "OrderedCollection".freeze,
|
185
185
|
subClassOf: term(
|
186
|
-
intersectionOf: list("https://www.w3.org/ns/activitystreams#Collection".freeze,
|
186
|
+
intersectionOf: list("https://www.w3.org/ns/activitystreams#Collection".freeze, term(
|
187
|
+
allValuesFrom: term(
|
188
|
+
intersectionOf: list("https://www.w3.org/ns/activitystreams#OrderedItems".freeze, term(
|
189
|
+
"http://www.w3.org/2002/07/owl#complementOf": term(
|
190
|
+
type: "http://www.w3.org/2002/07/owl#Class".freeze,
|
191
|
+
unionOf: list("https://www.w3.org/ns/activitystreams#Object".freeze, "https://www.w3.org/ns/activitystreams#Link".freeze)
|
192
|
+
).freeze,
|
193
|
+
type: "http://www.w3.org/2002/07/owl#Class".freeze
|
194
|
+
)),
|
195
|
+
type: "http://www.w3.org/2002/07/owl#Class".freeze
|
196
|
+
).freeze,
|
197
|
+
onProperty: "https://www.w3.org/ns/activitystreams#items".freeze,
|
198
|
+
type: "http://www.w3.org/2002/07/owl#Restriction".freeze
|
199
|
+
)),
|
187
200
|
type: "http://www.w3.org/2002/07/owl#Class".freeze
|
188
201
|
),
|
189
202
|
type: "http://www.w3.org/2002/07/owl#Class".freeze
|
@@ -196,7 +209,18 @@ module RDF::Vocab
|
|
196
209
|
comment: "A rdf:List variant for Objects and Links".freeze,
|
197
210
|
label: "OrderedItems".freeze,
|
198
211
|
subClassOf: term(
|
199
|
-
intersectionOf: list("http://www.w3.org/1999/02/22-rdf-syntax-ns#List".freeze,
|
212
|
+
intersectionOf: list("http://www.w3.org/1999/02/22-rdf-syntax-ns#List".freeze, term(
|
213
|
+
allValuesFrom: term(
|
214
|
+
type: "http://www.w3.org/2002/07/owl#Class".freeze,
|
215
|
+
unionOf: list("https://www.w3.org/ns/activitystreams#Object".freeze, "https://www.w3.org/ns/activitystreams#Link".freeze)
|
216
|
+
).freeze,
|
217
|
+
onProperty: "http://www.w3.org/1999/02/22-rdf-syntax-ns#first".freeze,
|
218
|
+
type: "http://www.w3.org/2002/07/owl#Restriction".freeze
|
219
|
+
), term(
|
220
|
+
allValuesFrom: "https://www.w3.org/ns/activitystreams#OrderedItems".freeze,
|
221
|
+
onProperty: "http://www.w3.org/1999/02/22-rdf-syntax-ns#rest".freeze,
|
222
|
+
type: "http://www.w3.org/2002/07/owl#Restriction".freeze
|
223
|
+
)),
|
200
224
|
type: "http://www.w3.org/2002/07/owl#Class".freeze
|
201
225
|
),
|
202
226
|
type: "http://www.w3.org/2002/07/owl#Class".freeze
|
@@ -303,7 +327,9 @@ module RDF::Vocab
|
|
303
327
|
label: "accuracy".freeze,
|
304
328
|
range: term(
|
305
329
|
"http://www.w3.org/2002/07/owl#onDatatype": "http://www.w3.org/2001/XMLSchema#float".freeze,
|
306
|
-
"http://www.w3.org/2002/07/owl#withRestrictions": list(
|
330
|
+
"http://www.w3.org/2002/07/owl#withRestrictions": list(term(
|
331
|
+
"http://www.w3.org/2001/XMLSchema#minInclusive": "0.0".freeze
|
332
|
+
)),
|
307
333
|
type: "http://www.w3.org/2000/01/rdf-schema#Datatype".freeze
|
308
334
|
),
|
309
335
|
type: ["http://www.w3.org/2002/07/owl#DatatypeProperty".freeze, "http://www.w3.org/2002/07/owl#FunctionalProperty".freeze]
|
@@ -409,7 +435,9 @@ module RDF::Vocab
|
|
409
435
|
label: "content".freeze,
|
410
436
|
range: term(
|
411
437
|
type: "http://www.w3.org/2002/07/owl#Class".freeze,
|
412
|
-
unionOf: list(
|
438
|
+
unionOf: list(term(
|
439
|
+
type: "http://www.w3.org/2000/01/rdf-schema#Datatype".freeze
|
440
|
+
), "http://www.w3.org/2001/XMLSchema#string".freeze)
|
413
441
|
),
|
414
442
|
type: "http://www.w3.org/2002/07/owl#DatatypeProperty".freeze
|
415
443
|
property :context,
|
@@ -544,7 +572,10 @@ module RDF::Vocab
|
|
544
572
|
label: "items".freeze,
|
545
573
|
range: term(
|
546
574
|
type: "http://www.w3.org/2002/07/owl#Class".freeze,
|
547
|
-
unionOf: list(
|
575
|
+
unionOf: list(term(
|
576
|
+
type: "http://www.w3.org/2002/07/owl#Class".freeze,
|
577
|
+
unionOf: list("https://www.w3.org/ns/activitystreams#Object".freeze, "https://www.w3.org/ns/activitystreams#Link".freeze)
|
578
|
+
), "https://www.w3.org/ns/activitystreams#OrderedItems".freeze)
|
548
579
|
),
|
549
580
|
type: "http://www.w3.org/2002/07/owl#ObjectProperty".freeze
|
550
581
|
property :last,
|
@@ -593,7 +624,9 @@ module RDF::Vocab
|
|
593
624
|
label: "name".freeze,
|
594
625
|
range: term(
|
595
626
|
type: "http://www.w3.org/2002/07/owl#Class".freeze,
|
596
|
-
unionOf: list(
|
627
|
+
unionOf: list(term(
|
628
|
+
type: "http://www.w3.org/2000/01/rdf-schema#Datatype".freeze
|
629
|
+
), "http://www.w3.org/2001/XMLSchema#string".freeze)
|
597
630
|
),
|
598
631
|
type: "http://www.w3.org/2002/07/owl#DatatypeProperty".freeze
|
599
632
|
property :next,
|
@@ -685,7 +718,9 @@ module RDF::Vocab
|
|
685
718
|
label: "radius".freeze,
|
686
719
|
range: term(
|
687
720
|
"http://www.w3.org/2002/07/owl#onDatatype": "http://www.w3.org/2001/XMLSchema#float".freeze,
|
688
|
-
"http://www.w3.org/2002/07/owl#withRestrictions": list(
|
721
|
+
"http://www.w3.org/2002/07/owl#withRestrictions": list(term(
|
722
|
+
"http://www.w3.org/2001/XMLSchema#minInclusive": "0.0".freeze
|
723
|
+
)),
|
689
724
|
type: "http://www.w3.org/2000/01/rdf-schema#Datatype".freeze
|
690
725
|
),
|
691
726
|
type: ["http://www.w3.org/2002/07/owl#DatatypeProperty".freeze, "http://www.w3.org/2002/07/owl#FunctionalProperty".freeze]
|
@@ -695,7 +730,11 @@ module RDF::Vocab
|
|
695
730
|
label: "rating".freeze,
|
696
731
|
range: term(
|
697
732
|
"http://www.w3.org/2002/07/owl#onDatatype": "http://www.w3.org/2001/XMLSchema#float".freeze,
|
698
|
-
"http://www.w3.org/2002/07/owl#withRestrictions": list(
|
733
|
+
"http://www.w3.org/2002/07/owl#withRestrictions": list(term(
|
734
|
+
"http://www.w3.org/2001/XMLSchema#minInclusive": "0.0".freeze
|
735
|
+
), term(
|
736
|
+
"http://www.w3.org/2001/XMLSchema#maxInclusive": "5.0".freeze
|
737
|
+
)),
|
699
738
|
type: "http://www.w3.org/2000/01/rdf-schema#Datatype".freeze
|
700
739
|
),
|
701
740
|
type: ["http://www.w3.org/2002/07/owl#DatatypeProperty".freeze, "http://www.w3.org/2002/07/owl#DeprecatedProperty".freeze, "http://www.w3.org/2002/07/owl#FunctionalProperty".freeze]
|
@@ -753,7 +792,9 @@ module RDF::Vocab
|
|
753
792
|
label: "summary".freeze,
|
754
793
|
range: term(
|
755
794
|
type: "http://www.w3.org/2002/07/owl#Class".freeze,
|
756
|
-
unionOf: list(
|
795
|
+
unionOf: list(term(
|
796
|
+
type: "http://www.w3.org/2000/01/rdf-schema#Datatype".freeze
|
797
|
+
), "http://www.w3.org/2001/XMLSchema#string".freeze)
|
757
798
|
),
|
758
799
|
type: "http://www.w3.org/2002/07/owl#DatatypeProperty".freeze
|
759
800
|
property :tag,
|
@@ -801,7 +842,10 @@ module RDF::Vocab
|
|
801
842
|
label: "units".freeze,
|
802
843
|
range: term(
|
803
844
|
type: "http://www.w3.org/2000/01/rdf-schema#Datatype".freeze,
|
804
|
-
unionOf: list(
|
845
|
+
unionOf: list(term(
|
846
|
+
"http://www.w3.org/2002/07/owl#oneOf": list("inches".freeze, "feet".freeze, "miles".freeze, "cm".freeze, "m".freeze, "km".freeze),
|
847
|
+
type: "http://www.w3.org/2000/01/rdf-schema#Datatype".freeze
|
848
|
+
), "http://www.w3.org/2001/XMLSchema#anyURI".freeze)
|
805
849
|
),
|
806
850
|
type: ["http://www.w3.org/2002/07/owl#DatatypeProperty".freeze, "http://www.w3.org/2002/07/owl#FunctionalProperty".freeze]
|
807
851
|
property :updated,
|
data/lib/rdf/vocab/bibo.rb
CHANGED
@@ -113,7 +113,10 @@ module RDF::Vocab
|
|
113
113
|
isDefinedBy: "http://purl.org/ontology/bibo/".freeze,
|
114
114
|
label: "Collection".freeze,
|
115
115
|
subClassOf: term(
|
116
|
-
allValuesFrom:
|
116
|
+
allValuesFrom: term(
|
117
|
+
type: "http://www.w3.org/2002/07/owl#Class".freeze,
|
118
|
+
unionOf: list("http://purl.org/ontology/bibo/Collection".freeze, "http://purl.org/ontology/bibo/Document".freeze)
|
119
|
+
).freeze,
|
117
120
|
onProperty: "http://purl.org/dc/terms/hasPart".freeze,
|
118
121
|
type: "http://www.w3.org/2002/07/owl#Restriction".freeze
|
119
122
|
),
|