rdf-vocab 3.1.4 → 3.1.5
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 +14 -28
- data/lib/rdf/vocab/acl.rb +84 -1
- data/lib/rdf/vocab/as.rb +466 -1
- data/lib/rdf/vocab/bf2.rb +1317 -1
- data/lib/rdf/vocab/bibframe.rb +1 -2
- data/lib/rdf/vocab/bibo.rb +496 -1
- data/lib/rdf/vocab/cc.rb +107 -1
- data/lib/rdf/vocab/cert.rb +68 -1
- data/lib/rdf/vocab/cnt.rb +79 -1
- data/lib/rdf/vocab/crm.rb +1303 -1
- data/lib/rdf/vocab/datacite.rb +1 -1
- data/lib/rdf/vocab/dbo.rb +10463 -1
- data/lib/rdf/vocab/dc.rb +1 -1
- data/lib/rdf/vocab/dc11.rb +63 -1
- data/lib/rdf/vocab/dcat.rb +152 -4
- data/lib/rdf/vocab/dcmitype.rb +1 -1
- data/lib/rdf/vocab/disco.rb +228 -1
- data/lib/rdf/vocab/doap.rb +175 -1
- data/lib/rdf/vocab/dwc.rb +753 -1
- data/lib/rdf/vocab/earl.rb +135 -1
- data/lib/rdf/vocab/ebucore.rb +7335 -1974
- data/lib/rdf/vocab/edm.rb +150 -1
- data/lib/rdf/vocab/exif.rb +650 -1
- data/lib/rdf/vocab/extensions.rb +253 -203
- data/lib/rdf/vocab/fcrepo4.rb +377 -1
- data/lib/rdf/vocab/foaf.rb +305 -1
- data/lib/rdf/vocab/geo.rb +39 -1
- data/lib/rdf/vocab/geojson.rb +66 -1
- data/lib/rdf/vocab/geonames.rb +166 -1
- data/lib/rdf/vocab/gr.rb +684 -1
- data/lib/rdf/vocab/gs1.rb +1597 -1
- data/lib/rdf/vocab/ht.rb +164 -1
- data/lib/rdf/vocab/hydra.rb +236 -2
- data/lib/rdf/vocab/iana.rb +230 -1
- data/lib/rdf/vocab/ical.rb +462 -1
- data/lib/rdf/vocab/identifiers.rb +462 -1
- data/lib/rdf/vocab/iiif.rb +136 -1
- data/lib/rdf/vocab/jsonld.rb +135 -1
- data/lib/rdf/vocab/ldp.rb +130 -1
- data/lib/rdf/vocab/lrmi.rb +1 -1
- data/lib/rdf/vocab/ma.rb +381 -1
- data/lib/rdf/vocab/mads.rb +600 -22
- data/lib/rdf/vocab/{marc_relators.rb → marcrelators.rb} +809 -1
- data/lib/rdf/vocab/mo.rb +919 -1
- data/lib/rdf/vocab/mods.rb +516 -1
- data/lib/rdf/vocab/nfo.rb +1 -1
- data/lib/rdf/vocab/oa.rb +275 -1
- data/lib/rdf/vocab/og.rb +78 -1
- data/lib/rdf/vocab/ogc.rb +34 -1
- data/lib/rdf/vocab/ore.rb +56 -1
- data/lib/rdf/vocab/org.rb +189 -1
- data/lib/rdf/vocab/pcdm.rb +47 -1
- data/lib/rdf/vocab/pplan.rb +64 -1
- data/lib/rdf/vocab/premis.rb +1266 -779
- data/lib/rdf/vocab/{premis_event_type.rb → premiseventtype.rb} +155 -1
- data/lib/rdf/vocab/prov.rb +619 -1
- data/lib/rdf/vocab/ptr.rb +138 -1
- data/lib/rdf/vocab/rightsstatements.rb +5 -1
- data/lib/rdf/vocab/rsa.rb +30 -1
- data/lib/rdf/vocab/rss.rb +1 -1
- data/lib/rdf/vocab/schema.rb +10032 -12
- data/lib/rdf/vocab/sd.rb +372 -0
- data/lib/rdf/vocab/sh.rb +736 -1
- data/lib/rdf/vocab/sioc.rb +401 -1
- data/lib/rdf/vocab/{sioc_services.rb → siocservices.rb} +38 -1
- data/lib/rdf/vocab/{sioct.rb → sioctypes.rb} +158 -1
- data/lib/rdf/vocab/skos.rb +119 -1
- data/lib/rdf/vocab/skosxl.rb +30 -1
- data/lib/rdf/vocab/v.rb +291 -1
- data/lib/rdf/vocab/vcard.rb +508 -1
- data/lib/rdf/vocab/vmd.rb +291 -1
- data/lib/rdf/vocab/void.rb +121 -1
- data/lib/rdf/vocab/vs.rb +19 -1
- data/lib/rdf/vocab/wdrs.rb +90 -1
- data/lib/rdf/vocab/wot.rb +78 -1
- data/lib/rdf/vocab/xhtml.rb +2 -1
- data/lib/rdf/vocab/xhv.rb +338 -1
- data/lib/rdf/vocab/xkos.rb +150 -1
- data/spec/extensions_spec.rb +68 -0
- data/spec/vocab_spec.rb +10 -0
- metadata +15 -8
data/lib/rdf/vocab/iiif.rb
CHANGED
@@ -5,9 +5,144 @@ require 'rdf'
|
|
5
5
|
module RDF::Vocab
|
6
6
|
# @!parse
|
7
7
|
# # Vocabulary for <http://iiif.io/api/presentation/2#>
|
8
|
+
# #
|
9
|
+
# # @version 2015-12-13 23:00:00Z
|
8
10
|
# class IIIF < RDF::StrictVocabulary
|
11
|
+
# # AnnotationLists are an ordered list of Annotation objects. Typically all Annnotations in a list target the same Canvas
|
12
|
+
# # @return [RDF::Vocabulary::Term]
|
13
|
+
# attr_reader :AnnotationList
|
14
|
+
#
|
15
|
+
# # The canvas represents an individual page or view and acts as a central point for laying out the different content resources that make up the display.
|
16
|
+
# # @return [RDF::Vocabulary::Term]
|
17
|
+
# attr_reader :Canvas
|
18
|
+
#
|
19
|
+
# # Collections are used to list the manifests available for viewing, and to describe the structures, hierarchies or collections that the physical objects are part of.
|
20
|
+
# # @return [RDF::Vocabulary::Term]
|
21
|
+
# attr_reader :Collection
|
22
|
+
#
|
23
|
+
# # Layers are lists of AnnotationLists to group them together, for example to create the set of lists that make up a particular translation/edition of a text
|
24
|
+
# # @return [RDF::Vocabulary::Term]
|
25
|
+
# attr_reader :Layer
|
26
|
+
#
|
27
|
+
# # The manifest resource represents a single object and any intellectual work or works embodied within that object
|
28
|
+
# # @return [RDF::Vocabulary::Term]
|
29
|
+
# attr_reader :Manifest
|
30
|
+
#
|
31
|
+
# # Ranges describe additional structure within an object, such as newspaper articles that span pages, the range of non-content-bearing pages at the beginning of a work, or chapters within a book
|
32
|
+
# # @return [RDF::Vocabulary::Term]
|
33
|
+
# attr_reader :Range
|
34
|
+
#
|
35
|
+
# # The sequence conveys the ordering of the views of the object.
|
36
|
+
# # @return [RDF::Vocabulary::Term]
|
37
|
+
# attr_reader :Sequence
|
38
|
+
#
|
39
|
+
# # @return [RDF::Vocabulary::Term]
|
40
|
+
# attr_reader :ViewingDirection
|
41
|
+
#
|
42
|
+
# # @return [RDF::Vocabulary::Term]
|
43
|
+
# attr_reader :ViewingHint
|
44
|
+
#
|
45
|
+
# # Used to group annotations together in an area of a Canvas, for example to model columns, foldouts or palimpsests; Note that Zones are not currently used in the IIIF Presentation API.
|
46
|
+
# # @return [RDF::Vocabulary::Term]
|
47
|
+
# attr_reader :Zone
|
48
|
+
#
|
49
|
+
# # A string containing an attribution description that must be displayed when using the resource
|
50
|
+
# # @return [RDF::Vocabulary::Term]
|
51
|
+
# attr_reader :attributionLabel
|
52
|
+
#
|
53
|
+
# # @return [RDF::Vocabulary::Term]
|
54
|
+
# attr_reader :hasAnnotations
|
55
|
+
#
|
56
|
+
# # @return [RDF::Vocabulary::Term]
|
57
|
+
# attr_reader :hasCanvases
|
58
|
+
#
|
59
|
+
# # @return [RDF::Vocabulary::Term]
|
60
|
+
# attr_reader :hasCollections
|
61
|
+
#
|
62
|
+
# # A link from a Range to a Layer that provides the content resources of that Range
|
63
|
+
# # @return [RDF::Vocabulary::Term]
|
64
|
+
# attr_reader :hasContentLayer
|
65
|
+
#
|
66
|
+
# # @return [RDF::Vocabulary::Term]
|
67
|
+
# attr_reader :hasImageAnnotations
|
68
|
+
#
|
69
|
+
# # @return [RDF::Vocabulary::Term]
|
70
|
+
# attr_reader :hasLists
|
71
|
+
#
|
72
|
+
# # @return [RDF::Vocabulary::Term]
|
73
|
+
# attr_reader :hasManifests
|
74
|
+
#
|
75
|
+
# # @return [RDF::Vocabulary::Term]
|
76
|
+
# attr_reader :hasRanges
|
77
|
+
#
|
78
|
+
# # @return [RDF::Vocabulary::Term]
|
79
|
+
# attr_reader :hasSequences
|
80
|
+
#
|
81
|
+
# # A link from a Manifest or Sequence to the Canvas that the rendering agent should initialize their view with.
|
82
|
+
# # @return [RDF::Vocabulary::Term]
|
83
|
+
# attr_reader :hasStartCanvas
|
84
|
+
#
|
85
|
+
# # An rdf:List of label/value pairs providing descriptive metadata about the resource, intended for human audience
|
86
|
+
# # @return [RDF::Vocabulary::Term]
|
87
|
+
# attr_reader :metadataLabels
|
88
|
+
#
|
89
|
+
# # References the sc:ViewingDirection that defines the direction that the resource should be viewed in
|
90
|
+
# # @return [RDF::Vocabulary::Term]
|
91
|
+
# attr_reader :viewingDirection
|
92
|
+
#
|
93
|
+
# # A hint to a user agent as to how to render the resource
|
94
|
+
# # @return [RDF::Vocabulary::Term]
|
95
|
+
# attr_reader :viewingHint
|
96
|
+
#
|
97
|
+
# # Bottom-to-Top Viewing Direction
|
98
|
+
# # @return [RDF::Vocabulary::Term]
|
99
|
+
# attr_reader :bottomToTopDirection
|
100
|
+
#
|
101
|
+
# # Each canvas represents a segment of a continuous object such as a long scroll
|
102
|
+
# # @return [RDF::Vocabulary::Term]
|
103
|
+
# attr_reader :continuousHint
|
104
|
+
#
|
105
|
+
# # Canvases with this hint depict both parts of an opening.
|
106
|
+
# # @return [RDF::Vocabulary::Term]
|
107
|
+
# attr_reader :facingPagesHint
|
108
|
+
#
|
109
|
+
# # Each canvas represents a separate individual object, and should not have transitions
|
110
|
+
# # @return [RDF::Vocabulary::Term]
|
111
|
+
# attr_reader :individualsHint
|
112
|
+
#
|
113
|
+
# # Left-to-Right Viewing Direction
|
114
|
+
# # @return [RDF::Vocabulary::Term]
|
115
|
+
# attr_reader :leftToRightDirection
|
116
|
+
#
|
117
|
+
# # Collections with this hint consist of multiple manifests that each form part of a logical whole.
|
118
|
+
# # @return [RDF::Vocabulary::Term]
|
119
|
+
# attr_reader :multiPartHint
|
120
|
+
#
|
121
|
+
# # Viewing Hint that the Canvas MUST NOT be presented in a page turner
|
122
|
+
# # @return [RDF::Vocabulary::Term]
|
123
|
+
# attr_reader :nonPagedHint
|
124
|
+
#
|
125
|
+
# # Viewing Hint that object has canvases that represent pages that can be turned
|
126
|
+
# # @return [RDF::Vocabulary::Term]
|
127
|
+
# attr_reader :pagedHint
|
128
|
+
#
|
129
|
+
# # @return [RDF::Vocabulary::Term]
|
130
|
+
# attr_reader :painting
|
131
|
+
#
|
132
|
+
# # Right-to-Left Viewing Direction
|
133
|
+
# # @return [RDF::Vocabulary::Term]
|
134
|
+
# attr_reader :rightToLeftDirection
|
135
|
+
#
|
136
|
+
# # The topmost range in a nested hierarchy, such as a table of contents
|
137
|
+
# # @return [RDF::Vocabulary::Term]
|
138
|
+
# attr_reader :topHint
|
139
|
+
#
|
140
|
+
# # Top-to-Bottom Viewing Direction
|
141
|
+
# # @return [RDF::Vocabulary::Term]
|
142
|
+
# attr_reader :topToBottomDirection
|
143
|
+
#
|
9
144
|
# end
|
10
|
-
|
145
|
+
IIIF = Class.new(RDF::StrictVocabulary("http://iiif.io/api/presentation/2#")) do
|
11
146
|
|
12
147
|
# Ontology definition
|
13
148
|
ontology :"http://iiif.io/api/presentation/2#",
|
data/lib/rdf/vocab/jsonld.rb
CHANGED
@@ -5,9 +5,143 @@ require 'rdf'
|
|
5
5
|
module RDF::Vocab
|
6
6
|
# @!parse
|
7
7
|
# # Vocabulary for <http://www.w3.org/ns/json-ld#>
|
8
|
+
# #
|
9
|
+
# # The JSON-LD Vocabulary
|
10
|
+
# #
|
11
|
+
# # This is a vocabulary document and is used to achieve certain features of the JSON-LD language.
|
12
|
+
# # @version https://github.com/w3c/json-ld-wg/commit/606458561d3761dad00912b4ac7b1959302ef304
|
13
|
+
# # @see http://www.w3.org/TR/json-ld11
|
8
14
|
# class JSONLD < RDF::StrictVocabulary
|
15
|
+
# # Defines term definitions and other aspects of a JSON-LD `Context`. A [context definition](https://www.w3.org/TR/json-ld11/#dfn-context-definition) MUST be a map whose keys MUST be either _terms_, _compact IRIs_, _IRIs_, or one of the keywords `@base`, `@import`, `@language`, `@propagate`, `@protected`, `@type`, `@version`, or `@vocab`.
|
16
|
+
# # @return [RDF::Vocabulary::Term]
|
17
|
+
# attr_reader :Context
|
18
|
+
#
|
19
|
+
# # A string ([simple term definition](http://www.w3.org/TR/json-ld11/#dfn-simple-term-definitions)), expanding to an IRI.
|
20
|
+
# # @return [RDF::Vocabulary::Term]
|
21
|
+
# attr_reader :PrefixDefinition
|
22
|
+
#
|
23
|
+
# # A [term definition](http://www.w3.org/TR/json-ld11/#dfn-term-definitions) is an entry in a [context](#Context), where the key defines a term which may be used within a dictionary as a key, type, or elsewhere that a string is interpreted as a vocabulary item. Its value is an [expanded term definition](https://www.w3.org/TR/json-ld11/#dfn-expanded-term-definitions). An [expanded term definition](https://www.w3.org/TR/json-ld11/#dfn-expanded-term-definition) MUST be a map composed of zero or more keys from `@id`, `@reverse`, `@type`, `@language`, `@container`, `@context`, `@prefix`, `@propagate`, or `@protected`. An expanded term definition SHOULD NOT contain any other keys.
|
24
|
+
# # @return [RDF::Vocabulary::Term]
|
25
|
+
# attr_reader :TermDefinition
|
26
|
+
#
|
27
|
+
# # If the [context definition](https://www.w3.org/TR/json-ld11/#dfn-context-definition) has an `@base` key, its value MUST be an _IRI reference_, or `null`.
|
28
|
+
# # @return [RDF::Vocabulary::Term]
|
29
|
+
# attr_reader :base
|
30
|
+
#
|
31
|
+
# # The associated `@container` value in an [expanded term definition](https://www.w3.org/TR/json-ld11/#dfn-expanded-term-definitions). If the [expanded term definition](https://www.w3.org/TR/json-ld11/#dfn-expanded-term-definitions) contains the `@container` keyword, its value MUST be either `@list`, `@set`, `@language`, `@index`, `@id`, `@graph`, `@type`, or be `null` or an array containing exactly any one of those keywords, or a combination of `@set` and any of `@index`, `@id`, `@graph`, `@type`, `@language` in any order. `@container` may also be an array containing `@graph` along with either `@id` or `@index` and also optionally including `@set`. If the value is `@language`, when the term is used outside of the `@context`, the associated value MUST be a language map. If the value is `@index`, when the term is used outside of the `@context`, the associated value MUST be an index map.
|
32
|
+
# # @return [RDF::Vocabulary::Term]
|
33
|
+
# attr_reader :container
|
34
|
+
#
|
35
|
+
# # As an IRI, this link relation is used to associate a JSON-LD context with a JSON document so that it can be interpreted as JSON-LD. In an HTTP request header, specifies the location of a context to use for compaction. As a Context, defines an inline `context definition`.
|
36
|
+
# # @return [RDF::Vocabulary::Term]
|
37
|
+
# attr_reader :context
|
38
|
+
#
|
39
|
+
# # Term definition(s) associated with this context.
|
40
|
+
# # @return [RDF::Vocabulary::Term]
|
41
|
+
# attr_reader :definition
|
42
|
+
#
|
43
|
+
# # If the [context definition](https://www.w3.org/TR/json-ld11/#dfn-context-definition) has an `@direction` key, its value MUST be one of `"ltr"` or `"rtl"`, or be `null`.
|
44
|
+
# # @return [RDF::Vocabulary::Term]
|
45
|
+
# attr_reader :direction
|
46
|
+
#
|
47
|
+
# # The `@id` mapping of a [term definition](#TermDefinition).
|
48
|
+
# # @return [RDF::Vocabulary::Term]
|
49
|
+
# attr_reader :id
|
50
|
+
#
|
51
|
+
# # If the [context definition](https://www.w3.org/TR/json-ld11/#dfn-context-definition) contains the `@import` keyword, its value MUST be an _IRI reference_. When used as a reference from an `@import`, the referenced context definition MUST NOT include an `@import` key, itself.
|
52
|
+
# # @return [RDF::Vocabulary::Term]
|
53
|
+
# attr_reader :import
|
54
|
+
#
|
55
|
+
# # The [default language](https://www.w3.org/TR/json-ld11/#dfn-default-language) is set in the context using the `@language` key whose value MUST be a string representing a [BCP47](https://tools.ietf.org/html/bcp47) language code or null.
|
56
|
+
# # @return [RDF::Vocabulary::Term]
|
57
|
+
# attr_reader :language
|
58
|
+
#
|
59
|
+
# # If the [expanded term definition](https://www.w3.org/TR/json-ld11/#dfn-expanded-term-definitions) contains the `@nest` keyword, its value MUST be either `@nest`, or a _term_ which expands to `@nest`.
|
60
|
+
# # @return [RDF::Vocabulary::Term]
|
61
|
+
# attr_reader :nest
|
62
|
+
#
|
63
|
+
# # With the value `true`, allows this term to be used to construct a compact IRI when compacting.
|
64
|
+
# # @return [RDF::Vocabulary::Term]
|
65
|
+
# attr_reader :prefix
|
66
|
+
#
|
67
|
+
# # If the [context definition](https://www.w3.org/TR/json-ld11/#dfn-context-definition) contains the `@propagate` keyword, its value MUST be `true` or `false`.
|
68
|
+
# # @return [RDF::Vocabulary::Term]
|
69
|
+
# attr_reader :propagate
|
70
|
+
#
|
71
|
+
# # If the [context definition](https://www.w3.org/TR/json-ld11/#dfn-context-definition) contains the `@protected` keyword, its value MUST be `true` or `false`.
|
72
|
+
# # @return [RDF::Vocabulary::Term]
|
73
|
+
# attr_reader :protected
|
74
|
+
#
|
75
|
+
# # The `@reverse` mapping of an [expanded term definition](https://www.w3.org/TR/json-ld11/#dfn-expanded-term-definitions).
|
76
|
+
# # @return [RDF::Vocabulary::Term]
|
77
|
+
# attr_reader :reverse
|
78
|
+
#
|
79
|
+
# # The term associated with a [term definition](#TermDefinition).
|
80
|
+
# # @return [RDF::Vocabulary::Term]
|
81
|
+
# attr_reader :term
|
82
|
+
#
|
83
|
+
# # If the [context definition](https://www.w3.org/TR/json-ld11/#dfn-context-definition) contains the `@type` keyword, its value MUST be a map with only the entry `@container` set to `@set`, and optionally an entry `@protected`. If the [expanded term definition](https://www.w3.org/TR/json-ld11/#dfn-expanded-term-definitions) contains the `@type` keyword, its value MUST be an _IRI reference_, a _term_, `null`, or one of the keywords `@id`, `@json`, `@none`, or `@vocab`.
|
84
|
+
# # @return [RDF::Vocabulary::Term]
|
85
|
+
# attr_reader :type
|
86
|
+
#
|
87
|
+
# # The [processing mode](https://www.w3.org/TR/json-ld11/#dfn-processing-mode) defines how a JSON-LD document is processed. By default, all documents are assumed to be conformant with [JSON-LD 1.1`](http://www.w3.org/TR/json-ld11). By defining a different version via explicit API option, other processing modes can be accessed. This specification defines extensions for the `json-ld-1.1` processing mode.
|
88
|
+
# # @return [RDF::Vocabulary::Term]
|
89
|
+
# attr_reader :version
|
90
|
+
#
|
91
|
+
# # Used to expand properties and values in `@type` with a common prefix IRI.
|
92
|
+
# # @return [RDF::Vocabulary::Term]
|
93
|
+
# attr_reader :vocab
|
94
|
+
#
|
95
|
+
# # This profile IRI is used to request or specify compacted JSON-LD document form.
|
96
|
+
# # @return [RDF::Vocabulary::Term]
|
97
|
+
# attr_reader :compacted
|
98
|
+
#
|
99
|
+
# # This profile URI is used to request or specify expanded JSON-LD document form.
|
100
|
+
# # @return [RDF::Vocabulary::Term]
|
101
|
+
# attr_reader :expanded
|
102
|
+
#
|
103
|
+
# # This profile URI is used to request or specify flattened JSON-LD document form.
|
104
|
+
# # @return [RDF::Vocabulary::Term]
|
105
|
+
# attr_reader :flattened
|
106
|
+
#
|
107
|
+
# # As an IRI, this link relation is used to associate a JSON-LD frame with a JSON-LD document. In an HTTP request header, specifies the location of a frame to use for framing.
|
108
|
+
# # @return [RDF::Vocabulary::Term]
|
109
|
+
# attr_reader :frame
|
110
|
+
#
|
111
|
+
# # This profile URI is used to request or specify framed JSON-LD document form.
|
112
|
+
# # @return [RDF::Vocabulary::Term]
|
113
|
+
# attr_reader :framed
|
114
|
+
#
|
115
|
+
# # If the [expanded term definition](https://www.w3.org/TR/json-ld11/#dfn-expanded-term-definitions) contains the `@container` keyword, its value MUST be either `@list`, `@set`, `@language`, `@index`, `@id`, `@graph`, `@type`, or be `null` or an _array_ containing exactly any one of those keywords.
|
116
|
+
# # @return [RDF::Vocabulary::Term]
|
117
|
+
# attr_reader :graphContainerType
|
118
|
+
#
|
119
|
+
# # If the [expanded term definition](https://www.w3.org/TR/json-ld11/#dfn-expanded-term-definitions) contains the `@container` keyword, its value MUST be either `@list`, `@set`, `@language`, `@index`, `@id`, `@graph`, `@type`, or be `null` or an _array_ containing exactly any one of those keywords.
|
120
|
+
# # @return [RDF::Vocabulary::Term]
|
121
|
+
# attr_reader :idContainerType
|
122
|
+
#
|
123
|
+
# # If the [expanded term definition](https://www.w3.org/TR/json-ld11/#dfn-expanded-term-definitions) contains the `@container` keyword, its value MUST be either `@list`, `@set`, `@language`, `@index`, `@id`, `@graph`, `@type`, or be `null` or an _array_ containing exactly any one of those keywords.
|
124
|
+
# # @return [RDF::Vocabulary::Term]
|
125
|
+
# attr_reader :indexContainerType
|
126
|
+
#
|
127
|
+
# # If the [expanded term definition](https://www.w3.org/TR/json-ld11/#dfn-expanded-term-definitions) contains the `@container` keyword, its value MUST be either `@list`, `@set`, `@language`, `@index`, `@id`, `@graph`, `@type`, or be `null` or an _array_ containing exactly any one of those keywords.
|
128
|
+
# # @return [RDF::Vocabulary::Term]
|
129
|
+
# attr_reader :languageContainerType
|
130
|
+
#
|
131
|
+
# # If the [expanded term definition](https://www.w3.org/TR/json-ld11/#dfn-expanded-term-definitions) contains the `@container` keyword, its value MUST be either `@list`, `@set`, `@language`, `@index`, `@id`, `@graph`, `@type`, or be `null` or an _array_ containing exactly any one of those keywords.
|
132
|
+
# # @return [RDF::Vocabulary::Term]
|
133
|
+
# attr_reader :listContainerType
|
134
|
+
#
|
135
|
+
# # If the [expanded term definition](https://www.w3.org/TR/json-ld11/#dfn-expanded-term-definitions) contains the `@container` keyword, its value MUST be either `@list`, `@set`, `@language`, `@index`, `@id`, `@graph`, `@type`, or be `null` or an _array_ containing exactly any one of those keywords.
|
136
|
+
# # @return [RDF::Vocabulary::Term]
|
137
|
+
# attr_reader :setContainerType
|
138
|
+
#
|
139
|
+
# # If the [expanded term definition](https://www.w3.org/TR/json-ld11/#dfn-expanded-term-definitions) contains the `@container` keyword, its value MUST be either `@list`, `@set`, `@language`, `@index`, `@id`, `@graph`, `@type`, or be `null` or an _array_ containing exactly any one of those keywords.
|
140
|
+
# # @return [RDF::Vocabulary::Term]
|
141
|
+
# attr_reader :typeContainerType
|
142
|
+
#
|
9
143
|
# end
|
10
|
-
|
144
|
+
JSONLD = Class.new(RDF::StrictVocabulary("http://www.w3.org/ns/json-ld#")) do
|
11
145
|
|
12
146
|
# Ontology definition
|
13
147
|
ontology :"http://www.w3.org/ns/json-ld#",
|
data/lib/rdf/vocab/ldp.rb
CHANGED
@@ -5,9 +5,138 @@ require 'rdf'
|
|
5
5
|
module RDF::Vocab
|
6
6
|
# @!parse
|
7
7
|
# # Vocabulary for <http://www.w3.org/ns/ldp#>
|
8
|
+
# #
|
9
|
+
# # The W3C Linked Data Platform (LDP) Vocabulary
|
10
|
+
# #
|
11
|
+
# # W3C Linked Data Platform (LDP)
|
12
|
+
# #
|
13
|
+
# # This ontology provides an informal representation of the concepts and terms as defined in the LDP specification. Consult the LDP specification for normative reference.
|
14
|
+
# #
|
15
|
+
# # Vocabulary URIs defined in the Linked Data Platform (LDP) namespace.
|
16
|
+
# # @see http://www.w3.org/TR/ldp/
|
17
|
+
# # @see http://www.w3.org/TR/ldp-ucr/
|
18
|
+
# # @see http://www.w3.org/TR/ldp-paging/
|
19
|
+
# # @see http://www.w3.org/2012/ldp
|
20
|
+
# # @see http://www.w3.org/2011/09/LinkedData/
|
8
21
|
# class LDP < RDF::Vocabulary
|
22
|
+
# # An LDPC that uses a predefined predicate to simply link to its contained resources.
|
23
|
+
# # @return [RDF::Vocabulary::Term]
|
24
|
+
# attr_reader :BasicContainer
|
25
|
+
#
|
26
|
+
# # A Linked Data Platform RDF Source (LDP-RS) that also conforms to additional patterns and conventions for managing membership. Readers should refer to the specification defining this ontology for the list of behaviors associated with it.
|
27
|
+
# # @return [RDF::Vocabulary::Term]
|
28
|
+
# attr_reader :Container
|
29
|
+
#
|
30
|
+
# # An LDPC that is similar to a LDP-DC but it allows an indirection with the ability to list as member a resource, such as a URI representing a real-world object, that is different from the resource that is created.
|
31
|
+
# # @return [RDF::Vocabulary::Term]
|
32
|
+
# attr_reader :DirectContainer
|
33
|
+
#
|
34
|
+
# # An LDPC that has the flexibility of choosing what form the membership triples take.
|
35
|
+
# # @return [RDF::Vocabulary::Term]
|
36
|
+
# attr_reader :IndirectContainer
|
37
|
+
#
|
38
|
+
# # A Linked Data Platform Resource (LDPR) whose state is NOT represented as RDF.
|
39
|
+
# # @return [RDF::Vocabulary::Term]
|
40
|
+
# attr_reader :NonRDFSource
|
41
|
+
#
|
42
|
+
# # URI signifying that the resource is an in-sequence page resource, as defined by LDP Paging. Typically used on Link rel='type' response headers.
|
43
|
+
# # @return [RDF::Vocabulary::Term]
|
44
|
+
# attr_reader :Page
|
45
|
+
#
|
46
|
+
# # Element in the list of sorting criteria used by the server to assign container members to pages.
|
47
|
+
# # @return [RDF::Vocabulary::Term]
|
48
|
+
# attr_reader :PageSortCriterion
|
49
|
+
#
|
50
|
+
# # A Linked Data Platform Resource (LDPR) whose state is represented as RDF.
|
51
|
+
# # @return [RDF::Vocabulary::Term]
|
52
|
+
# attr_reader :RDFSource
|
53
|
+
#
|
54
|
+
# # A HTTP-addressable resource whose lifecycle is managed by a LDP server.
|
55
|
+
# # @return [RDF::Vocabulary::Term]
|
56
|
+
# attr_reader :Resource
|
57
|
+
#
|
58
|
+
# # Links a resource with constraints that the server requires requests like creation and update to conform to.
|
59
|
+
# # @return [RDF::Vocabulary::Term]
|
60
|
+
# attr_reader :constrainedBy
|
61
|
+
#
|
62
|
+
# # Links a container with resources created through the container.
|
63
|
+
# # @return [RDF::Vocabulary::Term]
|
64
|
+
# attr_reader :contains
|
65
|
+
#
|
66
|
+
# # Indicates which predicate is used in membership triples, and that the membership triple pattern is < membership-constant-URI , object-of-hasMemberRelation, member-URI >.
|
67
|
+
# # @return [RDF::Vocabulary::Term]
|
68
|
+
# attr_reader :hasMemberRelation
|
69
|
+
#
|
70
|
+
# # Links a resource to a container where notifications for the resource can be created and discovered.
|
71
|
+
# # @return [RDF::Vocabulary::Term]
|
72
|
+
# attr_reader :inbox
|
73
|
+
#
|
74
|
+
# # Indicates which triple in a creation request should be used as the member-URI value in the membership triple added when the creation request is successful.
|
75
|
+
# # @return [RDF::Vocabulary::Term]
|
76
|
+
# attr_reader :insertedContentRelation
|
77
|
+
#
|
78
|
+
# # Indicates which predicate is used in membership triples, and that the membership triple pattern is < member-URI , object-of-isMemberOfRelation, membership-constant-URI >.
|
79
|
+
# # @return [RDF::Vocabulary::Term]
|
80
|
+
# attr_reader :isMemberOfRelation
|
81
|
+
#
|
82
|
+
# # LDP servers should use this predicate as the membership predicate if there is no obvious predicate from an application vocabulary to use.
|
83
|
+
# # @return [RDF::Vocabulary::Term]
|
84
|
+
# attr_reader :member
|
85
|
+
#
|
86
|
+
# # Indicates the membership-constant-URI in a membership triple. Depending upon the membership triple pattern a container uses, as indicated by the presence of ldp:hasMemberRelation or ldp:isMemberOfRelation, the membership-constant-URI might occupy either the subject or object position in membership triples.
|
87
|
+
# # @return [RDF::Vocabulary::Term]
|
88
|
+
# attr_reader :membershipResource
|
89
|
+
#
|
90
|
+
# # Link to a page sequence resource, as defined by LDP Paging. Typically used to communicate the sorting criteria used to allocate LDPC members to pages.
|
91
|
+
# # @return [RDF::Vocabulary::Term]
|
92
|
+
# attr_reader :pageSequence
|
93
|
+
#
|
94
|
+
# # The collation used to order the members across pages in a page sequence when comparing strings.
|
95
|
+
# # @return [RDF::Vocabulary::Term]
|
96
|
+
# attr_reader :pageSortCollation
|
97
|
+
#
|
98
|
+
# # Link to the list of sorting criteria used by the server in a representation. Typically used on Link response headers as an extension link relation URI in the rel= parameter.
|
99
|
+
# # @return [RDF::Vocabulary::Term]
|
100
|
+
# attr_reader :pageSortCriteria
|
101
|
+
#
|
102
|
+
# # The ascending/descending/etc order used to order the members across pages in a page sequence.
|
103
|
+
# # @return [RDF::Vocabulary::Term]
|
104
|
+
# attr_reader :pageSortOrder
|
105
|
+
#
|
106
|
+
# # Predicate used to specify the order of the members across a page sequence's in-sequence page resources; it asserts nothing about the order of members in the representation of a single page.
|
107
|
+
# # @return [RDF::Vocabulary::Term]
|
108
|
+
# attr_reader :pageSortPredicate
|
109
|
+
#
|
110
|
+
# # Ascending order.
|
111
|
+
# # @return [RDF::Vocabulary::Term]
|
112
|
+
# attr_reader :Ascending
|
113
|
+
#
|
114
|
+
# # Descending order.
|
115
|
+
# # @return [RDF::Vocabulary::Term]
|
116
|
+
# attr_reader :Descending
|
117
|
+
#
|
118
|
+
# # Used to indicate default and typical behavior for ldp:insertedContentRelation, where the member-URI value in the membership triple added when a creation request is successful is the URI assigned to the newly created resource.
|
119
|
+
# # @return [RDF::Vocabulary::Term]
|
120
|
+
# attr_reader :MemberSubject
|
121
|
+
#
|
122
|
+
# # URI identifying a LDPC's containment triples, for example to allow clients to express interest in receiving them.
|
123
|
+
# # @return [RDF::Vocabulary::Term]
|
124
|
+
# attr_reader :PreferContainment
|
125
|
+
#
|
126
|
+
# # Archaic alias for ldp:PreferMinimalContainer
|
127
|
+
# # @return [RDF::Vocabulary::Term]
|
128
|
+
# attr_reader :PreferEmptyContainer
|
129
|
+
#
|
130
|
+
# # URI identifying a LDPC's membership triples, for example to allow clients to express interest in receiving them.
|
131
|
+
# # @return [RDF::Vocabulary::Term]
|
132
|
+
# attr_reader :PreferMembership
|
133
|
+
#
|
134
|
+
# # URI identifying the subset of a LDPC's triples present in an empty LDPC, for example to allow clients to express interest in receiving them. Currently this excludes containment and membership triples, but in the future other exclusions might be added. This definition is written to automatically exclude those new classes of triples.
|
135
|
+
# # @return [RDF::Vocabulary::Term]
|
136
|
+
# attr_reader :PreferMinimalContainer
|
137
|
+
#
|
9
138
|
# end
|
10
|
-
|
139
|
+
LDP = Class.new(RDF::Vocabulary("http://www.w3.org/ns/ldp#")) do
|
11
140
|
|
12
141
|
# Ontology definition
|
13
142
|
ontology :"http://www.w3.org/ns/ldp#",
|
data/lib/rdf/vocab/lrmi.rb
CHANGED
@@ -7,7 +7,7 @@ module RDF::Vocab
|
|
7
7
|
# # Vocabulary for <http://purl.org/dcx/lrmi-terms/>
|
8
8
|
# class LRMI < RDF::Vocabulary
|
9
9
|
# end
|
10
|
-
|
10
|
+
LRMI = Class.new(RDF::Vocabulary("http://purl.org/dcx/lrmi-terms/")) do
|
11
11
|
|
12
12
|
# Ontology definition
|
13
13
|
ontology :"http://purl.org/dcx/lrmi-terms/",
|
data/lib/rdf/vocab/ma.rb
CHANGED
@@ -5,9 +5,389 @@ require 'rdf'
|
|
5
5
|
module RDF::Vocab
|
6
6
|
# @!parse
|
7
7
|
# # Vocabulary for <http://www.w3.org/ns/ma-ont#>
|
8
|
+
# #
|
9
|
+
# # Created by Tobias Buerger, Jean Pierre Evain and Pierre-Antoine Champin with the RDFS Taskforce within the W3C Media Annotation Working Group.
|
10
|
+
# #
|
11
|
+
# # THE CONTENT OF THIS MA-ONT.RDF AND DERIVED MA-ONT.TTL FILES PREVAIL OVER THE SPECIFICATION.
|
12
|
+
# # @version R36
|
8
13
|
# class MA < RDF::Vocabulary
|
14
|
+
# # A person or organisation contributing to the media resource.
|
15
|
+
# # @return [RDF::Vocabulary::Term]
|
16
|
+
# attr_reader :Agent
|
17
|
+
#
|
18
|
+
# # A specialisation of Track for Audio to provide a link to specific data properties such as sampleRate, etc. Specialisation is defined through object properties.
|
19
|
+
# # @return [RDF::Vocabulary::Term]
|
20
|
+
# attr_reader :AudioTrack
|
21
|
+
#
|
22
|
+
# # Any group of media resource e.g. a series.
|
23
|
+
# # @return [RDF::Vocabulary::Term]
|
24
|
+
# attr_reader :Collection
|
25
|
+
#
|
26
|
+
# # Ancillary data track e.g. captioning in addition to video and audio tracks. Specialisation is made through the use of appropriate object properties.
|
27
|
+
# # @return [RDF::Vocabulary::Term]
|
28
|
+
# attr_reader :DataTrack
|
29
|
+
#
|
30
|
+
# # A still image / thumbnail / key frame related to the media resource or being the media resource itself.
|
31
|
+
# # @return [RDF::Vocabulary::Term]
|
32
|
+
# attr_reader :Image
|
33
|
+
#
|
34
|
+
# # A location related to the media resource, e.g. depicted in the resource (possibly fictional) or where the resource was created (shooting location), etc.
|
35
|
+
# # @return [RDF::Vocabulary::Term]
|
36
|
+
# attr_reader :Location
|
37
|
+
#
|
38
|
+
# # A media fragment (spatial, temporal, track...) composing a media resource. In other ontologies fragment is sometimes referred to as a 'part' or 'segment'.
|
39
|
+
# # @return [RDF::Vocabulary::Term]
|
40
|
+
# attr_reader :MediaFragment
|
41
|
+
#
|
42
|
+
# # An image or an audiovisual media resource, which can be composed of one or more fragment / track.
|
43
|
+
# # @return [RDF::Vocabulary::Term]
|
44
|
+
# attr_reader :MediaResource
|
45
|
+
#
|
46
|
+
# # An organisation or moral agent.
|
47
|
+
# # @return [RDF::Vocabulary::Term]
|
48
|
+
# attr_reader :Organisation
|
49
|
+
#
|
50
|
+
# # A physical person.
|
51
|
+
# # @return [RDF::Vocabulary::Term]
|
52
|
+
# attr_reader :Person
|
53
|
+
#
|
54
|
+
# # Information about the rating given to a media resource.
|
55
|
+
# # @return [RDF::Vocabulary::Term]
|
56
|
+
# attr_reader :Rating
|
57
|
+
#
|
58
|
+
# # Information about The target audience (target region, target audience category but also parental guidance recommendation) for which a media resource is intended.
|
59
|
+
# # @return [RDF::Vocabulary::Term]
|
60
|
+
# attr_reader :TargetAudience
|
61
|
+
#
|
62
|
+
# # A specialisation of MediaFragment for audiovisual content.
|
63
|
+
# # @return [RDF::Vocabulary::Term]
|
64
|
+
# attr_reader :Track
|
65
|
+
#
|
66
|
+
# # A specialisation of Track for Video to provide a link to specific data properties such as frameRate, etc. Signing is another possible example of video track. Specialisation is defined through object properties.
|
67
|
+
# # @return [RDF::Vocabulary::Term]
|
68
|
+
# attr_reader :VideoTrack
|
69
|
+
#
|
70
|
+
# # Corresponds to 'title.title' in the Ontology for Media Resources with a 'title.type' meaning "alternative".
|
71
|
+
# # @return [RDF::Vocabulary::Term]
|
72
|
+
# attr_reader :alternativeTitle
|
73
|
+
#
|
74
|
+
# # Corresponds to 'averageBitRate' in the Ontology for Media Resources, expressed in kilobits/second.
|
75
|
+
# # @return [RDF::Vocabulary::Term]
|
76
|
+
# attr_reader :averageBitRate
|
77
|
+
#
|
78
|
+
# # The name by which a collection (e.g. series) is known.
|
79
|
+
# # @return [RDF::Vocabulary::Term]
|
80
|
+
# attr_reader :collectionName
|
81
|
+
#
|
82
|
+
# # Corresponds to 'copyright.copyright' in the Ontology for Media Resources.
|
83
|
+
# # @return [RDF::Vocabulary::Term]
|
84
|
+
# attr_reader :copyright
|
85
|
+
#
|
86
|
+
# # A subproperty of 'hasRelatedLocation" used to specify where material shooting took place.
|
87
|
+
# # @return [RDF::Vocabulary::Term]
|
88
|
+
# attr_reader :createdIn
|
89
|
+
#
|
90
|
+
# # Corresponds to 'date.date' in the Ontology for Media Resources with a 'date.type' meaning "creationDate".
|
91
|
+
# # @return [RDF::Vocabulary::Term]
|
92
|
+
# attr_reader :creationDate
|
93
|
+
#
|
94
|
+
# # Corresponds to date.date in the ontology for Media Resources. Subproperties can be used to distinguish different values of 'date.type'. The recommended range is 'xsd:dateTime' (for compliance with OWL2-QL and OWL2-RL) but other time-related datatypes may be used (e.g. 'xsd:gYear', 'xsd:date'...).
|
95
|
+
# # @return [RDF::Vocabulary::Term]
|
96
|
+
# attr_reader :date
|
97
|
+
#
|
98
|
+
# # A subproperty of 'hasRelatedLocation' used to specify where the action depicted in the media is supposed to take place, as opposed to the location where shooting actually took place (see 'createdIn').
|
99
|
+
# # @return [RDF::Vocabulary::Term]
|
100
|
+
# attr_reader :depictsFictionalLocation
|
101
|
+
#
|
102
|
+
# # Corresponds to 'description' in the Ontology for Media Resources. This can be specialised by using sub-properties e.g. 'summary' or 'script'.
|
103
|
+
# # @return [RDF::Vocabulary::Term]
|
104
|
+
# attr_reader :description
|
105
|
+
#
|
106
|
+
# # Corresponds to 'duration' in the Ontology for Media Resources.
|
107
|
+
# # @return [RDF::Vocabulary::Term]
|
108
|
+
# attr_reader :duration
|
109
|
+
#
|
110
|
+
# # Corresponds to 'date.date' in the Ontology for Media Resources with a 'date.type' meaning "editDate".
|
111
|
+
# # @return [RDF::Vocabulary::Term]
|
112
|
+
# attr_reader :editDate
|
113
|
+
#
|
114
|
+
# # Corresponds to 'contributor.contributor' in the Ontology for Media Resources with a 'contributor.role' meaning "actor".
|
115
|
+
# # @return [RDF::Vocabulary::Term]
|
116
|
+
# attr_reader :features
|
117
|
+
#
|
118
|
+
# # Corresponds to 'namedFragment.label' in the Ontology for Media Resources.
|
119
|
+
# # @return [RDF::Vocabulary::Term]
|
120
|
+
# attr_reader :fragmentName
|
121
|
+
#
|
122
|
+
# # Corresponds to 'frameSize.height' in the Ontology for Media Resources, measured in frameSizeUnit.
|
123
|
+
# # @return [RDF::Vocabulary::Term]
|
124
|
+
# attr_reader :frameHeight
|
125
|
+
#
|
126
|
+
# # Corresponds to 'frameRate' in the Ontology for Media Resources, in frame per second.
|
127
|
+
# # @return [RDF::Vocabulary::Term]
|
128
|
+
# attr_reader :frameRate
|
129
|
+
#
|
130
|
+
# # Corresponds to 'frameSize.unit' in the Ontology for Media Resources.
|
131
|
+
# # @return [RDF::Vocabulary::Term]
|
132
|
+
# attr_reader :frameSizeUnit
|
133
|
+
#
|
134
|
+
# # Corresponds to 'frameSize.width' in the Ontology for Media Resources measured in frameSizeUnit.
|
135
|
+
# # @return [RDF::Vocabulary::Term]
|
136
|
+
# attr_reader :frameWidth
|
137
|
+
#
|
138
|
+
# # Corresponds to 'policy' in the Ontology for Media Resources with a 'policy.type' "access conditions".
|
139
|
+
# # @return [RDF::Vocabulary::Term]
|
140
|
+
# attr_reader :hasAccessConditions
|
141
|
+
#
|
142
|
+
# # Corresponds to 'fragment' in the Ontology for Media Resources with a 'fragment.role' meaning "audio-description".
|
143
|
+
# # @return [RDF::Vocabulary::Term]
|
144
|
+
# attr_reader :hasAudioDescription
|
145
|
+
#
|
146
|
+
# # Corresponds to 'fragment' in the Ontology for Media Resources with a 'fragment.role' meaning "captioning". This property can for example point to a spatial fragment, a VideoTrack or a DataTrack. The language of the captioning track can be expressed by attaching a 'hasLanguage' property to the specific track.
|
147
|
+
# # @return [RDF::Vocabulary::Term]
|
148
|
+
# attr_reader :hasCaptioning
|
149
|
+
#
|
150
|
+
# # Corresponds to 'fragment' in the Ontology for Media Resources with a 'fragment.role' meaning "chapter".
|
151
|
+
# # @return [RDF::Vocabulary::Term]
|
152
|
+
# attr_reader :hasChapter
|
153
|
+
#
|
154
|
+
# # Corresponds to 'targetAudience.classification' in the Ontology for Media Resources. This property is used to provide a value characterising the target audience.
|
155
|
+
# # @return [RDF::Vocabulary::Term]
|
156
|
+
# attr_reader :hasClassification
|
157
|
+
#
|
158
|
+
# # Corresponds to 'targetAudience.identifier' in the Ontology for Media Resources. This is used to identify the reference sheme against which the target audience has been characterised.
|
159
|
+
# # @return [RDF::Vocabulary::Term]
|
160
|
+
# attr_reader :hasClassificationSystem
|
161
|
+
#
|
162
|
+
# # Corresponds to 'compression' in the Ontology for Media Resources.
|
163
|
+
# # @return [RDF::Vocabulary::Term]
|
164
|
+
# attr_reader :hasCompression
|
165
|
+
#
|
166
|
+
# # @return [RDF::Vocabulary::Term]
|
167
|
+
# attr_reader :hasContributedTo
|
168
|
+
#
|
169
|
+
# # Corresponds to 'contributor.contributor' in the Ontology for Media Resources. Subproperties can be used to distinguish different values of 'contributor.role'.
|
170
|
+
# # @return [RDF::Vocabulary::Term]
|
171
|
+
# attr_reader :hasContributor
|
172
|
+
#
|
173
|
+
# # @return [RDF::Vocabulary::Term]
|
174
|
+
# attr_reader :hasCopyrightOver
|
175
|
+
#
|
176
|
+
# # @return [RDF::Vocabulary::Term]
|
177
|
+
# attr_reader :hasCreated
|
178
|
+
#
|
179
|
+
# # Corresponds to 'creator.creator' in the Ontology for Media Resources. Subproperties can be used to distinguish different values of 'creator.role'. Note that this property is semantically a subproperty of 'hasContributor'.
|
180
|
+
# # @return [RDF::Vocabulary::Term]
|
181
|
+
# attr_reader :hasCreator
|
182
|
+
#
|
183
|
+
# # Corresponds to 'format' in the Ontology for Media Resources.
|
184
|
+
# # @return [RDF::Vocabulary::Term]
|
185
|
+
# attr_reader :hasFormat
|
186
|
+
#
|
187
|
+
# # Corresponds to 'fragment' in the Ontology for Media Resources. Subproperties can be used to distinguish different values of 'fragment.role'.
|
188
|
+
# # @return [RDF::Vocabulary::Term]
|
189
|
+
# attr_reader :hasFragment
|
190
|
+
#
|
191
|
+
# # Corresponds to 'genre' in the Ontology for Media Resources.
|
192
|
+
# # @return [RDF::Vocabulary::Term]
|
193
|
+
# attr_reader :hasGenre
|
194
|
+
#
|
195
|
+
# # Corresponds to 'keyword' in the Ontology for Media Resources.
|
196
|
+
# # @return [RDF::Vocabulary::Term]
|
197
|
+
# attr_reader :hasKeyword
|
198
|
+
#
|
199
|
+
# # Corresponds to 'language' in the Ontology for Media Resources. The language used in the resource. A controlled vocabulary such as defined in BCP 47 SHOULD be used. This property can also be used to identify the presence of sign language (RFC 5646). By inheritance, the hasLanguage property applies indifferently at the media resource / fragment / track levels. Best practice recommends to use to best possible level of granularity fo describe the usage of language within a media resource including at fragment and track levels.
|
200
|
+
# # @return [RDF::Vocabulary::Term]
|
201
|
+
# attr_reader :hasLanguage
|
202
|
+
#
|
203
|
+
# # Corresponds to 'location.coordinateSystem' in the Ontology for Media Resources.
|
204
|
+
# # @return [RDF::Vocabulary::Term]
|
205
|
+
# attr_reader :hasLocationCoordinateSystem
|
206
|
+
#
|
207
|
+
# # @return [RDF::Vocabulary::Term]
|
208
|
+
# attr_reader :hasMember
|
209
|
+
#
|
210
|
+
# # Corresponds to 'namedFragment' in the Ontology for Media Resources.
|
211
|
+
# # @return [RDF::Vocabulary::Term]
|
212
|
+
# attr_reader :hasNamedFragment
|
213
|
+
#
|
214
|
+
# # Corresponds to 'policy' in the Ontology for Media Resources with a 'policy.type' meaning "permissions".
|
215
|
+
# # @return [RDF::Vocabulary::Term]
|
216
|
+
# attr_reader :hasPermissions
|
217
|
+
#
|
218
|
+
# # Corresponds to 'policy' in the Ontology for Media Resources. Subproperties can be used to distinguish different values of 'policy.type'.
|
219
|
+
# # @return [RDF::Vocabulary::Term]
|
220
|
+
# attr_reader :hasPolicy
|
221
|
+
#
|
222
|
+
# # @return [RDF::Vocabulary::Term]
|
223
|
+
# attr_reader :hasPublished
|
224
|
+
#
|
225
|
+
# # Corresponds to 'publisher' in the Ontology for Media Resources.
|
226
|
+
# # @return [RDF::Vocabulary::Term]
|
227
|
+
# attr_reader :hasPublisher
|
228
|
+
#
|
229
|
+
# # Corresponds to 'rating' in the Ontology for Media Resources.
|
230
|
+
# # @return [RDF::Vocabulary::Term]
|
231
|
+
# attr_reader :hasRating
|
232
|
+
#
|
233
|
+
# # Corresponds to 'rating.type' in the Ontology for Media Resources.
|
234
|
+
# # @return [RDF::Vocabulary::Term]
|
235
|
+
# attr_reader :hasRatingSystem
|
236
|
+
#
|
237
|
+
# # Corresponds to 'relation' and in the Ontology for Media Resources with a 'relation.type' meaning "related image".
|
238
|
+
# # @return [RDF::Vocabulary::Term]
|
239
|
+
# attr_reader :hasRelatedImage
|
240
|
+
#
|
241
|
+
# # Corresponds to 'location' in the Ontology for Media Resources. Subproperties are provided to specify, when possible, the relation between the media resource and the location.
|
242
|
+
# # @return [RDF::Vocabulary::Term]
|
243
|
+
# attr_reader :hasRelatedLocation
|
244
|
+
#
|
245
|
+
# # Corresponds to 'relation' and in the Ontology for Media Resources. Subproperties can be used to distinguish different values of 'relation.type'.
|
246
|
+
# # @return [RDF::Vocabulary::Term]
|
247
|
+
# attr_reader :hasRelatedResource
|
248
|
+
#
|
249
|
+
# # Corresponds to 'fragment' in the Ontology for Media Resources with a 'fragment.role' meaning "signing". This property can for example point to a spatial fragment or a VideoTrack. The sign language of the captioning track can be expressed by attaching a 'hasLanguage' property to the specific track.
|
250
|
+
# # @return [RDF::Vocabulary::Term]
|
251
|
+
# attr_reader :hasSigning
|
252
|
+
#
|
253
|
+
# # Corresponds to 'relation' and in the Ontology for Media Resources with a 'relation.type' meaning "source".
|
254
|
+
# # @return [RDF::Vocabulary::Term]
|
255
|
+
# attr_reader :hasSource
|
256
|
+
#
|
257
|
+
# # Corresponds to 'fragment' in the Ontology for Media Resources with a 'fragment.role' meaning "subtitling".
|
258
|
+
# # @return [RDF::Vocabulary::Term]
|
259
|
+
# attr_reader :hasSubtitling
|
260
|
+
#
|
261
|
+
# # Corresponds to 'targetAudience' in the Ontology for Media Resources.
|
262
|
+
# # @return [RDF::Vocabulary::Term]
|
263
|
+
# attr_reader :hasTargetAudience
|
264
|
+
#
|
265
|
+
# # Corresponds to 'fragment' in the Ontology for Media Resources with a 'fragment.role' meaning "track".
|
266
|
+
# # @return [RDF::Vocabulary::Term]
|
267
|
+
# attr_reader :hasTrack
|
268
|
+
#
|
269
|
+
# # @return [RDF::Vocabulary::Term]
|
270
|
+
# attr_reader :isCaptioningOf
|
271
|
+
#
|
272
|
+
# # @return [RDF::Vocabulary::Term]
|
273
|
+
# attr_reader :isChapterOf
|
274
|
+
#
|
275
|
+
# # Corresponds to 'copyright.identifier' in the Ontology for Media Resources.
|
276
|
+
# # @return [RDF::Vocabulary::Term]
|
277
|
+
# attr_reader :isCopyrightedBy
|
278
|
+
#
|
279
|
+
# # @return [RDF::Vocabulary::Term]
|
280
|
+
# attr_reader :isCreationLocationOf
|
281
|
+
#
|
282
|
+
# # @return [RDF::Vocabulary::Term]
|
283
|
+
# attr_reader :isFictionalLocationDepictedIn
|
284
|
+
#
|
285
|
+
# # @return [RDF::Vocabulary::Term]
|
286
|
+
# attr_reader :isFragmentOf
|
287
|
+
#
|
288
|
+
# # @return [RDF::Vocabulary::Term]
|
289
|
+
# attr_reader :isImageRelatedTo
|
290
|
+
#
|
291
|
+
# # @return [RDF::Vocabulary::Term]
|
292
|
+
# attr_reader :isLocationRelatedTo
|
293
|
+
#
|
294
|
+
# # Corresponds to 'collection' in the Ontology for Media Resources.
|
295
|
+
# # @return [RDF::Vocabulary::Term]
|
296
|
+
# attr_reader :isMemberOf
|
297
|
+
#
|
298
|
+
# # @return [RDF::Vocabulary::Term]
|
299
|
+
# attr_reader :isNamedFragmentOf
|
300
|
+
#
|
301
|
+
# # Corresponds to 'rating.identifier' in the Ontology for Media Resources.
|
302
|
+
# # @return [RDF::Vocabulary::Term]
|
303
|
+
# attr_reader :isProvidedBy
|
304
|
+
#
|
305
|
+
# # @return [RDF::Vocabulary::Term]
|
306
|
+
# attr_reader :isRatingOf
|
307
|
+
#
|
308
|
+
# # @return [RDF::Vocabulary::Term]
|
309
|
+
# attr_reader :isRelatedTo
|
310
|
+
#
|
311
|
+
# # @return [RDF::Vocabulary::Term]
|
312
|
+
# attr_reader :isSigningOf
|
313
|
+
#
|
314
|
+
# # @return [RDF::Vocabulary::Term]
|
315
|
+
# attr_reader :isSourceOf
|
316
|
+
#
|
317
|
+
# # @return [RDF::Vocabulary::Term]
|
318
|
+
# attr_reader :isTargetAudienceOf
|
319
|
+
#
|
320
|
+
# # @return [RDF::Vocabulary::Term]
|
321
|
+
# attr_reader :isTrackOf
|
322
|
+
#
|
323
|
+
# # Corresponds to 'location.altitude' in the Ontology for Media Resources.
|
324
|
+
# # @return [RDF::Vocabulary::Term]
|
325
|
+
# attr_reader :locationAltitude
|
326
|
+
#
|
327
|
+
# # Corresponds to 'location.latitude' in the Ontology for Media Resources.
|
328
|
+
# # @return [RDF::Vocabulary::Term]
|
329
|
+
# attr_reader :locationLatitude
|
330
|
+
#
|
331
|
+
# # Corresponds to 'location.longitude' in the Ontology for Media Resources.
|
332
|
+
# # @return [RDF::Vocabulary::Term]
|
333
|
+
# attr_reader :locationLongitude
|
334
|
+
#
|
335
|
+
# # Corresponds to 'location.name' in the Ontology for Media Resources.
|
336
|
+
# # @return [RDF::Vocabulary::Term]
|
337
|
+
# attr_reader :locationName
|
338
|
+
#
|
339
|
+
# # Corresponds to 'locator' in the Ontology for Media Resources.
|
340
|
+
# # @return [RDF::Vocabulary::Term]
|
341
|
+
# attr_reader :locator
|
342
|
+
#
|
343
|
+
# # Corresponds to 'title.title' in the Ontology for Media Resources with a 'title.type' meaning "original".
|
344
|
+
# # @return [RDF::Vocabulary::Term]
|
345
|
+
# attr_reader :mainOriginalTitle
|
346
|
+
#
|
347
|
+
# # Corresponds to 'numTracks.number' in the Ontology for Media Resources. Subproperties can be used to distinguish different values of 'numTracks.type'.
|
348
|
+
# # @return [RDF::Vocabulary::Term]
|
349
|
+
# attr_reader :numberOfTracks
|
350
|
+
#
|
351
|
+
# # @return [RDF::Vocabulary::Term]
|
352
|
+
# attr_reader :playsIn
|
353
|
+
#
|
354
|
+
# # @return [RDF::Vocabulary::Term]
|
355
|
+
# attr_reader :provides
|
356
|
+
#
|
357
|
+
# # Corresponds to 'rating.max' in the Ontology for Media Resources.
|
358
|
+
# # @return [RDF::Vocabulary::Term]
|
359
|
+
# attr_reader :ratingScaleMax
|
360
|
+
#
|
361
|
+
# # Corresponds to 'rating.min' in the Ontology for Media Resources.
|
362
|
+
# # @return [RDF::Vocabulary::Term]
|
363
|
+
# attr_reader :ratingScaleMin
|
364
|
+
#
|
365
|
+
# # Corresponds to 'rating.value' in the Ontology for Media Resources.
|
366
|
+
# # @return [RDF::Vocabulary::Term]
|
367
|
+
# attr_reader :ratingValue
|
368
|
+
#
|
369
|
+
# # Corresponds to 'date.date' in the Ontology for Media Resources with a 'date.type' meaning "recordDate".
|
370
|
+
# # @return [RDF::Vocabulary::Term]
|
371
|
+
# attr_reader :recordDate
|
372
|
+
#
|
373
|
+
# # Corresponds to 'date.date' in the Ontology for Media Resources with a 'date.type' meaning "releaseDate".
|
374
|
+
# # @return [RDF::Vocabulary::Term]
|
375
|
+
# attr_reader :releaseDate
|
376
|
+
#
|
377
|
+
# # Corresponds to 'samplingRate' in the Ontology for Media Resources, in samples per second.
|
378
|
+
# # @return [RDF::Vocabulary::Term]
|
379
|
+
# attr_reader :samplingRate
|
380
|
+
#
|
381
|
+
# # Corresponds to 'title.title' in the Ontology for Media Resources. Subproperties can be used to distinguish different values of 'title.type'.
|
382
|
+
# # @return [RDF::Vocabulary::Term]
|
383
|
+
# attr_reader :title
|
384
|
+
#
|
385
|
+
# # Corresponds to 'fragment.name' in the Ontology for Media Resources, for Track fragments.
|
386
|
+
# # @return [RDF::Vocabulary::Term]
|
387
|
+
# attr_reader :trackName
|
388
|
+
#
|
9
389
|
# end
|
10
|
-
|
390
|
+
MA = Class.new(RDF::Vocabulary("http://www.w3.org/ns/ma-ont#")) do
|
11
391
|
|
12
392
|
# Ontology definition
|
13
393
|
ontology :"http://www.w3.org/ns/ma-ont#",
|