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/wdrs.rb
CHANGED
@@ -5,9 +5,98 @@ require 'rdf'
|
|
5
5
|
module RDF::Vocab
|
6
6
|
# @!parse
|
7
7
|
# # Vocabulary for <http://www.w3.org/2007/05/powder-s#>
|
8
|
+
# #
|
9
|
+
# # POWDER-S Vocabulary
|
10
|
+
# #
|
11
|
+
# # This file specifies the set of classes and properties used in the RDF/OWL version of POWDER documents.
|
12
|
+
# # @version 2 June 2017
|
8
13
|
# class WDRS < RDF::StrictVocabulary
|
14
|
+
# # A POWDER document.
|
15
|
+
# # @return [RDF::Vocabulary::Term]
|
16
|
+
# attr_reader :Document
|
17
|
+
#
|
18
|
+
# # A software agent able to process POWDER documents.
|
19
|
+
# # @return [RDF::Vocabulary::Term]
|
20
|
+
# attr_reader :Processor
|
21
|
+
#
|
22
|
+
# # A pointer to a document that describes how Description Resources created by a FOAF Agent or a DC Terms Agent may be authenticated
|
23
|
+
# # @return [RDF::Vocabulary::Term]
|
24
|
+
# attr_reader :authenticate
|
25
|
+
#
|
26
|
+
# # A property that takes a Boolean value to declare whether the author of the data certifies the described resource.
|
27
|
+
# # @return [RDF::Vocabulary::Term]
|
28
|
+
# attr_reader :certified
|
29
|
+
#
|
30
|
+
# # A property that links a resource to a POWDER document that certifies it.
|
31
|
+
# # @return [RDF::Vocabulary::Term]
|
32
|
+
# attr_reader :certifiedby
|
33
|
+
#
|
34
|
+
# # A property denoting a description of the specific error found in a given POWDER document.
|
35
|
+
# # @return [RDF::Vocabulary::Term]
|
36
|
+
# attr_reader :data_error
|
37
|
+
#
|
38
|
+
# # An RDF property to exactly match the describedby relationship type introduced in http://www.w3.org/TR/powder-dr/#assoc-linking and formally defined in appendix D of the same document, i.e. the relationship A 'describedby' B asserts that resource B provides a description of resource A. There are no constraints on the format or representation of either A or B, neither are there any further constraints on either resource.
|
39
|
+
# # @return [RDF::Vocabulary::Term]
|
40
|
+
# attr_reader :describedby
|
41
|
+
#
|
42
|
+
# # A property denoting the code of any error encountered by the POWDER processor.
|
43
|
+
# # @return [RDF::Vocabulary::Term]
|
44
|
+
# attr_reader :error_code
|
45
|
+
#
|
46
|
+
# # This property is meant to be used in OWL2 instead of wdrs:matchesregex. It denotes the string data range corresponding to a set of IRIs.
|
47
|
+
# # @return [RDF::Vocabulary::Term]
|
48
|
+
# attr_reader :hasIRI
|
49
|
+
#
|
50
|
+
# # This property denotes the author of a POWDER document.
|
51
|
+
# # @return [RDF::Vocabulary::Term]
|
52
|
+
# attr_reader :issuedby
|
53
|
+
#
|
54
|
+
# # Points to a graphic summary for the resources in a given class. Typically, it is a logo denoting conformance of a given (set of) resource(s) to a given set of criteria.
|
55
|
+
# # @return [RDF::Vocabulary::Term]
|
56
|
+
# attr_reader :logo
|
57
|
+
#
|
58
|
+
# # This is the key 'include' property for IRI set definitions in POWDER-S. It is necessary to take account of the POWDER Semantic Extension to process this fully. The value is a regular expression that is matched against an IRI.
|
59
|
+
# # @return [RDF::Vocabulary::Term]
|
60
|
+
# attr_reader :matchesregex
|
61
|
+
#
|
62
|
+
# # Property used in results returned from a POWDER Processor that has no data about the candidate resource. The value is the IRI of the processor.
|
63
|
+
# # @return [RDF::Vocabulary::Term]
|
64
|
+
# attr_reader :notknownto
|
65
|
+
#
|
66
|
+
# # This is the key 'exclude' property for IRI set definitions in POWDER-S. It is necessary to take account of the POWDER Semantic Extension to process this fully. The value is a regular expression that is matched against an IRI.
|
67
|
+
# # @return [RDF::Vocabulary::Term]
|
68
|
+
# attr_reader :notmatchesregex
|
69
|
+
#
|
70
|
+
# # A property denoting a description of the specific software error.
|
71
|
+
# # @return [RDF::Vocabulary::Term]
|
72
|
+
# attr_reader :proc_error
|
73
|
+
#
|
74
|
+
# # Links to a Base64-encoded binary SHA-1 hash of the described resource. May be used by POWDER Processors when assessing trustworthiness of a DR.
|
75
|
+
# # @return [RDF::Vocabulary::Term]
|
76
|
+
# attr_reader :sha1sum
|
77
|
+
#
|
78
|
+
# # A property that links a POWDER document to some other data source that supports the descriptions provided.
|
79
|
+
# # @return [RDF::Vocabulary::Term]
|
80
|
+
# attr_reader :supportedby
|
81
|
+
#
|
82
|
+
# # Property linking to a free-text tag which may include spaces.
|
83
|
+
# # @return [RDF::Vocabulary::Term]
|
84
|
+
# attr_reader :tag
|
85
|
+
#
|
86
|
+
# # This property provides a summary of the descriptorset that it annotates, suitable for display to end users.
|
87
|
+
# # @return [RDF::Vocabulary::Term]
|
88
|
+
# attr_reader :text
|
89
|
+
#
|
90
|
+
# # Provides a timestamp that a POWDER Processor may use when assessing trustworthiness of a POWDER document. Informally, a POWDER Processor should normally ignore data in the document before the given date.
|
91
|
+
# # @return [RDF::Vocabulary::Term]
|
92
|
+
# attr_reader :validfrom
|
93
|
+
#
|
94
|
+
# # Provides a timestamp that a POWDER Processor may use when assessing trustworthiness of a POWDER document. Informally, a POWDER Processor should normally ignore data in the document after the given date.
|
95
|
+
# # @return [RDF::Vocabulary::Term]
|
96
|
+
# attr_reader :validuntil
|
97
|
+
#
|
9
98
|
# end
|
10
|
-
|
99
|
+
WDRS = Class.new(RDF::StrictVocabulary("http://www.w3.org/2007/05/powder-s#")) do
|
11
100
|
|
12
101
|
# Ontology definition
|
13
102
|
ontology :"http://www.w3.org/2007/05/powder-s#",
|
data/lib/rdf/vocab/wot.rb
CHANGED
@@ -5,9 +5,86 @@ require 'rdf'
|
|
5
5
|
module RDF::Vocab
|
6
6
|
# @!parse
|
7
7
|
# # Vocabulary for <http://xmlns.com/wot/0.1/>
|
8
|
+
# #
|
9
|
+
# # Web Of Trust vocabulary
|
10
|
+
# #
|
11
|
+
# # Web Of Trust (wot) RDF vocabulary, described using W3C RDF Schema and the Web Ontology Language.
|
12
|
+
# # @see http://xmlns.com/foaf/0.1/
|
8
13
|
# class WOT < RDF::StrictVocabulary
|
14
|
+
# # An encrypted document intended for a set of recipients.
|
15
|
+
# # @return [RDF::Vocabulary::Term]
|
16
|
+
# attr_reader :EncryptedDocument
|
17
|
+
#
|
18
|
+
# # An endorsement resource containing a detached ascii signature.
|
19
|
+
# # @return [RDF::Vocabulary::Term]
|
20
|
+
# attr_reader :Endorsement
|
21
|
+
#
|
22
|
+
# # A class used to represent a PGP/GPG public key for a user (an agent, person, group or organization).
|
23
|
+
# # @return [RDF::Vocabulary::Term]
|
24
|
+
# attr_reader :PubKey
|
25
|
+
#
|
26
|
+
# # An event describing the action of a public key being signed by some other public key.
|
27
|
+
# # @return [RDF::Vocabulary::Term]
|
28
|
+
# attr_reader :SigEvent
|
29
|
+
#
|
30
|
+
# # A user (agent, person, group or organization) of a PGP/GPG public key.
|
31
|
+
# # @return [RDF::Vocabulary::Term]
|
32
|
+
# attr_reader :User
|
33
|
+
#
|
34
|
+
# # A property linking a document to an endorsement resource containing a detached ascii signature.
|
35
|
+
# # @return [RDF::Vocabulary::Term]
|
36
|
+
# attr_reader :assurance
|
37
|
+
#
|
38
|
+
# # A property linking an encrypted document to a recipient.
|
39
|
+
# # @return [RDF::Vocabulary::Term]
|
40
|
+
# attr_reader :encryptedTo
|
41
|
+
#
|
42
|
+
# # A property linking an encrypted document to the public key that was used to encrypt it.
|
43
|
+
# # @return [RDF::Vocabulary::Term]
|
44
|
+
# attr_reader :encrypter
|
45
|
+
#
|
46
|
+
# # A public key hex fingerprint string (40 digits, white space insignificant).
|
47
|
+
# # @return [RDF::Vocabulary::Term]
|
48
|
+
# attr_reader :fingerprint
|
49
|
+
#
|
50
|
+
# # A property to link a PubKey from a User
|
51
|
+
# # @return [RDF::Vocabulary::Term]
|
52
|
+
# attr_reader :hasKey
|
53
|
+
#
|
54
|
+
# # A public key hex identifier string (8 digits).
|
55
|
+
# # @return [RDF::Vocabulary::Term]
|
56
|
+
# attr_reader :hex_id
|
57
|
+
#
|
58
|
+
# # A property linking a public key to the user of the key.
|
59
|
+
# # @return [RDF::Vocabulary::Term]
|
60
|
+
# attr_reader :identity
|
61
|
+
#
|
62
|
+
# # A numeric string representing the length, in bytes, of a public key.
|
63
|
+
# # @return [RDF::Vocabulary::Term]
|
64
|
+
# attr_reader :length
|
65
|
+
#
|
66
|
+
# # The location of an ascii version of a public key.
|
67
|
+
# # @return [RDF::Vocabulary::Term]
|
68
|
+
# attr_reader :pubkeyAddress
|
69
|
+
#
|
70
|
+
# # The date of a public key signature event.
|
71
|
+
# # @return [RDF::Vocabulary::Term]
|
72
|
+
# attr_reader :sigdate
|
73
|
+
#
|
74
|
+
# # A property linking a public key to a public key signature event.
|
75
|
+
# # @return [RDF::Vocabulary::Term]
|
76
|
+
# attr_reader :signed
|
77
|
+
#
|
78
|
+
# # A property linking a public key signature event to the public key that was used to sign.
|
79
|
+
# # @return [RDF::Vocabulary::Term]
|
80
|
+
# attr_reader :signer
|
81
|
+
#
|
82
|
+
# # The time (of day) of a public key signature event.
|
83
|
+
# # @return [RDF::Vocabulary::Term]
|
84
|
+
# attr_reader :sigtime
|
85
|
+
#
|
9
86
|
# end
|
10
|
-
|
87
|
+
WOT = Class.new(RDF::StrictVocabulary("http://xmlns.com/wot/0.1/")) do
|
11
88
|
|
12
89
|
# Ontology definition
|
13
90
|
ontology :"http://xmlns.com/wot/0.1/",
|
data/lib/rdf/vocab/xhtml.rb
CHANGED
@@ -5,9 +5,10 @@ require 'rdf'
|
|
5
5
|
module RDF::Vocab
|
6
6
|
# @!parse
|
7
7
|
# # Vocabulary for <http://www.w3.org/1999/xhtml#>
|
8
|
+
# #
|
8
9
|
# class XHTML < RDF::Vocabulary
|
9
10
|
# end
|
10
|
-
|
11
|
+
XHTML = Class.new(RDF::Vocabulary("http://www.w3.org/1999/xhtml#")) do
|
11
12
|
|
12
13
|
# Ontology definition
|
13
14
|
ontology :"http://www.w3.org/1999/xhtml#",
|
data/lib/rdf/vocab/xhv.rb
CHANGED
@@ -5,9 +5,346 @@ require 'rdf'
|
|
5
5
|
module RDF::Vocab
|
6
6
|
# @!parse
|
7
7
|
# # Vocabulary for <http://www.w3.org/1999/xhtml/vocab#>
|
8
|
+
# #
|
8
9
|
# class XHV < RDF::Vocabulary
|
10
|
+
# # A message with important, and usually time-sensitive, information. Also see alertdialog and status.
|
11
|
+
# # @return [RDF::Vocabulary::Term]
|
12
|
+
# attr_reader :alert
|
13
|
+
#
|
14
|
+
# # A type of dialog that contains an alert message, where initial focus goes to the dialog or an element within it. Also see alert and dialog.
|
15
|
+
# # @return [RDF::Vocabulary::Term]
|
16
|
+
# attr_reader :alertdialog
|
17
|
+
#
|
18
|
+
# # alternate designates alternate versions for a resource.
|
19
|
+
# # @return [RDF::Vocabulary::Term]
|
20
|
+
# attr_reader :alternate
|
21
|
+
#
|
22
|
+
# # appendix refers to a resource serving as an appendix in a collection.
|
23
|
+
# # @return [RDF::Vocabulary::Term]
|
24
|
+
# attr_reader :appendix
|
25
|
+
#
|
26
|
+
# # A region declared as a web application, as opposed to a web document.
|
27
|
+
# # @return [RDF::Vocabulary::Term]
|
28
|
+
# attr_reader :application
|
29
|
+
#
|
30
|
+
# # A section of a page consisting of an independent part of a document, page, or site.
|
31
|
+
# # @return [RDF::Vocabulary::Term]
|
32
|
+
# attr_reader :article
|
33
|
+
#
|
34
|
+
# # banner contains the prime heading or internal title of a page.
|
35
|
+
# # @return [RDF::Vocabulary::Term]
|
36
|
+
# attr_reader :banner
|
37
|
+
#
|
38
|
+
# # bookmark refers to a bookmark - a link to a key entry point within an extended document.
|
39
|
+
# # @return [RDF::Vocabulary::Term]
|
40
|
+
# attr_reader :bookmark
|
41
|
+
#
|
42
|
+
# # An input that allows for user-triggered actions when clicked or pressed.
|
43
|
+
# # @return [RDF::Vocabulary::Term]
|
44
|
+
# attr_reader :button
|
45
|
+
#
|
46
|
+
# # chapter refers to a resource serving as a chapter in a collction.
|
47
|
+
# # @return [RDF::Vocabulary::Term]
|
48
|
+
# attr_reader :chapter
|
49
|
+
#
|
50
|
+
# # An checkable input that has three possible values: true, false, or mixed.
|
51
|
+
# # @return [RDF::Vocabulary::Term]
|
52
|
+
# attr_reader :checkbox
|
53
|
+
#
|
54
|
+
# # cite refers to a resource that defines a citation.
|
55
|
+
# # @return [RDF::Vocabulary::Term]
|
56
|
+
# attr_reader :cite
|
57
|
+
#
|
58
|
+
# # A cell containing header information for a column.
|
59
|
+
# # @return [RDF::Vocabulary::Term]
|
60
|
+
# attr_reader :columnheader
|
61
|
+
#
|
62
|
+
# # A presentation of a select; usually similar to a textbox where users can type ahead to select an option, or type to enter arbitrary text as a new item in the list.
|
63
|
+
# # @return [RDF::Vocabulary::Term]
|
64
|
+
# attr_reader :combobox
|
65
|
+
#
|
66
|
+
# # secondary indicates that the section supports but is separable from the main content of resource.
|
67
|
+
# # @return [RDF::Vocabulary::Term]
|
68
|
+
# attr_reader :complementary
|
69
|
+
#
|
70
|
+
# # contentinfo has meta information about the content on the page or the page as a whole.
|
71
|
+
# # @return [RDF::Vocabulary::Term]
|
72
|
+
# attr_reader :contentinfo
|
73
|
+
#
|
74
|
+
# # contents refers to a resource serving as a table of contents.
|
75
|
+
# # @return [RDF::Vocabulary::Term]
|
76
|
+
# attr_reader :contents
|
77
|
+
#
|
78
|
+
# # copyright refers to a copyright statement for the resource.
|
79
|
+
# # @return [RDF::Vocabulary::Term]
|
80
|
+
# attr_reader :copyright
|
81
|
+
#
|
82
|
+
# # definition indicates the definition of a term or concept.
|
83
|
+
# # @return [RDF::Vocabulary::Term]
|
84
|
+
# attr_reader :definition
|
85
|
+
#
|
86
|
+
# # A dialog is an application window that is designed to interrupt the current processing of an application in order to prompt the user to enter information or require a response. Also see alertdialog.
|
87
|
+
# # @return [RDF::Vocabulary::Term]
|
88
|
+
# attr_reader :dialog
|
89
|
+
#
|
90
|
+
# # A list of references to members of a group, such as a static table of contents.
|
91
|
+
# # @return [RDF::Vocabulary::Term]
|
92
|
+
# attr_reader :directory
|
93
|
+
#
|
94
|
+
# # A region containing related information that is declared as document content, as opposed to a web application.
|
95
|
+
# # @return [RDF::Vocabulary::Term]
|
96
|
+
# attr_reader :document
|
97
|
+
#
|
98
|
+
# # first refers the first item in a collection (see also start and top).
|
99
|
+
# # @return [RDF::Vocabulary::Term]
|
100
|
+
# attr_reader :first
|
101
|
+
#
|
102
|
+
# # glossary refers to a resource providing a glossary of terms.
|
103
|
+
# # @return [RDF::Vocabulary::Term]
|
104
|
+
# attr_reader :glossary
|
105
|
+
#
|
106
|
+
# # A grid contains cells of tabular data arranged in rows and columns, like a table.
|
107
|
+
# # @return [RDF::Vocabulary::Term]
|
108
|
+
# attr_reader :grid
|
109
|
+
#
|
110
|
+
# # A cell in a grid or treegrid.
|
111
|
+
# # @return [RDF::Vocabulary::Term]
|
112
|
+
# attr_reader :gridcell
|
113
|
+
#
|
114
|
+
# # A set of user interface objects which would not be included in a page summary or table of contents by an assistive technology.
|
115
|
+
# # @return [RDF::Vocabulary::Term]
|
116
|
+
# attr_reader :group
|
117
|
+
#
|
118
|
+
# # A heading for a section of the page.
|
119
|
+
# # @return [RDF::Vocabulary::Term]
|
120
|
+
# attr_reader :heading
|
121
|
+
#
|
122
|
+
# # help refers to a resource offering help.
|
123
|
+
# # @return [RDF::Vocabulary::Term]
|
124
|
+
# attr_reader :help
|
125
|
+
#
|
126
|
+
# # icon refers to a resource that represents an icon.
|
127
|
+
# # @return [RDF::Vocabulary::Term]
|
128
|
+
# attr_reader :icon
|
129
|
+
#
|
130
|
+
# # A container for a collection of elements that form an image.
|
131
|
+
# # @return [RDF::Vocabulary::Term]
|
132
|
+
# attr_reader :img
|
133
|
+
#
|
134
|
+
# # index refers to a resource providing an index.
|
135
|
+
# # @return [RDF::Vocabulary::Term]
|
136
|
+
# attr_reader :index
|
137
|
+
#
|
138
|
+
# # itsRules indicates that the designated resource is an [ITS] rule set.
|
139
|
+
# # @return [RDF::Vocabulary::Term]
|
140
|
+
# attr_reader :itsRules
|
141
|
+
#
|
142
|
+
# # last refers to the last resource in a collection of resources.
|
143
|
+
# # @return [RDF::Vocabulary::Term]
|
144
|
+
# attr_reader :last
|
145
|
+
#
|
146
|
+
# # license refers to a resource that defines the associated license.
|
147
|
+
# # @return [RDF::Vocabulary::Term]
|
148
|
+
# attr_reader :license
|
149
|
+
#
|
150
|
+
# # An interactive reference to an internal or external resource.
|
151
|
+
# # @return [RDF::Vocabulary::Term]
|
152
|
+
# attr_reader :link
|
153
|
+
#
|
154
|
+
# # A group of non-interactive list items.
|
155
|
+
# # @return [RDF::Vocabulary::Term]
|
156
|
+
# attr_reader :list
|
157
|
+
#
|
158
|
+
# # A widget that allows the user to select one or more items from a list of choices.
|
159
|
+
# # @return [RDF::Vocabulary::Term]
|
160
|
+
# attr_reader :listbox
|
161
|
+
#
|
162
|
+
# # A single item in a list, listbox, or directory.
|
163
|
+
# # @return [RDF::Vocabulary::Term]
|
164
|
+
# attr_reader :listitem
|
165
|
+
#
|
166
|
+
# # A type of live region where new information is added in meaningful order and old information may disappear. Also see marquee.
|
167
|
+
# # @return [RDF::Vocabulary::Term]
|
168
|
+
# attr_reader :log
|
169
|
+
#
|
170
|
+
# # main acts as the main content of the document.
|
171
|
+
# # @return [RDF::Vocabulary::Term]
|
172
|
+
# attr_reader :main
|
173
|
+
#
|
174
|
+
# # A type of live region where non-essential information changes frequently. Also see log.
|
175
|
+
# # @return [RDF::Vocabulary::Term]
|
176
|
+
# attr_reader :marquee
|
177
|
+
#
|
178
|
+
# # An element that represents a mathematical expression.
|
179
|
+
# # @return [RDF::Vocabulary::Term]
|
180
|
+
# attr_reader :math
|
181
|
+
#
|
182
|
+
# # A type of widget that offers a list of choices to the user.
|
183
|
+
# # @return [RDF::Vocabulary::Term]
|
184
|
+
# attr_reader :menu
|
185
|
+
#
|
186
|
+
# # A presentation of menu that usually remains visible and is usually presented horizontally.
|
187
|
+
# # @return [RDF::Vocabulary::Term]
|
188
|
+
# attr_reader :menubar
|
189
|
+
#
|
190
|
+
# # An option in a group of choices contained by a menu or menubar.
|
191
|
+
# # @return [RDF::Vocabulary::Term]
|
192
|
+
# attr_reader :menuitem
|
193
|
+
#
|
194
|
+
# # A checkable menuitem that has three possible values: true, false, or mixed.
|
195
|
+
# # @return [RDF::Vocabulary::Term]
|
196
|
+
# attr_reader :menuitemcheckbox
|
197
|
+
#
|
198
|
+
# # A checkable menuitem in a group of menuitemradio roles, only one of which can be checked at a time.
|
199
|
+
# # @return [RDF::Vocabulary::Term]
|
200
|
+
# attr_reader :menuitemradio
|
201
|
+
#
|
202
|
+
# # meta refers to a resource that provides metadata.
|
203
|
+
# # @return [RDF::Vocabulary::Term]
|
204
|
+
# attr_reader :meta
|
205
|
+
#
|
206
|
+
# # navigation indicates a collection of items suitable for navigating the document or related documents.
|
207
|
+
# # @return [RDF::Vocabulary::Term]
|
208
|
+
# attr_reader :navigation
|
209
|
+
#
|
210
|
+
# # next refers to the next resource (after the current one) in an ordered collection of resources.
|
211
|
+
# # @return [RDF::Vocabulary::Term]
|
212
|
+
# attr_reader :next
|
213
|
+
#
|
214
|
+
# # note indicates the content is parenthetic or ancillary to the main content of the resource.
|
215
|
+
# # @return [RDF::Vocabulary::Term]
|
216
|
+
# attr_reader :note
|
217
|
+
#
|
218
|
+
# # A selectable item in a select list.
|
219
|
+
# # @return [RDF::Vocabulary::Term]
|
220
|
+
# attr_reader :option
|
221
|
+
#
|
222
|
+
# # p3pv1 refers to a P3P Policy Reference File [P3P].
|
223
|
+
# # @return [RDF::Vocabulary::Term]
|
224
|
+
# attr_reader :p3pv1
|
225
|
+
#
|
226
|
+
# # An element whose role is presentational and does not need to be mapped to the accessibility API.
|
227
|
+
# # @return [RDF::Vocabulary::Term]
|
228
|
+
# attr_reader :presentation
|
229
|
+
#
|
230
|
+
# # prev refers to a previous resource (before the current one) in an ordered collection of resources.
|
231
|
+
# # @return [RDF::Vocabulary::Term]
|
232
|
+
# attr_reader :prev
|
233
|
+
#
|
234
|
+
# # An element that displays the progress status for tasks that take a long time.
|
235
|
+
# # @return [RDF::Vocabulary::Term]
|
236
|
+
# attr_reader :progressbar
|
237
|
+
#
|
238
|
+
# # A checkable input in a group of radio roles, only one of which can be checked at a time.
|
239
|
+
# # @return [RDF::Vocabulary::Term]
|
240
|
+
# attr_reader :radio
|
241
|
+
#
|
242
|
+
# # A group of radio buttons.
|
243
|
+
# # @return [RDF::Vocabulary::Term]
|
244
|
+
# attr_reader :radiogroup
|
245
|
+
#
|
246
|
+
# # A large perceivable section of a web page or document, that the author feels should be included in a summary of page features.
|
247
|
+
# # @return [RDF::Vocabulary::Term]
|
248
|
+
# attr_reader :region
|
249
|
+
#
|
250
|
+
# # role indicates the purpose of the resource. See the XHTML Role Vocabulary for roles in this vocabulary space, and XHTMLROLE for information on extending the collection of roles.
|
251
|
+
# # @return [RDF::Vocabulary::Term]
|
252
|
+
# attr_reader :role
|
253
|
+
#
|
254
|
+
# # A row of cells in a grid.
|
255
|
+
# # @return [RDF::Vocabulary::Term]
|
256
|
+
# attr_reader :row
|
257
|
+
#
|
258
|
+
# # A cell containing header information for a row in a grid.
|
259
|
+
# # @return [RDF::Vocabulary::Term]
|
260
|
+
# attr_reader :rowheader
|
261
|
+
#
|
262
|
+
# # search indicates that the section provides a search facility.
|
263
|
+
# # @return [RDF::Vocabulary::Term]
|
264
|
+
# attr_reader :search
|
265
|
+
#
|
266
|
+
# # section refers to a resource serving as a section in a collection.
|
267
|
+
# # @return [RDF::Vocabulary::Term]
|
268
|
+
# attr_reader :section
|
269
|
+
#
|
270
|
+
# # A divider that separates and distinguishes sections of content or groups of menuitems.
|
271
|
+
# # @return [RDF::Vocabulary::Term]
|
272
|
+
# attr_reader :separator
|
273
|
+
#
|
274
|
+
# # A user input where the user selects a value from within a given range.
|
275
|
+
# # @return [RDF::Vocabulary::Term]
|
276
|
+
# attr_reader :slider
|
277
|
+
#
|
278
|
+
# # A form of range that expects a user to select from amongst discrete choices.
|
279
|
+
# # @return [RDF::Vocabulary::Term]
|
280
|
+
# attr_reader :spinbutton
|
281
|
+
#
|
282
|
+
# # start refers to the first resource in a collection of resources.
|
283
|
+
# # @return [RDF::Vocabulary::Term]
|
284
|
+
# attr_reader :start
|
285
|
+
#
|
286
|
+
# # A container whose content is advisory information for the user but is not important enough to justify an alert. Also see alert.
|
287
|
+
# # @return [RDF::Vocabulary::Term]
|
288
|
+
# attr_reader :status
|
289
|
+
#
|
290
|
+
# # stylesheet refers to a resource serving as a stylesheet for a resource.
|
291
|
+
# # @return [RDF::Vocabulary::Term]
|
292
|
+
# attr_reader :stylesheet
|
293
|
+
#
|
294
|
+
# # subsection refers to a resource serving as a subsection in a collection.
|
295
|
+
# # @return [RDF::Vocabulary::Term]
|
296
|
+
# attr_reader :subsection
|
297
|
+
#
|
298
|
+
# # A header for a tabpanel.
|
299
|
+
# # @return [RDF::Vocabulary::Term]
|
300
|
+
# attr_reader :tab
|
301
|
+
#
|
302
|
+
# # A list of tab elements, which are references to tabpanel elements.
|
303
|
+
# # @return [RDF::Vocabulary::Term]
|
304
|
+
# attr_reader :tablist
|
305
|
+
#
|
306
|
+
# # A container for the resources associated with a tab.
|
307
|
+
# # @return [RDF::Vocabulary::Term]
|
308
|
+
# attr_reader :tabpanel
|
309
|
+
#
|
310
|
+
# # Input that allows free-form text as their value.
|
311
|
+
# # @return [RDF::Vocabulary::Term]
|
312
|
+
# attr_reader :textbox
|
313
|
+
#
|
314
|
+
# # A numerical counter which indicates an amount of elapsed time from a start point, or the time remaining until an end point.
|
315
|
+
# # @return [RDF::Vocabulary::Term]
|
316
|
+
# attr_reader :timer
|
317
|
+
#
|
318
|
+
# # A collection of commonly used function buttons represented in compact visual form.
|
319
|
+
# # @return [RDF::Vocabulary::Term]
|
320
|
+
# attr_reader :toolbar
|
321
|
+
#
|
322
|
+
# # A contextual popup that displays a description for an element in a mouse hover or keyboard focused state. Supplement to the normal tooltip processing of the user agent.
|
323
|
+
# # @return [RDF::Vocabulary::Term]
|
324
|
+
# attr_reader :tooltip
|
325
|
+
#
|
326
|
+
# # top is a synonym for start.
|
327
|
+
# # @return [RDF::Vocabulary::Term]
|
328
|
+
# attr_reader :top
|
329
|
+
#
|
330
|
+
# # A type of list that may contain sub-level nested groups that can be collapsed and expanded.
|
331
|
+
# # @return [RDF::Vocabulary::Term]
|
332
|
+
# attr_reader :tree
|
333
|
+
#
|
334
|
+
# # A grid whose rows can be expanded and collapsed in the same manner as for a tree.
|
335
|
+
# # @return [RDF::Vocabulary::Term]
|
336
|
+
# attr_reader :treegrid
|
337
|
+
#
|
338
|
+
# # An option item of a tree. This is an element within a tree that may be expanded or collapsed if it contains a sub-level group of treeitems.
|
339
|
+
# # @return [RDF::Vocabulary::Term]
|
340
|
+
# attr_reader :treeitem
|
341
|
+
#
|
342
|
+
# # up refers to a resource "above" in a hierarchically structured set.
|
343
|
+
# # @return [RDF::Vocabulary::Term]
|
344
|
+
# attr_reader :up
|
345
|
+
#
|
9
346
|
# end
|
10
|
-
|
347
|
+
XHV = Class.new(RDF::Vocabulary("http://www.w3.org/1999/xhtml/vocab#")) do
|
11
348
|
|
12
349
|
# Ontology definition
|
13
350
|
ontology :"http://www.w3.org/1999/xhtml/vocab#",
|