rdf-vocab 3.1.0 → 3.1.1
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 -0
- data/VERSION +1 -1
- data/lib/rdf/vocab.rb +4 -0
- data/lib/rdf/vocab/jsonld.rb +97 -24
- data/lib/rdf/vocab/mads.rb +17 -17
- data/lib/rdf/vocab/pcdm.rb +122 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ccd9640cada14cdebb6c2aca6c54787052f65c7e4c70d8cdfa69cf031bd11bf
|
4
|
+
data.tar.gz: 3820efb944d4f6117e7707a83110ef93b3f4ebd1416f71237c00d92980fb3b76
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 35d493c03feb48b7fadb9d7654c734a2ddea096106264153240ad73efa51130d39a0c4029ff62efc5935204465d80d00cf6808f772afd4f5e3e8a80df7b47493
|
7
|
+
data.tar.gz: '066895b60efa229900afb7edc208926ca008e9054cc6a9fe30fb5301e58710066e7b0e9410aa256e64aa302b3de8dc89ea24c29b2aaafbd767bdfc877936cfd7'
|
data/README.md
CHANGED
@@ -50,6 +50,7 @@ Also extends `RDF::Vocabulary::Format` with the `gen-vocab` command extension to
|
|
50
50
|
* RDF::Vocab::OGC - [Open Graph protocol classes](http://ogp.me) - Alias of `RDF::OGC`
|
51
51
|
* RDF::Vocab::ORE - [Object Reuse and Exchange Ontology](http://www.openarchives.org/ore/1.0/rdfxml) (OAI)
|
52
52
|
* RDF::Vocab::ORG - [Organization Ontology](http://www.w3.org/TR/vocab-org/) (W3C)
|
53
|
+
* RDF::Vocab::PCDMModels - [PCDM Models Ontology](http://pcdm.org/models#) (PCDM)
|
53
54
|
* RDF::Vocab::PPLAN - [P-Plan Ontology](http://www.opmw.org/model/p-plan/)
|
54
55
|
* RDF::Vocab::PREMIS - [Preservation Metadata Implementation Strategies Ontology](http://id.loc.gov/ontologies/premis.html) (LoC)
|
55
56
|
* RDF::Vocab::PremisEventType - [PREMIS Event Type](http://id.loc.gov/vocabulary/preservation/eventType.html) (LoC)
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.1.
|
1
|
+
3.1.1
|
data/lib/rdf/vocab.rb
CHANGED
@@ -249,6 +249,10 @@ module RDF
|
|
249
249
|
ore: {uri: "http://www.openarchives.org/ore/terms/"},
|
250
250
|
org: {uri: "http://www.w3.org/ns/org#"},
|
251
251
|
owl: {uri: "http://www.w3.org/2002/07/owl#", alias: true},
|
252
|
+
pcdm: {
|
253
|
+
uri: "http://pcdm.org/models#",
|
254
|
+
source: "https://raw.githubusercontent.com/duraspace/pcdm/master/models.rdf"
|
255
|
+
},
|
252
256
|
pplan: {uri: "http://purl.org/net/p-plan#"},
|
253
257
|
premis: {uri: "http://www.loc.gov/premis/rdf/v1#", source: "http://www.loc.gov/premis/rdf/v1.rdf"},
|
254
258
|
premis_event_type: {
|
data/lib/rdf/vocab/jsonld.rb
CHANGED
@@ -11,36 +11,42 @@ module RDF::Vocab
|
|
11
11
|
|
12
12
|
# Ontology definition
|
13
13
|
ontology :"http://www.w3.org/ns/json-ld#",
|
14
|
-
"dc:date": "
|
14
|
+
"dc:date": "2020-01-03".freeze,
|
15
15
|
"dc:description": "This is a vocabulary document and is used to achieve certain features of the JSON-LD language.".freeze,
|
16
16
|
"dc:title": "The JSON-LD Vocabulary".freeze,
|
17
|
-
"owl:versionInfo": "https://github.com/w3c/json-ld-wg/commit/
|
17
|
+
"owl:versionInfo": "https://github.com/w3c/json-ld-wg/commit/606458561d3761dad00912b4ac7b1959302ef304".freeze,
|
18
18
|
"rdfs:seeAlso": "http://www.w3.org/TR/json-ld11".freeze,
|
19
19
|
type: "owl:Ontology".freeze
|
20
20
|
|
21
21
|
# Class definitions
|
22
22
|
term :Context,
|
23
|
-
comment: %(Defines term definitions and other aspects of a JSON-LD `Context`.
|
23
|
+
comment: %(Defines term definitions and other aspects of a JSON-LD `Context`.
|
24
|
+
|
25
|
+
A [context definition]\(https://www.w3.org/TR/json-ld11/#dfn-context-definition\) MUST be a map whose keys MUST be either _terms_, _compact IRIs_, _IRIs_, or one of the keywords `@base`, `@import`, `@language`, `@propagate`, `@protected`, `@type`, `@version`, or `@vocab`.).freeze,
|
24
26
|
isDefinedBy: "jsonld:".freeze,
|
25
27
|
label: "Context".freeze,
|
26
28
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#context-definitions".freeze,
|
27
29
|
type: "rdfs:Class".freeze
|
28
30
|
term :PrefixDefinition,
|
29
|
-
comment: %(A string \([simple term definition]\(http://www.w3.org/TR/json-ld11/#dfn-simple-term-definitions\)\), expanding to an
|
31
|
+
comment: %(A string \([simple term definition]\(http://www.w3.org/TR/json-ld11/#dfn-simple-term-definitions\)\), expanding to an IRI.).freeze,
|
30
32
|
isDefinedBy: "jsonld:".freeze,
|
31
33
|
label: "Prefix Definition".freeze,
|
32
|
-
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#dfn-term-
|
34
|
+
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#dfn-term-definition".freeze,
|
33
35
|
type: "rdfs:Class".freeze
|
34
36
|
term :TermDefinition,
|
35
|
-
comment: %(A [term definition]\(http://www.w3.org/TR/json-ld11/#dfn-term-definitions\) is an entry in a [context]\(#Context\), where the key defines a term which may be used within a dictionary as a key, type, or elsewhere that a string is interpreted as a vocabulary item. Its value is an [expanded term definition]\(https://www.w3.org/TR/json-ld11/#dfn-expanded-term-definitions\).
|
37
|
+
comment: %(A [term definition]\(http://www.w3.org/TR/json-ld11/#dfn-term-definitions\) is an entry in a [context]\(#Context\), where the key defines a term which may be used within a dictionary as a key, type, or elsewhere that a string is interpreted as a vocabulary item. Its value is an [expanded term definition]\(https://www.w3.org/TR/json-ld11/#dfn-expanded-term-definitions\).
|
38
|
+
|
39
|
+
|
40
|
+
|
41
|
+
An [expanded term definition]\(https://www.w3.org/TR/json-ld11/#dfn-expanded-term-definition\) MUST be a map composed of zero or more keys from `@id`, `@reverse`, `@type`, `@language`, `@container`, `@context`, `@prefix`, `@propagate`, or `@protected`. An expanded term definition SHOULD NOT contain any other keys.).freeze,
|
36
42
|
isDefinedBy: "jsonld:".freeze,
|
37
43
|
label: "Term Definition".freeze,
|
38
|
-
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#dfn-term-
|
44
|
+
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#dfn-term-definition".freeze,
|
39
45
|
type: "rdfs:Class".freeze
|
40
46
|
|
41
47
|
# Property definitions
|
42
48
|
property :base,
|
43
|
-
comment: %(If the [context definition]\(https://www.w3.org/TR/json-ld11/#dfn-context-definition\) has an `@base` key, its value MUST be an
|
49
|
+
comment: %(If the [context definition]\(https://www.w3.org/TR/json-ld11/#dfn-context-definition\) has an `@base` key, its value MUST be an _IRI reference_, or `null`.).freeze,
|
44
50
|
domainIncludes: "jsonld:Context".freeze,
|
45
51
|
isDefinedBy: "jsonld:".freeze,
|
46
52
|
label: "base".freeze,
|
@@ -48,19 +54,27 @@ module RDF::Vocab
|
|
48
54
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#context-definitions".freeze,
|
49
55
|
type: "rdf:Property".freeze
|
50
56
|
property :container,
|
51
|
-
comment: %(The associated `@container` value in an [expanded term definition]\(https://www.w3.org/TR/json-ld11/#dfn-expanded-term-definitions\)
|
57
|
+
comment: %(The associated `@container` value in an [expanded term definition]\(https://www.w3.org/TR/json-ld11/#dfn-expanded-term-definitions\).
|
58
|
+
|
59
|
+
If the [expanded term definition]\(https://www.w3.org/TR/json-ld11/#dfn-expanded-term-definitions\) contains the `@container` keyword, its value MUST be either `@list`, `@set`, `@language`, `@index`, `@id`, `@graph`, `@type`, or be `null` or an array containing exactly any one of those keywords, or a combination of `@set` and any of `@index`, `@id`, `@graph`, `@type`, `@language` in any order.
|
60
|
+
|
61
|
+
`@container` may also be an array containing `@graph` along with either `@id` or `@index` and also optionally including `@set`.
|
62
|
+
|
63
|
+
If the value is `@language`, when the term is used outside of the `@context`, the associated value MUST be a language map.
|
64
|
+
|
65
|
+
If the value is `@index`, when the term is used outside of the `@context`, the associated value MUST be an index map.).freeze,
|
52
66
|
domainIncludes: "jsonld:TermDefinition".freeze,
|
53
67
|
isDefinedBy: "jsonld:".freeze,
|
54
68
|
label: "container".freeze,
|
55
69
|
rangeIncludes: "jsonld:ContainerType".freeze,
|
56
|
-
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#
|
70
|
+
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#expanded-term-definition".freeze,
|
57
71
|
type: "rdf:Property".freeze
|
58
72
|
property :context,
|
59
|
-
comment: %(As an IRI, this link relation is used to
|
73
|
+
comment: %(As an IRI, this link relation is used to associate a JSON-LD context with a JSON document so that it can be interpreted as JSON-LD. In an HTTP request header, specifies the location of a context to use for compaction. As a Context, defines an inline `context definition`.).freeze,
|
60
74
|
isDefinedBy: "jsonld:".freeze,
|
61
75
|
label: "context".freeze,
|
62
76
|
rangeIncludes: ["jsonld:Context".freeze, "xsd:anyUri".freeze],
|
63
|
-
"rdfs:seeAlso": "
|
77
|
+
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#interpreting-json-as-json-ld".freeze,
|
64
78
|
type: "rdf:Property".freeze
|
65
79
|
property :definition,
|
66
80
|
comment: %(Term definition\(s\) associated with this context.).freeze,
|
@@ -69,32 +83,68 @@ module RDF::Vocab
|
|
69
83
|
label: "definition".freeze,
|
70
84
|
rangeIncludes: ["jsonld:PrefixDefinition".freeze, "jsonld:TermDefinition".freeze],
|
71
85
|
type: "rdf:Property".freeze
|
86
|
+
property :direction,
|
87
|
+
comment: %(If the [context definition]\(https://www.w3.org/TR/json-ld11/#dfn-context-definition\) has an `@direction` key, its value MUST be one of `"ltr"` or `"rtl"`, or be `null`.).freeze,
|
88
|
+
domainIncludes: ["jsonld:Context".freeze, "jsonld:TermDefinition".freeze],
|
89
|
+
isDefinedBy: "jsonld:".freeze,
|
90
|
+
label: "direction".freeze,
|
91
|
+
rangeIncludes: "xsd:string".freeze,
|
92
|
+
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#context-definitions".freeze,
|
93
|
+
type: "rdf:Property".freeze
|
72
94
|
property :id,
|
73
|
-
comment: %(The `@id` mapping of a [term definition]\(#TermDefinition\).
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
If the [expanded term definition]\(https://www.w3.org/TR/json-ld11/#dfn-expanded-term-definitions\) contains the `@container` keyword, its value MUST be either `@list`, `@set`, `@language`, `@index`, `@id`, `@graph`, `@type`, or be `null` or an _array_ containing exactly any one of those keywords.).freeze,
|
95
|
+
comment: %(The `@id` mapping of a [term definition]\(#TermDefinition\).).freeze,
|
78
96
|
domainIncludes: ["jsonld:PrefixDefinition".freeze, "jsonld:TermDefinition".freeze],
|
79
97
|
isDefinedBy: "jsonld:".freeze,
|
80
98
|
label: "id".freeze,
|
81
99
|
rangeIncludes: "xsd:anyUri".freeze,
|
100
|
+
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#expanded-term-definition".freeze,
|
101
|
+
type: "rdf:Property".freeze
|
102
|
+
property :import,
|
103
|
+
comment: %(If the [context definition]\(https://www.w3.org/TR/json-ld11/#dfn-context-definition\) contains the `@import` keyword, its value MUST be an _IRI reference_. When used as a reference from an `@import`, the referenced context definition MUST NOT include an `@import` key, itself.).freeze,
|
104
|
+
domainIncludes: "jsonld:Context".freeze,
|
105
|
+
isDefinedBy: "jsonld:".freeze,
|
106
|
+
label: "import".freeze,
|
107
|
+
rangeIncludes: "xsd:anyUri".freeze,
|
82
108
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#context-definitions".freeze,
|
83
109
|
type: "rdf:Property".freeze
|
84
110
|
property :language,
|
85
|
-
comment: %(The default language is set in the context using the
|
111
|
+
comment: %(The [default language]\(https://www.w3.org/TR/json-ld11/#dfn-default-language\) is set in the context using the `@language` key whose value MUST be a string representing a [BCP47]\(https://tools.ietf.org/html/bcp47\) language code or null.).freeze,
|
86
112
|
domainIncludes: ["jsonld:Context".freeze, "jsonld:TermDefinition".freeze],
|
87
113
|
isDefinedBy: "jsonld:".freeze,
|
88
114
|
label: "language".freeze,
|
89
115
|
rangeIncludes: "xsd:string".freeze,
|
90
|
-
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#default-language".freeze,
|
91
|
-
type:
|
116
|
+
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#dfn-default-language".freeze,
|
117
|
+
type: "rdf:Property".freeze
|
118
|
+
property :nest,
|
119
|
+
comment: %(If the [expanded term definition]\(https://www.w3.org/TR/json-ld11/#dfn-expanded-term-definitions\) contains the `@nest` keyword, its value MUST be either `@nest`, or a _term_ which expands to `@nest`.).freeze,
|
120
|
+
domainIncludes: "jsonld:TermDefinition".freeze,
|
121
|
+
isDefinedBy: "jsonld:".freeze,
|
122
|
+
label: "nest".freeze,
|
123
|
+
rangeIncludes: "xsd:string".freeze,
|
124
|
+
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#expanded-term-definition".freeze,
|
125
|
+
type: "rdf:Property".freeze
|
92
126
|
property :prefix,
|
93
127
|
comment: %(With the value `true`, allows this term to be used to construct a compact IRI when compacting.).freeze,
|
94
128
|
domainIncludes: "jsonld:TermDefinition".freeze,
|
95
129
|
isDefinedBy: "jsonld:".freeze,
|
96
130
|
label: "prefix".freeze,
|
97
131
|
rangeIncludes: "xsd:boolean".freeze,
|
132
|
+
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#expanded-term-definition".freeze,
|
133
|
+
type: "rdf:Property".freeze
|
134
|
+
property :propagate,
|
135
|
+
comment: %(If the [context definition]\(https://www.w3.org/TR/json-ld11/#dfn-context-definition\) contains the `@propagate` keyword, its value MUST be `true` or `false`.).freeze,
|
136
|
+
domainIncludes: ["jsonld:Context".freeze, "jsonld:TermDefinition".freeze],
|
137
|
+
isDefinedBy: "jsonld:".freeze,
|
138
|
+
label: "propagate".freeze,
|
139
|
+
rangeIncludes: "xsd:boolean".freeze,
|
140
|
+
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#context-definitions".freeze,
|
141
|
+
type: "rdf:Property".freeze
|
142
|
+
property :protected,
|
143
|
+
comment: %(If the [context definition]\(https://www.w3.org/TR/json-ld11/#dfn-context-definition\) contains the `@protected` keyword, its value MUST be `true` or `false`.).freeze,
|
144
|
+
domainIncludes: ["jsonld:Context".freeze, "jsonld:TermDefinition".freeze],
|
145
|
+
isDefinedBy: "jsonld:".freeze,
|
146
|
+
label: "protected".freeze,
|
147
|
+
rangeIncludes: "xsd:boolean".freeze,
|
98
148
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#context-definitions".freeze,
|
99
149
|
type: "rdf:Property".freeze
|
100
150
|
property :reverse,
|
@@ -103,7 +153,7 @@ If the [expanded term definition]\(https://www.w3.org/TR/json-ld11/#dfn-expanded
|
|
103
153
|
isDefinedBy: "jsonld:".freeze,
|
104
154
|
label: "reverse".freeze,
|
105
155
|
rangeIncludes: "xsd:anyUri".freeze,
|
106
|
-
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#
|
156
|
+
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#expanded-term-definition".freeze,
|
107
157
|
type: "rdf:Property".freeze
|
108
158
|
property :term,
|
109
159
|
comment: %(The term associated with a [term definition]\(#TermDefinition\).).freeze,
|
@@ -111,17 +161,22 @@ If the [expanded term definition]\(https://www.w3.org/TR/json-ld11/#dfn-expanded
|
|
111
161
|
isDefinedBy: "jsonld:".freeze,
|
112
162
|
label: "term".freeze,
|
113
163
|
rangeIncludes: "xsd:string".freeze,
|
164
|
+
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#dfn-term".freeze,
|
114
165
|
type: "rdf:Property".freeze
|
115
166
|
property :type,
|
116
|
-
comment: %(If the [
|
117
|
-
|
167
|
+
comment: %(If the [context definition]\(https://www.w3.org/TR/json-ld11/#dfn-context-definition\) contains the `@type` keyword, its value MUST be a map with only the entry `@container` set to `@set`, and optionally an entry `@protected`.
|
168
|
+
|
169
|
+
|
170
|
+
|
171
|
+
If the [expanded term definition]\(https://www.w3.org/TR/json-ld11/#dfn-expanded-term-definitions\) contains the `@type` keyword, its value MUST be an _IRI reference_, a _term_, `null`, or one of the keywords `@id`, `@json`, `@none`, or `@vocab`.).freeze,
|
172
|
+
domainIncludes: ["jsonld:Context".freeze, "jsonld:TermDefinition".freeze],
|
118
173
|
isDefinedBy: "jsonld:".freeze,
|
119
174
|
label: "type".freeze,
|
120
175
|
rangeIncludes: ["xsd:anyUri".freeze, "xsd:string".freeze],
|
121
176
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#context-definitions".freeze,
|
122
177
|
type: "rdf:Property".freeze
|
123
178
|
property :version,
|
124
|
-
comment: %(The [processing mode]\(https://www.w3.org/TR/json-ld11/#dfn-processing-mode\) defines how a JSON-LD document is processed. By default, all documents are assumed to be conformant with [JSON-LD 1.
|
179
|
+
comment: %(The [processing mode]\(https://www.w3.org/TR/json-ld11/#dfn-processing-mode\) defines how a JSON-LD document is processed. By default, all documents are assumed to be conformant with [JSON-LD 1.1`]\(http://www.w3.org/TR/json-ld11\). By defining a different version via explicit API option, other processing modes can be accessed. This specification defines extensions for the `json-ld-1.1` processing mode.).freeze,
|
125
180
|
domainIncludes: "jsonld:Context".freeze,
|
126
181
|
isDefinedBy: "jsonld:".freeze,
|
127
182
|
label: "version".freeze,
|
@@ -156,6 +211,18 @@ If the [expanded term definition]\(https://www.w3.org/TR/json-ld11/#dfn-expanded
|
|
156
211
|
label: "flattened".freeze,
|
157
212
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#iana-considerations".freeze,
|
158
213
|
type: "owl:NamedIndividual".freeze
|
214
|
+
term :frame,
|
215
|
+
comment: %(As an IRI, this link relation is used to associate a JSON-LD frame with a JSON-LD document. In an HTTP request header, specifies the location of a frame to use for framing.).freeze,
|
216
|
+
isDefinedBy: "jsonld:".freeze,
|
217
|
+
label: "frame".freeze,
|
218
|
+
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#iana-considerations".freeze,
|
219
|
+
type: "owl:NamedIndividual".freeze
|
220
|
+
term :framed,
|
221
|
+
comment: %(This profile URI is used to request or specify framed JSON-LD document form.).freeze,
|
222
|
+
isDefinedBy: "jsonld:".freeze,
|
223
|
+
label: "framed".freeze,
|
224
|
+
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#iana-considerations".freeze,
|
225
|
+
type: "owl:NamedIndividual".freeze
|
159
226
|
term :graphContainerType,
|
160
227
|
comment: %(If the [expanded term definition]\(https://www.w3.org/TR/json-ld11/#dfn-expanded-term-definitions\) contains the `@container` keyword, its value MUST be either `@list`, `@set`, `@language`, `@index`, `@id`, `@graph`, `@type`, or be `null` or an _array_ containing exactly any one of those keywords.).freeze,
|
161
228
|
isDefinedBy: "jsonld:".freeze,
|
@@ -174,6 +241,12 @@ If the [expanded term definition]\(https://www.w3.org/TR/json-ld11/#dfn-expanded
|
|
174
241
|
label: "@index".freeze,
|
175
242
|
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#context-definitions".freeze,
|
176
243
|
type: "http://www.w3.org/ns/ContainerType".freeze
|
244
|
+
term :languageContainerType,
|
245
|
+
comment: %(If the [expanded term definition]\(https://www.w3.org/TR/json-ld11/#dfn-expanded-term-definitions\) contains the `@container` keyword, its value MUST be either `@list`, `@set`, `@language`, `@index`, `@id`, `@graph`, `@type`, or be `null` or an _array_ containing exactly any one of those keywords.).freeze,
|
246
|
+
isDefinedBy: "jsonld:".freeze,
|
247
|
+
label: "@language".freeze,
|
248
|
+
"rdfs:seeAlso": "https://www.w3.org/TR/json-ld11/#context-definitions".freeze,
|
249
|
+
type: "http://www.w3.org/ns/ContainerType".freeze
|
177
250
|
term :listContainerType,
|
178
251
|
comment: %(If the [expanded term definition]\(https://www.w3.org/TR/json-ld11/#dfn-expanded-term-definitions\) contains the `@container` keyword, its value MUST be either `@list`, `@set`, `@language`, `@index`, `@id`, `@graph`, `@type`, or be `null` or an _array_ containing exactly any one of those keywords.).freeze,
|
179
252
|
isDefinedBy: "jsonld:".freeze,
|
data/lib/rdf/vocab/mads.rb
CHANGED
@@ -27,12 +27,12 @@ module RDF::Vocab
|
|
27
27
|
|
28
28
|
|
29
29
|
The MADS/RDF to SKOS/RDF mapping was done by Antoine Isaac. The MADS/RDF model and ontology benefited significantly as a result of the fruitful discussions surrounding his effort to map the MADS/RDF ontology to SKOS. ).freeze,
|
30
|
-
"dc:modified": "
|
30
|
+
"dc:modified": "2019-01-04T17:01:03.065-05:00".freeze,
|
31
31
|
label: "MADS/RDF (Metadata Authority Description Schema in RDF)".freeze,
|
32
32
|
"owl:ontologyIRI": "mads:".freeze,
|
33
|
-
"owl:priorVersion": "http://id.loc.gov/ontologies/madsrdf/v1-
|
34
|
-
"owl:versionIRI": "http://id.loc.gov/ontologies/madsrdf/v1-3-
|
35
|
-
"owl:versionInfo": "1.3.
|
33
|
+
"owl:priorVersion": "http://id.loc.gov/ontologies/madsrdf/v1-3-0".freeze,
|
34
|
+
"owl:versionIRI": "http://id.loc.gov/ontologies/madsrdf/v1-3-1".freeze,
|
35
|
+
"owl:versionInfo": "1.3.1".freeze,
|
36
36
|
type: "owl:Ontology".freeze
|
37
37
|
|
38
38
|
# Class definitions
|
@@ -77,7 +77,7 @@ module RDF::Vocab
|
|
77
77
|
type: "owl:Restriction".freeze
|
78
78
|
),
|
79
79
|
label: "Complex Type".freeze,
|
80
|
-
"owl:disjointUnionOf": list("
|
80
|
+
"owl:disjointUnionOf": list("mads:HierarchicalGeographic".freeze, "mads:ComplexSubject".freeze, "mads:NameTitle".freeze),
|
81
81
|
"owl:disjointWith": "mads:SimpleType".freeze,
|
82
82
|
subClassOf: "mads:MADSType".freeze,
|
83
83
|
type: "owl:Class".freeze
|
@@ -336,7 +336,7 @@ module RDF::Vocab
|
|
336
336
|
comment: %(This relates an Authority or Variant to its administrative metadata, which is, minimimally, a Class defined outside of the MADS/RDF namespace. The RecordInfo Class from the RecordInfo ontology is recommended.).freeze,
|
337
337
|
domain: term(
|
338
338
|
type: "owl:Class".freeze,
|
339
|
-
unionOf: list("_:
|
339
|
+
unionOf: list("_:g70196556549360".freeze, "_:g70196556569000".freeze, "_:g70196556563900".freeze)
|
340
340
|
),
|
341
341
|
label: "Administrative Metadata".freeze,
|
342
342
|
type: "owl:ObjectProperty".freeze
|
@@ -418,7 +418,7 @@ module RDF::Vocab
|
|
418
418
|
comment: %(A code is a string of characters associated with a the authoritative or deprecated label. It may record an historical notation once used to uniquely identify a concept.).freeze,
|
419
419
|
domain: term(
|
420
420
|
type: "owl:Class".freeze,
|
421
|
-
unionOf: list("_:
|
421
|
+
unionOf: list("_:g70196426469140".freeze, "_:g70196426482940".freeze)
|
422
422
|
),
|
423
423
|
label: "Code".freeze,
|
424
424
|
subPropertyOf: "skos:notation".freeze,
|
@@ -429,7 +429,7 @@ module RDF::Vocab
|
|
429
429
|
label: "Component List".freeze,
|
430
430
|
range: term(
|
431
431
|
type: "owl:Class".freeze,
|
432
|
-
unionOf: list("_:
|
432
|
+
unionOf: list("_:g70196426898260".freeze, "_:g70196426915760".freeze)
|
433
433
|
),
|
434
434
|
type: "owl:ObjectProperty".freeze
|
435
435
|
property :country,
|
@@ -484,7 +484,7 @@ module RDF::Vocab
|
|
484
484
|
label: "Element List".freeze,
|
485
485
|
range: term(
|
486
486
|
type: "owl:Class".freeze,
|
487
|
-
unionOf: list("_:
|
487
|
+
unionOf: list("_:g70196557222280".freeze, "_:g70196557241860".freeze)
|
488
488
|
),
|
489
489
|
type: "owl:ObjectProperty".freeze
|
490
490
|
property :elementValue,
|
@@ -634,7 +634,7 @@ module RDF::Vocab
|
|
634
634
|
label: "Has MADSCollection Member".freeze,
|
635
635
|
range: term(
|
636
636
|
type: "owl:Class".freeze,
|
637
|
-
unionOf: list("_:
|
637
|
+
unionOf: list("_:g70196426163180".freeze, "_:g70196560251380".freeze)
|
638
638
|
),
|
639
639
|
subPropertyOf: "skos:member".freeze,
|
640
640
|
type: "owl:ObjectProperty".freeze
|
@@ -645,7 +645,7 @@ module RDF::Vocab
|
|
645
645
|
label: "Has MADS Scheme Member".freeze,
|
646
646
|
range: term(
|
647
647
|
type: "owl:Class".freeze,
|
648
|
-
unionOf: list("_:
|
648
|
+
unionOf: list("_:g70196426811380".freeze, "_:g70196426842540".freeze)
|
649
649
|
),
|
650
650
|
type: "owl:ObjectProperty".freeze
|
651
651
|
property :hasNarrowerAuthority,
|
@@ -751,7 +751,7 @@ module RDF::Vocab
|
|
751
751
|
comment: %(Associates a Collection with a madsrdf:Authority or another madsrdf:MADSCollection.).freeze,
|
752
752
|
domain: term(
|
753
753
|
type: "owl:Class".freeze,
|
754
|
-
unionOf: list("_:
|
754
|
+
unionOf: list("_:g70196555975320".freeze, "_:g70196556007720".freeze)
|
755
755
|
),
|
756
756
|
inverseOf: "mads:hasMADSCollectionMember".freeze,
|
757
757
|
label: "Is Member Of MADSCollection".freeze,
|
@@ -760,7 +760,7 @@ module RDF::Vocab
|
|
760
760
|
property :isMemberOfMADSScheme,
|
761
761
|
domain: term(
|
762
762
|
type: "owl:Class".freeze,
|
763
|
-
unionOf: list("_:
|
763
|
+
unionOf: list("_:g70196426450620".freeze, "_:g70196426488680".freeze)
|
764
764
|
),
|
765
765
|
inverseOf: "mads:hasMADSSchemeMember".freeze,
|
766
766
|
label: "Is Member of MADS Scheme".freeze,
|
@@ -771,7 +771,7 @@ module RDF::Vocab
|
|
771
771
|
comment: %(Identifies a MADS Scheme in which the Authority is at the top of the hierarchy.).freeze,
|
772
772
|
domain: term(
|
773
773
|
type: "owl:Class".freeze,
|
774
|
-
unionOf: list("_:
|
774
|
+
unionOf: list("_:g70196426911160".freeze, "_:g70196426947400".freeze)
|
775
775
|
),
|
776
776
|
inverseOf: "mads:hasTopMemberOfMADSScheme".freeze,
|
777
777
|
label: "Is Top Member of MADS Scheme".freeze,
|
@@ -821,12 +821,12 @@ module RDF::Vocab
|
|
821
821
|
comment: %(Denotes a relationship between an Authority and/or DeprecatedAuthority. The relationship may or may or may not be reciprocated and there is no certainty that the related resource will further illuminate the original resource.).freeze,
|
822
822
|
domain: term(
|
823
823
|
type: "owl:Class".freeze,
|
824
|
-
unionOf: list("_:
|
824
|
+
unionOf: list("_:g70196557240720".freeze, "_:g70196557234280".freeze)
|
825
825
|
),
|
826
826
|
label: "See Also".freeze,
|
827
827
|
range: term(
|
828
828
|
type: "owl:Class".freeze,
|
829
|
-
unionOf: list("_:
|
829
|
+
unionOf: list("_:g70196557302440".freeze, "_:g70196557320800".freeze)
|
830
830
|
),
|
831
831
|
subPropertyOf: "rdfs:seeAlso".freeze,
|
832
832
|
type: "owl:ObjectProperty".freeze
|
@@ -844,7 +844,7 @@ module RDF::Vocab
|
|
844
844
|
comment: %(The year a corporate body was terminated. Date of termination may also include the month and day of the corporate body’s termination. ).freeze,
|
845
845
|
domain: "mads:RWO".freeze,
|
846
846
|
label: "Terminated".freeze,
|
847
|
-
type: "owl:
|
847
|
+
type: "owl:DatatypeProperty".freeze
|
848
848
|
property :useFor,
|
849
849
|
comment: %("Use [This Resource] For." Traditional "USE FOR" reference.).freeze,
|
850
850
|
inverseOf: "mads:useInstead".freeze,
|
@@ -0,0 +1,122 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
# frozen_string_literal: true
|
3
|
+
# This file generated automatically using rdf vocabulary format from http://pcdm.org/models#
|
4
|
+
require 'rdf'
|
5
|
+
module RDF::Vocab
|
6
|
+
# @!parse
|
7
|
+
# # Vocabulary for <http://pcdm.org/models#>
|
8
|
+
# class PCDM < RDF::StrictVocabulary
|
9
|
+
# end
|
10
|
+
class PCDM < RDF::StrictVocabulary("http://pcdm.org/models#")
|
11
|
+
|
12
|
+
# Ontology definition
|
13
|
+
ontology :"http://pcdm.org/models#",
|
14
|
+
comment: %(Ontology for the Portland Common Data Model, intended to underlie a wide array of repository and DAMS applications.).freeze,
|
15
|
+
"dc:modified": "2016/04/18".freeze,
|
16
|
+
"dc:publisher": "http://www.duraspace.org/".freeze,
|
17
|
+
"dc:title": "Portland Common Data Model".freeze,
|
18
|
+
"owl:priorVersion": "http://pcdm.org/2015/09/28/models".freeze,
|
19
|
+
"owl:versionInfo": "2016/04/18".freeze,
|
20
|
+
"rdfs:seeAlso": "https://github.com/duraspace/pcdm/wiki".freeze
|
21
|
+
|
22
|
+
# Class definitions
|
23
|
+
term :AlternateOrder,
|
24
|
+
comment: %(
|
25
|
+
An AlternateOrder is an alternate ordering of its parent's members. It should only order the
|
26
|
+
parent's members, and otherwise has all of the features of ordering \(some members may be
|
27
|
+
omitted from the order, members may appear more than once in the order, etc.\).
|
28
|
+
).freeze,
|
29
|
+
isDefinedBy: "pcdm:".freeze,
|
30
|
+
label: "Alternate Order".freeze,
|
31
|
+
subClassOf: "pcdm:Object".freeze,
|
32
|
+
type: "rdfs:Class".freeze
|
33
|
+
term :Collection,
|
34
|
+
comment: %(
|
35
|
+
A Collection is a group of resources. Collections have descriptive metadata, access metadata,
|
36
|
+
and may links to works and/or collections. By default, member works and collections are an
|
37
|
+
unordered set, but can be ordered using the ORE Proxy class.
|
38
|
+
).freeze,
|
39
|
+
isDefinedBy: "pcdm:".freeze,
|
40
|
+
label: "Collection".freeze,
|
41
|
+
subClassOf: "ore:Aggregation".freeze,
|
42
|
+
type: "rdfs:Class".freeze
|
43
|
+
term :File,
|
44
|
+
comment: %(
|
45
|
+
A File is a sequence of binary data and is described by some accompanying metadata.
|
46
|
+
The metadata typically includes at least basic technical metadata \(size, content type,
|
47
|
+
modification date, etc.\), but can also include properties related to preservation,
|
48
|
+
digitization process, provenance, etc. Files MUST be contained by exactly one Object.
|
49
|
+
).freeze,
|
50
|
+
isDefinedBy: "pcdm:".freeze,
|
51
|
+
label: "File".freeze,
|
52
|
+
type: "rdfs:Class".freeze
|
53
|
+
term :Object,
|
54
|
+
comment: %(
|
55
|
+
An Object is an intellectual entity, sometimes called a "work", "digital object", etc.
|
56
|
+
Objects have descriptive metadata, access metadata, may contain files and other Objects as
|
57
|
+
member "components". Each level of a work is therefore represented by an Object instance,
|
58
|
+
and is capable of standing on its own, being linked to from Collections and other Objects.
|
59
|
+
Member Objects can be ordered using the ORE Proxy class.
|
60
|
+
).freeze,
|
61
|
+
isDefinedBy: "pcdm:".freeze,
|
62
|
+
label: "Object".freeze,
|
63
|
+
subClassOf: "ore:Aggregation".freeze,
|
64
|
+
type: "rdfs:Class".freeze
|
65
|
+
|
66
|
+
# Property definitions
|
67
|
+
property :fileOf,
|
68
|
+
comment: %(Links from a File to its containing Object.).freeze,
|
69
|
+
domain: "pcdm:File".freeze,
|
70
|
+
inverseOf: "pcdm:hasFile".freeze,
|
71
|
+
isDefinedBy: "pcdm:".freeze,
|
72
|
+
label: "is file of".freeze,
|
73
|
+
range: "pcdm:Object".freeze,
|
74
|
+
subPropertyOf: "ore:isAggregatedBy".freeze,
|
75
|
+
type: "rdf:Property".freeze
|
76
|
+
property :hasFile,
|
77
|
+
comment: %(Links to a File contained by this Object.).freeze,
|
78
|
+
domain: "pcdm:Object".freeze,
|
79
|
+
isDefinedBy: "pcdm:".freeze,
|
80
|
+
label: "has file".freeze,
|
81
|
+
range: "pcdm:File".freeze,
|
82
|
+
subPropertyOf: "ore:aggregates".freeze,
|
83
|
+
type: "rdf:Property".freeze
|
84
|
+
property :hasMember,
|
85
|
+
comment: %(Links to a subsidiary Object or Collection. Typically used to link
|
86
|
+
to component parts, such as a book linking to a page. Note on transitivity: hasMember is
|
87
|
+
not defined as transitive, but applications may treat it as transitive as local needs
|
88
|
+
dictate.).freeze,
|
89
|
+
domain: "ore:Aggregation".freeze,
|
90
|
+
isDefinedBy: "pcdm:".freeze,
|
91
|
+
label: "has member".freeze,
|
92
|
+
range: "ore:Aggregation".freeze,
|
93
|
+
subPropertyOf: "ore:aggregates".freeze,
|
94
|
+
type: "rdf:Property".freeze
|
95
|
+
property :hasRelatedObject,
|
96
|
+
comment: %(Links to a related Object that is not a component part, such as an object representing a donor agreement or policies that govern the resource.).freeze,
|
97
|
+
domain: "ore:Aggregation".freeze,
|
98
|
+
isDefinedBy: "pcdm:".freeze,
|
99
|
+
label: "has related object".freeze,
|
100
|
+
range: "pcdm:Object".freeze,
|
101
|
+
subPropertyOf: "ore:aggregates".freeze,
|
102
|
+
type: "rdf:Property".freeze
|
103
|
+
property :memberOf,
|
104
|
+
comment: %(Links from an Object or Collection to a containing Object or Collection.).freeze,
|
105
|
+
domain: "ore:Aggregation".freeze,
|
106
|
+
inverseOf: "pcdm:hasMember".freeze,
|
107
|
+
isDefinedBy: "pcdm:".freeze,
|
108
|
+
label: "is member of".freeze,
|
109
|
+
range: "ore:Aggregation".freeze,
|
110
|
+
subPropertyOf: "ore:isAggregatedBy".freeze,
|
111
|
+
type: "rdf:Property".freeze
|
112
|
+
property :relatedObjectOf,
|
113
|
+
comment: %(Links from an Object to a Object or Collection that it is related to.).freeze,
|
114
|
+
domain: "pcdm:Object".freeze,
|
115
|
+
inverseOf: "pcdm:hasRelatedObject".freeze,
|
116
|
+
isDefinedBy: "pcdm:".freeze,
|
117
|
+
label: "is related object of".freeze,
|
118
|
+
range: "ore:Aggregation".freeze,
|
119
|
+
subPropertyOf: "ore:isAggregatedBy".freeze,
|
120
|
+
type: "rdf:Property".freeze
|
121
|
+
end
|
122
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rdf-vocab
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Chandek-Stark
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2020-01-15 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rdf
|
@@ -297,6 +297,7 @@ files:
|
|
297
297
|
- lib/rdf/vocab/ogc.rb
|
298
298
|
- lib/rdf/vocab/ore.rb
|
299
299
|
- lib/rdf/vocab/org.rb
|
300
|
+
- lib/rdf/vocab/pcdm.rb
|
300
301
|
- lib/rdf/vocab/pplan.rb
|
301
302
|
- lib/rdf/vocab/premis.rb
|
302
303
|
- lib/rdf/vocab/premis_event_type.rb
|