rdf-vocab 0.0.1 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bebfe45454321637669664044496afede50f41eb
4
- data.tar.gz: 04f968d55c1d30af7b4941bfd192de49fe6937b8
3
+ metadata.gz: d735a3b4a986bab84a23275179cf52073446b7b9
4
+ data.tar.gz: 6c0faa61b246722abf7ab8c3f0aa3b52e73553a8
5
5
  SHA512:
6
- metadata.gz: 1e6d5a73f26e691011c1c94c1ce64ec15aedbded35db4ce0638909adb3f8d3764b615849efafa6e5117f96c9a9af883301aebbbb1b50e531bf4ed2a5f1768798
7
- data.tar.gz: 4e04654db970f16d111cc9cdc2e9f0e17e84b29903050f61fed4da0d7d5a210441c36d57d30cc2b5c0fccfaf5d61107e83fb9a8bf8d4c43df39bca7a453d9a1a
6
+ metadata.gz: ef4efb30118c9414f5fce0f01991265ab59fd543d3443d5c6ff58f4d06419c2a616faac45a12aed1b76d72f76850b7905a49f4ed45d7455f68b9c4e0006a173f
7
+ data.tar.gz: 96fb0493cac030a3aa5ccd1bb6d5809dff43d125cd1a5ce96675f8abd3482983a504a6d795240f589f6176b673e56ac8082e444063d3383d027a28125dd82b81
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --color
2
+ --require spec_helper
data/Rakefile CHANGED
@@ -1 +1,8 @@
1
1
  require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+ load "rdf-vocab/tasks/vocab.rake"
4
+
5
+ desc "Run all specs in spec directory"
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ task default: :spec
data/lib/rdf-vocab.rb CHANGED
@@ -1,5 +1,21 @@
1
+ require "yaml"
2
+ require "rdf/cli/vocab-loader"
3
+
1
4
  module RDF
2
5
  module Vocab
3
-
6
+
7
+ def self.config
8
+ @config ||= YAML.load_file(File.expand_path("../rdf-vocab/config/vocab.yml", __FILE__))
9
+ end
10
+
11
+ def self.generate(vocab, output=nil)
12
+ loader = RDF::VocabularyLoader.new
13
+ config[vocab].each do |param, value|
14
+ loader.send("#{param}=", value)
15
+ end
16
+ loader.output = output if output # default: $stdout
17
+ loader.run
18
+ end
19
+
4
20
  end
5
21
  end
@@ -0,0 +1,36 @@
1
+ #
2
+ # Vocabulary generator config
3
+ #
4
+ # Outer keys are module file name prefixes -- e.g., "premis" => lib/rdf-vocab/vocab/premis.rb
5
+ #
6
+ # The value of each outer key consists of attribute names and values for the RDF::VocabularyLoader
7
+ # instance created to generate each vocabulary.
8
+ #
9
+ # Example:
10
+ #
11
+ # premis:
12
+ # class_name: PREMIS
13
+ # uri: http://www.loc.gov/premis/rdf/v1#
14
+ # source: http://www.loc.gov/premis/rdf/v1.rdf
15
+ #
16
+ # will create and run an instance of RDF::VocabularyLoader
17
+ #
18
+ # loader = RDF::VocabularyLoader.new
19
+ # loader.class_name = "PREMIS"
20
+ # loader.uri = "http://www.loc.gov/premis/rdf/v1#"
21
+ # loader.source = "http://www.loc.gov/premis/rdf/v1.rdf"
22
+ # loader.output = <File: "lib/rdf-vocab/vocab/premis.rb">
23
+ # loader.run
24
+ #
25
+ mads:
26
+ class_name: MADS
27
+ uri: http://www.loc.gov/mads/rdf/v1#
28
+ source: http://www.loc.gov/standards/mads/rdf/v1.rdf
29
+ mods:
30
+ class_name: MODS
31
+ uri: http://www.loc.gov/mods/rdf/v1#
32
+ source: http://www.loc.gov/standards/mods/modsrdf/v1/modsrdf.owl
33
+ premis:
34
+ class_name: PREMIS
35
+ uri: http://www.loc.gov/premis/rdf/v1#
36
+ source: http://www.loc.gov/premis/rdf/v1.rdf
@@ -0,0 +1,16 @@
1
+ require "rdf-vocab"
2
+
3
+ namespace :vocab do
4
+ RDF::Vocab.config.keys.sort.each do |vocab|
5
+ desc "Generate \"#{vocab}\" vocabulary from source (`output' = file path)"
6
+ task vocab do
7
+ if outfile = ENV["output"]
8
+ File.open(outfile, "wb") do |output|
9
+ RDF::Vocab.generate(vocab, output)
10
+ end
11
+ else
12
+ RDF::Vocab.generate(vocab)
13
+ end
14
+ end
15
+ end
16
+ end
@@ -1,5 +1,5 @@
1
1
  module RDF
2
2
  module Vocab
3
- VERSION = "0.0.1"
3
+ VERSION = "0.1.0"
4
4
  end
5
5
  end
@@ -0,0 +1,726 @@
1
+ # -*- encoding: utf-8 -*-
2
+ # This file generated automatically using vocab-fetch from http://www.loc.gov/standards/mads/rdf/v1.rdf
3
+ require 'rdf'
4
+ module RDF
5
+ class MADS < RDF::StrictVocabulary("http://www.loc.gov/mads/rdf/v1#")
6
+
7
+ # Class definitions
8
+ term :Address,
9
+ label: "Address".freeze,
10
+ type: "owl:Class".freeze
11
+ term :Affiliation,
12
+ comment: %(A resource that describes an individual's affiliation with an organization or group, such as the nature of the affiliation and the active dates.).freeze,
13
+ label: "Affiliation".freeze,
14
+ type: "owl:Class".freeze
15
+ term :Area,
16
+ comment: %(Describes a resource whose label is a non-jurisdictional geographic entity.).freeze,
17
+ label: "Area Type".freeze,
18
+ subClassOf: "http://www.loc.gov/mads/rdf/v1#Geographic".freeze,
19
+ type: "owl:Class".freeze
20
+ term :Authority,
21
+ comment: %(A concept with a controlled label.).freeze,
22
+ label: "Authority".freeze,
23
+ "owl:disjointWith" => [%(http://www.loc.gov/mads/rdf/v1#DeprecatedAuthority).freeze, %(http://www.loc.gov/mads/rdf/v1#MADSCollection).freeze, %(http://www.loc.gov/mads/rdf/v1#MADSScheme).freeze, %(http://www.loc.gov/mads/rdf/v1#Variant).freeze],
24
+ subClassOf: ["owl:Thing".freeze, "skos:Concept".freeze],
25
+ type: "owl:Class".freeze
26
+ term :City,
27
+ comment: %(Describes a resource whose label is an inhabited place incorporated as a city, town, etc.).freeze,
28
+ label: "City Type".freeze,
29
+ subClassOf: "http://www.loc.gov/mads/rdf/v1#Geographic".freeze,
30
+ type: "owl:Class".freeze
31
+ term :CitySection,
32
+ comment: %(Describes a resource whose label is a smaller unit within a populated place, e.g., a neighborhood, park, or
33
+ street.).freeze,
34
+ label: "City Section Type".freeze,
35
+ subClassOf: "http://www.loc.gov/mads/rdf/v1#Geographic".freeze,
36
+ type: "owl:Class".freeze
37
+ term :ComplexSubject,
38
+ comment: %(The label of a madsrdf:ComplexSubject is the concatenation of labels from two or more madsrdf:SimpleType descriptions, except that the combination of madsrdf:SimpleType
39
+ labels for the madsrdf:ComplexSubject does not meet the conditions to be the label of a madsrdf:NameTitle resource or madsrdf:HierarchicalGeographic resource.).freeze,
40
+ label: "Complex Subject Type".freeze,
41
+ subClassOf: "http://www.loc.gov/mads/rdf/v1#ComplexType".freeze,
42
+ type: "owl:Class".freeze
43
+ term :ComplexType,
44
+ comment: %(madsrdf:ComplexType is a resource whose label is the concatenation of labels from two or more Authority descriptions or two or more Variant descriptions or some
45
+ combination of Authority and Variant descriptions, each of a madsrdf:SimpleType.).freeze,
46
+ label: "Complex Type".freeze,
47
+ "owl:disjointWith" => %(http://www.loc.gov/mads/rdf/v1#SimpleType).freeze,
48
+ subClassOf: "http://www.loc.gov/mads/rdf/v1#MADSType".freeze,
49
+ type: "owl:Class".freeze
50
+ term :ConferenceName,
51
+ comment: %(Describes a resource whose label represents a conference name.).freeze,
52
+ label: "Conference Name Type".freeze,
53
+ subClassOf: "http://www.loc.gov/mads/rdf/v1#Name".freeze,
54
+ type: "owl:Class".freeze
55
+ term :Continent,
56
+ comment: %(Describes a resource whose label is one of seven large landmasses on Earth. These are: Asia, Africa, Europe,
57
+ North America, South America, Australia, and Antarctica.).freeze,
58
+ label: "Continent Type".freeze,
59
+ subClassOf: "http://www.loc.gov/mads/rdf/v1#Geographic".freeze,
60
+ type: "owl:Class".freeze
61
+ term :CorporateName,
62
+ comment: %(Describes a resource whose label is the name of a corporate entity, which may include political or ecclesiastical
63
+ entities.).freeze,
64
+ label: "Corporate Name Type".freeze,
65
+ subClassOf: "http://www.loc.gov/mads/rdf/v1#Name".freeze,
66
+ type: "owl:Class".freeze
67
+ term :Country,
68
+ comment: %(Describes a resource whose label is a country, i.e. a political entity considered a country. ).freeze,
69
+ label: "Country Type".freeze,
70
+ subClassOf: "http://www.loc.gov/mads/rdf/v1#Geographic".freeze,
71
+ type: "owl:Class".freeze
72
+ term :County,
73
+ comment: %(Describes a resource whose label is the largest local administrative unit, e.g. Warwickshire, in a country, e.g.
74
+ England.).freeze,
75
+ label: "County Type".freeze,
76
+ subClassOf: "http://www.loc.gov/mads/rdf/v1#Geographic".freeze,
77
+ type: "owl:Class".freeze
78
+ term :DateNameElement,
79
+ label: "Date Name Element".freeze,
80
+ subClassOf: "http://www.loc.gov/mads/rdf/v1#NameElement".freeze,
81
+ type: "owl:Class".freeze
82
+ term :DeprecatedAuthority,
83
+ comment: %(A former Authority.).freeze,
84
+ label: "Deprecated Authority".freeze,
85
+ "owl:disjointWith" => [%(http://www.loc.gov/mads/rdf/v1#Authority).freeze, %(http://www.loc.gov/mads/rdf/v1#MADSCollection).freeze, %(http://www.loc.gov/mads/rdf/v1#MADSScheme).freeze],
86
+ subClassOf: "owl:Thing".freeze,
87
+ type: "owl:Class".freeze
88
+ term :Element,
89
+ comment: %(madsrdf:Element types describe the various parts of labels.).freeze,
90
+ label: "Element".freeze,
91
+ type: "owl:Class".freeze
92
+ term :ExtraterrestrialArea,
93
+ comment: %(Describes a resource whose label is any extraterrestrial entity or space, including a solar system, a galaxy, a
94
+ star system, and a planet, including a geographic feature of an individual planet.).freeze,
95
+ label: "Extraterrestrial Area Type".freeze,
96
+ subClassOf: "http://www.loc.gov/mads/rdf/v1#Geographic".freeze,
97
+ type: "owl:Class".freeze
98
+ term :FamilyName,
99
+ comment: %(Describes a resource whose label represents a family name.).freeze,
100
+ label: "Family Name Type".freeze,
101
+ subClassOf: "http://www.loc.gov/mads/rdf/v1#Name".freeze,
102
+ type: "owl:Class".freeze
103
+ term :FamilyNameElement,
104
+ label: "Family Name Element".freeze,
105
+ subClassOf: "http://www.loc.gov/mads/rdf/v1#NameElement".freeze,
106
+ type: "owl:Class".freeze
107
+ term :FullNameElement,
108
+ label: "Fullname Element".freeze,
109
+ subClassOf: "http://www.loc.gov/mads/rdf/v1#NameElement".freeze,
110
+ type: "owl:Class".freeze
111
+ term :GenreForm,
112
+ comment: %(Describes a resource whose label is a genre or form term. Genre terms for textual materials designate specific kinds of materials distinguished by the style or
113
+ technique of their intellectual contents; for example, biographies, catechisms, essays, hymns, or reviews. Form terms designate historically and functionally specific kinds of materials as
114
+ distinguished by an examination of their physical character, characteristics of their intellectual content, or the order of information within them; for example, daybooks, diaries, directories,
115
+ journals, memoranda, questionnaires, syllabi, or time sheets. In the context of graphic materials, genre headings denote categories of material distinguished by vantage point, intended purpose,
116
+ characteristics of the creator, publication status, or method of representation.).freeze,
117
+ label: "Genre/Form Type".freeze,
118
+ subClassOf: "http://www.loc.gov/mads/rdf/v1#SimpleType".freeze,
119
+ type: "owl:Class".freeze
120
+ term :GenreFormElement,
121
+ label: "Genre/Form Element".freeze,
122
+ subClassOf: "http://www.loc.gov/mads/rdf/v1#Element".freeze,
123
+ type: "owl:Class".freeze
124
+ term :Geographic,
125
+ comment: %(Describes a resource whose label represents a geographic place or feature, especially when a more precise geographic determination \(City, Country, Region, etc.\) cannot
126
+ be made.).freeze,
127
+ label: "Geographic Authority".freeze,
128
+ subClassOf: "http://www.loc.gov/mads/rdf/v1#SimpleType".freeze,
129
+ type: "owl:Class".freeze
130
+ term :GeographicElement,
131
+ label: "Geographic Element".freeze,
132
+ subClassOf: "http://www.loc.gov/mads/rdf/v1#Element".freeze,
133
+ type: "owl:Class".freeze
134
+ term :GivenNameElement,
135
+ label: "Given Name Element".freeze,
136
+ subClassOf: "http://www.loc.gov/mads/rdf/v1#NameElement".freeze,
137
+ type: "owl:Class".freeze
138
+ term :HierarchicalGeographic,
139
+ comment: %(A madsrdf:HierarchicalGeographic indicates that its label is the concatenation of labels from a sequence of madsrdf:Geographic types taken from one of the
140
+ madsrdf:Geographic sub-classes such as madsrdf:City, madsrdf:Country, madsrdf:State, madsrdf:Region, madsrdf:Area, etc. The madsrdf:Geographic resources that constitute the
141
+ madsrdf:HierarchicalGeographic should have a broader to narrower hierarchical relationship between them.).freeze,
142
+ label: "Hierarchical Geographic Type".freeze,
143
+ subClassOf: "http://www.loc.gov/mads/rdf/v1#ComplexType".freeze,
144
+ type: "owl:Class".freeze
145
+ term :Identifier,
146
+ comment: %(A madsrdf:Identifier resource describes an identifier by associating the identifier value with its type. To be
147
+ used to record identifiers for a resource in the absence of URIs.).freeze,
148
+ label: "Other Identifier".freeze,
149
+ type: "owl:Class".freeze
150
+ term :Island,
151
+ comment: %(Describes a resource whose label is a tract of land surrounded by water and smaller than a continent but is not
152
+ itself a separate country. ).freeze,
153
+ label: "Island Type".freeze,
154
+ subClassOf: "http://www.loc.gov/mads/rdf/v1#Geographic".freeze,
155
+ type: "owl:Class".freeze
156
+ term :Language,
157
+ comment: %(Describes a resource whose label represents a language.).freeze,
158
+ label: "Language Type".freeze,
159
+ "owl:equivalentClass" => %(dc:LinguisticSystem).freeze,
160
+ subClassOf: "http://www.loc.gov/mads/rdf/v1#SimpleType".freeze,
161
+ type: "owl:Class".freeze
162
+ term :LanguageElement,
163
+ label: "Language Element".freeze,
164
+ subClassOf: "http://www.loc.gov/mads/rdf/v1#Element".freeze,
165
+ type: "owl:Class".freeze
166
+ term :MADSCollection,
167
+ comment: %(A madsrdf:Collection is an organizational unit, members of which will have some form of intellectually unifying
168
+ theme but not to the extent that it defines an independent knowledge organization system. It aggregates madsrdf:Authority descriptions or other madsrdf:MADSCollection resources.).freeze,
169
+ label: "MADS Collection".freeze,
170
+ "owl:disjointWith" => [%(http://www.loc.gov/mads/rdf/v1#Authority).freeze, %(http://www.loc.gov/mads/rdf/v1#MADSScheme).freeze, %(http://www.loc.gov/mads/rdf/v1#Variant).freeze],
171
+ subClassOf: "skos:Collection".freeze,
172
+ type: "owl:Class".freeze
173
+ term :MADSScheme,
174
+ comment: %(MADS Scheme is an organizational unit that describes a knowledge organization system. It aggregates madsrdf:Authority descriptions and/or madsrdf:MADSCollection
175
+ resources included in the knowledge organization system. Including a madsrdf:MADSCollection within a madsrdf:MADSScheme should be done with care; when a madsrdf:MADSCollection is part of a
176
+ madsrdf:MADSScheme, then any madsrdf:Authority within that madsrdf:MADSCollection is effectively also in the madsrdf:MADSScheme.).freeze,
177
+ label: "MADS Scheme".freeze,
178
+ "owl:disjointWith" => [%(http://www.loc.gov/mads/rdf/v1#Authority).freeze, %(http://www.loc.gov/mads/rdf/v1#MADSCollection).freeze, %(http://www.loc.gov/mads/rdf/v1#Variant).freeze],
179
+ subClassOf: "skos:ConceptScheme".freeze,
180
+ type: "owl:Class".freeze
181
+ term :MADSType,
182
+ label: "MADS Type".freeze,
183
+ "owl:disjointWith" => [%(http://www.loc.gov/mads/rdf/v1#MADSCollection).freeze, %(http://www.loc.gov/mads/rdf/v1#MADSScheme).freeze],
184
+ type: "owl:Class".freeze
185
+ term :MainTitleElement,
186
+ label: "Main Title Element".freeze,
187
+ subClassOf: "http://www.loc.gov/mads/rdf/v1#TitleElement".freeze,
188
+ type: "owl:Class".freeze
189
+ term :Name,
190
+ comment: %(Describes a resource whose label represents a name, especially when a more precise Name type \(madsrdf:ConferenceName, masdrdf:FamilyName, etc.\) cannot be
191
+ identified.).freeze,
192
+ label: "Name Type".freeze,
193
+ subClassOf: "http://www.loc.gov/mads/rdf/v1#SimpleType".freeze,
194
+ type: "owl:Class".freeze
195
+ term :NameElement,
196
+ label: "Name Element".freeze,
197
+ subClassOf: "http://www.loc.gov/mads/rdf/v1#Element".freeze,
198
+ type: "owl:Class".freeze
199
+ term :NameTitle,
200
+ comment: %(The label of a madsrdf:NameTitle resource is the concatenation of a label of a madsrdf:Name description and the label of a madsrdf:Title description. Both description
201
+ types \(madsrdf:Name and madsrdf:Title\) are of madsrdf:SimpleType types.).freeze,
202
+ label: "Name/Title Type".freeze,
203
+ subClassOf: "http://www.loc.gov/mads/rdf/v1#ComplexType".freeze,
204
+ type: "owl:Class".freeze
205
+ term :NonSortElement,
206
+ label: "Non-sort Element".freeze,
207
+ subClassOf: "http://www.loc.gov/mads/rdf/v1#TitleElement".freeze,
208
+ type: "owl:Class".freeze
209
+ term :Occupation,
210
+ comment: %(Describes a resource whose label represents an occcupation.).freeze,
211
+ label: "Occupation Type".freeze,
212
+ subClassOf: "http://www.loc.gov/mads/rdf/v1#SimpleType".freeze,
213
+ type: "owl:Class".freeze
214
+ term :PartNameElement,
215
+ label: "Part Name Element".freeze,
216
+ subClassOf: "http://www.loc.gov/mads/rdf/v1#TitleElement".freeze,
217
+ type: "owl:Class".freeze
218
+ term :PartNumberElement,
219
+ label: "Part Number Element".freeze,
220
+ subClassOf: "http://www.loc.gov/mads/rdf/v1#TitleElement".freeze,
221
+ type: "owl:Class".freeze
222
+ term :PersonalName,
223
+ comment: %(Describes a resource whose label represents a personal name.).freeze,
224
+ label: "Personal Name Type".freeze,
225
+ subClassOf: "http://www.loc.gov/mads/rdf/v1#Name".freeze,
226
+ type: "owl:Class".freeze
227
+ term :Province,
228
+ comment: %(Describes a resource whose label is a first order political division, e.g. Ontario, within a country, e.g.
229
+ Canada. ).freeze,
230
+ label: "Province Type".freeze,
231
+ subClassOf: "http://www.loc.gov/mads/rdf/v1#Geographic".freeze,
232
+ type: "owl:Class".freeze
233
+ term :RWO,
234
+ comment: %(A madsrdf:RWO is an abstract entity and identifies a Real World Object \(RWO\) identified by the label of a
235
+ madsrdf:Authority or madsrdf:DeprecatedAuthority.).freeze,
236
+ label: "Real World Object".freeze,
237
+ subClassOf: "owl:Thing".freeze,
238
+ type: "owl:Class".freeze
239
+ term :Region,
240
+ comment: %(Describes a resource whose label is an area that has the status of a jurisdiction, usually incorporating more
241
+ than one first level jurisdiction. ).freeze,
242
+ label: "Region Type".freeze,
243
+ subClassOf: "http://www.loc.gov/mads/rdf/v1#Geographic".freeze,
244
+ type: "owl:Class".freeze
245
+ term :SimpleType,
246
+ comment: %(madsrdf:SimpleType is a resource with a label constituting a single word or phrase.).freeze,
247
+ label: "Simple Type".freeze,
248
+ subClassOf: "http://www.loc.gov/mads/rdf/v1#MADSType".freeze,
249
+ type: "owl:Class".freeze
250
+ term :Source,
251
+ comment: %(A resource that represents the source of information about another resource. madsrdf:Source is a type of
252
+ citation.).freeze,
253
+ label: "Source".freeze,
254
+ type: "owl:Class".freeze
255
+ term :State,
256
+ comment: %(Describes a resource whose label is a first order political division, e.g. Montana, within a country, e.g.
257
+ U.S.).freeze,
258
+ label: "State Type".freeze,
259
+ subClassOf: "http://www.loc.gov/mads/rdf/v1#Geographic".freeze,
260
+ type: "owl:Class".freeze
261
+ term :SubTitleElement,
262
+ label: "Subtitle Element".freeze,
263
+ subClassOf: "http://www.loc.gov/mads/rdf/v1#TitleElement".freeze,
264
+ type: "owl:Class".freeze
265
+ term :Temporal,
266
+ comment: %(Describes a resource whose label represents a time-based notion.).freeze,
267
+ label: "Temporal Type".freeze,
268
+ subClassOf: "http://www.loc.gov/mads/rdf/v1#SimpleType".freeze,
269
+ type: "owl:Class".freeze
270
+ term :TemporalElement,
271
+ label: "Temporal Element".freeze,
272
+ subClassOf: "http://www.loc.gov/mads/rdf/v1#Element".freeze,
273
+ type: "owl:Class".freeze
274
+ term :TermsOfAddressNameElement,
275
+ label: "Terms of Address Element".freeze,
276
+ subClassOf: "http://www.loc.gov/mads/rdf/v1#NameElement".freeze,
277
+ type: "owl:Class".freeze
278
+ term :Territory,
279
+ comment: %(Describes a resource whose label is a geographical area belonging to or under the jurisdiction of a governmental
280
+ authority. ).freeze,
281
+ label: "Territory Type".freeze,
282
+ subClassOf: "http://www.loc.gov/mads/rdf/v1#Geographic".freeze,
283
+ type: "owl:Class".freeze
284
+ term :Title,
285
+ comment: %(Describes a resource whose label represents a title.).freeze,
286
+ label: "Title Type".freeze,
287
+ subClassOf: "http://www.loc.gov/mads/rdf/v1#SimpleType".freeze,
288
+ type: "owl:Class".freeze
289
+ term :TitleElement,
290
+ label: "Title Element".freeze,
291
+ subClassOf: "http://www.loc.gov/mads/rdf/v1#Element".freeze,
292
+ type: "owl:Class".freeze
293
+ term :Topic,
294
+ comment: %(Describes a resource whose label represents a topic.).freeze,
295
+ label: "Topic Type".freeze,
296
+ subClassOf: "http://www.loc.gov/mads/rdf/v1#SimpleType".freeze,
297
+ type: "owl:Class".freeze
298
+ term :TopicElement,
299
+ label: "Topic Element".freeze,
300
+ subClassOf: "http://www.loc.gov/mads/rdf/v1#Element".freeze,
301
+ type: "owl:Class".freeze
302
+ term :Variant,
303
+ comment: %(A resource whose label is the alternate form of an Authority or Deprecated Authority.).freeze,
304
+ label: "Variant".freeze,
305
+ "owl:disjointWith" => [%(http://www.loc.gov/mads/rdf/v1#Authority).freeze, %(http://www.loc.gov/mads/rdf/v1#MADSCollection).freeze, %(http://www.loc.gov/mads/rdf/v1#MADSScheme).freeze],
306
+ subClassOf: ["owl:Thing".freeze, "skosxl:Label".freeze],
307
+ type: "owl:Class".freeze
308
+
309
+ # Property definitions
310
+ property :adminMetadata,
311
+ 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
312
+ the RecordInfo ontology is recommended.).freeze,
313
+ label: "Administrative Metadata".freeze,
314
+ type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
315
+ property :affiliationEnd,
316
+ comment: %(The date an individual ceased to be affiliated with an organization.).freeze,
317
+ domain: "http://www.loc.gov/mads/rdf/v1#Affiliation".freeze,
318
+ label: "Affiliation Ended".freeze,
319
+ range: "xsd:date".freeze,
320
+ type: ["rdf:Property".freeze, "owl:DatatypeProperty".freeze]
321
+ property :affiliationStart,
322
+ comment: %(The date an individual established an affiliation with an organization.).freeze,
323
+ domain: "http://www.loc.gov/mads/rdf/v1#Affiliation".freeze,
324
+ label: "Affiliation Started".freeze,
325
+ range: "xsd:date".freeze,
326
+ type: ["rdf:Property".freeze, "owl:DatatypeProperty".freeze]
327
+ property :authoritativeLabel,
328
+ comment: %(A lexical string representing a controlled, curated label for the Authority.).freeze,
329
+ domain: "http://www.loc.gov/mads/rdf/v1#Authority".freeze,
330
+ label: "Authoritative Label".freeze,
331
+ subPropertyOf: ["rdfs:label".freeze, "skos:prefLabel".freeze],
332
+ type: ["owl:AnnotationProperty".freeze, "rdf:Property".freeze]
333
+ property :changeNote,
334
+ comment: %(A note detailing a modification to an Authority or Variant.).freeze,
335
+ label: "Change Note".freeze,
336
+ "owl:equivalentProperty" => %(skos:changeNote).freeze,
337
+ subPropertyOf: "http://www.loc.gov/mads/rdf/v1#note".freeze,
338
+ type: ["owl:AnnotationProperty".freeze, "rdf:Property".freeze]
339
+ property :citationNote,
340
+ comment: %(A note about how the madsrdf:Source relates to the resource about which the madsrdf:Source is the information source.).freeze,
341
+ domain: "http://www.loc.gov/mads/rdf/v1#Source".freeze,
342
+ label: "Citation Note".freeze,
343
+ type: ["owl:AnnotationProperty".freeze, "rdf:Property".freeze]
344
+ property :citationSource,
345
+ comment: %(The cited resource.).freeze,
346
+ domain: "http://www.loc.gov/mads/rdf/v1#Source".freeze,
347
+ label: "Citation Source".freeze,
348
+ type: ["owl:AnnotationProperty".freeze, "rdf:Property".freeze]
349
+ property :citationStatus,
350
+ comment: %(Should use a standard term - such as 'found' or 'not found' - to indicate whether the cited resource yielded information about the resource related to the
351
+ madsrdf:Source.).freeze,
352
+ domain: "http://www.loc.gov/mads/rdf/v1#Source".freeze,
353
+ label: "Citation Status".freeze,
354
+ range: "xsd:string".freeze,
355
+ type: ["owl:DatatypeProperty".freeze, "rdf:Property".freeze]
356
+ property :city,
357
+ comment: %(The city component of an address.).freeze,
358
+ domain: "http://www.loc.gov/mads/rdf/v1#Address".freeze,
359
+ label: "City".freeze,
360
+ type: ["owl:AnnotationProperty".freeze, "rdf:Property".freeze]
361
+ property :classification,
362
+ comment: %(The classification code associated with a madsrdf:Authority.).freeze,
363
+ domain: "http://www.loc.gov/mads/rdf/v1#Authority".freeze,
364
+ label: "Classification".freeze,
365
+ subPropertyOf: "skos:semanticRelation".freeze,
366
+ type: ["owl:AnnotationProperty".freeze, "rdf:Property".freeze]
367
+ property :code,
368
+ comment: %(A code is a string of characters associated with a the authoritative or deprecated label. It may record an
369
+ historical notation once used to uniquely identify a concept.).freeze,
370
+ label: "Code".freeze,
371
+ subPropertyOf: "skos:notation".freeze,
372
+ type: ["owl:DatatypeProperty".freeze, "rdf:Property".freeze]
373
+ property :componentList,
374
+ comment: %(madsrdf:componentList organizes the madsrdf:SimpleType resources whose labels are represented in the label of the
375
+ associated madsrdf:ComplexType resource.).freeze,
376
+ domain: "http://www.loc.gov/mads/rdf/v1#ComplexType".freeze,
377
+ label: "Component List".freeze,
378
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
379
+ property :country,
380
+ comment: %(Country associated with an address.).freeze,
381
+ domain: "http://www.loc.gov/mads/rdf/v1#Address".freeze,
382
+ label: "Country".freeze,
383
+ type: ["owl:AnnotationProperty".freeze, "rdf:Property".freeze]
384
+ property :definitionNote,
385
+ comment: %(An explanation of the meaning of an Authority, DeprecatedAuthority, or Variant description.).freeze,
386
+ label: "Definition Note".freeze,
387
+ "owl:equivalentProperty" => %(skos:definition).freeze,
388
+ subPropertyOf: "http://www.loc.gov/mads/rdf/v1#note".freeze,
389
+ type: ["owl:AnnotationProperty".freeze, "rdf:Property".freeze]
390
+ property :deletionNote,
391
+ comment: %(A note pertaining to the deletion of a resource.).freeze,
392
+ label: "Deletion Note".freeze,
393
+ subPropertyOf: "http://www.loc.gov/mads/rdf/v1#changeNote".freeze,
394
+ type: ["owl:AnnotationProperty".freeze, "rdf:Property".freeze]
395
+ property :deprecatedLabel,
396
+ comment: %(A label once considered authoritative \(controlled and curated\) but which is no longer.).freeze,
397
+ domain: "http://www.loc.gov/mads/rdf/v1#DeprecatedAuthority".freeze,
398
+ label: "Deprecated Label".freeze,
399
+ subPropertyOf: ["rdfs:label".freeze, "skos:hiddenLabel".freeze],
400
+ type: ["rdf:Property".freeze, "owl:AnnotationProperty".freeze]
401
+ property :editorialNote,
402
+ comment: %(A note pertaining to the management of the label associated with the resource.).freeze,
403
+ label: "Editorial Note".freeze,
404
+ "owl:equivalentProperty" => %(skos:editorialNote).freeze,
405
+ subPropertyOf: "http://www.loc.gov/mads/rdf/v1#note".freeze,
406
+ type: ["owl:AnnotationProperty".freeze, "rdf:Property".freeze]
407
+ property :elementList,
408
+ comment: %(The madsrdf:elementList property is used to organize the various parts of labels.).freeze,
409
+ label: "Element List".freeze,
410
+ type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
411
+ property :elementValue,
412
+ domain: "http://www.loc.gov/mads/rdf/v1#Element".freeze,
413
+ label: "Element Value".freeze,
414
+ range: "xsd:string".freeze,
415
+ type: ["owl:DatatypeProperty".freeze, "rdf:Property".freeze]
416
+ property :email,
417
+ domain: "http://www.loc.gov/mads/rdf/v1#Affiliation".freeze,
418
+ label: "Email".freeze,
419
+ type: ["owl:DatatypeProperty".freeze, "rdf:Property".freeze]
420
+ property :exampleNote,
421
+ comment: %(A example of how the resource might be used.).freeze,
422
+ label: "Example Note".freeze,
423
+ "owl:equivalentProperty" => %(skos:example).freeze,
424
+ subPropertyOf: "http://www.loc.gov/mads/rdf/v1#note".freeze,
425
+ type: ["owl:AnnotationProperty".freeze, "rdf:Property".freeze]
426
+ property :extendedAddress,
427
+ comment: %(The second address line, if needed.).freeze,
428
+ domain: "http://www.loc.gov/mads/rdf/v1#Address".freeze,
429
+ label: "Extended Address".freeze,
430
+ type: ["owl:DatatypeProperty".freeze, "rdf:Property".freeze]
431
+ property :extension,
432
+ label: "Extension".freeze,
433
+ type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
434
+ property :fax,
435
+ comment: %(Fax number).freeze,
436
+ domain: "http://www.loc.gov/mads/rdf/v1#Affiliation".freeze,
437
+ label: "Fax".freeze,
438
+ type: ["owl:DatatypeProperty".freeze, "rdf:Property".freeze]
439
+ property :fieldOfActivity,
440
+ comment: %(The field of activity associated with an individual.).freeze,
441
+ domain: "http://www.loc.gov/mads/rdf/v1#RWO".freeze,
442
+ label: "Field of Activity".freeze,
443
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
444
+ property :hasAbbreviationVariant,
445
+ label: "Has Abbreviation Variant".freeze,
446
+ subPropertyOf: "http://www.loc.gov/mads/rdf/v1#hasVariant".freeze,
447
+ type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
448
+ property :hasAcronymVariant,
449
+ label: "Has Acronym Variant".freeze,
450
+ subPropertyOf: "http://www.loc.gov/mads/rdf/v1#hasVariant".freeze,
451
+ type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
452
+ property :hasAffiliation,
453
+ comment: %(Property to associate an individual, such as a foaf:Agent, to a group or organization with which an individual is
454
+ or has been affiliated.).freeze,
455
+ domain: "http://www.loc.gov/mads/rdf/v1#RWO".freeze,
456
+ label: "Has Affiliation".freeze,
457
+ range: "http://www.loc.gov/mads/rdf/v1#Affiliation".freeze,
458
+ type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
459
+ property :hasAffiliationAddress,
460
+ comment: %(The address of the group or organization with which an individual is associated.).freeze,
461
+ domain: "http://www.loc.gov/mads/rdf/v1#Affiliation".freeze,
462
+ label: "Has Affiliation Address".freeze,
463
+ range: "http://www.loc.gov/mads/rdf/v1#Address".freeze,
464
+ type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
465
+ property :hasBroaderAuthority,
466
+ label: "Has Broader Authority".freeze,
467
+ "owl:inverseOf" => %(http://www.loc.gov/mads/rdf/v1#hasNarrowerAuthority).freeze,
468
+ subPropertyOf: ["http://www.loc.gov/mads/rdf/v1#hasRelatedAuthority".freeze, "skos:broader".freeze],
469
+ type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
470
+ property :hasBroaderExternalAuthority,
471
+ comment: %(Creates a direct relationship between an Authority and a more broadly defined Authority from a different MADS
472
+ Scheme.).freeze,
473
+ label: "Has Broader External Authority".freeze,
474
+ subPropertyOf: ["http://www.loc.gov/mads/rdf/v1#hasBroaderAuthority".freeze, "skos:broadMatch".freeze],
475
+ type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
476
+ property :hasCloseExternalAuthority,
477
+ comment: %(Records a relationship between an Authority and one that is closely related from a different MADS
478
+ Scheme.).freeze,
479
+ label: "Has Close External Authority".freeze,
480
+ subPropertyOf: ["http://www.loc.gov/mads/rdf/v1#hasRelatedAuthority".freeze, "skos:closeMatch".freeze],
481
+ type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze, "owl:SymmetricProperty".freeze]
482
+ property :hasCorporateParentAuthority,
483
+ comment: %(Establishes a relationship between a CorporateName Authority and one of the same that is more broadly
484
+ defined.).freeze,
485
+ domain: "http://www.loc.gov/mads/rdf/v1#CorporateName".freeze,
486
+ label: "Has Parent Organization".freeze,
487
+ range: "http://www.loc.gov/mads/rdf/v1#CorporateName".freeze,
488
+ subPropertyOf: "http://www.loc.gov/mads/rdf/v1#hasRelatedAuthority".freeze,
489
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
490
+ property :hasCorporateSubsidiaryAuthority,
491
+ comment: %(Establishes a relationship between a CorporateName Authority and one of the same that is more narrowly
492
+ defined.).freeze,
493
+ domain: "http://www.loc.gov/mads/rdf/v1#CorporateName".freeze,
494
+ label: "Is Parent Organization Of".freeze,
495
+ "owl:inverseOf" => %(http://www.loc.gov/mads/rdf/v1#hasCorporateParentAuthority).freeze,
496
+ range: "http://www.loc.gov/mads/rdf/v1#CorporateName".freeze,
497
+ subPropertyOf: "http://www.loc.gov/mads/rdf/v1#hasRelatedAuthority".freeze,
498
+ type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
499
+ property :hasEarlierEstablishedForm,
500
+ comment: %(Used to reference a resource that was an earlier form. This is Related type='earlier' in MADS XML.).freeze,
501
+ label: "Has Earlier Established Form".freeze,
502
+ "owl:inverseOf" => %(http://www.loc.gov/mads/rdf/v1#hasLaterEstablishedForm).freeze,
503
+ subPropertyOf: "http://www.loc.gov/mads/rdf/v1#see".freeze,
504
+ type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
505
+ property :hasExactExternalAuthority,
506
+ comment: %(Records a relationship between an Authority and one to which it matches exactly but from a different MADS
507
+ Scheme.).freeze,
508
+ label: "Has Exact External Authority".freeze,
509
+ subPropertyOf: ["http://www.loc.gov/mads/rdf/v1#hasCloseExternalAuthority".freeze, "skos:exactMatch".freeze],
510
+ type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze, "owl:SymmetricProperty".freeze, "owl:TransitiveProperty".freeze]
511
+ property :hasExpansionVariant,
512
+ label: "Has Expansion Variant".freeze,
513
+ subPropertyOf: "http://www.loc.gov/mads/rdf/v1#hasVariant".freeze,
514
+ type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
515
+ property :hasHiddenVariant,
516
+ comment: %(Use for variants that are searchable, but not necessarily for display.).freeze,
517
+ domain: "http://www.loc.gov/mads/rdf/v1#Authority".freeze,
518
+ label: "Has Hidden Variant".freeze,
519
+ range: "http://www.loc.gov/mads/rdf/v1#Variant".freeze,
520
+ subPropertyOf: "skosxl:hiddenLabel".freeze,
521
+ type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
522
+ property :hasIdentifier,
523
+ comment: %(Associates a resource with a madsrdf:Identifier.).freeze,
524
+ label: "Has Identifier".freeze,
525
+ range: "http://www.loc.gov/mads/rdf/v1#Identifier".freeze,
526
+ type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
527
+ property :hasLaterEstablishedForm,
528
+ comment: %(Use to reference the later form of a resource. This is Related type='later' in MADS XML.).freeze,
529
+ label: "Has Later Established Form".freeze,
530
+ "owl:inverseOf" => %(http://www.loc.gov/mads/rdf/v1#hasEarlierEstablishedForm).freeze,
531
+ subPropertyOf: "http://www.loc.gov/mads/rdf/v1#see".freeze,
532
+ type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
533
+ property :hasMADSCollectionMember,
534
+ comment: %(Associates an Authority or other Collection with a madsrdf:MADSCollection.).freeze,
535
+ domain: "http://www.loc.gov/mads/rdf/v1#MADSCollection".freeze,
536
+ label: "Has MADSCollection Member".freeze,
537
+ "owl:inverseOf" => %(http://www.loc.gov/mads/rdf/v1#isMemberOfMADSCollection).freeze,
538
+ subPropertyOf: "skos:member".freeze,
539
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
540
+ property :hasMADSSchemeMember,
541
+ comment: %(Associates an Authority or Collection with a madsrdf:MADSScheme.).freeze,
542
+ domain: "http://www.loc.gov/mads/rdf/v1#MADSScheme".freeze,
543
+ label: "Has MADS Scheme Member".freeze,
544
+ "owl:inverseOf" => %(http://www.loc.gov/mads/rdf/v1#isMemberOfMADSScheme).freeze,
545
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
546
+ property :hasNarrowerAuthority,
547
+ comment: %(Creates a direct relationship between an Authority and one that is more narrowly defined.).freeze,
548
+ label: "Has Narrower Authority".freeze,
549
+ "owl:inverseOf" => %(http://www.loc.gov/mads/rdf/v1#hasBroaderAuthority).freeze,
550
+ subPropertyOf: ["http://www.loc.gov/mads/rdf/v1#hasRelatedAuthority".freeze, "skos:narrower".freeze],
551
+ type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
552
+ property :hasNarrowerExternalAuthority,
553
+ comment: %(Creates a direct relationship between an Authority and a more narrowly defined Authority from a different MADS
554
+ Scheme.).freeze,
555
+ label: "Has Narrower External Authority".freeze,
556
+ subPropertyOf: ["http://www.loc.gov/mads/rdf/v1#hasNarrowerAuthority".freeze, "skos:narrowMatch".freeze],
557
+ type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
558
+ property :hasReciprocalAuthority,
559
+ comment: %(Establishes a relationship between two Authority resources. It is reciprocal, so the relationship must be shared. This is Related type='equivalent' in MADS
560
+ XML.).freeze,
561
+ label: "Has Reciprocal Authority".freeze,
562
+ subPropertyOf: ["http://www.loc.gov/mads/rdf/v1#hasRelatedAuthority".freeze, "skos:related".freeze],
563
+ type: ["owl:SymmetricProperty".freeze, "rdf:Property".freeze, "owl:ObjectProperty".freeze]
564
+ property :hasReciprocalExternalAuthority,
565
+ comment: %(Establishes a relationship between an Authority and one from a different MADS Scheme. It is reciprocal, so the
566
+ relationship must be shared.).freeze,
567
+ label: "Has Reciprocal External Authority".freeze,
568
+ subPropertyOf: ["http://www.loc.gov/mads/rdf/v1#hasReciprocalAuthority".freeze, "skos:relatedMatch".freeze],
569
+ type: ["owl:SymmetricProperty".freeze, "rdf:Property".freeze, "owl:ObjectProperty".freeze]
570
+ property :hasRelatedAuthority,
571
+ comment: %(Unless the relationship can be more specifically identified, use 'hasRelatedAuthority.').freeze,
572
+ domain: "http://www.loc.gov/mads/rdf/v1#Authority".freeze,
573
+ label: "Has Related Authority".freeze,
574
+ range: "http://www.loc.gov/mads/rdf/v1#Authority".freeze,
575
+ subPropertyOf: "skos:semanticRelation".freeze,
576
+ type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
577
+ property :hasSource,
578
+ comment: %(Associates a resource description with its Source.).freeze,
579
+ label: "Has Source".freeze,
580
+ range: "http://www.loc.gov/mads/rdf/v1#Source".freeze,
581
+ type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
582
+ property :hasTopMemberOfMADSScheme,
583
+ comment: %(Identifies an Authority that is at the top of the hierarchy of authorities within the MADS Scheme.).freeze,
584
+ domain: "http://www.loc.gov/mads/rdf/v1#MADSScheme".freeze,
585
+ label: "Has Top Member of MADS Scheme".freeze,
586
+ range: "http://www.loc.gov/mads/rdf/v1#Authority".freeze,
587
+ subPropertyOf: ["http://www.loc.gov/mads/rdf/v1#hasMADSSchemeMember".freeze, "skos:hasTopConcept".freeze],
588
+ type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
589
+ property :hasTranslationVariant,
590
+ comment: %(A Variant whose label represents a translation of that of the authoritative label.).freeze,
591
+ label: "Has Translation Variant".freeze,
592
+ subPropertyOf: "http://www.loc.gov/mads/rdf/v1#hasVariant".freeze,
593
+ type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
594
+ property :hasVariant,
595
+ comment: %(Associates a Variant with an Authority or Deprecrated Authority. Unless the variant type can be more specifically identified, use 'hasVariant.').freeze,
596
+ domain: "http://www.loc.gov/mads/rdf/v1#Authority".freeze,
597
+ label: "Has Variant".freeze,
598
+ range: "http://www.loc.gov/mads/rdf/v1#Variant".freeze,
599
+ subPropertyOf: "skosxl:altLabel".freeze,
600
+ type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
601
+ property :hiddenLabel,
602
+ comment: %(A label entered for discovery purposes but not shown.).freeze,
603
+ domain: "http://www.loc.gov/mads/rdf/v1#Variant".freeze,
604
+ label: "Hidden Label".freeze,
605
+ subPropertyOf: "skosxl:literalForm".freeze,
606
+ type: ["rdf:Property".freeze, "owl:DatatypeProperty".freeze]
607
+ property :historyNote,
608
+ comment: %(A note pertaining to the history of the resource.).freeze,
609
+ label: "History Note".freeze,
610
+ "owl:equivalentProperty" => %(skos:historyNote).freeze,
611
+ subPropertyOf: "http://www.loc.gov/mads/rdf/v1#note".freeze,
612
+ type: "owl:AnnotationProperty".freeze
613
+ property :hours,
614
+ domain: "http://www.loc.gov/mads/rdf/v1#Affiliation".freeze,
615
+ label: "Hours".freeze,
616
+ type: ["owl:DatatypeProperty".freeze, "rdf:Property".freeze]
617
+ property :idScheme,
618
+ comment: %(The scheme associated with the identifier. For example, "LCCN" would be used when the Identifier Value
619
+ \(madsrdf:idValue\) is a LC Control Number.).freeze,
620
+ domain: "http://www.loc.gov/mads/rdf/v1#Identifier".freeze,
621
+ label: "Identifier Scheme".freeze,
622
+ type: ["owl:AnnotationProperty".freeze, "rdf:Property".freeze]
623
+ property :idValue,
624
+ comment: %(The value of the identifier conforming to the Identifier Scheme syntax.).freeze,
625
+ domain: "http://www.loc.gov/mads/rdf/v1#Identifier".freeze,
626
+ label: "Identifier Value".freeze,
627
+ range: "xsd:string".freeze,
628
+ type: ["owl:DatatypeProperty".freeze, "rdf:Property".freeze]
629
+ property :identifiesRWO,
630
+ comment: %(Associates a madsrdf:Authority with the Real World Object that is the subject of the authority's label.).freeze,
631
+ domain: "http://www.loc.gov/mads/rdf/v1#Authority".freeze,
632
+ label: "Identifies RWO".freeze,
633
+ "owl:inverseOf" => %(http://www.loc.gov/mads/rdf/v1#isIdentifiedByAuthority).freeze,
634
+ range: "http://www.loc.gov/mads/rdf/v1#RWO".freeze,
635
+ subPropertyOf: "foaf:focus".freeze,
636
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
637
+ property :isIdentifiedByAuthority,
638
+ comment: %(Associates a Real World Object with its Authority description.).freeze,
639
+ domain: "http://www.loc.gov/mads/rdf/v1#RWO".freeze,
640
+ label: "Is Identified By Authority".freeze,
641
+ "owl:inverseOf" => %(http://www.loc.gov/mads/rdf/v1#identifiesRWO).freeze,
642
+ range: "http://www.loc.gov/mads/rdf/v1#Authority".freeze,
643
+ type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
644
+ property :isMemberOfMADSCollection,
645
+ comment: %(Associates a Collection with a madsrdf:Authority or another madsrdf:MADSCollection.).freeze,
646
+ label: "Is Member Of MADSCollection".freeze,
647
+ "owl:inverseOf" => %(http://www.loc.gov/mads/rdf/v1#hasMADSCollectionMember).freeze,
648
+ range: "http://www.loc.gov/mads/rdf/v1#MADSCollection".freeze,
649
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
650
+ property :isMemberOfMADSScheme,
651
+ label: "Is Member of MADS Scheme".freeze,
652
+ "owl:inverseOf" => %(http://www.loc.gov/mads/rdf/v1#hasMADSSchemeMember).freeze,
653
+ range: "http://www.loc.gov/mads/rdf/v1#MADSScheme".freeze,
654
+ subPropertyOf: "skos:inScheme".freeze,
655
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
656
+ property :isTopMemberOfMADSScheme,
657
+ comment: %(Identifies a MADS Scheme in which the Authority is at the top of the hierarchy.).freeze,
658
+ label: "Is Top Member of MADS Scheme".freeze,
659
+ "owl:inverseOf" => %(http://www.loc.gov/mads/rdf/v1#hasTopMemberOfMADSScheme).freeze,
660
+ range: "http://www.loc.gov/mads/rdf/v1#MADSScheme".freeze,
661
+ subPropertyOf: ["http://www.loc.gov/mads/rdf/v1#isMemberOfMADSScheme".freeze, "skos:topConceptOf".freeze],
662
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
663
+ property :natureOfAffiliation,
664
+ comment: %(Records the individual's role or position in the organization with which the individual is affiliated. A "job
665
+ title" might be appropriate.).freeze,
666
+ domain: "http://www.loc.gov/mads/rdf/v1#Affiliation".freeze,
667
+ label: "Nature of Affiliation".freeze,
668
+ type: ["rdf:Property".freeze, "owl:AnnotationProperty".freeze]
669
+ property :note,
670
+ comment: %(A note about the resource.).freeze,
671
+ label: "Note".freeze,
672
+ "owl:equivalentProperty" => %(skos:note).freeze,
673
+ type: ["rdf:Property".freeze, "owl:AnnotationProperty".freeze]
674
+ property :organization,
675
+ comment: %(The group or organization with which an individual is associated.).freeze,
676
+ domain: "http://www.loc.gov/mads/rdf/v1#Affiliation".freeze,
677
+ label: "Organization or Group".freeze,
678
+ type: ["owl:AnnotationProperty".freeze, "rdf:Property".freeze]
679
+ property :phone,
680
+ domain: "http://www.loc.gov/mads/rdf/v1#Affiliation".freeze,
681
+ label: "Phone".freeze,
682
+ type: ["owl:DatatypeProperty".freeze, "rdf:Property".freeze]
683
+ property :postcode,
684
+ domain: "http://www.loc.gov/mads/rdf/v1#Address".freeze,
685
+ label: "Post Code / Zip Code".freeze,
686
+ type: ["owl:DatatypeProperty".freeze, "rdf:Property".freeze]
687
+ property :scopeNote,
688
+ label: "Scope Note".freeze,
689
+ "owl:equivalentProperty" => %(skos:scopeNote).freeze,
690
+ subPropertyOf: "http://www.loc.gov/mads/rdf/v1#note".freeze,
691
+ type: ["owl:AnnotationProperty".freeze, "rdf:Property".freeze]
692
+ property :see,
693
+ comment: %(Denotes a relationship between an Authority and/or DeprecatedAuthority. The relationship may or may or may not be
694
+ reciprocated and there is no certainty that the related resource will further illuminate the original resource.).freeze,
695
+ label: "See Also".freeze,
696
+ subPropertyOf: "rdfs:seeAlso".freeze,
697
+ type: "owl:ObjectProperty".freeze
698
+ property :state,
699
+ comment: %(The state associated with an address.).freeze,
700
+ domain: "http://www.loc.gov/mads/rdf/v1#Address".freeze,
701
+ label: "State".freeze,
702
+ type: ["owl:AnnotationProperty".freeze, "rdf:Property".freeze]
703
+ property :streetAddress,
704
+ comment: %(First line of address. For second line, use madsrdf:extendedAddress.).freeze,
705
+ domain: "http://www.loc.gov/mads/rdf/v1#Address".freeze,
706
+ label: "Street Address".freeze,
707
+ type: ["owl:DatatypeProperty".freeze, "rdf:Property".freeze]
708
+ property :useFor,
709
+ comment: %("Use [This Resource] For." Traditional "USE FOR" reference.).freeze,
710
+ label: "Use For".freeze,
711
+ "owl:inverseOf" => %(http://www.loc.gov/mads/rdf/v1#useInstead).freeze,
712
+ subPropertyOf: "http://www.loc.gov/mads/rdf/v1#see".freeze,
713
+ type: ["rdf:Property".freeze, "owl:ObjectProperty".freeze]
714
+ property :useInstead,
715
+ comment: %("Use [This Other Resource] Instead." Traditional "USE" reference.).freeze,
716
+ label: "Use Instead".freeze,
717
+ subPropertyOf: "http://www.loc.gov/mads/rdf/v1#see".freeze,
718
+ type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
719
+ property :variantLabel,
720
+ comment: %(The lexical, variant form of an authoritative label.).freeze,
721
+ domain: "http://www.loc.gov/mads/rdf/v1#Variant".freeze,
722
+ label: "Variant Label".freeze,
723
+ subPropertyOf: "skosxl:literalForm".freeze,
724
+ type: ["owl:DatatypeProperty".freeze, "rdf:Property".freeze]
725
+ end
726
+ end