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.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/VERSION +1 -1
- data/lib/rdf/vocab.rb +13 -1
- data/lib/rdf/vocab/acl.rb +47 -134
- data/lib/rdf/vocab/as.rb +381 -894
- data/lib/rdf/vocab/bf2.rb +1241 -2561
- data/lib/rdf/vocab/bibframe.rb +1241 -2561
- data/lib/rdf/vocab/bibo.rb +576 -1078
- data/lib/rdf/vocab/cc.rb +57 -167
- data/lib/rdf/vocab/cert.rb +72 -143
- data/lib/rdf/vocab/cnt.rb +51 -133
- data/lib/rdf/vocab/crm.rb +1180 -2486
- data/lib/rdf/vocab/datacite.rb +161 -161
- data/lib/rdf/vocab/dbo.rb +3900 -14140
- data/lib/rdf/vocab/dc.rb +458 -848
- data/lib/rdf/vocab/dc11.rb +62 -128
- data/lib/rdf/vocab/dcat.rb +215 -382
- data/lib/rdf/vocab/dcmitype.rb +65 -119
- data/lib/rdf/vocab/disco.rb +170 -401
- data/lib/rdf/vocab/doap.rb +197 -375
- data/lib/rdf/vocab/dwc.rb +1451 -2207
- data/lib/rdf/vocab/earl.rb +80 -218
- data/lib/rdf/vocab/ebucore.rb +2991 -7439
- data/lib/rdf/vocab/edm.rb +159 -351
- data/lib/rdf/vocab/exif.rb +453 -1106
- data/lib/rdf/vocab/extensions.rb +3 -3
- data/lib/rdf/vocab/fcrepo4.rb +247 -627
- data/lib/rdf/vocab/foaf.rb +373 -681
- data/lib/rdf/vocab/geo.rb +16 -58
- data/lib/rdf/vocab/geojson.rb +16 -85
- data/lib/rdf/vocab/geonames.rb +1573 -1742
- data/lib/rdf/vocab/gr.rb +539 -1427
- data/lib/rdf/vocab/gs1.rb +2824 -4424
- data/lib/rdf/vocab/ht.rb +93 -260
- data/lib/rdf/vocab/hydra.rb +216 -477
- data/lib/rdf/vocab/iana.rb +71 -304
- data/lib/rdf/vocab/ical.rb +460 -925
- data/lib/rdf/vocab/identifiers.rb +212 -515
- data/lib/rdf/vocab/iiif.rb +81 -220
- data/lib/rdf/vocab/jsonld.rb +130 -272
- data/lib/rdf/vocab/ldp.rb +131 -264
- data/lib/rdf/vocab/lrmi.rb +146 -234
- data/lib/rdf/vocab/ma.rb +233 -623
- data/lib/rdf/vocab/mads.rb +516 -1113
- data/lib/rdf/vocab/marcrelators.rb +539 -1351
- data/lib/rdf/vocab/mo.rb +1383 -2305
- data/lib/rdf/vocab/mods.rb +384 -903
- data/lib/rdf/vocab/nfo.rb +311 -315
- data/lib/rdf/vocab/oa.rb +196 -474
- data/lib/rdf/vocab/og.rb +120 -201
- data/lib/rdf/vocab/ogc.rb +25 -62
- data/lib/rdf/vocab/ore.rb +51 -110
- data/lib/rdf/vocab/org.rb +180 -376
- data/lib/rdf/vocab/pcdm.rb +50 -100
- data/lib/rdf/vocab/pplan.rb +16 -24
- data/lib/rdf/vocab/premis.rb +674 -1825
- data/lib/rdf/vocab/premiseventtype.rb +114 -272
- data/lib/rdf/vocab/prov.rb +996 -1618
- data/lib/rdf/vocab/ptr.rb +77 -218
- data/lib/rdf/vocab/rdau.rb +1289 -1294
- data/lib/rdf/vocab/rightsstatements.rb +90 -98
- data/lib/rdf/vocab/rsa.rb +30 -63
- data/lib/rdf/vocab/rss.rb +24 -69
- data/lib/rdf/vocab/schema.rb +8430 -18899
- data/lib/rdf/vocab/schemas.rb +8430 -18899
- data/lib/rdf/vocab/sd.rb +85 -242
- data/lib/rdf/vocab/sh.rb +729 -1468
- data/lib/rdf/vocab/sioc.rb +416 -820
- data/lib/rdf/vocab/siocservices.rb +31 -72
- data/lib/rdf/vocab/sioctypes.rb +145 -306
- data/lib/rdf/vocab/skos.rb +95 -217
- data/lib/rdf/vocab/skosxl.rb +26 -59
- data/lib/rdf/vocab/v.rb +199 -493
- data/lib/rdf/vocab/vcard.rb +290 -920
- data/lib/rdf/vocab/vmd.rb +199 -493
- data/lib/rdf/vocab/void.rb +86 -210
- data/lib/rdf/vocab/vs.rb +16 -38
- data/lib/rdf/vocab/wdrs.rb +43 -136
- data/lib/rdf/vocab/wot.rb +95 -176
- data/lib/rdf/vocab/xhtml.rb +2 -7
- data/lib/rdf/vocab/xhv.rb +122 -463
- data/lib/rdf/vocab/xkos.rb +116 -269
- data/spec/extensions_spec.rb +1 -1
- 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: "
|
11
|
+
isDefinedBy: "http://ogp.me/ns#".freeze,
|
93
12
|
label: "audio".freeze,
|
94
|
-
range: "
|
95
|
-
type: "rdf
|
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: "
|
17
|
+
isDefinedBy: "http://ogp.me/ns#".freeze,
|
99
18
|
label: "audio album".freeze,
|
100
|
-
type: "rdf
|
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: "
|
22
|
+
isDefinedBy: "http://ogp.me/ns#".freeze,
|
104
23
|
label: "audio artist".freeze,
|
105
|
-
type: "rdf
|
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: "
|
27
|
+
isDefinedBy: "http://ogp.me/ns#".freeze,
|
109
28
|
label: "audio secure URL".freeze,
|
110
|
-
range: "
|
111
|
-
type: "rdf
|
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: "
|
33
|
+
isDefinedBy: "http://ogp.me/ns#".freeze,
|
115
34
|
label: "audio title".freeze,
|
116
|
-
type: "rdf
|
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: "
|
38
|
+
isDefinedBy: "http://ogp.me/ns#".freeze,
|
120
39
|
label: "audio type".freeze,
|
121
|
-
range: "
|
122
|
-
type: "rdf
|
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
|
-
|
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
|
-
|
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: "
|
50
|
+
isDefinedBy: "http://ogp.me/ns#".freeze,
|
132
51
|
label: "description".freeze,
|
133
|
-
range: "
|
134
|
-
subPropertyOf: "
|
135
|
-
type: "rdf
|
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: "
|
57
|
+
isDefinedBy: "http://ogp.me/ns#".freeze,
|
139
58
|
label: "determiner".freeze,
|
140
|
-
range: "
|
141
|
-
type: "rdf
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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: "
|
159
|
-
|
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
|
-
|
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: "
|
166
|
-
|
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: "
|
89
|
+
isDefinedBy: "http://ogp.me/ns#".freeze,
|
171
90
|
label: "image height".freeze,
|
172
|
-
range: "
|
173
|
-
type: "rdf
|
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
|
-
|
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: "
|
179
|
-
|
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: "
|
102
|
+
isDefinedBy: "http://ogp.me/ns#".freeze,
|
184
103
|
label: "image type".freeze,
|
185
|
-
range: "
|
186
|
-
type: "rdf
|
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
|
-
|
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
|
-
|
192
|
-
|
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: "
|
116
|
+
isDefinedBy: "http://ogp.me/ns#".freeze,
|
198
117
|
label: "image width".freeze,
|
199
|
-
range: "
|
200
|
-
type: "rdf
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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: "
|
134
|
+
isDefinedBy: "http://ogp.me/ns#".freeze,
|
216
135
|
label: "locale".freeze,
|
217
|
-
range: "
|
218
|
-
type: "rdf
|
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
|
-
|
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: "
|
224
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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: "
|
177
|
+
isDefinedBy: "http://ogp.me/ns#".freeze,
|
259
178
|
label: "site name".freeze,
|
260
|
-
range: "
|
261
|
-
type: "rdf
|
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
|
-
|
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
|
-
|
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: "
|
189
|
+
isDefinedBy: "http://ogp.me/ns#".freeze,
|
271
190
|
label: "title".freeze,
|
272
|
-
range: "
|
273
|
-
subPropertyOf: "
|
274
|
-
type: "rdf
|
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
|
-
|
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: "
|
280
|
-
|
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
|
-
|
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
|
-
|
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: "
|
292
|
-
|
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: "
|
215
|
+
isDefinedBy: "http://ogp.me/ns#".freeze,
|
297
216
|
label: "video".freeze,
|
298
|
-
range: "
|
299
|
-
type: "rdf
|
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: "
|
221
|
+
isDefinedBy: "http://ogp.me/ns#".freeze,
|
303
222
|
label: "video height".freeze,
|
304
|
-
range: "
|
305
|
-
type: "rdf
|
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: "
|
227
|
+
isDefinedBy: "http://ogp.me/ns#".freeze,
|
309
228
|
label: "video secure URL".freeze,
|
310
|
-
range: "
|
311
|
-
type: "rdf
|
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: "
|
233
|
+
isDefinedBy: "http://ogp.me/ns#".freeze,
|
315
234
|
label: "video type".freeze,
|
316
|
-
range: "
|
317
|
-
type: "rdf
|
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: "
|
239
|
+
isDefinedBy: "http://ogp.me/ns#".freeze,
|
321
240
|
label: "video width".freeze,
|
322
|
-
range: "
|
323
|
-
type: "rdf
|
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: "
|
11
|
+
isDefinedBy: "http://ogp.me/ns/class#".freeze,
|
49
12
|
label: "boolean string".freeze,
|
50
|
-
subClassOf: "
|
51
|
-
type: "
|
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: "
|
17
|
+
isDefinedBy: "http://ogp.me/ns/class#".freeze,
|
55
18
|
label: "date/time string".freeze,
|
56
|
-
subClassOf: "
|
57
|
-
type: "
|
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
|
-
|
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
|
-
|
63
|
-
|
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: "
|
30
|
+
isDefinedBy: "http://ogp.me/ns/class#".freeze,
|
68
31
|
label: "float string".freeze,
|
69
|
-
subClassOf: "
|
70
|
-
type: "
|
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: "
|
36
|
+
isDefinedBy: "http://ogp.me/ns/class#".freeze,
|
74
37
|
label: "integer string".freeze,
|
75
|
-
subClassOf: "
|
76
|
-
type: "
|
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: "
|
42
|
+
isDefinedBy: "http://ogp.me/ns#".freeze,
|
80
43
|
label: "mime type string".freeze,
|
81
|
-
subClassOf: "
|
82
|
-
type: "
|
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: "
|
48
|
+
isDefinedBy: "http://ogp.me/ns/class#".freeze,
|
86
49
|
label: "Unicode string".freeze,
|
87
|
-
subClassOf: "
|
88
|
-
type: "
|
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: "
|
54
|
+
isDefinedBy: "http://ogp.me/ns/class#".freeze,
|
92
55
|
label: "URL".freeze,
|
93
|
-
subClassOf: "
|
94
|
-
type: "
|
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
|