rdf 1.1.0p4 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. checksums.yaml +6 -14
  2. data/README +33 -33
  3. data/VERSION +1 -1
  4. data/lib/rdf.rb +60 -12
  5. data/lib/rdf/cli.rb +7 -1
  6. data/lib/rdf/cli/vocab-loader.rb +240 -0
  7. data/lib/rdf/format.rb +2 -2
  8. data/lib/rdf/mixin/enumerable.rb +12 -4
  9. data/lib/rdf/mixin/queryable.rb +13 -13
  10. data/lib/rdf/model/graph.rb +5 -4
  11. data/lib/rdf/model/list.rb +15 -4
  12. data/lib/rdf/model/literal.rb +2 -1
  13. data/lib/rdf/model/statement.rb +10 -1
  14. data/lib/rdf/model/term.rb +8 -0
  15. data/lib/rdf/model/uri.rb +107 -2
  16. data/lib/rdf/model/value.rb +8 -0
  17. data/lib/rdf/ntriples/reader.rb +5 -4
  18. data/lib/rdf/query.rb +47 -12
  19. data/lib/rdf/query/solutions.rb +29 -29
  20. data/lib/rdf/reader.rb +13 -3
  21. data/lib/rdf/repository.rb +1 -0
  22. data/lib/rdf/util/file.rb +86 -6
  23. data/lib/rdf/vocab.rb +158 -58
  24. data/lib/rdf/vocab/cc.rb +28 -11
  25. data/lib/rdf/vocab/cert.rb +127 -9
  26. data/lib/rdf/vocab/dc.rb +242 -60
  27. data/lib/rdf/vocab/dc11.rb +42 -20
  28. data/lib/rdf/vocab/doap.rb +121 -42
  29. data/lib/rdf/vocab/exif.rb +540 -165
  30. data/lib/rdf/vocab/foaf.rb +353 -66
  31. data/lib/rdf/vocab/geo.rb +40 -10
  32. data/lib/rdf/vocab/gr.rb +1094 -0
  33. data/lib/rdf/vocab/http.rb +81 -23
  34. data/lib/rdf/vocab/ical.rb +361 -0
  35. data/lib/rdf/vocab/ma.rb +281 -69
  36. data/lib/rdf/vocab/og.rb +98 -0
  37. data/lib/rdf/vocab/owl.rb +226 -56
  38. data/lib/rdf/vocab/prov.rb +489 -0
  39. data/lib/rdf/vocab/rdfs.rb +38 -14
  40. data/lib/rdf/vocab/rsa.rb +25 -9
  41. data/lib/rdf/vocab/rss.rb +29 -11
  42. data/lib/rdf/vocab/schema.rb +3729 -647
  43. data/lib/rdf/vocab/sioc.rb +224 -89
  44. data/lib/rdf/vocab/skos.rb +141 -33
  45. data/lib/rdf/vocab/skosxl.rb +43 -0
  46. data/lib/rdf/vocab/v.rb +154 -0
  47. data/lib/rdf/vocab/vcard.rb +337 -0
  48. data/lib/rdf/vocab/void.rb +142 -0
  49. data/lib/rdf/vocab/wdrs.rb +129 -0
  50. data/lib/rdf/vocab/wot.rb +52 -18
  51. data/lib/rdf/vocab/xhtml.rb +3 -6
  52. data/lib/rdf/vocab/xhv.rb +239 -0
  53. data/lib/rdf/writer.rb +3 -3
  54. metadata +81 -14
data/lib/rdf/vocab/ma.rb CHANGED
@@ -1,78 +1,290 @@
1
+ # This file generated automatically using vocab-fetch from http://www.w3.org/ns/ma-ont.rdf
2
+ require 'rdf'
1
3
  module RDF
2
- ##
3
- # W3C Media Annotation vocabulary.
4
- # @see www.w3.org/ns/ma-ont.rdf
5
- class MA < Vocabulary("http://www.w3.org/ns/ma-ont#")
6
- property :IsRatingOf
7
- property :alternativeTitle
8
- property :averageBitRate
9
- property :collectionName
10
- property :copyright
11
- property :createdIn
12
- property :creationDate
13
- property :date
14
- property :depictsFictionalLocation
15
- property :description
16
- property :duration
17
- property :editDate
18
- property :features
19
- property :fragmentName
20
- property :frameHeight
21
- property :frameRate
22
- property :frameSizeUnit
23
- property :frameWidth
24
- property :hasAccessConditions
25
- property :hasAudioDescription
26
- property :hasCaptioning
27
- property :hasChapter
28
- property :hasClassification
29
- property :hasClassificationSystem
30
- property :hasCompression
31
- property :hasContributor
32
- property :hasCreator
33
- property :hasFormat
34
- property :hasFragment
35
- property :hasGenre
36
- property :hasKeyword
37
- property :hasLanguage
38
- property :hasLocationCoordinateSystem
39
- property :hasNamedFragment
40
- property :hasPermissions
41
- property :hasPolicy
4
+ class MA < StrictVocabulary("http://www.w3.org/ns/ma-ont#")
5
+
6
+ # Class definitions
7
+ property :Agent, :comment =>
8
+ %(A person or organisation contributing to the media resource.)
9
+ property :AudioTrack, :comment =>
10
+ %(A specialisation of Track for Audio to provide a link to
11
+ specific data properties such as sampleRate, etc.
12
+ Specialisation is defined through object properties.)
13
+ property :Collection, :comment =>
14
+ %(Any group of media resource e.g. a series.)
15
+ property :DataTrack, :comment =>
16
+ %(Ancillary data track e.g. captioning in addition to video and
17
+ audio tracks. Specialisation is made through the use of
18
+ appropriate object properties.)
19
+ property :Image, :comment =>
20
+ %(A still image / thumbnail / key frame related to the media
21
+ resource or being the media resource itself.)
22
+ property :Location, :comment =>
23
+ %(A location related to the media resource, e.g. depicted in the
24
+ resource \(possibly fictional\) or where the resource was
25
+ created \(shooting location\), etc.)
26
+ property :MediaFragment, :comment =>
27
+ %(A media fragment \(spatial, temporal, track...\) composing a
28
+ media resource. In other ontologies fragment is sometimes
29
+ referred to as a 'part' or 'segment'.)
30
+ property :MediaResource, :comment =>
31
+ %(An image or an audiovisual media resource, which can be
32
+ composed of one or more fragment / track.)
33
+ property :Organisation, :comment =>
34
+ %(An organisation or moral agent.)
35
+ property :Person, :comment =>
36
+ %(A physical person.)
37
+ property :Rating, :comment =>
38
+ %(Information about the rating given to a media resource.)
39
+ property :TargetAudience, :comment =>
40
+ %(Information about The target audience \(target region, target
41
+ audience category but also parental guidance recommendation\)
42
+ for which a media resource is intended.)
43
+ property :Track, :comment =>
44
+ %(A specialisation of MediaFragment for audiovisual content.)
45
+ property :VideoTrack, :comment =>
46
+ %(A specialisation of Track for Video to provide a link to
47
+ specific data properties such as frameRate, etc. Signing is
48
+ another possible example of video track. Specialisation is
49
+ defined through object properties.)
50
+
51
+ # Property definitions
52
+ property :alternativeTitle, :comment =>
53
+ %(Corresponds to 'title.title' in the Ontology for Media
54
+ Resources with a 'title.type' meaning "alternative".)
55
+ property :averageBitRate, :comment =>
56
+ %(Corresponds to 'averageBitRate' in the Ontology for Media
57
+ Resources, expressed in kilobits/second.)
58
+ property :collectionName, :comment =>
59
+ %(The name by which a collection \(e.g. series\) is known.)
60
+ property :copyright, :comment =>
61
+ %(Corresponds to 'copyright.copyright' in the Ontology for Media
62
+ Resources.)
63
+ property :creationDate, :comment =>
64
+ %(Corresponds to 'date.date' in the Ontology for Media Resources
65
+ with a 'date.type' meaning "creationDate".)
66
+ property :date, :comment =>
67
+ %(Corresponds to date.date in the ontology for Media Resources.
68
+ Subproperties can be used to distinguish different values of
69
+ 'date.type'. The recommended range is 'xsd:dateTime' \(for
70
+ compliance with OWL2-QL and OWL2-RL\) but other time-related
71
+ datatypes may be used \(e.g. 'xsd:gYear', 'xsd:date'...\).)
72
+ property :description, :comment =>
73
+ %(Corresponds to 'description' in the Ontology for Media
74
+ Resources. This can be specialised by using sub-properties
75
+ e.g. 'summary' or 'script'.)
76
+ property :duration, :comment =>
77
+ %(Corresponds to 'duration' in the Ontology for Media Resources.)
78
+ property :editDate, :comment =>
79
+ %(Corresponds to 'date.date' in the Ontology for Media Resources
80
+ with a 'date.type' meaning "editDate".)
81
+ property :fragmentName, :comment =>
82
+ %(Corresponds to 'namedFragment.label' in the Ontology for Media
83
+ Resources.)
84
+ property :frameHeight, :comment =>
85
+ %(Corresponds to 'frameSize.height' in the Ontology for Media
86
+ Resources, measured in frameSizeUnit.)
87
+ property :frameRate, :comment =>
88
+ %(Corresponds to 'frameRate' in the Ontology for Media
89
+ Resources, in frame per second.)
90
+ property :frameSizeUnit, :comment =>
91
+ %(Corresponds to 'frameSize.unit' in the Ontology for Media
92
+ Resources.)
93
+ property :frameWidth, :comment =>
94
+ %(Corresponds to 'frameSize.width' in the Ontology for Media
95
+ Resources measured in frameSizeUnit.)
96
+ property :locationAltitude, :comment =>
97
+ %(Corresponds to 'location.altitude' in the Ontology for Media
98
+ Resources.)
99
+ property :locationLatitude, :comment =>
100
+ %(Corresponds to 'location.latitude' in the Ontology for Media
101
+ Resources.)
102
+ property :locationLongitude, :comment =>
103
+ %(Corresponds to 'location.longitude' in the Ontology for Media
104
+ Resources.)
105
+ property :locationName, :comment =>
106
+ %(Corresponds to 'location.name' in the Ontology for Media
107
+ Resources.)
108
+ property :locator, :comment =>
109
+ %(Corresponds to 'locator' in the Ontology for Media Resources.)
110
+ property :mainOriginalTitle, :comment =>
111
+ %(Corresponds to 'title.title' in the Ontology for Media
112
+ Resources with a 'title.type' meaning "original".)
113
+ property :numberOfTracks, :comment =>
114
+ %(Corresponds to 'numTracks.number' in the Ontology for Media
115
+ Resources. Subproperties can be used to distinguish different
116
+ values of 'numTracks.type'.)
117
+ property :ratingScaleMax, :comment =>
118
+ %(Corresponds to 'rating.max' in the Ontology for Media
119
+ Resources.)
120
+ property :ratingScaleMin, :comment =>
121
+ %(Corresponds to 'rating.min' in the Ontology for Media
122
+ Resources.)
123
+ property :ratingValue, :comment =>
124
+ %(Corresponds to 'rating.value' in the Ontology for Media
125
+ Resources.)
126
+ property :recordDate, :comment =>
127
+ %(Corresponds to 'date.date' in the Ontology for Media Resources
128
+ with a 'date.type' meaning "recordDate".)
129
+ property :releaseDate, :comment =>
130
+ %(Corresponds to 'date.date' in the Ontology for Media Resources
131
+ with a 'date.type' meaning "releaseDate".)
132
+ property :samplingRate, :comment =>
133
+ %(Corresponds to 'samplingRate' in the Ontology for Media
134
+ Resources, in samples per second.)
135
+ property :title, :comment =>
136
+ %(Corresponds to 'title.title' in the Ontology for Media
137
+ Resources. Subproperties can be used to distinguish different
138
+ values of 'title.type'.)
139
+ property :trackName, :comment =>
140
+ %(Corresponds to 'fragment.name' in the Ontology for Media
141
+ Resources, for Track fragments.)
142
+ property :createdIn, :comment =>
143
+ %(A subproperty of 'hasRelatedLocation" used to specify where
144
+ material shooting took place.)
145
+ property :depictsFictionalLocation, :comment =>
146
+ %(A subproperty of 'hasRelatedLocation' used to specify where
147
+ the action depicted in the media is supposed to take place, as
148
+ opposed to the location where shooting actually took place
149
+ \(see 'createdIn'\).)
150
+ property :features, :comment =>
151
+ %(Corresponds to 'contributor.contributor' in the Ontology for
152
+ Media Resources with a 'contributor.role' meaning "actor".)
153
+ property :hasAccessConditions, :comment =>
154
+ %(Corresponds to 'policy' in the Ontology for Media Resources
155
+ with a 'policy.type' "access conditions".)
156
+ property :hasAudioDescription, :comment =>
157
+ %(Corresponds to 'fragment' in the Ontology for Media Resources
158
+ with a 'fragment.role' meaning "audio-description".)
159
+ property :hasCaptioning, :comment =>
160
+ %(Corresponds to 'fragment' in the Ontology for Media Resources
161
+ with a 'fragment.role' meaning "captioning". This property can
162
+ for example point to a spatial fragment, a VideoTrack or a
163
+ DataTrack. The language of the captioning track can be
164
+ expressed by attaching a 'hasLanguage' property to the
165
+ specific track.)
166
+ property :hasChapter, :comment =>
167
+ %(Corresponds to 'fragment' in the Ontology for Media Resources
168
+ with a 'fragment.role' meaning "chapter".)
169
+ property :hasClassification, :comment =>
170
+ %(Corresponds to 'targetAudience.classification' in the Ontology
171
+ for Media Resources. This property is used to provide a value
172
+ characterising the target audience.)
173
+ property :hasClassificationSystem, :comment =>
174
+ %(Corresponds to 'targetAudience.identifier' in the Ontology for
175
+ Media Resources. This is used to identify the reference sheme
176
+ against which the target audience has been characterised.)
177
+ property :hasCompression, :comment =>
178
+ %(Corresponds to 'compression' in the Ontology for Media
179
+ Resources.)
180
+ property :hasContributedTo
181
+ property :hasContributor, :comment =>
182
+ %(Corresponds to 'contributor.contributor' in the Ontology for
183
+ Media Resources. Subproperties can be used to distinguish
184
+ different values of 'contributor.role'.)
185
+ property :hasCopyrightOver
186
+ property :hasCreated
187
+ property :hasCreator, :comment =>
188
+ %(Corresponds to 'creator.creator' in the Ontology for Media
189
+ Resources. Subproperties can be used to distinguish different
190
+ values of 'creator.role'. Note that this property is
191
+ semantically a subproperty of 'hasContributor'.)
192
+ property :hasFormat, :comment =>
193
+ %(Corresponds to 'format' in the Ontology for Media Resources.)
194
+ property :hasFragment, :comment =>
195
+ %(Corresponds to 'fragment' in the Ontology for Media Resources.
196
+ Subproperties can be used to distinguish different values of
197
+ 'fragment.role'.)
198
+ property :hasGenre, :comment =>
199
+ %(Corresponds to 'genre' in the Ontology for Media Resources.)
200
+ property :hasKeyword, :comment =>
201
+ %(Corresponds to 'keyword' in the Ontology for Media Resources.)
202
+ property :hasLanguage, :comment =>
203
+ %(Corresponds to 'language' in the Ontology for Media Resources.
204
+ The language used in the resource. A controlled vocabulary
205
+ such as defined in BCP 47 SHOULD be used. This property can
206
+ also be used to identify the presence of sign language \(RFC
207
+ 5646\). By inheritance, the hasLanguage property applies
208
+ indifferently at the media resource / fragment / track levels.
209
+ Best practice recommends to use to best possible level of
210
+ granularity fo describe the usage of language within a media
211
+ resource including at fragment and track levels.)
212
+ property :hasLocationCoordinateSystem, :comment =>
213
+ %(Corresponds to 'location.coordinateSystem' in the Ontology for
214
+ Media Resources.)
215
+ property :hasMember
216
+ property :hasNamedFragment, :comment =>
217
+ %(Corresponds to 'namedFragment' in the Ontology for Media
218
+ Resources.)
219
+ property :hasPermissions, :comment =>
220
+ %(Corresponds to 'policy' in the Ontology for Media Resources
221
+ with a 'policy.type' meaning "permissions".)
222
+ property :hasPolicy, :comment =>
223
+ %(Corresponds to 'policy' in the Ontology for Media Resources.
224
+ Subproperties can be used to distinguish different values of
225
+ 'policy.type'.)
42
226
  property :hasPublished
43
- property :hasPublisher
44
- property :hasRating
45
- property :hasRatingSystem
46
- property :hasRelatedImage
47
- property :hasRelatedLocation
48
- property :hasRelatedResource
49
- property :hasSigning
50
- property :hasSource
51
- property :hasSubtitling
52
- property :hasTargetAudience
53
- property :hasTrack
227
+ property :hasPublisher, :comment =>
228
+ %(Corresponds to 'publisher' in the Ontology for Media
229
+ Resources.)
230
+ property :hasRating, :comment =>
231
+ %(Corresponds to 'rating' in the Ontology for Media Resources.)
232
+ property :hasRatingSystem, :comment =>
233
+ %(Corresponds to 'rating.type' in the Ontology for Media
234
+ Resources.)
235
+ property :hasRelatedImage, :comment =>
236
+ %(Corresponds to 'relation' and in the Ontology for Media
237
+ Resources with a 'relation.type' meaning "related image".)
238
+ property :hasRelatedLocation, :comment =>
239
+ %(Corresponds to 'location' in the Ontology for Media Resources.
240
+ Subproperties are provided to specify, when possible, the
241
+ relation between the media resource and the location.)
242
+ property :hasRelatedResource, :comment =>
243
+ %(Corresponds to 'relation' and in the Ontology for Media
244
+ Resources. Subproperties can be used to distinguish different
245
+ values of 'relation.type'.)
246
+ property :hasSigning, :comment =>
247
+ %(Corresponds to 'fragment' in the Ontology for Media Resources
248
+ with a 'fragment.role' meaning "signing". This property can
249
+ for example point to a spatial fragment or a VideoTrack. The
250
+ sign language of the captioning track can be expressed by
251
+ attaching a 'hasLanguage' property to the specific track.)
252
+ property :hasSource, :comment =>
253
+ %(Corresponds to 'relation' and in the Ontology for Media
254
+ Resources with a 'relation.type' meaning "source".)
255
+ property :hasSubtitling, :comment =>
256
+ %(Corresponds to 'fragment' in the Ontology for Media Resources
257
+ with a 'fragment.role' meaning "subtitling".)
258
+ property :hasTargetAudience, :comment =>
259
+ %(Corresponds to 'targetAudience' in the Ontology for Media
260
+ Resources.)
261
+ property :hasTrack, :comment =>
262
+ %(Corresponds to 'fragment' in the Ontology for Media Resources
263
+ with a 'fragment.role' meaning "track".)
264
+ property :isCaptioningOf
54
265
  property :isChapterOf
55
- property :isCopyrightedBy
266
+ property :isCopyrightedBy, :comment =>
267
+ %(Corresponds to 'copyright.identifier' in the Ontology for
268
+ Media Resources.)
269
+ property :isCreationLocationOf
270
+ property :isFictionalLocationDepictedIn
271
+ property :isFragmentOf
272
+ property :isImageRelatedTo
56
273
  property :isLocationRelatedTo
57
- property :isMemberOf
58
- property :isProvidedBy
274
+ property :isMemberOf, :comment =>
275
+ %(Corresponds to 'collection' in the Ontology for Media
276
+ Resources.)
277
+ property :isNamedFragmentOf
278
+ property :isProvidedBy, :comment =>
279
+ %(Corresponds to 'rating.identifier' in the Ontology for Media
280
+ Resources.)
281
+ property :isRatingOf
59
282
  property :isRelatedTo
283
+ property :isSigningOf
60
284
  property :isSourceOf
61
285
  property :isTargetAudienceOf
62
- property :locationAltitude
63
- property :locationLatitude
64
- property :locationLongitude
65
- property :locationName
66
- property :locator
67
- property :mainOriginalTitle
68
- property :numberOfTracks
69
- property :ratingScaleMax
70
- property :ratingScaleMin
71
- property :ratingValue
72
- property :recordDate
73
- property :releaseDate
74
- property :samplingRate
75
- property :title
76
- property :trackName
286
+ property :isTrackOf
287
+ property :playsIn
288
+ property :provides
77
289
  end
78
290
  end
@@ -0,0 +1,98 @@
1
+ # This file generated automatically using vocab-fetch from http://ogp.me/ns#
2
+ require 'rdf'
3
+ module RDF
4
+ class OG < StrictVocabulary("http://ogp.me/ns#")
5
+
6
+ # Property definitions
7
+ property :isbn, :label => 'International Standard Book Number', :comment =>
8
+ %([DEPRECATED] International Standard Book Number for you
9
+ object.)
10
+ property :audio, :label => 'audio', :comment =>
11
+ %(A relevant audio URL for your object.)
12
+ property :"audio:album", :label => 'audio album', :comment =>
13
+ %([DEPRECATED] An album to which some audio belongs.)
14
+ property :"audio:artist", :label => 'audio artist', :comment =>
15
+ %([DEPRECATED] An artist of some audio.)
16
+ property :"audio:secure_url", :label => 'audio secure URL', :comment =>
17
+ %(A relevant, secure audio URL for your object.)
18
+ property :"audio:title", :label => 'audio title', :comment =>
19
+ %([DEPRECATED] A title for some audio.)
20
+ property :"audio:type", :label => 'audio type', :comment =>
21
+ %(The mime type of an audio file e.g., "application/mp3")
22
+ property :"country-name", :label => 'country name', :comment =>
23
+ %([DEPRECATED] The country name of the resource e.g., "USA")
24
+ property :description, :label => 'description', :comment =>
25
+ %(A one to two sentence description of your object.)
26
+ property :determiner, :label => 'determiner', :comment =>
27
+ %(The word to precede the object's title in a sentence \(e.g.,
28
+ "the" in "the statue of liberty"\). Valid values are "a",
29
+ "an", "the", "", and "auto".)
30
+ property :email, :label => 'email', :comment =>
31
+ %([DEPRECATED] Email of the contact for your object.)
32
+ property :fax_number, :label => 'fax number', :comment =>
33
+ %([DEPRECATED] Fax number of the contact for your object.)
34
+ property :image, :label => 'image', :comment =>
35
+ %(An image URL which should represent your object within the
36
+ graph.)
37
+ property :"image:height", :label => 'image height', :comment =>
38
+ %(The height of an image.)
39
+ property :"image:secure_url", :label => 'image secure url', :comment =>
40
+ %(A secure image URL which should represent your object within
41
+ the graph.)
42
+ property :"image:type", :label => 'image type', :comment =>
43
+ %(The mime type of an image.)
44
+ property :"image:width", :label => 'image width', :comment =>
45
+ %(The width of an image.)
46
+ property :isbn, :label => 'isbn', :comment =>
47
+ %([DEPRECATED] International Standard Book Number for you
48
+ object.)
49
+ property :latitude, :label => 'latitude', :comment =>
50
+ %([DEPRECATED] The latitude of the resource e.g., the latitude
51
+ of a company.)
52
+ property :locale, :label => 'locale', :comment =>
53
+ %(A Unix locale in which this markup is rendered.)
54
+ property :locality, :label => 'locality', :comment =>
55
+ %([DEPRECATED] The locality of the resource e.g, "Palo Alto")
56
+ property :longitude, :label => 'longitude', :comment =>
57
+ %([DEPRECATED] The longitude of the resource e.g., the longitude
58
+ of a company.)
59
+ property :phone_number, :label => 'phone number', :comment =>
60
+ %([DEPRECATED] Phone number of the contact for your object.)
61
+ property :"postal-code", :label => 'postal code', :comment =>
62
+ %([DEPRECATED] The postal code of the resource e.g., "94304")
63
+ property :region, :label => 'region', :comment =>
64
+ %([DEPRECATED] The region of the resource e.g., "CA")
65
+ property :site_name, :label => 'site name', :comment =>
66
+ %(If your object is part of a larger web site, the name which
67
+ should be displayed for the overall site. e.g., "IMDb".)
68
+ property :"street-address", :label => 'street address', :comment =>
69
+ %([DEPRECATED] The street address of the resource e.g., "1601 S
70
+ California Ave".)
71
+ property :title, :label => 'title', :comment =>
72
+ %(The title of the object as it should appear within the graph,
73
+ e.g., "The Rock".)
74
+ property :type, :label => 'type', :comment =>
75
+ %(The type of your object, e.g., "movie". Depending on the type
76
+ you specify, other properties may also be required.)
77
+ property :upc, :label => 'universal product code', :comment =>
78
+ %([DEPRECATED] Universal Product Code for your object.)
79
+ property :upc, :label => 'upc', :comment =>
80
+ %([DEPRECATED] Universal Product Code for your object.)
81
+ property :url, :label => 'url', :comment =>
82
+ %(The canonical URL of your object that will be used as its
83
+ permanent ID in the graph, e.g.,
84
+ "http://www.imdb.com/title/tt0117500/".)
85
+ property :video, :label => 'video', :comment =>
86
+ %(A relevant video URL for your object.)
87
+ property :"video:height", :label => 'video height', :comment =>
88
+ %(The height of a video.)
89
+ property :"video:secure_url", :label => 'video secure URL', :comment =>
90
+ %(A relevant, secure video URL for your object.)
91
+ property :"video:type", :label => 'video type', :comment =>
92
+ %(The mime type of a video e.g., "application/x-shockwave-flash")
93
+ property :"video:width", :label => 'video width', :comment =>
94
+ %(The width of a video.)
95
+
96
+ # Datatype definitions
97
+ end
98
+ end