rdf-vocab 3.1.10 → 3.1.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/VERSION +1 -1
  4. data/lib/rdf/vocab.rb +13 -1
  5. data/lib/rdf/vocab/acl.rb +47 -134
  6. data/lib/rdf/vocab/as.rb +381 -894
  7. data/lib/rdf/vocab/bf2.rb +1241 -2561
  8. data/lib/rdf/vocab/bibframe.rb +1241 -2561
  9. data/lib/rdf/vocab/bibo.rb +576 -1078
  10. data/lib/rdf/vocab/cc.rb +57 -167
  11. data/lib/rdf/vocab/cert.rb +72 -143
  12. data/lib/rdf/vocab/cnt.rb +51 -133
  13. data/lib/rdf/vocab/crm.rb +1180 -2486
  14. data/lib/rdf/vocab/datacite.rb +161 -161
  15. data/lib/rdf/vocab/dbo.rb +3900 -14140
  16. data/lib/rdf/vocab/dc.rb +458 -848
  17. data/lib/rdf/vocab/dc11.rb +62 -128
  18. data/lib/rdf/vocab/dcat.rb +215 -382
  19. data/lib/rdf/vocab/dcmitype.rb +65 -119
  20. data/lib/rdf/vocab/disco.rb +170 -401
  21. data/lib/rdf/vocab/doap.rb +197 -375
  22. data/lib/rdf/vocab/dwc.rb +1451 -2207
  23. data/lib/rdf/vocab/earl.rb +80 -218
  24. data/lib/rdf/vocab/ebucore.rb +2991 -7439
  25. data/lib/rdf/vocab/edm.rb +159 -351
  26. data/lib/rdf/vocab/exif.rb +453 -1106
  27. data/lib/rdf/vocab/extensions.rb +3 -3
  28. data/lib/rdf/vocab/fcrepo4.rb +247 -627
  29. data/lib/rdf/vocab/foaf.rb +373 -681
  30. data/lib/rdf/vocab/geo.rb +16 -58
  31. data/lib/rdf/vocab/geojson.rb +16 -85
  32. data/lib/rdf/vocab/geonames.rb +1573 -1742
  33. data/lib/rdf/vocab/gr.rb +539 -1427
  34. data/lib/rdf/vocab/gs1.rb +2824 -4424
  35. data/lib/rdf/vocab/ht.rb +93 -260
  36. data/lib/rdf/vocab/hydra.rb +216 -477
  37. data/lib/rdf/vocab/iana.rb +71 -304
  38. data/lib/rdf/vocab/ical.rb +460 -925
  39. data/lib/rdf/vocab/identifiers.rb +212 -515
  40. data/lib/rdf/vocab/iiif.rb +81 -220
  41. data/lib/rdf/vocab/jsonld.rb +130 -272
  42. data/lib/rdf/vocab/ldp.rb +131 -264
  43. data/lib/rdf/vocab/lrmi.rb +146 -234
  44. data/lib/rdf/vocab/ma.rb +233 -623
  45. data/lib/rdf/vocab/mads.rb +516 -1113
  46. data/lib/rdf/vocab/marcrelators.rb +539 -1351
  47. data/lib/rdf/vocab/mo.rb +1383 -2305
  48. data/lib/rdf/vocab/mods.rb +384 -903
  49. data/lib/rdf/vocab/nfo.rb +311 -315
  50. data/lib/rdf/vocab/oa.rb +196 -474
  51. data/lib/rdf/vocab/og.rb +120 -201
  52. data/lib/rdf/vocab/ogc.rb +25 -62
  53. data/lib/rdf/vocab/ore.rb +51 -110
  54. data/lib/rdf/vocab/org.rb +180 -376
  55. data/lib/rdf/vocab/pcdm.rb +50 -100
  56. data/lib/rdf/vocab/pplan.rb +16 -24
  57. data/lib/rdf/vocab/premis.rb +674 -1825
  58. data/lib/rdf/vocab/premiseventtype.rb +114 -272
  59. data/lib/rdf/vocab/prov.rb +996 -1618
  60. data/lib/rdf/vocab/ptr.rb +77 -218
  61. data/lib/rdf/vocab/rdau.rb +1289 -1294
  62. data/lib/rdf/vocab/rightsstatements.rb +90 -98
  63. data/lib/rdf/vocab/rsa.rb +30 -63
  64. data/lib/rdf/vocab/rss.rb +24 -69
  65. data/lib/rdf/vocab/schema.rb +8430 -18899
  66. data/lib/rdf/vocab/schemas.rb +8430 -18899
  67. data/lib/rdf/vocab/sd.rb +85 -242
  68. data/lib/rdf/vocab/sh.rb +729 -1468
  69. data/lib/rdf/vocab/sioc.rb +416 -820
  70. data/lib/rdf/vocab/siocservices.rb +31 -72
  71. data/lib/rdf/vocab/sioctypes.rb +145 -306
  72. data/lib/rdf/vocab/skos.rb +95 -217
  73. data/lib/rdf/vocab/skosxl.rb +26 -59
  74. data/lib/rdf/vocab/v.rb +199 -493
  75. data/lib/rdf/vocab/vcard.rb +290 -920
  76. data/lib/rdf/vocab/vmd.rb +199 -493
  77. data/lib/rdf/vocab/void.rb +86 -210
  78. data/lib/rdf/vocab/vs.rb +16 -38
  79. data/lib/rdf/vocab/wdrs.rb +43 -136
  80. data/lib/rdf/vocab/wot.rb +95 -176
  81. data/lib/rdf/vocab/xhtml.rb +2 -7
  82. data/lib/rdf/vocab/xhv.rb +122 -463
  83. data/lib/rdf/vocab/xkos.rb +116 -269
  84. data/spec/extensions_spec.rb +1 -1
  85. metadata +45 -25
data/lib/rdf/vocab/og.rb CHANGED
@@ -3,323 +3,242 @@
3
3
  # This file generated automatically using rdf vocabulary format from http://ogp.me/ns#
4
4
  require 'rdf'
5
5
  module RDF::Vocab
6
- # @!parse
7
- # # Vocabulary for <http://ogp.me/ns#>
8
- # #
9
- # class OG < RDF::Vocabulary
10
- # # A relevant audio URL for your object.
11
- # # @return [RDF::Vocabulary::Term]
12
- # attr_reader :audio
13
- #
14
- # # A one to two sentence description of your object.
15
- # # @return [RDF::Vocabulary::Term]
16
- # attr_reader :description
17
- #
18
- # # The word to precede the object's title in a sentence (e.g., "the" in "the statue of liberty"). Valid values are "a", "an", "the", "", and "auto".
19
- # # @return [RDF::Vocabulary::Term]
20
- # attr_reader :determiner
21
- #
22
- # # [DEPRECATED] Email of the contact for your object.
23
- # # @return [RDF::Vocabulary::Term]
24
- # attr_reader :email
25
- #
26
- # # [DEPRECATED] Fax number of the contact for your object.
27
- # # @return [RDF::Vocabulary::Term]
28
- # attr_reader :fax_number
29
- #
30
- # # An image URL which should represent your object within the graph.
31
- # # @return [RDF::Vocabulary::Term]
32
- # attr_reader :image
33
- #
34
- # # [DEPRECATED] International Standard Book Number for you object.
35
- # # @return [RDF::Vocabulary::Term]
36
- # attr_reader :isbn
37
- #
38
- # # [DEPRECATED] The latitude of the resource e.g., the latitude of a company.
39
- # # @return [RDF::Vocabulary::Term]
40
- # attr_reader :latitude
41
- #
42
- # # A Unix locale in which this markup is rendered.
43
- # # @return [RDF::Vocabulary::Term]
44
- # attr_reader :locale
45
- #
46
- # # [DEPRECATED] The locality of the resource e.g, "Palo Alto"
47
- # # @return [RDF::Vocabulary::Term]
48
- # attr_reader :locality
49
- #
50
- # # [DEPRECATED] The longitude of the resource e.g., the longitude of a company.
51
- # # @return [RDF::Vocabulary::Term]
52
- # attr_reader :longitude
53
- #
54
- # # [DEPRECATED] Phone number of the contact for your object.
55
- # # @return [RDF::Vocabulary::Term]
56
- # attr_reader :phone_number
57
- #
58
- # # [DEPRECATED] The region of the resource e.g., "CA"
59
- # # @return [RDF::Vocabulary::Term]
60
- # attr_reader :region
61
- #
62
- # # If your object is part of a larger web site, the name which should be displayed for the overall site. e.g., "IMDb".
63
- # # @return [RDF::Vocabulary::Term]
64
- # attr_reader :site_name
65
- #
66
- # # The title of the object as it should appear within the graph, e.g., "The Rock".
67
- # # @return [RDF::Vocabulary::Term]
68
- # attr_reader :title
69
- #
70
- # # The type of your object, e.g., "movie". Depending on the type you specify, other properties may also be required.
71
- # # @return [RDF::Vocabulary::Term]
72
- # attr_reader :type
73
- #
74
- # # [DEPRECATED] Universal Product Code for your object.
75
- # # @return [RDF::Vocabulary::Term]
76
- # attr_reader :upc
77
- #
78
- # # The canonical URL of your object that will be used as its permanent ID in the graph, e.g., "http://www.imdb.com/title/tt0117500/".
79
- # # @return [RDF::Vocabulary::Term]
80
- # attr_reader :url
81
- #
82
- # # A relevant video URL for your object.
83
- # # @return [RDF::Vocabulary::Term]
84
- # attr_reader :video
85
- #
86
- # end
87
6
  OG = Class.new(RDF::Vocabulary("http://ogp.me/ns#")) do
88
7
 
89
8
  # Property definitions
90
9
  property :audio,
91
10
  comment: "A relevant audio URL for your object.".freeze,
92
- isDefinedBy: "og:".freeze,
11
+ isDefinedBy: "http://ogp.me/ns#".freeze,
93
12
  label: "audio".freeze,
94
- range: "ogc:url".freeze,
95
- type: "rdf:Property".freeze
13
+ range: "http://ogp.me/ns/class#url".freeze,
14
+ type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
96
15
  property :"audio:album",
97
16
  comment: "[DEPRECATED] An album to which some audio belongs.".freeze,
98
- isDefinedBy: "og:".freeze,
17
+ isDefinedBy: "http://ogp.me/ns#".freeze,
99
18
  label: "audio album".freeze,
100
- type: "rdf:Property".freeze
19
+ type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
101
20
  property :"audio:artist",
102
21
  comment: "[DEPRECATED] An artist of some audio.".freeze,
103
- isDefinedBy: "og:".freeze,
22
+ isDefinedBy: "http://ogp.me/ns#".freeze,
104
23
  label: "audio artist".freeze,
105
- type: "rdf:Property".freeze
24
+ type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
106
25
  property :"audio:secure_url",
107
26
  comment: "A relevant, secure audio URL for your object.".freeze,
108
- isDefinedBy: "og:".freeze,
27
+ isDefinedBy: "http://ogp.me/ns#".freeze,
109
28
  label: "audio secure URL".freeze,
110
- range: "ogc:url".freeze,
111
- type: "rdf:Property".freeze
29
+ range: "http://ogp.me/ns/class#url".freeze,
30
+ type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
112
31
  property :"audio:title",
113
32
  comment: "[DEPRECATED] A title for some audio.".freeze,
114
- isDefinedBy: "og:".freeze,
33
+ isDefinedBy: "http://ogp.me/ns#".freeze,
115
34
  label: "audio title".freeze,
116
- type: "rdf:Property".freeze
35
+ type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
117
36
  property :"audio:type",
118
37
  comment: "The mime type of an audio file e.g., \"application/mp3\"".freeze,
119
- isDefinedBy: "og:".freeze,
38
+ isDefinedBy: "http://ogp.me/ns#".freeze,
120
39
  label: "audio type".freeze,
121
- range: "ogc:mime_type_str".freeze,
122
- type: "rdf:Property".freeze
40
+ range: "http://ogp.me/ns/class#mime_type_str".freeze,
41
+ type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
123
42
  property :"country-name",
124
43
  comment: "[DEPRECATED] The country name of the resource e.g., \"USA\"".freeze,
125
- isDefinedBy: "og:".freeze,
44
+ "http://www.w3.org/2000/01/rdf-schema#seeAlso": "http://www.w3.org/2006/vcard/ns#country-name".freeze,
45
+ isDefinedBy: "http://ogp.me/ns#".freeze,
126
46
  label: "country name".freeze,
127
- "rdfs:seeAlso": "vcard:country-name".freeze,
128
- type: "rdf:Property".freeze
47
+ type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
129
48
  property :description,
130
49
  comment: "A one to two sentence description of your object.".freeze,
131
- isDefinedBy: "og:".freeze,
50
+ isDefinedBy: "http://ogp.me/ns#".freeze,
132
51
  label: "description".freeze,
133
- range: "ogc:string".freeze,
134
- subPropertyOf: "rdfs:comment".freeze,
135
- type: "rdf:Property".freeze
52
+ range: "http://ogp.me/ns/class#string".freeze,
53
+ subPropertyOf: "http://www.w3.org/2000/01/rdf-schema#comment".freeze,
54
+ type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
136
55
  property :determiner,
137
56
  comment: "The word to precede the object's title in a sentence (e.g., \"the\" in \"the statue of liberty\"). Valid values are \"a\", \"an\", \"the\", \"\", and \"auto\".".freeze,
138
- isDefinedBy: "og:".freeze,
57
+ isDefinedBy: "http://ogp.me/ns#".freeze,
139
58
  label: "determiner".freeze,
140
- range: "ogc:determiner_str".freeze,
141
- type: "rdf:Property".freeze
59
+ range: "http://ogp.me/ns/class#determiner_str".freeze,
60
+ type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
142
61
  property :email,
143
62
  comment: "[DEPRECATED] Email of the contact for your object.".freeze,
144
- isDefinedBy: "og:".freeze,
63
+ "http://www.w3.org/2000/01/rdf-schema#seeAlso": "http://xmlns.com/foaf/0.1/mbox".freeze,
64
+ isDefinedBy: "http://ogp.me/ns#".freeze,
145
65
  label: "email".freeze,
146
- "rdfs:seeAlso": "foaf:mbox".freeze,
147
- type: "rdf:Property".freeze
66
+ type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
148
67
  property :fax_number,
149
68
  comment: "[DEPRECATED] Fax number of the contact for your object.".freeze,
150
- isDefinedBy: "og:".freeze,
69
+ "http://www.w3.org/2000/01/rdf-schema#seeAlso": "http://xmlns.com/foaf/0.1/phone".freeze,
70
+ isDefinedBy: "http://ogp.me/ns#".freeze,
151
71
  label: "fax number".freeze,
152
- "rdfs:seeAlso": "foaf:phone".freeze,
153
- type: "rdf:Property".freeze
72
+ type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
154
73
  property :image,
155
74
  comment: "An image URL which should represent your object within the graph.".freeze,
156
- isDefinedBy: "og:".freeze,
75
+ "http://www.w3.org/2000/01/rdf-schema#seeAlso": "http://xmlns.com/foaf/0.1/depiction".freeze,
76
+ isDefinedBy: "http://ogp.me/ns#".freeze,
157
77
  label: "image".freeze,
158
- range: "ogc:url".freeze,
159
- "rdfs:seeAlso": "foaf:depiction".freeze,
160
- type: "rdf:Property".freeze
78
+ range: "http://ogp.me/ns/class#url".freeze,
79
+ type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
161
80
  property :"image:alt",
162
81
  comment: "A description of what is in the image (not a caption). If the page specifies an og:image it should specify og:image:alt.".freeze,
163
- isDefinedBy: "og:".freeze,
82
+ "http://www.w3.org/2000/01/rdf-schema#seeAlso": "http://ogp.me/ns#image".freeze,
83
+ isDefinedBy: "http://ogp.me/ns#".freeze,
164
84
  label: "image:alt".freeze,
165
- range: "ogc:string".freeze,
166
- "rdfs:seeAlso": "og:image".freeze,
167
- type: "rdf:Property".freeze
85
+ range: "http://ogp.me/ns/class#string".freeze,
86
+ type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
168
87
  property :"image:height",
169
88
  comment: "The height of an image.".freeze,
170
- isDefinedBy: "og:".freeze,
89
+ isDefinedBy: "http://ogp.me/ns#".freeze,
171
90
  label: "image height".freeze,
172
- range: "ogc:integer_str".freeze,
173
- type: "rdf:Property".freeze
91
+ range: "http://ogp.me/ns/class#integer_str".freeze,
92
+ type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
174
93
  property :"image:secure_url",
175
94
  comment: "A secure image URL which should represent your object within the graph.".freeze,
176
- isDefinedBy: "og:".freeze,
95
+ "http://www.w3.org/2000/01/rdf-schema#seeAlso": "http://xmlns.com/foaf/0.1/depiction".freeze,
96
+ isDefinedBy: "http://ogp.me/ns#".freeze,
177
97
  label: "image secure url".freeze,
178
- range: "ogc:url".freeze,
179
- "rdfs:seeAlso": "foaf:depiction".freeze,
180
- type: "rdf:Property".freeze
98
+ range: "http://ogp.me/ns/class#url".freeze,
99
+ type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
181
100
  property :"image:type",
182
101
  comment: "The mime type of an image.".freeze,
183
- isDefinedBy: "og:".freeze,
102
+ isDefinedBy: "http://ogp.me/ns#".freeze,
184
103
  label: "image type".freeze,
185
- range: "ogc:mime_type_str".freeze,
186
- type: "rdf:Property".freeze
104
+ range: "http://ogp.me/ns/class#mime_type_str".freeze,
105
+ type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
187
106
  property :"image:url",
188
107
  comment: "Identical to og:image.".freeze,
189
- isDefinedBy: "og:".freeze,
108
+ "http://www.w3.org/2000/01/rdf-schema#seeAlso": "http://ogp.me/ns#image".freeze,
109
+ "http://www.w3.org/2002/07/owl#sameProperty": "http://ogp.me/ns#image".freeze,
110
+ isDefinedBy: "http://ogp.me/ns#".freeze,
190
111
  label: "image:url".freeze,
191
- "owl:sameProperty": "og:image".freeze,
192
- range: "ogc:url".freeze,
193
- "rdfs:seeAlso": "og:image".freeze,
194
- type: "rdf:Property".freeze
112
+ range: "http://ogp.me/ns/class#url".freeze,
113
+ type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
195
114
  property :"image:width",
196
115
  comment: "The width of an image.".freeze,
197
- isDefinedBy: "og:".freeze,
116
+ isDefinedBy: "http://ogp.me/ns#".freeze,
198
117
  label: "image width".freeze,
199
- range: "ogc:integer_str".freeze,
200
- type: "rdf:Property".freeze
118
+ range: "http://ogp.me/ns/class#integer_str".freeze,
119
+ type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
201
120
  property :isbn,
202
121
  comment: "[DEPRECATED] International Standard Book Number for you object.".freeze,
203
- isDefinedBy: "og:".freeze,
122
+ "http://www.w3.org/2000/01/rdf-schema#seeAlso": "http://purl.org/ontology/bibo/isbn".freeze,
123
+ isDefinedBy: "http://ogp.me/ns#".freeze,
204
124
  label: ["International Standard Book Number".freeze, "isbn".freeze],
205
- "rdfs:seeAlso": "bibo:isbn".freeze,
206
- type: "rdf:Property".freeze
125
+ type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
207
126
  property :latitude,
208
127
  comment: "[DEPRECATED] The latitude of the resource e.g., the latitude of a company.".freeze,
209
- isDefinedBy: "og:".freeze,
128
+ "http://www.w3.org/2000/01/rdf-schema#seeAlso": "http://www.w3.org/2003/01/geo/wgs84_pos#lat".freeze,
129
+ isDefinedBy: "http://ogp.me/ns#".freeze,
210
130
  label: "latitude".freeze,
211
- "rdfs:seeAlso": "geo:lat".freeze,
212
- type: "rdf:Property".freeze
131
+ type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
213
132
  property :locale,
214
133
  comment: "A Unix locale in which this markup is rendered.".freeze,
215
- isDefinedBy: "og:".freeze,
134
+ isDefinedBy: "http://ogp.me/ns#".freeze,
216
135
  label: "locale".freeze,
217
- range: "ogc:string".freeze,
218
- type: "rdf:Property".freeze
136
+ range: "http://ogp.me/ns/class#string".freeze,
137
+ type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
219
138
  property :"locale:alternate",
220
139
  comment: "An array of other locales this page is available in.".freeze,
221
- isDefinedBy: "og:".freeze,
140
+ "http://www.w3.org/2000/01/rdf-schema#seeAlso": "http://ogp.me/ns#locale".freeze,
141
+ isDefinedBy: "http://ogp.me/ns#".freeze,
222
142
  label: "locale:alternate".freeze,
223
- range: "ogc:string".freeze,
224
- "rdfs:seeAlso": "og:locale".freeze,
225
- type: "rdf:Property".freeze
143
+ range: "http://ogp.me/ns/class#string".freeze,
144
+ type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
226
145
  property :locality,
227
146
  comment: "[DEPRECATED] The locality of the resource e.g, \"Palo Alto\"".freeze,
228
- isDefinedBy: "og:".freeze,
147
+ "http://www.w3.org/2000/01/rdf-schema#seeAlso": "http://www.w3.org/2006/vcard/ns#locality".freeze,
148
+ isDefinedBy: "http://ogp.me/ns#".freeze,
229
149
  label: "locality".freeze,
230
- "rdfs:seeAlso": "vcard:locality".freeze,
231
- type: "rdf:Property".freeze
150
+ type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
232
151
  property :longitude,
233
152
  comment: "[DEPRECATED] The longitude of the resource e.g., the longitude of a company.".freeze,
234
- isDefinedBy: "og:".freeze,
153
+ "http://www.w3.org/2000/01/rdf-schema#seeAlso": "http://www.w3.org/2003/01/geo/wgs84_pos#long".freeze,
154
+ isDefinedBy: "http://ogp.me/ns#".freeze,
235
155
  label: "longitude".freeze,
236
- "rdfs:seeAlso": "geo:long".freeze,
237
- type: "rdf:Property".freeze
156
+ type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
238
157
  property :phone_number,
239
158
  comment: "[DEPRECATED] Phone number of the contact for your object.".freeze,
240
- isDefinedBy: "og:".freeze,
159
+ "http://www.w3.org/2000/01/rdf-schema#seeAlso": "http://xmlns.com/foaf/0.1/phone".freeze,
160
+ isDefinedBy: "http://ogp.me/ns#".freeze,
241
161
  label: "phone number".freeze,
242
- "rdfs:seeAlso": "foaf:phone".freeze,
243
- type: "rdf:Property".freeze
162
+ type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
244
163
  property :"postal-code",
245
164
  comment: "[DEPRECATED] The postal code of the resource e.g., \"94304\"".freeze,
246
- isDefinedBy: "og:".freeze,
165
+ "http://www.w3.org/2000/01/rdf-schema#seeAlso": "http://www.w3.org/2006/vcard/ns#postal-code".freeze,
166
+ isDefinedBy: "http://ogp.me/ns#".freeze,
247
167
  label: "postal code".freeze,
248
- "rdfs:seeAlso": "vcard:postal-code".freeze,
249
- type: "rdf:Property".freeze
168
+ type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
250
169
  property :region,
251
170
  comment: "[DEPRECATED] The region of the resource e.g., \"CA\"".freeze,
252
- isDefinedBy: "og:".freeze,
171
+ "http://www.w3.org/2000/01/rdf-schema#seeAlso": "http://www.w3.org/2006/vcard/ns#region".freeze,
172
+ isDefinedBy: "http://ogp.me/ns#".freeze,
253
173
  label: "region".freeze,
254
- "rdfs:seeAlso": "vcard:region".freeze,
255
- type: "rdf:Property".freeze
174
+ type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
256
175
  property :site_name,
257
176
  comment: "If your object is part of a larger web site, the name which should be displayed for the overall site. e.g., \"IMDb\".".freeze,
258
- isDefinedBy: "og:".freeze,
177
+ isDefinedBy: "http://ogp.me/ns#".freeze,
259
178
  label: "site name".freeze,
260
- range: "ogc:string".freeze,
261
- type: "rdf:Property".freeze
179
+ range: "http://ogp.me/ns/class#string".freeze,
180
+ type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
262
181
  property :"street-address",
263
182
  comment: "[DEPRECATED] The street address of the resource e.g., \"1601 S California Ave\".".freeze,
264
- isDefinedBy: "og:".freeze,
183
+ "http://www.w3.org/2000/01/rdf-schema#seeAlso": "http://www.w3.org/2006/vcard/ns#street-address".freeze,
184
+ isDefinedBy: "http://ogp.me/ns#".freeze,
265
185
  label: "street address".freeze,
266
- "rdfs:seeAlso": "vcard:street-address".freeze,
267
- type: "rdf:Property".freeze
186
+ type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
268
187
  property :title,
269
188
  comment: "The title of the object as it should appear within the graph, e.g., \"The Rock\".".freeze,
270
- isDefinedBy: "og:".freeze,
189
+ isDefinedBy: "http://ogp.me/ns#".freeze,
271
190
  label: "title".freeze,
272
- range: "ogc:string".freeze,
273
- subPropertyOf: "rdfs:label".freeze,
274
- type: "rdf:Property".freeze
191
+ range: "http://ogp.me/ns/class#string".freeze,
192
+ subPropertyOf: "http://www.w3.org/2000/01/rdf-schema#label".freeze,
193
+ type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
275
194
  property :type,
276
195
  comment: "The type of your object, e.g., \"movie\". Depending on the type you specify, other properties may also be required.".freeze,
277
- isDefinedBy: "og:".freeze,
196
+ "http://www.w3.org/2000/01/rdf-schema#seeAlso": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type".freeze,
197
+ isDefinedBy: "http://ogp.me/ns#".freeze,
278
198
  label: "type".freeze,
279
- range: "ogc:string".freeze,
280
- "rdfs:seeAlso": "rdf:type".freeze,
281
- type: "rdf:Property".freeze
199
+ range: "http://ogp.me/ns/class#string".freeze,
200
+ type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
282
201
  property :upc,
283
202
  comment: "[DEPRECATED] Universal Product Code for your object.".freeze,
203
+ "http://www.w3.org/2000/01/rdf-schema#seeAlso": "http://purl.org/goodrelations/v1#hasEAN_UCC-13".freeze,
284
204
  label: ["universal product code".freeze, "upc".freeze],
285
- "rdfs:seeAlso": "gr:hasEAN_UCC-13".freeze,
286
- type: "rdf:Property".freeze
205
+ type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
287
206
  property :url,
288
207
  comment: "The canonical URL of your object that will be used as its permanent ID in the graph, e.g., \"http://www.imdb.com/title/tt0117500/\".".freeze,
289
- isDefinedBy: "og:".freeze,
208
+ "http://www.w3.org/2000/01/rdf-schema#seeAlso": ["http://purl.org/dc/elements/1.1/identifier".freeze, "http://xmlns.com/foaf/0.1/homepage".freeze],
209
+ isDefinedBy: "http://ogp.me/ns#".freeze,
290
210
  label: "url".freeze,
291
- range: "ogc:url".freeze,
292
- "rdfs:seeAlso": ["dc11:identifier".freeze, "foaf:homepage".freeze],
293
- type: "rdf:Property".freeze
211
+ range: "http://ogp.me/ns/class#url".freeze,
212
+ type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
294
213
  property :video,
295
214
  comment: "A relevant video URL for your object.".freeze,
296
- isDefinedBy: "og:".freeze,
215
+ isDefinedBy: "http://ogp.me/ns#".freeze,
297
216
  label: "video".freeze,
298
- range: "ogc:url".freeze,
299
- type: "rdf:Property".freeze
217
+ range: "http://ogp.me/ns/class#url".freeze,
218
+ type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
300
219
  property :"video:height",
301
220
  comment: "The height of a video.".freeze,
302
- isDefinedBy: "og:".freeze,
221
+ isDefinedBy: "http://ogp.me/ns#".freeze,
303
222
  label: "video height".freeze,
304
- range: "ogc:integer_str".freeze,
305
- type: "rdf:Property".freeze
223
+ range: "http://ogp.me/ns/class#integer_str".freeze,
224
+ type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
306
225
  property :"video:secure_url",
307
226
  comment: "A relevant, secure video URL for your object.".freeze,
308
- isDefinedBy: "og:".freeze,
227
+ isDefinedBy: "http://ogp.me/ns#".freeze,
309
228
  label: "video secure URL".freeze,
310
- range: "ogc:url".freeze,
311
- type: "rdf:Property".freeze
229
+ range: "http://ogp.me/ns/class#url".freeze,
230
+ type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
312
231
  property :"video:type",
313
232
  comment: "The mime type of a video e.g., \"application/x-shockwave-flash\"".freeze,
314
- isDefinedBy: "og:".freeze,
233
+ isDefinedBy: "http://ogp.me/ns#".freeze,
315
234
  label: "video type".freeze,
316
- range: "ogc:mime_type_str".freeze,
317
- type: "rdf:Property".freeze
235
+ range: "http://ogp.me/ns/class#mime_type_str".freeze,
236
+ type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
318
237
  property :"video:width",
319
238
  comment: "The width of a video.".freeze,
320
- isDefinedBy: "og:".freeze,
239
+ isDefinedBy: "http://ogp.me/ns#".freeze,
321
240
  label: "video width".freeze,
322
- range: "ogc:integer_str".freeze,
323
- type: "rdf:Property".freeze
241
+ range: "http://ogp.me/ns/class#integer_str".freeze,
242
+ type: "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property".freeze
324
243
  end
325
244
  end
data/lib/rdf/vocab/ogc.rb CHANGED
@@ -3,94 +3,57 @@
3
3
  # This file generated automatically using rdf vocabulary format from http://ogp.me/ns/class#
4
4
  require 'rdf'
5
5
  module RDF::Vocab
6
- # @!parse
7
- # # Vocabulary for <http://ogp.me/ns/class#>
8
- # #
9
- # class OGC < RDF::Vocabulary
10
- # # A string representation of a true or false value. The lexical space contains: "true", "false", "1", and "0".
11
- # # @return [RDF::Vocabulary::Term]
12
- # attr_reader :boolean_str
13
- #
14
- # # A string representation of a temporal value composed of a date (year, month, day) and an optional time component (hours, minutes). The lexical space is defined by ISO 8601.
15
- # # @return [RDF::Vocabulary::Term]
16
- # attr_reader :date_time_str
17
- #
18
- # # The lexical space: "", "the", "a", "an", and "auto".
19
- # # @return [RDF::Vocabulary::Term]
20
- # attr_reader :determiner_str
21
- #
22
- # # A string representation of a 64-bit signed floating point number. Example lexical values include "1.234", "-1.234", "1.2e3", "-1.2e3", and "7E-10".
23
- # # @return [RDF::Vocabulary::Term]
24
- # attr_reader :float_str
25
- #
26
- # # A string representation of a 32-bit signed integer. Example lexical values include "1234" and "-123".
27
- # # @return [RDF::Vocabulary::Term]
28
- # attr_reader :integer_str
29
- #
30
- # # Valid mime type strings (e.g., "application/mp3").
31
- # # @return [RDF::Vocabulary::Term]
32
- # attr_reader :mime_type_str
33
- #
34
- # # A string of Unicode characters.
35
- # # @return [RDF::Vocabulary::Term]
36
- # attr_reader :string
37
- #
38
- # # A string of Unicode characters forming a valid URL having the http or https scheme.
39
- # # @return [RDF::Vocabulary::Term]
40
- # attr_reader :url
41
- #
42
- # end
43
6
  OGC = Class.new(RDF::Vocabulary("http://ogp.me/ns/class#")) do
44
7
 
45
8
  # Datatype definitions
46
9
  term :boolean_str,
47
10
  comment: "A string representation of a true or false value. The lexical space contains: \"true\", \"false\", \"1\", and \"0\".".freeze,
48
- isDefinedBy: "ogc:".freeze,
11
+ isDefinedBy: "http://ogp.me/ns/class#".freeze,
49
12
  label: "boolean string".freeze,
50
- subClassOf: "xsd:string".freeze,
51
- type: "rdfs:Datatype".freeze
13
+ subClassOf: "http://www.w3.org/2001/XMLSchema#string".freeze,
14
+ type: "http://www.w3.org/2000/01/rdf-schema#Datatype".freeze
52
15
  term :date_time_str,
53
16
  comment: "A string representation of a temporal value composed of a date (year, month, day) and an optional time component (hours, minutes). The lexical space is defined by ISO 8601.".freeze,
54
- isDefinedBy: "ogc:".freeze,
17
+ isDefinedBy: "http://ogp.me/ns/class#".freeze,
55
18
  label: "date/time string".freeze,
56
- subClassOf: "xsd:string".freeze,
57
- type: "rdfs:Datatype".freeze
19
+ subClassOf: "http://www.w3.org/2001/XMLSchema#string".freeze,
20
+ type: "http://www.w3.org/2000/01/rdf-schema#Datatype".freeze
58
21
  term :determiner_str,
59
22
  comment: "The lexical space: \"\", \"the\", \"a\", \"an\", and \"auto\".".freeze,
60
- isDefinedBy: "ogc:".freeze,
23
+ "http://www.w3.org/2002/07/owl#oneOf": list("".freeze, "the".freeze, "a".freeze, "an".freeze, "auto".freeze),
24
+ isDefinedBy: "http://ogp.me/ns/class#".freeze,
61
25
  label: "determiner".freeze,
62
- "owl:oneOf": list("".freeze, "the".freeze, "a".freeze, "an".freeze, "auto".freeze),
63
- subClassOf: "xsd:string".freeze,
64
- type: "rdfs:Datatype".freeze
26
+ subClassOf: "http://www.w3.org/2001/XMLSchema#string".freeze,
27
+ type: "http://www.w3.org/2000/01/rdf-schema#Datatype".freeze
65
28
  term :float_str,
66
29
  comment: "A string representation of a 64-bit signed floating point number. Example lexical values include \"1.234\", \"-1.234\", \"1.2e3\", \"-1.2e3\", and \"7E-10\".".freeze,
67
- isDefinedBy: "ogc:".freeze,
30
+ isDefinedBy: "http://ogp.me/ns/class#".freeze,
68
31
  label: "float string".freeze,
69
- subClassOf: "xsd:string".freeze,
70
- type: "rdfs:Datatype".freeze
32
+ subClassOf: "http://www.w3.org/2001/XMLSchema#string".freeze,
33
+ type: "http://www.w3.org/2000/01/rdf-schema#Datatype".freeze
71
34
  term :integer_str,
72
35
  comment: "A string representation of a 32-bit signed integer. Example lexical values include \"1234\" and \"-123\".".freeze,
73
- isDefinedBy: "ogc:".freeze,
36
+ isDefinedBy: "http://ogp.me/ns/class#".freeze,
74
37
  label: "integer string".freeze,
75
- subClassOf: "xsd:string".freeze,
76
- type: "rdfs:Datatype".freeze
38
+ subClassOf: "http://www.w3.org/2001/XMLSchema#string".freeze,
39
+ type: "http://www.w3.org/2000/01/rdf-schema#Datatype".freeze
77
40
  term :mime_type_str,
78
41
  comment: "Valid mime type strings (e.g., \"application/mp3\").".freeze,
79
- isDefinedBy: "og:".freeze,
42
+ isDefinedBy: "http://ogp.me/ns#".freeze,
80
43
  label: "mime type string".freeze,
81
- subClassOf: "xsd:string".freeze,
82
- type: "rdfs:Datatype".freeze
44
+ subClassOf: "http://www.w3.org/2001/XMLSchema#string".freeze,
45
+ type: "http://www.w3.org/2000/01/rdf-schema#Datatype".freeze
83
46
  term :string,
84
47
  comment: "A string of Unicode characters.".freeze,
85
- isDefinedBy: "ogc:".freeze,
48
+ isDefinedBy: "http://ogp.me/ns/class#".freeze,
86
49
  label: "Unicode string".freeze,
87
- subClassOf: "xsd:string".freeze,
88
- type: "rdfs:Datatype".freeze
50
+ subClassOf: "http://www.w3.org/2001/XMLSchema#string".freeze,
51
+ type: "http://www.w3.org/2000/01/rdf-schema#Datatype".freeze
89
52
  term :url,
90
53
  comment: "A string of Unicode characters forming a valid URL having the http or https scheme.".freeze,
91
- isDefinedBy: "ogc:".freeze,
54
+ isDefinedBy: "http://ogp.me/ns/class#".freeze,
92
55
  label: "URL".freeze,
93
- subClassOf: "ogc:string".freeze,
94
- type: "rdfs:Datatype".freeze
56
+ subClassOf: "http://ogp.me/ns/class#string".freeze,
57
+ type: "http://www.w3.org/2000/01/rdf-schema#Datatype".freeze
95
58
  end
96
59
  end