rdf-vocab 3.1.2 → 3.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/README.md +69 -45
- data/VERSION +1 -1
- data/lib/rdf/vocab.rb +60 -40
- data/lib/rdf/vocab/acl.rb +104 -61
- data/lib/rdf/vocab/as.rb +556 -91
- data/lib/rdf/vocab/bf2.rb +1791 -475
- data/lib/rdf/vocab/bibframe.rb +1 -2
- data/lib/rdf/vocab/bibo.rb +616 -124
- data/lib/rdf/vocab/cc.rb +125 -48
- data/lib/rdf/vocab/cert.rb +68 -1
- data/lib/rdf/vocab/cnt.rb +79 -1
- data/lib/rdf/vocab/crm.rb +1543 -776
- data/lib/rdf/vocab/datacite.rb +1 -1
- data/lib/rdf/vocab/dbo.rb +10463 -1
- data/lib/rdf/vocab/dc.rb +485 -99
- data/lib/rdf/vocab/dc11.rb +93 -31
- data/lib/rdf/vocab/dcat.rb +236 -88
- data/lib/rdf/vocab/dcmitype.rb +63 -13
- data/lib/rdf/vocab/disco.rb +286 -59
- data/lib/rdf/vocab/doap.rb +175 -1
- data/lib/rdf/vocab/dwc.rb +941 -189
- data/lib/rdf/vocab/earl.rb +324 -0
- data/lib/rdf/vocab/ebucore.rb +7255 -2184
- data/lib/rdf/vocab/edm.rb +202 -76
- data/lib/rdf/vocab/exif.rb +650 -1
- data/lib/rdf/vocab/extensions.rb +257 -203
- data/lib/rdf/vocab/fcrepo4.rb +398 -22
- data/lib/rdf/vocab/foaf.rb +380 -76
- data/lib/rdf/vocab/geo.rb +47 -110
- data/lib/rdf/vocab/geojson.rb +82 -17
- data/lib/rdf/vocab/geonames.rb +1508 -1351
- data/lib/rdf/vocab/gr.rb +861 -565
- data/lib/rdf/vocab/gs1.rb +1597 -1
- data/lib/rdf/vocab/ht.rb +204 -41
- data/lib/rdf/vocab/hydra.rb +335 -60
- data/lib/rdf/vocab/iana.rb +301 -114
- data/lib/rdf/vocab/ical.rb +534 -121
- data/lib/rdf/vocab/identifiers.rb +459 -499
- data/lib/rdf/vocab/iiif.rb +161 -26
- data/lib/rdf/vocab/jsonld.rb +179 -53
- data/lib/rdf/vocab/ldp.rb +130 -1
- data/lib/rdf/vocab/lrmi.rb +85 -17
- data/lib/rdf/vocab/ma.rb +460 -80
- data/lib/rdf/vocab/mads.rb +610 -22
- data/lib/rdf/vocab/{marc_relators.rb → marcrelators.rb} +813 -4
- data/lib/rdf/vocab/mo.rb +1115 -540
- data/lib/rdf/vocab/mods.rb +635 -124
- data/lib/rdf/vocab/nfo.rb +1 -1
- data/lib/rdf/vocab/oa.rb +343 -73
- data/lib/rdf/vocab/og.rb +100 -1
- data/lib/rdf/vocab/ogc.rb +42 -9
- data/lib/rdf/vocab/ore.rb +69 -14
- data/lib/rdf/vocab/org.rb +235 -47
- data/lib/rdf/vocab/pcdm.rb +58 -34
- data/lib/rdf/vocab/pplan.rb +21 -136
- data/lib/rdf/vocab/premis.rb +1171 -779
- data/lib/rdf/vocab/{premis_event_type.rb → premiseventtype.rb} +156 -2
- data/lib/rdf/vocab/prov.rb +700 -107
- data/lib/rdf/vocab/ptr.rb +172 -37
- data/lib/rdf/vocab/rightsstatements.rb +17 -13
- data/lib/rdf/vocab/rsa.rb +30 -1
- data/lib/rdf/vocab/rss.rb +52 -11
- data/lib/rdf/vocab/schema.rb +14970 -3993
- data/lib/rdf/vocab/schemas.rb +27066 -0
- data/lib/rdf/vocab/sd.rb +372 -0
- data/lib/rdf/vocab/sh.rb +919 -184
- data/lib/rdf/vocab/sioc.rb +498 -98
- data/lib/rdf/vocab/{sioc_services.rb → siocservices.rb} +46 -9
- data/lib/rdf/vocab/sioctypes.rb +434 -0
- data/lib/rdf/vocab/skos.rb +160 -44
- data/lib/rdf/vocab/skosxl.rb +40 -11
- data/lib/rdf/vocab/v.rb +323 -37
- data/lib/rdf/vocab/vcard.rb +625 -119
- data/lib/rdf/vocab/vmd.rb +323 -37
- data/lib/rdf/vocab/void.rb +147 -27
- data/lib/rdf/vocab/vs.rb +23 -5
- data/lib/rdf/vocab/wdrs.rb +112 -23
- data/lib/rdf/vocab/wot.rb +96 -19
- data/lib/rdf/vocab/xhtml.rb +2 -1
- data/lib/rdf/vocab/xhv.rb +422 -201
- data/lib/rdf/vocab/xkos.rb +156 -7
- data/spec/extensions_spec.rb +68 -0
- data/spec/vocab_spec.rb +10 -0
- metadata +20 -11
- data/lib/rdf/vocab/sioct.rb +0 -277
data/lib/rdf/vocab/xkos.rb
CHANGED
@@ -5,14 +5,163 @@ require 'rdf'
|
|
5
5
|
module RDF::Vocab
|
6
6
|
# @!parse
|
7
7
|
# # Vocabulary for <http://rdf-vocabulary.ddialliance.org/xkos#>
|
8
|
+
# #
|
9
|
+
# # XKOS: an SKOS extension for representing statistical classifications
|
10
|
+
# #
|
11
|
+
# # This ontology is based on work initiated at Dagstuhl Schloss in September 2011
|
12
|
+
# # @version Version 1.0.3 - 2016-03-15
|
13
|
+
# # @version Version 1.1 - 2016-03-20
|
14
|
+
# # @version Version 1.0.1 - 2014-11-26
|
15
|
+
# # @version Version 1.0.2 - 2016-03-15
|
8
16
|
# class XKOS < RDF::StrictVocabulary
|
17
|
+
# # @return [RDF::Vocabulary::Term]
|
18
|
+
# attr_reader :ClassificationLevel
|
19
|
+
#
|
20
|
+
# # @return [RDF::Vocabulary::Term]
|
21
|
+
# attr_reader :ConceptAssociation
|
22
|
+
#
|
23
|
+
# # @return [RDF::Vocabulary::Term]
|
24
|
+
# attr_reader :Correspondence
|
25
|
+
#
|
26
|
+
# # @return [RDF::Vocabulary::Term]
|
27
|
+
# attr_reader :ExplanatoryNote
|
28
|
+
#
|
29
|
+
# # @return [RDF::Vocabulary::Term]
|
30
|
+
# attr_reader :additionalContentNote
|
31
|
+
#
|
32
|
+
# # @return [RDF::Vocabulary::Term]
|
33
|
+
# attr_reader :after
|
34
|
+
#
|
35
|
+
# # @return [RDF::Vocabulary::Term]
|
36
|
+
# attr_reader :before
|
37
|
+
#
|
38
|
+
# # @return [RDF::Vocabulary::Term]
|
39
|
+
# attr_reader :belongsTo
|
40
|
+
#
|
41
|
+
# # @return [RDF::Vocabulary::Term]
|
42
|
+
# attr_reader :caseLaw
|
43
|
+
#
|
44
|
+
# # @return [RDF::Vocabulary::Term]
|
45
|
+
# attr_reader :causal
|
46
|
+
#
|
47
|
+
# # @return [RDF::Vocabulary::Term]
|
48
|
+
# attr_reader :causedBy
|
49
|
+
#
|
50
|
+
# # @return [RDF::Vocabulary::Term]
|
51
|
+
# attr_reader :causes
|
52
|
+
#
|
53
|
+
# # @return [RDF::Vocabulary::Term]
|
54
|
+
# attr_reader :classifiedUnder
|
55
|
+
#
|
56
|
+
# # @return [RDF::Vocabulary::Term]
|
57
|
+
# attr_reader :compares
|
58
|
+
#
|
59
|
+
# # @return [RDF::Vocabulary::Term]
|
60
|
+
# attr_reader :coreContentNote
|
61
|
+
#
|
62
|
+
# # @return [RDF::Vocabulary::Term]
|
63
|
+
# attr_reader :covers
|
64
|
+
#
|
65
|
+
# # @return [RDF::Vocabulary::Term]
|
66
|
+
# attr_reader :coversExhaustively
|
67
|
+
#
|
68
|
+
# # @return [RDF::Vocabulary::Term]
|
69
|
+
# attr_reader :coversMutuallyExclusively
|
70
|
+
#
|
71
|
+
# # @return [RDF::Vocabulary::Term]
|
72
|
+
# attr_reader :depth
|
73
|
+
#
|
74
|
+
# # @return [RDF::Vocabulary::Term]
|
75
|
+
# attr_reader :disjoint
|
76
|
+
#
|
77
|
+
# # @return [RDF::Vocabulary::Term]
|
78
|
+
# attr_reader :exclusionNote
|
79
|
+
#
|
80
|
+
# # @return [RDF::Vocabulary::Term]
|
81
|
+
# attr_reader :follows
|
82
|
+
#
|
83
|
+
# # @return [RDF::Vocabulary::Term]
|
84
|
+
# attr_reader :generalizes
|
85
|
+
#
|
86
|
+
# # @return [RDF::Vocabulary::Term]
|
87
|
+
# attr_reader :hasPart
|
88
|
+
#
|
89
|
+
# # @return [RDF::Vocabulary::Term]
|
90
|
+
# attr_reader :inclusionNote
|
91
|
+
#
|
92
|
+
# # @return [RDF::Vocabulary::Term]
|
93
|
+
# attr_reader :isPartOf
|
94
|
+
#
|
95
|
+
# # @return [RDF::Vocabulary::Term]
|
96
|
+
# attr_reader :levels
|
97
|
+
#
|
98
|
+
# # @return [RDF::Vocabulary::Term]
|
99
|
+
# attr_reader :madeOf
|
100
|
+
#
|
101
|
+
# # @return [RDF::Vocabulary::Term]
|
102
|
+
# attr_reader :maxLength
|
103
|
+
#
|
104
|
+
# # immediate successor in the sequence
|
105
|
+
# #
|
106
|
+
# # successeur immédiat dans la séquence
|
107
|
+
# # @return [RDF::Vocabulary::Term]
|
108
|
+
# attr_reader :next
|
109
|
+
#
|
110
|
+
# # @return [RDF::Vocabulary::Term]
|
111
|
+
# attr_reader :notationPattern
|
112
|
+
#
|
113
|
+
# # @return [RDF::Vocabulary::Term]
|
114
|
+
# attr_reader :numberOfLevels
|
115
|
+
#
|
116
|
+
# # @return [RDF::Vocabulary::Term]
|
117
|
+
# attr_reader :organizedBy
|
118
|
+
#
|
119
|
+
# # This property is expected to store plain text literals, without HTML or XML markup.
|
120
|
+
# # @return [RDF::Vocabulary::Term]
|
121
|
+
# attr_reader :plainText
|
122
|
+
#
|
123
|
+
# # predecessor in the sequence
|
124
|
+
# # @return [RDF::Vocabulary::Term]
|
125
|
+
# attr_reader :precedes
|
126
|
+
#
|
127
|
+
# # immediate predecessor in the sequence
|
128
|
+
# # @return [RDF::Vocabulary::Term]
|
129
|
+
# attr_reader :previous
|
130
|
+
#
|
131
|
+
# # @return [RDF::Vocabulary::Term]
|
132
|
+
# attr_reader :sequential
|
133
|
+
#
|
134
|
+
# # @return [RDF::Vocabulary::Term]
|
135
|
+
# attr_reader :sourceConcept
|
136
|
+
#
|
137
|
+
# # @return [RDF::Vocabulary::Term]
|
138
|
+
# attr_reader :specializes
|
139
|
+
#
|
140
|
+
# # successeur dans la séquence
|
141
|
+
# #
|
142
|
+
# # successor in the sequence
|
143
|
+
# # @return [RDF::Vocabulary::Term]
|
144
|
+
# attr_reader :succeeds
|
145
|
+
#
|
146
|
+
# # @return [RDF::Vocabulary::Term]
|
147
|
+
# attr_reader :supersedes
|
148
|
+
#
|
149
|
+
# # @return [RDF::Vocabulary::Term]
|
150
|
+
# attr_reader :targetConcept
|
151
|
+
#
|
152
|
+
# # @return [RDF::Vocabulary::Term]
|
153
|
+
# attr_reader :temporal
|
154
|
+
#
|
155
|
+
# # @return [RDF::Vocabulary::Term]
|
156
|
+
# attr_reader :variant
|
157
|
+
#
|
9
158
|
# end
|
10
|
-
|
159
|
+
XKOS = Class.new(RDF::StrictVocabulary("http://rdf-vocabulary.ddialliance.org/xkos#")) do
|
11
160
|
|
12
161
|
# Ontology definition
|
13
162
|
ontology :"http://rdf-vocabulary.ddialliance.org/xkos#",
|
14
163
|
"cc:license": "http://creativecommons.org/licenses/by/4.0/".freeze,
|
15
|
-
comment:
|
164
|
+
comment: "This ontology is based on work initiated at Dagstuhl Schloss in September 2011".freeze,
|
16
165
|
"dc11:contributor": ["Daniel Gillman".freeze, "Jannik Jensen".freeze, "R.T.A.M. Grim".freeze, "Richard Cyganiak".freeze, "Thomas Bosch".freeze, "Wendy L. Thomas".freeze, "Yves Jaques".freeze],
|
17
166
|
"dc11:creator": "Franck Cotton".freeze,
|
18
167
|
"dc11:rights": "Copyright © 2016 The DDI Alliance".freeze,
|
@@ -190,7 +339,7 @@ module RDF::Vocab
|
|
190
339
|
range: "xsd:positiveInteger".freeze,
|
191
340
|
type: ["owl:DatatypeProperty".freeze, "rdf:Property".freeze]
|
192
341
|
property :next,
|
193
|
-
comment: [
|
342
|
+
comment: ["immediate successor in the sequence".freeze, "successeur immédiat dans la séquence".freeze],
|
194
343
|
isDefinedBy: "http://rdf-vocabulary.ddialliance.org/xkos".freeze,
|
195
344
|
label: "next".freeze,
|
196
345
|
subPropertyOf: "xkos:succeeds".freeze,
|
@@ -214,20 +363,20 @@ module RDF::Vocab
|
|
214
363
|
range: "skos:Concept".freeze,
|
215
364
|
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
216
365
|
property :plainText,
|
217
|
-
comment:
|
366
|
+
comment: "This property is expected to store plain text literals, without HTML or XML markup.".freeze,
|
218
367
|
domain: "xkos:ExplanatoryNote".freeze,
|
219
368
|
isDefinedBy: "http://rdf-vocabulary.ddialliance.org/xkos".freeze,
|
220
369
|
label: "plain text".freeze,
|
221
370
|
range: "rdf:PlainLiteral".freeze,
|
222
371
|
type: ["owl:AnnotationProperty".freeze, "rdf:Property".freeze]
|
223
372
|
property :precedes,
|
224
|
-
comment:
|
373
|
+
comment: "predecessor in the sequence".freeze,
|
225
374
|
isDefinedBy: "http://rdf-vocabulary.ddialliance.org/xkos".freeze,
|
226
375
|
label: "precedes".freeze,
|
227
376
|
subPropertyOf: "xkos:sequential".freeze,
|
228
377
|
type: ["owl:TransitiveProperty".freeze, "rdf:Property".freeze]
|
229
378
|
property :previous,
|
230
|
-
comment:
|
379
|
+
comment: "immediate predecessor in the sequence".freeze,
|
231
380
|
isDefinedBy: "http://rdf-vocabulary.ddialliance.org/xkos".freeze,
|
232
381
|
label: "previous".freeze,
|
233
382
|
subPropertyOf: "xkos:precedes".freeze,
|
@@ -251,7 +400,7 @@ module RDF::Vocab
|
|
251
400
|
subPropertyOf: "skos:broader".freeze,
|
252
401
|
type: ["owl:ObjectProperty".freeze, "rdf:Property".freeze]
|
253
402
|
property :succeeds,
|
254
|
-
comment: [
|
403
|
+
comment: ["successeur dans la séquence".freeze, "successor in the sequence".freeze],
|
255
404
|
isDefinedBy: "http://rdf-vocabulary.ddialliance.org/xkos".freeze,
|
256
405
|
label: "succeeds".freeze,
|
257
406
|
subPropertyOf: "xkos:sequential".freeze,
|
data/spec/extensions_spec.rb
CHANGED
@@ -317,6 +317,74 @@ describe RDF::Vocabulary do
|
|
317
317
|
end
|
318
318
|
end
|
319
319
|
|
320
|
+
describe ".each" do
|
321
|
+
it "inumerates pre-defined vocabularies" do
|
322
|
+
expect {|b| RDF::Vocabulary.each(&b)}.to yield_control.at_least(30).times
|
323
|
+
expect(RDF::Vocabulary.each.to_a).to include(RDF, RDF::RDFS, RDF::OWL)
|
324
|
+
end
|
325
|
+
|
326
|
+
context "with limited vocabularies" do
|
327
|
+
before { RDF::Vocabulary.limit_vocabs(:rdfs)}
|
328
|
+
after { RDF::Vocabulary.limit_vocabs()}
|
329
|
+
|
330
|
+
it "inumerates limited vocabularies" do
|
331
|
+
expect {|b| RDF::Vocabulary.each(&b)}.to yield_control.exactly(1).times
|
332
|
+
expect(RDF::Vocabulary.each.to_a).to include(RDF::RDFS)
|
333
|
+
end
|
334
|
+
end
|
335
|
+
end
|
336
|
+
|
337
|
+
describe ".vocab_map" do
|
338
|
+
it "returns map of vocabularies" do
|
339
|
+
expect(RDF::Vocabulary.vocab_map).to have_key(:rdfv)
|
340
|
+
expect(RDF::Vocabulary.vocab_map).to have_key(:rdfs)
|
341
|
+
expect(RDF::Vocabulary.vocab_map).to have_key(:owl)
|
342
|
+
end
|
343
|
+
end
|
344
|
+
|
345
|
+
describe ".from_sym" do
|
346
|
+
%w(RDFS OWL XSD).each do |sym|
|
347
|
+
it "returns voabulary for #{sym}" do
|
348
|
+
expect(RDF::Vocabulary.from_sym(sym)).to respond_to(:find_term)
|
349
|
+
end
|
350
|
+
end
|
351
|
+
end
|
352
|
+
|
353
|
+
describe ".limit_vocabs" do
|
354
|
+
before { RDF::Vocabulary.limit_vocabs(:rdf, :rdfs, :schema)}
|
355
|
+
after { RDF::Vocabulary.limit_vocabs()}
|
356
|
+
|
357
|
+
terms = {
|
358
|
+
'http://www.w3.org/2000/01/rdf-schema#Resource' => RDF::RDFS,
|
359
|
+
'http://www.w3.org/2002/07/owl#Ontology' => nil,
|
360
|
+
'http://www.w3.org/1999/02/22-rdf-syntax-ns#Statement' => RDF::RDFV,
|
361
|
+
'http://schema.org/CreativeWork' => RDF::Vocab::SCHEMA,
|
362
|
+
}
|
363
|
+
describe ".find_term" do
|
364
|
+
terms.each do |term, cls|
|
365
|
+
it "#{cls ? 'finds' : 'does not find'} #{term}" do
|
366
|
+
if cls
|
367
|
+
expect(RDF::Vocabulary.find_term(term)).to be_a(RDF::Vocabulary::Term)
|
368
|
+
else
|
369
|
+
expect(RDF::Vocabulary.find_term(term)).to be_nil
|
370
|
+
end
|
371
|
+
end
|
372
|
+
end
|
373
|
+
end
|
374
|
+
|
375
|
+
describe ".find" do
|
376
|
+
terms.each do |term, cls|
|
377
|
+
it "#{cls ? 'finds' : 'does not find'} #{term}" do
|
378
|
+
if cls
|
379
|
+
expect(RDF::Vocabulary.find(term)).to eql cls
|
380
|
+
else
|
381
|
+
expect(RDF::Vocabulary.find_term(term)).to be_nil
|
382
|
+
end
|
383
|
+
end
|
384
|
+
end
|
385
|
+
end
|
386
|
+
end
|
387
|
+
|
320
388
|
describe RDF::Vocabulary::Format do
|
321
389
|
describe ".cli_commands", skip: ("Rubinius issues in RDF.rb" if RUBY_ENGINE == "rbx") do
|
322
390
|
require 'rdf/cli'
|
data/spec/vocab_spec.rb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
require File.expand_path("../spec_helper", __FILE__)
|
3
3
|
require 'rdf/reasoner'
|
4
|
+
require 'rdf/turtle'
|
4
5
|
|
5
6
|
describe RDF::Vocab do
|
6
7
|
before(:all) {
|
@@ -60,6 +61,15 @@ describe RDF::Vocab do
|
|
60
61
|
end
|
61
62
|
end
|
62
63
|
end
|
64
|
+
|
65
|
+
context "non standard prefixes" do
|
66
|
+
{
|
67
|
+
RDF::Vocab::DOAP.blog.range => RDF::Vocab::SiocTypes.Weblog,
|
68
|
+
RDF::Vocab::SiocServices.has_service.range => RDF::Vocab::SiocServices.Service,
|
69
|
+
}.each do |a, b|
|
70
|
+
specify {expect(a).to include(b)}
|
71
|
+
end
|
72
|
+
end
|
63
73
|
end
|
64
74
|
|
65
75
|
context "entailments" do
|
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
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.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Chandek-Stark
|
8
8
|
- Aaron Coburn
|
9
9
|
- Gregg Kellogg
|
10
|
-
autorequire:
|
10
|
+
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2020-
|
13
|
+
date: 2020-09-22 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rdf
|
@@ -19,6 +19,9 @@ dependencies:
|
|
19
19
|
- - "~>"
|
20
20
|
- !ruby/object:Gem::Version
|
21
21
|
version: '3.1'
|
22
|
+
- - ">="
|
23
|
+
- !ruby/object:Gem::Version
|
24
|
+
version: 3.1.2
|
22
25
|
type: :runtime
|
23
26
|
prerelease: false
|
24
27
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -26,6 +29,9 @@ dependencies:
|
|
26
29
|
- - "~>"
|
27
30
|
- !ruby/object:Gem::Version
|
28
31
|
version: '3.1'
|
32
|
+
- - ">="
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: 3.1.2
|
29
35
|
- !ruby/object:Gem::Dependency
|
30
36
|
name: haml
|
31
37
|
requirement: !ruby/object:Gem::Requirement
|
@@ -266,6 +272,7 @@ files:
|
|
266
272
|
- lib/rdf/vocab/disco.rb
|
267
273
|
- lib/rdf/vocab/doap.rb
|
268
274
|
- lib/rdf/vocab/dwc.rb
|
275
|
+
- lib/rdf/vocab/earl.rb
|
269
276
|
- lib/rdf/vocab/ebucore.rb
|
270
277
|
- lib/rdf/vocab/edm.rb
|
271
278
|
- lib/rdf/vocab/exif.rb
|
@@ -288,7 +295,7 @@ files:
|
|
288
295
|
- lib/rdf/vocab/lrmi.rb
|
289
296
|
- lib/rdf/vocab/ma.rb
|
290
297
|
- lib/rdf/vocab/mads.rb
|
291
|
-
- lib/rdf/vocab/
|
298
|
+
- lib/rdf/vocab/marcrelators.rb
|
292
299
|
- lib/rdf/vocab/mo.rb
|
293
300
|
- lib/rdf/vocab/mods.rb
|
294
301
|
- lib/rdf/vocab/nfo.rb
|
@@ -300,17 +307,19 @@ files:
|
|
300
307
|
- lib/rdf/vocab/pcdm.rb
|
301
308
|
- lib/rdf/vocab/pplan.rb
|
302
309
|
- lib/rdf/vocab/premis.rb
|
303
|
-
- lib/rdf/vocab/
|
310
|
+
- lib/rdf/vocab/premiseventtype.rb
|
304
311
|
- lib/rdf/vocab/prov.rb
|
305
312
|
- lib/rdf/vocab/ptr.rb
|
306
313
|
- lib/rdf/vocab/rightsstatements.rb
|
307
314
|
- lib/rdf/vocab/rsa.rb
|
308
315
|
- lib/rdf/vocab/rss.rb
|
309
316
|
- lib/rdf/vocab/schema.rb
|
317
|
+
- lib/rdf/vocab/schemas.rb
|
318
|
+
- lib/rdf/vocab/sd.rb
|
310
319
|
- lib/rdf/vocab/sh.rb
|
311
320
|
- lib/rdf/vocab/sioc.rb
|
312
|
-
- lib/rdf/vocab/
|
313
|
-
- lib/rdf/vocab/
|
321
|
+
- lib/rdf/vocab/siocservices.rb
|
322
|
+
- lib/rdf/vocab/sioctypes.rb
|
314
323
|
- lib/rdf/vocab/skos.rb
|
315
324
|
- lib/rdf/vocab/skosxl.rb
|
316
325
|
- lib/rdf/vocab/v.rb
|
@@ -328,11 +337,11 @@ files:
|
|
328
337
|
- spec/matchers.rb
|
329
338
|
- spec/spec_helper.rb
|
330
339
|
- spec/vocab_spec.rb
|
331
|
-
homepage:
|
340
|
+
homepage: https://github.com/ruby-rdf/rdf-vocab
|
332
341
|
licenses:
|
333
342
|
- Unlicense
|
334
343
|
metadata: {}
|
335
|
-
post_install_message:
|
344
|
+
post_install_message:
|
336
345
|
rdoc_options: []
|
337
346
|
require_paths:
|
338
347
|
- lib
|
@@ -347,8 +356,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
347
356
|
- !ruby/object:Gem::Version
|
348
357
|
version: '0'
|
349
358
|
requirements: []
|
350
|
-
rubygems_version: 3.1.
|
351
|
-
signing_key:
|
359
|
+
rubygems_version: 3.1.3
|
360
|
+
signing_key:
|
352
361
|
specification_version: 4
|
353
362
|
summary: A library of RDF vocabularies
|
354
363
|
test_files:
|
data/lib/rdf/vocab/sioct.rb
DELETED
@@ -1,277 +0,0 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
|
-
# frozen_string_literal: true
|
3
|
-
# This file generated automatically using rdf vocabulary format from http://rdfs.org/sioc/types#
|
4
|
-
require 'rdf'
|
5
|
-
module RDF::Vocab
|
6
|
-
# @!parse
|
7
|
-
# # Vocabulary for <http://rdfs.org/sioc/types#>
|
8
|
-
# class SiocTypes < RDF::StrictVocabulary
|
9
|
-
# end
|
10
|
-
class SiocTypes < RDF::StrictVocabulary("http://rdfs.org/sioc/types#")
|
11
|
-
|
12
|
-
# Ontology definition
|
13
|
-
ontology :"http://rdfs.org/sioc/types#",
|
14
|
-
"dc:description": "Extends the SIOC Core Ontology (Semantically-Interlinked Online Communities) by defining subclasses and subproperties of SIOC terms.".freeze,
|
15
|
-
"dc:title": "SIOC Types Ontology Module Namespace".freeze,
|
16
|
-
"owl:imports": "sioc:".freeze,
|
17
|
-
"rdfs:seeAlso": "http://rdfs.org/sioc/spec/#sec-modules".freeze,
|
18
|
-
type: ["owl:Ontology".freeze, "owl:Thing".freeze]
|
19
|
-
|
20
|
-
# Class definitions
|
21
|
-
term :AddressBook,
|
22
|
-
comment: %(Describes a collection of personal or organisational addresses.).freeze,
|
23
|
-
isDefinedBy: "sioctypes:".freeze,
|
24
|
-
label: "Address Book".freeze,
|
25
|
-
"rdfs:seeAlso": "foaf:Agent".freeze,
|
26
|
-
subClassOf: "sioc:Container".freeze,
|
27
|
-
type: "owl:Class".freeze
|
28
|
-
term :AnnotationSet,
|
29
|
-
comment: %(Describes a set of annotations, for example, those created by a particular user or related to a particular topic.).freeze,
|
30
|
-
isDefinedBy: "sioctypes:".freeze,
|
31
|
-
label: "Annotation Set".freeze,
|
32
|
-
"rdfs:seeAlso": "http://www.w3.org/2000/10/annotation-ns#Annotation".freeze,
|
33
|
-
subClassOf: "sioc:Container".freeze,
|
34
|
-
type: "owl:Class".freeze
|
35
|
-
term :Answer,
|
36
|
-
comment: %(A Post that provides an answer in reply to a Question.).freeze,
|
37
|
-
isDefinedBy: "sioctypes:".freeze,
|
38
|
-
label: "Answer".freeze,
|
39
|
-
subClassOf: "sioc:Post".freeze,
|
40
|
-
type: "owl:Class".freeze
|
41
|
-
term :ArgumentativeDiscussion,
|
42
|
-
comment: %(Describes a discussion area where logical arguments can take place.).freeze,
|
43
|
-
isDefinedBy: "sioctypes:".freeze,
|
44
|
-
label: "Argumentative Discussion".freeze,
|
45
|
-
"rdfs:seeAlso": "http://purl.org/ibis#Idea".freeze,
|
46
|
-
subClassOf: "sioc:Forum".freeze,
|
47
|
-
type: "owl:Class".freeze
|
48
|
-
term :AudioChannel,
|
49
|
-
comment: %(Describes a channel for distributing audio or sound files, for example, a podcast.).freeze,
|
50
|
-
isDefinedBy: "sioctypes:".freeze,
|
51
|
-
label: "Audio Channel".freeze,
|
52
|
-
"rdfs:seeAlso": "dcmitype:Sound".freeze,
|
53
|
-
subClassOf: "sioc:Container".freeze,
|
54
|
-
type: "owl:Class".freeze
|
55
|
-
term :BestAnswer,
|
56
|
-
comment: %(A Post that is the best answer to a Question, as chosen by the UserAccount who asked the Question or as voted by a Community of UserAccounts.).freeze,
|
57
|
-
isDefinedBy: "sioctypes:".freeze,
|
58
|
-
label: "Best Answer".freeze,
|
59
|
-
subClassOf: "sioc:Post".freeze,
|
60
|
-
type: "owl:Class".freeze
|
61
|
-
term :BlogPost,
|
62
|
-
comment: %(Describes a post that is specifically made on a weblog.).freeze,
|
63
|
-
isDefinedBy: "sioctypes:".freeze,
|
64
|
-
label: "Blog Post".freeze,
|
65
|
-
"rdfs:seeAlso": "sioctypes:Weblog".freeze,
|
66
|
-
subClassOf: "sioc:Post".freeze,
|
67
|
-
type: "owl:Class".freeze
|
68
|
-
term :BoardPost,
|
69
|
-
comment: %(Describes a post that is specifically made on a message board.).freeze,
|
70
|
-
isDefinedBy: "sioctypes:".freeze,
|
71
|
-
label: "Board Post".freeze,
|
72
|
-
"rdfs:seeAlso": "sioctypes:MessageBoard".freeze,
|
73
|
-
subClassOf: "sioc:Post".freeze,
|
74
|
-
type: "owl:Class".freeze
|
75
|
-
term :BookmarkFolder,
|
76
|
-
comment: %(Describes a shared collection of bookmarks.).freeze,
|
77
|
-
isDefinedBy: "sioctypes:".freeze,
|
78
|
-
label: "Bookmark Folder".freeze,
|
79
|
-
"rdfs:seeAlso": "http://www.w3.org/2002/01/bookmark#Bookmark".freeze,
|
80
|
-
subClassOf: "sioc:Container".freeze,
|
81
|
-
type: "owl:Class".freeze
|
82
|
-
term :Briefcase,
|
83
|
-
comment: %(Describes a briefcase or file service.).freeze,
|
84
|
-
isDefinedBy: "sioctypes:".freeze,
|
85
|
-
label: "Briefcase".freeze,
|
86
|
-
"rdfs:seeAlso": "foaf:Document".freeze,
|
87
|
-
subClassOf: "sioc:Container".freeze,
|
88
|
-
type: "owl:Class".freeze
|
89
|
-
term :Category,
|
90
|
-
comment: %(Category is used on the object of sioc:topic to indicate that this resource is a category on a site.).freeze,
|
91
|
-
isDefinedBy: "sioctypes:".freeze,
|
92
|
-
label: "Category".freeze,
|
93
|
-
subClassOf: "http://www.w3.org/2008/05/skos#Concept".freeze,
|
94
|
-
type: "owl:Class".freeze
|
95
|
-
term :ChatChannel,
|
96
|
-
comment: %(Describes a channel for chat or instant messages, for example, via IRC or IM.).freeze,
|
97
|
-
isDefinedBy: "sioctypes:".freeze,
|
98
|
-
label: "Chat Channel".freeze,
|
99
|
-
"rdfs:seeAlso": "sioctypes:InstantMessage".freeze,
|
100
|
-
subClassOf: "sioc:Forum".freeze,
|
101
|
-
type: "owl:Class".freeze
|
102
|
-
term :Comment,
|
103
|
-
comment: %(Comment is a subtype of sioc:Post and allows one to explicitly indicate that this SIOC post is a comment. Note that comments have a narrower scope than sioc:Post and may not apply to all types of community site.).freeze,
|
104
|
-
isDefinedBy: "sioctypes:".freeze,
|
105
|
-
label: "Comment".freeze,
|
106
|
-
"rdfs:seeAlso": "sioctypes:Forum".freeze,
|
107
|
-
subClassOf: "sioc:Post".freeze,
|
108
|
-
type: "owl:Class".freeze
|
109
|
-
term :EventCalendar,
|
110
|
-
comment: %(Describes a calendar of events.).freeze,
|
111
|
-
isDefinedBy: "sioctypes:".freeze,
|
112
|
-
label: "Event Calendar".freeze,
|
113
|
-
"rdfs:seeAlso": "ical:VEVENT".freeze,
|
114
|
-
subClassOf: "sioc:Container".freeze,
|
115
|
-
type: "owl:Class".freeze
|
116
|
-
term :FavouriteThings,
|
117
|
-
comment: %(Describes a list or a collection of one's favourite things.).freeze,
|
118
|
-
isDefinedBy: "sioctypes:".freeze,
|
119
|
-
label: "Favourite Things".freeze,
|
120
|
-
subClassOf: "sioc:Container".freeze,
|
121
|
-
type: "owl:Class".freeze
|
122
|
-
term :ImageGallery,
|
123
|
-
comment: %(Describes an image gallery, for example, a photo album.).freeze,
|
124
|
-
isDefinedBy: "sioctypes:".freeze,
|
125
|
-
label: "Image Gallery".freeze,
|
126
|
-
"rdfs:seeAlso": "http://www.w3.org/2003/12/exif/ns/IFD".freeze,
|
127
|
-
subClassOf: "sioc:Container".freeze,
|
128
|
-
type: "owl:Class".freeze
|
129
|
-
term :InstantMessage,
|
130
|
-
comment: %(Describes an instant message, e.g. sent via Jabber.).freeze,
|
131
|
-
isDefinedBy: "sioctypes:".freeze,
|
132
|
-
label: "Instant Message".freeze,
|
133
|
-
"rdfs:seeAlso": "sioctypes:ChatChannel".freeze,
|
134
|
-
subClassOf: "sioc:Post".freeze,
|
135
|
-
type: "owl:Class".freeze
|
136
|
-
term :MailMessage,
|
137
|
-
comment: %(Describes an electronic mail message, e.g. a post sent to a mailing list.).freeze,
|
138
|
-
isDefinedBy: "sioctypes:".freeze,
|
139
|
-
label: "Mail Message".freeze,
|
140
|
-
"rdfs:seeAlso": "sioctypes:MailingList".freeze,
|
141
|
-
subClassOf: "sioc:Post".freeze,
|
142
|
-
type: "owl:Class".freeze
|
143
|
-
term :MailingList,
|
144
|
-
comment: %(Describes an electronic mailing list.).freeze,
|
145
|
-
isDefinedBy: "sioctypes:".freeze,
|
146
|
-
label: "Mailing List".freeze,
|
147
|
-
"rdfs:seeAlso": "sioctypes:MailMessage".freeze,
|
148
|
-
subClassOf: "sioc:Forum".freeze,
|
149
|
-
type: "owl:Class".freeze
|
150
|
-
term :MessageBoard,
|
151
|
-
comment: %(Describes a message board, also known as an online bulletin board or discussion forum.).freeze,
|
152
|
-
isDefinedBy: "sioctypes:".freeze,
|
153
|
-
label: "Message Board".freeze,
|
154
|
-
"rdfs:seeAlso": "sioctypes:BoardPost".freeze,
|
155
|
-
subClassOf: "sioc:Forum".freeze,
|
156
|
-
type: "owl:Class".freeze
|
157
|
-
term :Microblog,
|
158
|
-
comment: %(Describes a microblog, i.e. a blog consisting of short text messages.).freeze,
|
159
|
-
isDefinedBy: "sioctypes:".freeze,
|
160
|
-
label: "Microblog".freeze,
|
161
|
-
"rdfs:seeAlso": "sioctypes:MicroblogPost".freeze,
|
162
|
-
subClassOf: "sioc:Forum".freeze,
|
163
|
-
type: "owl:Class".freeze
|
164
|
-
term :MicroblogPost,
|
165
|
-
comment: %(Describes a post that is specifically made on a microblog.).freeze,
|
166
|
-
isDefinedBy: "sioctypes:".freeze,
|
167
|
-
label: "Microblog Post".freeze,
|
168
|
-
"rdfs:seeAlso": "sioctypes:Microblog".freeze,
|
169
|
-
subClassOf: "sioc:Post".freeze,
|
170
|
-
type: "owl:Class".freeze
|
171
|
-
term :OfferList,
|
172
|
-
comment: %(Describes a list of the items someone has available to offer.).freeze,
|
173
|
-
isDefinedBy: "sioctypes:".freeze,
|
174
|
-
label: "Offer List".freeze,
|
175
|
-
subClassOf: "sioc:Container".freeze,
|
176
|
-
type: "owl:Class".freeze
|
177
|
-
term :Playlist,
|
178
|
-
comment: %(Describes a list of media items that have been played or can be played.).freeze,
|
179
|
-
isDefinedBy: "sioctypes:".freeze,
|
180
|
-
label: "Playlist".freeze,
|
181
|
-
subClassOf: "sioc:Container".freeze,
|
182
|
-
type: "owl:Class".freeze
|
183
|
-
term :Poll,
|
184
|
-
comment: %(Describes a posted item that contains a poll or survey content.).freeze,
|
185
|
-
isDefinedBy: "sioctypes:".freeze,
|
186
|
-
label: "Poll".freeze,
|
187
|
-
"rdfs:seeAlso": "sioctypes:SurveyCollection".freeze,
|
188
|
-
subClassOf: "sioc:Item".freeze,
|
189
|
-
type: "owl:Class".freeze
|
190
|
-
term :ProjectDirectory,
|
191
|
-
comment: %(Describes a project directory.).freeze,
|
192
|
-
isDefinedBy: "sioctypes:".freeze,
|
193
|
-
label: "Project Directory".freeze,
|
194
|
-
"rdfs:seeAlso": "doap:Project".freeze,
|
195
|
-
subClassOf: "sioc:Container".freeze,
|
196
|
-
type: "owl:Class".freeze
|
197
|
-
term :Question,
|
198
|
-
comment: %(A Post that asks a Question.).freeze,
|
199
|
-
isDefinedBy: "sioctypes:".freeze,
|
200
|
-
label: "Question".freeze,
|
201
|
-
subClassOf: "sioc:Post".freeze,
|
202
|
-
type: "owl:Class".freeze
|
203
|
-
term :ReadingList,
|
204
|
-
comment: %(Describes a list of books or other materials that have been read or are suggested for reading.).freeze,
|
205
|
-
isDefinedBy: "sioctypes:".freeze,
|
206
|
-
label: "Reading List".freeze,
|
207
|
-
subClassOf: "sioc:Container".freeze,
|
208
|
-
type: "owl:Class".freeze
|
209
|
-
term :ResumeBank,
|
210
|
-
comment: %(Describes a collection of resumes.).freeze,
|
211
|
-
isDefinedBy: "sioctypes:".freeze,
|
212
|
-
label: "Resume Bank".freeze,
|
213
|
-
"rdfs:seeAlso": "http://captsolo.net/semweb/resume/cv.rdfs#Resume".freeze,
|
214
|
-
subClassOf: "sioc:Container".freeze,
|
215
|
-
type: "owl:Class".freeze
|
216
|
-
term :ReviewArea,
|
217
|
-
comment: %(Describes an area where reviews are posted.).freeze,
|
218
|
-
isDefinedBy: "sioctypes:".freeze,
|
219
|
-
label: "Review Area".freeze,
|
220
|
-
"rdfs:seeAlso": ["http://purl.org/stuff/rev#Review".freeze, "http://www.isi.edu/webscripter/communityreview/abstract-review-o#Review".freeze],
|
221
|
-
subClassOf: "sioc:Container".freeze,
|
222
|
-
type: "owl:Class".freeze
|
223
|
-
term :SubscriptionList,
|
224
|
-
comment: %(Describes a shared set of feed subscriptions.).freeze,
|
225
|
-
isDefinedBy: "sioctypes:".freeze,
|
226
|
-
label: "Subscription List".freeze,
|
227
|
-
"rdfs:seeAlso": "http://atomowl.org/ontologies/atomrdf#Feed".freeze,
|
228
|
-
subClassOf: "sioc:Container".freeze,
|
229
|
-
type: "owl:Class".freeze
|
230
|
-
term :SurveyCollection,
|
231
|
-
comment: %(Describes an area where survey data can be collected, e.g. from polls.).freeze,
|
232
|
-
isDefinedBy: "sioctypes:".freeze,
|
233
|
-
label: "Survey Collection".freeze,
|
234
|
-
"rdfs:seeAlso": "sioctypes:Poll".freeze,
|
235
|
-
subClassOf: "sioc:Container".freeze,
|
236
|
-
type: "owl:Class".freeze
|
237
|
-
term :Tag,
|
238
|
-
comment: %(Tag is used on the object of sioc:topic to indicate that this resource is a tag on a site.).freeze,
|
239
|
-
isDefinedBy: "sioctypes:".freeze,
|
240
|
-
label: "Tag".freeze,
|
241
|
-
type: "owl:Class".freeze
|
242
|
-
term :VideoChannel,
|
243
|
-
comment: %(Describes a channel for distributing videos \(moving image\) files, for example, a video podcast.).freeze,
|
244
|
-
isDefinedBy: "sioctypes:".freeze,
|
245
|
-
label: "Video Channel".freeze,
|
246
|
-
"rdfs:seeAlso": "dcmitype:MovingImage".freeze,
|
247
|
-
subClassOf: "sioc:Container".freeze,
|
248
|
-
type: "owl:Class".freeze
|
249
|
-
term :Weblog,
|
250
|
-
comment: %(Describes a weblog \(blog\), i.e. an online journal.).freeze,
|
251
|
-
isDefinedBy: "sioctypes:".freeze,
|
252
|
-
label: "Weblog".freeze,
|
253
|
-
"rdfs:seeAlso": "sioctypes:BlogPost".freeze,
|
254
|
-
subClassOf: "sioc:Forum".freeze,
|
255
|
-
type: "owl:Class".freeze
|
256
|
-
term :Wiki,
|
257
|
-
comment: %(Describes a wiki space.).freeze,
|
258
|
-
isDefinedBy: "sioctypes:".freeze,
|
259
|
-
label: "Wiki".freeze,
|
260
|
-
"rdfs:seeAlso": "sioctypes:WikiArticle".freeze,
|
261
|
-
subClassOf: "sioc:Container".freeze,
|
262
|
-
type: "owl:Class".freeze
|
263
|
-
term :WikiArticle,
|
264
|
-
comment: %(Describes a wiki article.).freeze,
|
265
|
-
isDefinedBy: "sioctypes:".freeze,
|
266
|
-
label: "Wiki Article".freeze,
|
267
|
-
"rdfs:seeAlso": "sioctypes:Wiki".freeze,
|
268
|
-
subClassOf: "sioc:Item".freeze,
|
269
|
-
type: "owl:Class".freeze
|
270
|
-
term :WishList,
|
271
|
-
comment: %(Describes a list of the items someone wishes to get.).freeze,
|
272
|
-
isDefinedBy: "sioctypes:".freeze,
|
273
|
-
label: "Wish List".freeze,
|
274
|
-
subClassOf: "sioc:Container".freeze,
|
275
|
-
type: "owl:Class".freeze
|
276
|
-
end
|
277
|
-
end
|