rdf-vocab 2.2.9 → 3.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/VERSION +1 -1
- data/lib/rdf/vocab.rb +21 -2
- data/lib/rdf/vocab/acl.rb +21 -5
- data/lib/rdf/vocab/bf2.rb +812 -812
- data/lib/rdf/vocab/bibframe.rb +78 -78
- data/lib/rdf/vocab/bibo.rb +239 -247
- data/lib/rdf/vocab/cc.rb +4 -9
- data/lib/rdf/vocab/cert.rb +44 -45
- data/lib/rdf/vocab/cnt.rb +5 -5
- data/lib/rdf/vocab/crm.rb +344 -344
- data/lib/rdf/vocab/datacite.rb +152 -58
- data/lib/rdf/vocab/dc.rb +439 -439
- data/lib/rdf/vocab/dc11.rb +93 -93
- data/lib/rdf/vocab/dcat.rb +152 -101
- data/lib/rdf/vocab/dcmitype.rb +75 -75
- data/lib/rdf/vocab/disco.rb +169 -101
- data/lib/rdf/vocab/doap.rb +179 -159
- data/lib/rdf/vocab/dwc.rb +1648 -1648
- data/lib/rdf/vocab/ebucore.rb +373 -124
- data/lib/rdf/vocab/edm.rb +216 -139
- data/lib/rdf/vocab/exif.rb +208 -208
- data/lib/rdf/vocab/fcrepo4.rb +57 -134
- data/lib/rdf/vocab/foaf.rb +166 -166
- data/lib/rdf/vocab/geo.rb +3 -5
- data/lib/rdf/vocab/geojson.rb +16 -16
- data/lib/rdf/vocab/geonames.rb +2827 -3455
- data/lib/rdf/vocab/gr.rb +699 -254
- data/lib/rdf/vocab/gs1.rb +1765 -1761
- data/lib/rdf/vocab/ht.rb +23 -23
- data/lib/rdf/vocab/hydra.rb +104 -104
- data/lib/rdf/vocab/ical.rb +674 -127
- data/lib/rdf/vocab/identifiers.rb +120 -212
- data/lib/rdf/vocab/iiif.rb +25 -37
- data/lib/rdf/vocab/jsonld.rb +11 -11
- data/lib/rdf/vocab/ldp.rb +79 -69
- data/lib/rdf/vocab/lrmi.rb +63 -63
- data/lib/rdf/vocab/ma.rb +47 -132
- data/lib/rdf/vocab/mads.rb +83 -28
- data/lib/rdf/vocab/marc_relators.rb +12 -2201
- data/lib/rdf/vocab/mo.rb +920 -836
- data/lib/rdf/vocab/mods.rb +6 -13
- data/lib/rdf/vocab/oa.rb +82 -72
- data/lib/rdf/vocab/og.rb +50 -50
- data/lib/rdf/vocab/ogc.rb +9 -8
- data/lib/rdf/vocab/ore.rb +22 -19
- data/lib/rdf/vocab/org.rb +217 -167
- data/lib/rdf/vocab/pplan.rb +45 -45
- data/lib/rdf/vocab/premis.rb +855 -582
- data/lib/rdf/vocab/premis_event_type.rb +148 -70
- data/lib/rdf/vocab/prov.rb +842 -806
- data/lib/rdf/vocab/rightsstatements.rb +140 -157
- data/lib/rdf/vocab/rsa.rb +16 -13
- data/lib/rdf/vocab/rss.rb +10 -10
- data/lib/rdf/vocab/schema.rb +1448 -1448
- data/lib/rdf/vocab/sioc.rb +158 -159
- data/lib/rdf/vocab/sioc_services.rb +14 -14
- data/lib/rdf/vocab/sioct.rb +70 -70
- data/lib/rdf/vocab/skos.rb +97 -93
- data/lib/rdf/vocab/skosxl.rb +29 -24
- data/lib/rdf/vocab/v.rb +88 -90
- data/lib/rdf/vocab/vcard.rb +340 -196
- data/lib/rdf/vocab/vmd.rb +88 -90
- data/lib/rdf/vocab/vs.rb +15 -15
- data/lib/rdf/vocab/wdrs.rb +30 -30
- data/lib/rdf/vocab/wot.rb +47 -47
- data/lib/rdf/vocab/xhtml.rb +3 -3
- data/lib/rdf/vocab/xhv.rb +37 -123
- data/lib/rdf/vocab/xkos.rb +110 -107
- data/spec/vocab_spec.rb +6 -6
- metadata +19 -31
data/lib/rdf/vocab/vs.rb
CHANGED
@@ -10,36 +10,36 @@ module RDF::Vocab
|
|
10
10
|
class VS < RDF::StrictVocabulary("http://www.w3.org/2003/06/sw-vocab-status/ns#")
|
11
11
|
|
12
12
|
# Ontology definition
|
13
|
-
ontology :"http://www.w3.org/2003/06/sw-vocab-status/ns",
|
13
|
+
ontology :"http://www.w3.org/2003/06/sw-vocab-status/ns#",
|
14
14
|
comment: %(This vocabulary was created in the FOAF project, based on experience with FOAF, Dublin Core and other early RDF vocabularies. Deployment experience shows that changing namespace URIs is expensive and unrewarding, so this vocabulary provides terms to support in-place evolution of structured data vocabularies. By indicating status at the level of terms rather than vocabularies, dictionary-style, fine grained improvements become easier. Different organizations and parties can agree or disagree on the status of a vocabulary term; however the status published alongside the term may deserve special attention. Future work could include patterns for citing announcements and decisions, or using SKOS to decentralise the extension of the basic status levels.).freeze,
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
15
|
+
"dc11:contributor": "Pierre-Yves Vandenbussche".freeze,
|
16
|
+
"dc11:creator": ["Dan Brickley".freeze, "Leigh Dodds".freeze, "Libby Miller".freeze],
|
17
|
+
"dc11:description": "An RDF vocabulary for relating SW vocabulary terms to their status.".freeze,
|
18
|
+
"dc11:issued": "2003-06-01".freeze,
|
19
|
+
"dc11:modified": "2011-12-12".freeze,
|
20
|
+
"dc11:title": "SemWeb Vocab Status ontology".freeze,
|
21
|
+
"http://purl.org/vocab/vann/preferredNamespacePrefix": "vs".freeze,
|
22
|
+
"http://purl.org/vocab/vann/preferredNamespaceUri": "http://www.w3.org/2003/06/sw-vocab-status/ns#".freeze,
|
23
23
|
type: "owl:Ontology".freeze
|
24
24
|
|
25
25
|
# Property definitions
|
26
26
|
property :moreinfo,
|
27
27
|
comment: %(more information about the status etc of a term, typically human oriented).freeze,
|
28
|
+
isDefinedBy: "vs:".freeze,
|
28
29
|
label: "more info".freeze,
|
29
|
-
:"rdfs:isDefinedBy" => %(vs:).freeze,
|
30
30
|
type: "rdf:Property".freeze,
|
31
|
-
|
31
|
+
"vs:term_status": "unstable".freeze
|
32
32
|
property :term_status,
|
33
33
|
comment: %(the status of a vocabulary term, expressed as a short symbolic string; known values include 'unstable','testing', 'stable' and 'archaic').freeze,
|
34
|
+
isDefinedBy: "vs:".freeze,
|
34
35
|
label: "term status".freeze,
|
35
|
-
:"rdfs:isDefinedBy" => %(vs:).freeze,
|
36
36
|
type: "rdf:Property".freeze,
|
37
|
-
|
37
|
+
"vs:term_status": "unstable".freeze
|
38
38
|
property :userdocs,
|
39
39
|
comment: %(human-oriented documentation, examples etc for use of this term).freeze,
|
40
|
+
isDefinedBy: "vs:".freeze,
|
40
41
|
label: "user docs".freeze,
|
41
|
-
:"rdfs:isDefinedBy" => %(vs:).freeze,
|
42
42
|
type: "rdf:Property".freeze,
|
43
|
-
|
43
|
+
"vs:term_status": "unstable".freeze
|
44
44
|
end
|
45
45
|
end
|
data/lib/rdf/vocab/wdrs.rb
CHANGED
@@ -10,141 +10,141 @@ module RDF::Vocab
|
|
10
10
|
class WDRS < RDF::StrictVocabulary("http://www.w3.org/2007/05/powder-s#")
|
11
11
|
|
12
12
|
# Ontology definition
|
13
|
-
ontology :"http://www.w3.org/2007/05/powder-s",
|
13
|
+
ontology :"http://www.w3.org/2007/05/powder-s#",
|
14
14
|
comment: %(This file specifies the set of classes and properties used in the RDF/OWL version of POWDER documents.).freeze,
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
15
|
+
"dc:issued": "2009-09-01".freeze,
|
16
|
+
"dc:modified": ["2010-11-08".freeze, "2017-06-02".freeze],
|
17
|
+
"http://purl.org/vocab/vann/preferredNamespacePrefix": "wdrs".freeze,
|
18
|
+
"http://purl.org/vocab/vann/preferredNamespaceUri": "http://www.w3.org/2007/05/powder-s#".freeze,
|
19
19
|
label: "POWDER-S Vocabulary".freeze,
|
20
|
-
|
21
|
-
|
20
|
+
"owl:priorVersion": "http://www.w3.org/2007/05/powder-s".freeze,
|
21
|
+
"owl:versionInfo": "2 June 2017".freeze,
|
22
22
|
type: ["http://purl.org/vocommons/voaf#Vocabulary".freeze, "owl:Ontology".freeze]
|
23
23
|
|
24
24
|
# Class definitions
|
25
25
|
term :Document,
|
26
26
|
comment: %(A POWDER document.).freeze,
|
27
|
+
isDefinedBy: "http://www.w3.org/TR/powder-dr/#structure".freeze,
|
27
28
|
label: "POWDER document".freeze,
|
28
|
-
:"rdfs:isDefinedBy" => %(http://www.w3.org/TR/powder-dr/#structure).freeze,
|
29
29
|
subClassOf: "owl:Ontology".freeze,
|
30
30
|
type: "rdfs:Class".freeze
|
31
31
|
term :Processor,
|
32
32
|
comment: %(A software agent able to process POWDER documents.).freeze,
|
33
|
+
isDefinedBy: "http://www.w3.org/TR/powder-dr/#powderprocessor".freeze,
|
33
34
|
label: "POWDER processor".freeze,
|
34
|
-
:"rdfs:isDefinedBy" => %(http://www.w3.org/TR/powder-dr/#powderprocessor).freeze,
|
35
35
|
subClassOf: "dc:Agent".freeze,
|
36
36
|
type: "rdfs:Class".freeze
|
37
37
|
|
38
38
|
# Property definitions
|
39
39
|
property :authenticate,
|
40
40
|
comment: %(A pointer to a document that describes how Description Resources created by a FOAF Agent or a DC Terms Agent may be authenticated).freeze,
|
41
|
+
isDefinedBy: "http://www.w3.org/TR/powder-dr/#discover".freeze,
|
41
42
|
label: "authenticate".freeze,
|
42
|
-
:"rdfs:isDefinedBy" => %(http://www.w3.org/TR/powder-dr/#discover).freeze,
|
43
43
|
type: "rdf:Property".freeze
|
44
44
|
property :certified,
|
45
45
|
comment: %(A property that takes a Boolean value to declare whether the author of the data certifies the described resource.).freeze,
|
46
|
+
isDefinedBy: "http://www.w3.org/TR/powder-dr/#certification".freeze,
|
46
47
|
label: "certified".freeze,
|
47
48
|
range: "xsd:boolean".freeze,
|
48
|
-
:"rdfs:isDefinedBy" => %(http://www.w3.org/TR/powder-dr/#certification).freeze,
|
49
49
|
type: "rdf:Property".freeze
|
50
50
|
property :certifiedby,
|
51
51
|
comment: %(A property that links a resource to a POWDER document that certifies it.).freeze,
|
52
|
+
isDefinedBy: "http://www.w3.org/TR/powder-dr/#certification".freeze,
|
52
53
|
label: "certified by".freeze,
|
53
|
-
:"rdfs:isDefinedBy" => %(http://www.w3.org/TR/powder-dr/#certification).freeze,
|
54
54
|
type: ["owl:AnnotationProperty".freeze, "rdf:Property".freeze]
|
55
55
|
property :data_error,
|
56
56
|
comment: %(A property denoting a description of the specific error found in a given POWDER document.).freeze,
|
57
57
|
domain: "wdrs:Document".freeze,
|
58
|
+
isDefinedBy: "http://www.w3.org/TR/powder-dr/#ppErrorhandling".freeze,
|
58
59
|
label: "data error".freeze,
|
59
|
-
:"rdfs:isDefinedBy" => %(http://www.w3.org/TR/powder-dr/#ppErrorhandling).freeze,
|
60
60
|
type: "rdf:Property".freeze
|
61
61
|
property :describedby,
|
62
62
|
comment: %(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.).freeze,
|
63
|
+
isDefinedBy: "http://www.w3.org/TR/powder-dr/#semlink".freeze,
|
63
64
|
label: "described by".freeze,
|
64
|
-
:"rdfs:isDefinedBy" => %(http://www.w3.org/TR/powder-dr/#semlink).freeze,
|
65
65
|
type: "rdf:Property".freeze
|
66
66
|
property :error_code,
|
67
67
|
comment: %(A property denoting the code of any error encountered by the POWDER processor.).freeze,
|
68
|
+
isDefinedBy: "http://www.w3.org/TR/powder-dr/#ppErrorhandling".freeze,
|
68
69
|
label: "error code".freeze,
|
69
70
|
range: "xsd:nonNegativeInteger".freeze,
|
70
|
-
:"rdfs:isDefinedBy" => %(http://www.w3.org/TR/powder-dr/#ppErrorhandling).freeze,
|
71
71
|
type: "rdf:Property".freeze
|
72
72
|
property :hasIRI,
|
73
73
|
comment: %(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.).freeze,
|
74
74
|
domain: "rdfs:Resource".freeze,
|
75
|
+
isDefinedBy: "http://www.w3.org/TR/powder-formal/#oxRegexSemantics".freeze,
|
75
76
|
label: "has IRI".freeze,
|
76
77
|
range: "xsd:anyURI".freeze,
|
77
|
-
:"rdfs:isDefinedBy" => %(http://www.w3.org/TR/powder-formal/#oxRegexSemantics).freeze,
|
78
78
|
type: ["owl:DatatypeProperty".freeze, "rdf:Property".freeze]
|
79
79
|
property :issuedby,
|
80
80
|
comment: %(This property denotes the author of a POWDER document.).freeze,
|
81
|
+
isDefinedBy: "http://www.w3.org/TR/powder-dr/#line3".freeze,
|
81
82
|
label: "issued by".freeze,
|
82
|
-
:"rdfs:isDefinedBy" => %(http://www.w3.org/TR/powder-dr/#line3).freeze,
|
83
83
|
type: ["owl:AnnotationProperty".freeze, "rdf:Property".freeze]
|
84
84
|
property :logo,
|
85
85
|
comment: %(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.).freeze,
|
86
|
+
isDefinedBy: "http://www.w3.org/TR/powder-dr/#line13".freeze,
|
86
87
|
label: "logo".freeze,
|
87
|
-
:"rdfs:isDefinedBy" => %(http://www.w3.org/TR/powder-dr/#line13).freeze,
|
88
88
|
type: ["owl:AnnotationProperty".freeze, "rdf:Property".freeze]
|
89
89
|
property :matchesregex,
|
90
90
|
comment: %(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.).freeze,
|
91
91
|
domain: "rdfs:Resource".freeze,
|
92
|
+
isDefinedBy: "http://www.w3.org/TR/powder-formal/#regexSemantics".freeze,
|
92
93
|
label: "matches regular expression".freeze,
|
93
94
|
range: "xsd:string".freeze,
|
94
|
-
|
95
|
-
:"rdfs:seeAlso" => %(http://www.w3.org/TR/xpath-functions/#regex-syntax).freeze,
|
95
|
+
"rdfs:seeAlso": "http://www.w3.org/TR/xpath-functions/#regex-syntax".freeze,
|
96
96
|
type: ["owl:DatatypeProperty".freeze, "rdf:Property".freeze]
|
97
97
|
property :notknownto,
|
98
98
|
comment: %(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.).freeze,
|
99
|
+
isDefinedBy: "http://www.w3.org/TR/powder-dr/#powderprocessor".freeze,
|
99
100
|
label: "not known to".freeze,
|
100
101
|
range: "wdrs:Processor".freeze,
|
101
|
-
:"rdfs:isDefinedBy" => %(http://www.w3.org/TR/powder-dr/#powderprocessor).freeze,
|
102
102
|
type: "rdf:Property".freeze
|
103
103
|
property :notmatchesregex,
|
104
104
|
comment: %(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.).freeze,
|
105
105
|
domain: "rdfs:Resource".freeze,
|
106
|
+
isDefinedBy: "http://www.w3.org/TR/powder-formal/#regexSemantics".freeze,
|
106
107
|
label: "matches regular expression".freeze,
|
107
108
|
range: "xsd:string".freeze,
|
108
|
-
|
109
|
-
:"rdfs:seeAlso" => %(http://www.w3.org/TR/xpath-functions/#regex-syntax).freeze,
|
109
|
+
"rdfs:seeAlso": "http://www.w3.org/TR/xpath-functions/#regex-syntax".freeze,
|
110
110
|
type: ["owl:DatatypeProperty".freeze, "rdf:Property".freeze]
|
111
111
|
property :proc_error,
|
112
112
|
comment: %(A property denoting a description of the specific software error.).freeze,
|
113
113
|
domain: "wdrs:Processor".freeze,
|
114
|
+
isDefinedBy: "http://www.w3.org/TR/powder-dr/#ppErrorhandling".freeze,
|
114
115
|
label: "processing error".freeze,
|
115
|
-
:"rdfs:isDefinedBy" => %(http://www.w3.org/TR/powder-dr/#ppErrorhandling).freeze,
|
116
116
|
type: "rdf:Property".freeze
|
117
117
|
property :sha1sum,
|
118
118
|
comment: %(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.).freeze,
|
119
|
+
isDefinedBy: "http://www.w3.org/TR/powder-dr/#certification".freeze,
|
119
120
|
label: "SHA-1 sum".freeze,
|
120
121
|
range: "xsd:base64Binary".freeze,
|
121
|
-
:"rdfs:isDefinedBy" => %(http://www.w3.org/TR/powder-dr/#certification).freeze,
|
122
122
|
type: "rdf:Property".freeze
|
123
123
|
property :supportedby,
|
124
124
|
comment: %(A property that links a POWDER document to some other data source that supports the descriptions provided.).freeze,
|
125
|
+
isDefinedBy: "http://www.w3.org/TR/powder-dr/#supportedBy".freeze,
|
125
126
|
label: "supported by".freeze,
|
126
|
-
:"rdfs:isDefinedBy" => %(http://www.w3.org/TR/powder-dr/#supportedBy).freeze,
|
127
127
|
type: ["owl:AnnotationProperty".freeze, "rdf:Property".freeze]
|
128
128
|
property :tag,
|
129
129
|
comment: %(Property linking to a free-text tag which may include spaces.).freeze,
|
130
|
+
isDefinedBy: "http://www.w3.org/TR/powder-dr/#tags".freeze,
|
130
131
|
label: "tag".freeze,
|
131
132
|
range: "xsd:token".freeze,
|
132
|
-
:"rdfs:isDefinedBy" => %(http://www.w3.org/TR/powder-dr/#tags).freeze,
|
133
133
|
type: ["owl:DatatypeProperty".freeze, "rdf:Property".freeze]
|
134
134
|
property :text,
|
135
135
|
comment: %(This property provides a summary of the descriptorset that it annotates, suitable for display to end users.).freeze,
|
136
|
+
isDefinedBy: "http://www.w3.org/TR/powder-dr/#line13".freeze,
|
136
137
|
label: "text that may be displayed".freeze,
|
137
|
-
:"rdfs:isDefinedBy" => %(http://www.w3.org/TR/powder-dr/#line13).freeze,
|
138
138
|
type: ["owl:AnnotationProperty".freeze, "rdf:Property".freeze]
|
139
139
|
property :validfrom,
|
140
140
|
comment: %(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.).freeze,
|
141
|
+
isDefinedBy: "http://www.w3.org/TR/powder-dr/#certification".freeze,
|
141
142
|
label: "valid from".freeze,
|
142
|
-
:"rdfs:isDefinedBy" => %(http://www.w3.org/TR/powder-dr/#certification).freeze,
|
143
143
|
type: ["owl:AnnotationProperty".freeze, "rdf:Property".freeze]
|
144
144
|
property :validuntil,
|
145
145
|
comment: %(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.).freeze,
|
146
|
+
isDefinedBy: "http://www.w3.org/TR/powder-dr/#certification".freeze,
|
146
147
|
label: "valid until".freeze,
|
147
|
-
:"rdfs:isDefinedBy" => %(http://www.w3.org/TR/powder-dr/#certification).freeze,
|
148
148
|
type: ["owl:AnnotationProperty".freeze, "rdf:Property".freeze]
|
149
149
|
end
|
150
150
|
end
|
data/lib/rdf/vocab/wot.rb
CHANGED
@@ -11,160 +11,160 @@ module RDF::Vocab
|
|
11
11
|
|
12
12
|
# Ontology definition
|
13
13
|
ontology :"http://xmlns.com/wot/0.1/",
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
14
|
+
"dc11:date": "2004-02-23".freeze,
|
15
|
+
"dc11:description": "Web Of Trust (wot) RDF vocabulary, described using W3C RDF Schema and the Web Ontology Language.".freeze,
|
16
|
+
"dc11:title": "Web Of Trust vocabulary".freeze,
|
17
|
+
"owl:imports": ["http://www.w3.org/2000/01/rdf-schema".freeze, "http://www.w3.org/2002/07/owl".freeze],
|
18
|
+
"rdfs:seeAlso": "foaf:".freeze,
|
19
19
|
type: "owl:Ontology".freeze
|
20
20
|
|
21
21
|
# Class definitions
|
22
22
|
term :EncryptedDocument,
|
23
23
|
comment: %(An encrypted document intended for a set of recipients.).freeze,
|
24
|
+
isDefinedBy: "wot:".freeze,
|
24
25
|
label: "Encrypted Document".freeze,
|
25
|
-
|
26
|
-
:"rdfs:isDefinedBy" => %(wot:).freeze,
|
26
|
+
"owl:disjointWith": ["wot:Endorsement".freeze, "wot:PubKey".freeze, "wot:SigEvent".freeze, "wot:User".freeze],
|
27
27
|
subClassOf: ["foaf:Document".freeze, "http://xmlns.com/wordnet/1.6/Endorsement-4".freeze],
|
28
28
|
type: "owl:Class".freeze,
|
29
|
-
|
29
|
+
"vs:term_status": "unstable".freeze
|
30
30
|
term :Endorsement,
|
31
31
|
comment: %(An endorsement resource containing a detached ascii signature.).freeze,
|
32
|
+
isDefinedBy: "wot:".freeze,
|
32
33
|
label: "Endorsement".freeze,
|
33
|
-
|
34
|
-
:"rdfs:isDefinedBy" => %(wot:).freeze,
|
34
|
+
"owl:disjointWith": ["wot:EncryptedDocument".freeze, "wot:PubKey".freeze, "wot:SigEvent".freeze, "wot:User".freeze],
|
35
35
|
subClassOf: ["foaf:Document".freeze, "http://xmlns.com/wordnet/1.6/Endorsement-4".freeze],
|
36
36
|
type: "owl:Class".freeze,
|
37
|
-
|
37
|
+
"vs:term_status": "unstable".freeze
|
38
38
|
term :PubKey,
|
39
39
|
comment: %(A class used to represent a PGP/GPG public key for a user \(an agent, person, group or organization\).).freeze,
|
40
|
+
isDefinedBy: "wot:".freeze,
|
40
41
|
label: "Public Key".freeze,
|
41
|
-
|
42
|
-
:"rdfs:isDefinedBy" => %(wot:).freeze,
|
42
|
+
"owl:disjointWith": ["wot:EncryptedDocument".freeze, "wot:Endorsement".freeze, "wot:SigEvent".freeze, "wot:User".freeze],
|
43
43
|
subClassOf: "http://xmlns.com/wordnet/1.6/Credential".freeze,
|
44
44
|
type: "owl:Class".freeze,
|
45
|
-
|
45
|
+
"vs:term_status": "stable".freeze
|
46
46
|
term :SigEvent,
|
47
47
|
comment: %(An event describing the action of a public key being signed by some other public key.).freeze,
|
48
|
+
isDefinedBy: "wot:".freeze,
|
48
49
|
label: "Key Signing Event".freeze,
|
49
|
-
|
50
|
-
:"rdfs:isDefinedBy" => %(wot:).freeze,
|
50
|
+
"owl:disjointWith": ["wot:EncryptedDocument".freeze, "wot:Endorsement".freeze, "wot:PubKey".freeze, "wot:User".freeze],
|
51
51
|
subClassOf: ["http://www.w3.org/2002/12/cal/ical#Vevent".freeze, "http://xmlns.com/wordnet/1.6/Event".freeze],
|
52
52
|
type: "owl:Class".freeze,
|
53
|
-
|
53
|
+
"vs:term_status": "testing".freeze
|
54
54
|
term :User,
|
55
55
|
comment: %(A user \(agent, person, group or organization\) of a PGP/GPG public key.).freeze,
|
56
|
+
isDefinedBy: "wot:".freeze,
|
56
57
|
label: "Key User".freeze,
|
57
|
-
|
58
|
-
:"rdfs:isDefinedBy" => %(wot:).freeze,
|
58
|
+
"owl:disjointWith": ["wot:EncryptedDocument".freeze, "wot:Endorsement".freeze, "wot:PubKey".freeze, "wot:SigEvent".freeze],
|
59
59
|
subClassOf: "foaf:Agent".freeze,
|
60
60
|
type: "owl:Class".freeze,
|
61
|
-
|
61
|
+
"vs:term_status": "stable".freeze
|
62
62
|
|
63
63
|
# Property definitions
|
64
64
|
property :assurance,
|
65
65
|
comment: %(A property linking a document to an endorsement resource containing a detached ascii signature.).freeze,
|
66
66
|
domain: "foaf:Document".freeze,
|
67
|
+
isDefinedBy: "wot:".freeze,
|
67
68
|
label: "Assurance".freeze,
|
68
69
|
range: "wot:Endorsement".freeze,
|
69
|
-
:"rdfs:isDefinedBy" => %(wot:).freeze,
|
70
70
|
type: "owl:ObjectProperty".freeze,
|
71
|
-
|
71
|
+
"vs:term_status": "stable".freeze
|
72
72
|
property :encryptedTo,
|
73
73
|
comment: %(A property linking an encrypted document to a recipient.).freeze,
|
74
74
|
domain: "wot:EncryptedDocument".freeze,
|
75
|
+
isDefinedBy: "wot:".freeze,
|
75
76
|
label: "Encrypted to".freeze,
|
76
77
|
range: "wot:PubKey".freeze,
|
77
|
-
:"rdfs:isDefinedBy" => %(wot:).freeze,
|
78
78
|
type: "owl:ObjectProperty".freeze,
|
79
|
-
|
79
|
+
"vs:term_status": "unstable".freeze
|
80
80
|
property :encrypter,
|
81
81
|
comment: %(A property linking an encrypted document to the public key that was used to encrypt it.).freeze,
|
82
82
|
domain: "wot:EncryptedDocument".freeze,
|
83
|
+
isDefinedBy: "wot:".freeze,
|
83
84
|
label: "Encrypted by".freeze,
|
84
85
|
range: "wot:PubKey".freeze,
|
85
|
-
:"rdfs:isDefinedBy" => %(wot:).freeze,
|
86
86
|
type: ["owl:FunctionalProperty".freeze, "owl:ObjectProperty".freeze],
|
87
|
-
|
87
|
+
"vs:term_status": "unstable".freeze
|
88
88
|
property :fingerprint,
|
89
89
|
comment: %(A public key hex fingerprint string \(40 digits, white space insignificant\).).freeze,
|
90
90
|
domain: "wot:PubKey".freeze,
|
91
|
+
isDefinedBy: "wot:".freeze,
|
91
92
|
label: "Fingerprint".freeze,
|
92
93
|
range: "xsd:string".freeze,
|
93
|
-
:"rdfs:isDefinedBy" => %(wot:).freeze,
|
94
94
|
type: ["owl:DatatypeProperty".freeze, "owl:InverseFunctionalProperty".freeze],
|
95
|
-
|
95
|
+
"vs:term_status": "testing".freeze
|
96
96
|
property :hasKey,
|
97
97
|
comment: %(A property to link a PubKey from a User).freeze,
|
98
98
|
domain: "wot:User".freeze,
|
99
|
+
inverseOf: "wot:identity".freeze,
|
100
|
+
isDefinedBy: "wot:".freeze,
|
99
101
|
label: "has Key".freeze,
|
100
|
-
:"owl:inverseOf" => %(wot:identity).freeze,
|
101
102
|
range: "wot:PubKey".freeze,
|
102
|
-
:"rdfs:isDefinedBy" => %(wot:).freeze,
|
103
103
|
type: "owl:ObjectProperty".freeze,
|
104
|
-
|
104
|
+
"vs:term_status": "testing".freeze
|
105
105
|
property :hex_id,
|
106
106
|
comment: %(A public key hex identifier string \(8 digits\).).freeze,
|
107
107
|
domain: "wot:PubKey".freeze,
|
108
|
+
isDefinedBy: "wot:".freeze,
|
108
109
|
label: "Hex identifier".freeze,
|
109
110
|
range: "xsd:string".freeze,
|
110
|
-
:"rdfs:isDefinedBy" => %(wot:).freeze,
|
111
111
|
type: "owl:DatatypeProperty".freeze,
|
112
|
-
|
112
|
+
"vs:term_status": "stable".freeze
|
113
113
|
property :identity,
|
114
114
|
comment: %(A property linking a public key to the user of the key.).freeze,
|
115
115
|
domain: "wot:PubKey".freeze,
|
116
|
+
isDefinedBy: "wot:".freeze,
|
116
117
|
label: "Identity".freeze,
|
117
118
|
range: "wot:User".freeze,
|
118
|
-
:"rdfs:isDefinedBy" => %(wot:).freeze,
|
119
119
|
type: ["owl:FunctionalProperty".freeze, "owl:ObjectProperty".freeze],
|
120
|
-
|
120
|
+
"vs:term_status": "testing".freeze
|
121
121
|
property :length,
|
122
122
|
comment: %(A numeric string representing the length, in bytes, of a public key.).freeze,
|
123
123
|
domain: "wot:PubKey".freeze,
|
124
|
+
isDefinedBy: "wot:".freeze,
|
124
125
|
label: "Length".freeze,
|
125
126
|
range: "xsd:integer".freeze,
|
126
|
-
:"rdfs:isDefinedBy" => %(wot:).freeze,
|
127
127
|
type: "owl:DatatypeProperty".freeze,
|
128
|
-
|
128
|
+
"vs:term_status": "stable".freeze
|
129
129
|
property :pubkeyAddress,
|
130
130
|
comment: %(The location of an ascii version of a public key.).freeze,
|
131
131
|
domain: "wot:PubKey".freeze,
|
132
|
+
isDefinedBy: "wot:".freeze,
|
132
133
|
label: "Address".freeze,
|
133
134
|
range: "foaf:Document".freeze,
|
134
|
-
:"rdfs:isDefinedBy" => %(wot:).freeze,
|
135
135
|
type: "owl:ObjectProperty".freeze,
|
136
|
-
|
136
|
+
"vs:term_status": "testing".freeze
|
137
137
|
property :sigdate,
|
138
138
|
comment: %(The date of a public key signature event.).freeze,
|
139
139
|
domain: "wot:SigEvent".freeze,
|
140
|
+
isDefinedBy: "wot:".freeze,
|
140
141
|
label: "Signature date".freeze,
|
141
142
|
range: "xsd:date".freeze,
|
142
|
-
:"rdfs:isDefinedBy" => %(wot:).freeze,
|
143
143
|
type: "owl:DatatypeProperty".freeze,
|
144
|
-
|
144
|
+
"vs:term_status": "testing".freeze
|
145
145
|
property :signed,
|
146
146
|
comment: %(A property linking a public key to a public key signature event.).freeze,
|
147
147
|
domain: "wot:PubKey".freeze,
|
148
|
+
isDefinedBy: "wot:".freeze,
|
148
149
|
label: "Signed".freeze,
|
149
150
|
range: "wot:SigEvent".freeze,
|
150
|
-
:"rdfs:isDefinedBy" => %(wot:).freeze,
|
151
151
|
type: "owl:ObjectProperty".freeze,
|
152
|
-
|
152
|
+
"vs:term_status": "testing".freeze
|
153
153
|
property :signer,
|
154
154
|
comment: %(A property linking a public key signature event to the public key that was used to sign.).freeze,
|
155
155
|
domain: "wot:SigEvent".freeze,
|
156
|
+
isDefinedBy: "wot:".freeze,
|
156
157
|
label: "Signer".freeze,
|
157
158
|
range: "wot:PubKey".freeze,
|
158
|
-
:"rdfs:isDefinedBy" => %(wot:).freeze,
|
159
159
|
type: ["owl:FunctionalProperty".freeze, "owl:ObjectProperty".freeze],
|
160
|
-
|
160
|
+
"vs:term_status": "unstable".freeze
|
161
161
|
property :sigtime,
|
162
162
|
comment: %(The time \(of day\) of a public key signature event.).freeze,
|
163
163
|
domain: "wot:SigEvent".freeze,
|
164
|
+
isDefinedBy: "wot:".freeze,
|
164
165
|
label: "Signature time".freeze,
|
165
166
|
range: "xsd:time".freeze,
|
166
|
-
:"rdfs:isDefinedBy" => %(wot:).freeze,
|
167
167
|
type: "owl:DatatypeProperty".freeze,
|
168
|
-
|
168
|
+
"vs:term_status": "unstable".freeze
|
169
169
|
end
|
170
170
|
end
|
data/lib/rdf/vocab/xhtml.rb
CHANGED
@@ -10,8 +10,8 @@ module RDF::Vocab
|
|
10
10
|
class XHTML < RDF::Vocabulary("http://www.w3.org/1999/xhtml#")
|
11
11
|
|
12
12
|
# Ontology definition
|
13
|
-
ontology :"http://www.w3.org/1999/xhtml",
|
14
|
-
|
15
|
-
|
13
|
+
ontology :"http://www.w3.org/1999/xhtml#",
|
14
|
+
"http://www.w3.org/2003/g/data-view#namespaceTransformation": "http://www.w3.org/2008/07/rdfa-xslt".freeze,
|
15
|
+
"xhv:stylesheet": "http://www.w3.org/StyleSheets/TR/base".freeze
|
16
16
|
end
|
17
17
|
end
|
data/lib/rdf/vocab/xhv.rb
CHANGED
@@ -10,504 +10,418 @@ module RDF::Vocab
|
|
10
10
|
class XHV < RDF::Vocabulary("http://www.w3.org/1999/xhtml/vocab#")
|
11
11
|
|
12
12
|
# Ontology definition
|
13
|
-
ontology :"http://www.w3.org/1999/xhtml/vocab",
|
14
|
-
|
13
|
+
ontology :"http://www.w3.org/1999/xhtml/vocab#",
|
14
|
+
"xhv:stylesheet": "http://www.w3.org/StyleSheets/TR/base.css".freeze
|
15
15
|
|
16
16
|
# Property definitions
|
17
17
|
property :alert,
|
18
18
|
comment: %(A message
|
19
19
|
with important, and usually time-sensitive, information. Also see
|
20
20
|
alertdialog and status.).freeze,
|
21
|
-
label: "alert".freeze,
|
22
21
|
type: "rdf:Property".freeze
|
23
22
|
property :alertdialog,
|
24
23
|
comment: %(A
|
25
24
|
type of dialog that contains an alert message, where initial focus goes
|
26
25
|
to the dialog or an element within it. Also see alert and dialog.).freeze,
|
27
|
-
label: "alertdialog".freeze,
|
28
26
|
type: "rdf:Property".freeze
|
29
27
|
property :alternate,
|
30
28
|
comment: %(alternate designates alternate
|
31
29
|
versions for a resource.).freeze,
|
32
|
-
|
33
|
-
:"rdfs:member" => %(xhv:relrev-properties).freeze,
|
30
|
+
"rdfs:member": "xhv:relrev-properties".freeze,
|
34
31
|
type: "rdf:Property".freeze
|
35
32
|
property :appendix,
|
36
33
|
comment: %(appendix refers to a resource serving
|
37
34
|
as an appendix in a collection. ).freeze,
|
38
|
-
|
39
|
-
:"rdfs:member" => %(xhv:relrev-properties).freeze,
|
35
|
+
"rdfs:member": "xhv:relrev-properties".freeze,
|
40
36
|
type: "rdf:Property".freeze
|
41
37
|
property :application,
|
42
38
|
comment: %(A
|
43
39
|
region declared as a web application, as opposed to a web document.).freeze,
|
44
|
-
label: "application".freeze,
|
45
40
|
type: "rdf:Property".freeze
|
46
41
|
property :article,
|
47
42
|
comment: %(A
|
48
43
|
section of a page consisting of an independent part of a document, page,
|
49
44
|
or site.).freeze,
|
50
|
-
label: "article".freeze,
|
51
45
|
type: "rdf:Property".freeze
|
52
46
|
property :banner,
|
53
47
|
comment: %(banner contains the prime heading or
|
54
48
|
internal title of a page. ).freeze,
|
55
|
-
|
56
|
-
:"rdfs:member" => %(xhv:role-properties).freeze,
|
49
|
+
"rdfs:member": "xhv:role-properties".freeze,
|
57
50
|
type: "rdf:Property".freeze
|
58
51
|
property :bookmark,
|
59
52
|
comment: %(bookmark refers to a bookmark - a link
|
60
53
|
to a key entry point within an extended document. ).freeze,
|
61
|
-
|
62
|
-
:"rdfs:member" => %(xhv:relrev-properties).freeze,
|
54
|
+
"rdfs:member": "xhv:relrev-properties".freeze,
|
63
55
|
type: "rdf:Property".freeze
|
64
56
|
property :button,
|
65
57
|
comment: %(An input
|
66
58
|
that allows for user-triggered actions when clicked or pressed.).freeze,
|
67
|
-
label: "button".freeze,
|
68
59
|
type: "rdf:Property".freeze
|
69
60
|
property :chapter,
|
70
61
|
comment: %(chapter refers to a resource serving
|
71
62
|
as a chapter in a collction. ).freeze,
|
72
|
-
|
73
|
-
:"rdfs:member" => %(xhv:relrev-properties).freeze,
|
63
|
+
"rdfs:member": "xhv:relrev-properties".freeze,
|
74
64
|
type: "rdf:Property".freeze
|
75
65
|
property :checkbox,
|
76
66
|
comment: %(An
|
77
67
|
checkable input that has three possible values: true, false, or
|
78
68
|
mixed.).freeze,
|
79
|
-
label: "checkbox".freeze,
|
80
69
|
type: "rdf:Property".freeze
|
81
70
|
property :cite,
|
82
71
|
comment: %(cite refers to a resource that defines
|
83
72
|
a citation. ).freeze,
|
84
|
-
|
85
|
-
:"rdfs:member" => %(xhv:relrev-properties).freeze,
|
73
|
+
"rdfs:member": "xhv:relrev-properties".freeze,
|
86
74
|
type: "rdf:Property".freeze
|
87
75
|
property :columnheader,
|
88
76
|
comment: %(A
|
89
77
|
cell containing header information for a column.).freeze,
|
90
|
-
label: "columnheader".freeze,
|
91
78
|
type: "rdf:Property".freeze
|
92
79
|
property :combobox,
|
93
80
|
comment: %(A
|
94
81
|
presentation of a select; usually similar to a textbox where users can
|
95
82
|
type ahead to select an option, or type to enter arbitrary text as a new
|
96
83
|
item in the list.).freeze,
|
97
|
-
label: "combobox".freeze,
|
98
84
|
type: "rdf:Property".freeze
|
99
85
|
property :complementary,
|
100
86
|
comment: %(secondary indicates that the section
|
101
87
|
supports but is separable from the main content of resource.).freeze,
|
102
|
-
|
103
|
-
:"rdfs:member" => %(xhv:role-properties).freeze,
|
88
|
+
"rdfs:member": "xhv:role-properties".freeze,
|
104
89
|
type: "rdf:Property".freeze
|
105
90
|
property :contentinfo,
|
106
91
|
comment: %(contentinfo has meta information about
|
107
92
|
the content on the page or the page as a whole.).freeze,
|
108
|
-
|
109
|
-
:"rdfs:member" => %(xhv:role-properties).freeze,
|
93
|
+
"rdfs:member": "xhv:role-properties".freeze,
|
110
94
|
type: "rdf:Property".freeze
|
111
95
|
property :contents,
|
112
96
|
comment: %(contents refers to a resource serving
|
113
97
|
as a table of contents. ).freeze,
|
114
|
-
|
115
|
-
:"rdfs:member" => %(xhv:relrev-properties).freeze,
|
98
|
+
"rdfs:member": "xhv:relrev-properties".freeze,
|
116
99
|
type: "rdf:Property".freeze
|
117
100
|
property :copyright,
|
118
101
|
comment: %(copyright refers to a copyright
|
119
102
|
statement for the resource. ).freeze,
|
120
|
-
|
121
|
-
:"rdfs:member" => %(xhv:relrev-properties).freeze,
|
103
|
+
"rdfs:member": "xhv:relrev-properties".freeze,
|
122
104
|
type: "rdf:Property".freeze
|
123
105
|
property :definition,
|
124
106
|
comment: %(definition indicates the definition of
|
125
107
|
a term or concept.).freeze,
|
126
|
-
|
127
|
-
:"rdfs:member" => %(xhv:role-properties).freeze,
|
108
|
+
"rdfs:member": "xhv:role-properties".freeze,
|
128
109
|
type: "rdf:Property".freeze
|
129
110
|
property :dialog,
|
130
111
|
comment: %(A dialog
|
131
112
|
is an application window that is designed to interrupt the current
|
132
113
|
processing of an application in order to prompt the user to enter
|
133
114
|
information or require a response. Also see alertdialog.).freeze,
|
134
|
-
label: "dialog".freeze,
|
135
115
|
type: "rdf:Property".freeze
|
136
116
|
property :directory,
|
137
117
|
comment: %(A list
|
138
118
|
of references to members of a group, such as a static table of
|
139
119
|
contents.).freeze,
|
140
|
-
label: "directory".freeze,
|
141
120
|
type: "rdf:Property".freeze
|
142
121
|
property :document,
|
143
122
|
comment: %(A
|
144
123
|
region containing related information that is declared as document
|
145
124
|
content, as opposed to a web application.).freeze,
|
146
|
-
label: "document".freeze,
|
147
125
|
type: "rdf:Property".freeze
|
148
126
|
property :first,
|
149
127
|
comment: %(first refers the first item in a
|
150
128
|
collection \(see also start and top\).).freeze,
|
151
|
-
|
152
|
-
:"rdfs:member" => %(xhv:relrev-properties).freeze,
|
129
|
+
"rdfs:member": "xhv:relrev-properties".freeze,
|
153
130
|
type: "rdf:Property".freeze
|
154
131
|
property :glossary,
|
155
132
|
comment: %(glossary refers to a resource
|
156
133
|
providing a glossary of terms. ).freeze,
|
157
|
-
|
158
|
-
:"rdfs:member" => %(xhv:relrev-properties).freeze,
|
134
|
+
"rdfs:member": "xhv:relrev-properties".freeze,
|
159
135
|
type: "rdf:Property".freeze
|
160
136
|
property :grid,
|
161
137
|
comment: %(A grid
|
162
138
|
contains cells of tabular data arranged in rows and columns, like a
|
163
139
|
table.).freeze,
|
164
|
-
label: "grid".freeze,
|
165
140
|
type: "rdf:Property".freeze
|
166
141
|
property :gridcell,
|
167
142
|
comment: %(A cell
|
168
143
|
in a grid or treegrid.).freeze,
|
169
|
-
label: "gridcell".freeze,
|
170
144
|
type: "rdf:Property".freeze
|
171
145
|
property :group,
|
172
146
|
comment: %(A set of
|
173
147
|
user interface objects which would not be included in a page summary or
|
174
148
|
table of contents by an assistive technology.).freeze,
|
175
|
-
label: "group".freeze,
|
176
149
|
type: "rdf:Property".freeze
|
177
150
|
property :heading,
|
178
151
|
comment: %(A
|
179
152
|
heading for a section of the page.).freeze,
|
180
|
-
label: "heading".freeze,
|
181
153
|
type: "rdf:Property".freeze
|
182
154
|
property :help,
|
183
155
|
comment: %(help refers to a resource offering
|
184
156
|
help. ).freeze,
|
185
|
-
|
186
|
-
:"rdfs:member" => %(xhv:relrev-properties).freeze,
|
157
|
+
"rdfs:member": "xhv:relrev-properties".freeze,
|
187
158
|
type: "rdf:Property".freeze
|
188
159
|
property :icon,
|
189
160
|
comment: %(icon refers to a resource that
|
190
161
|
represents an icon. ).freeze,
|
191
|
-
|
192
|
-
:"rdfs:member" => %(xhv:relrev-properties).freeze,
|
162
|
+
"rdfs:member": "xhv:relrev-properties".freeze,
|
193
163
|
type: "rdf:Property".freeze
|
194
164
|
property :img,
|
195
165
|
comment: %(A container
|
196
166
|
for a collection of elements that form an image.).freeze,
|
197
|
-
label: "img".freeze,
|
198
167
|
type: "rdf:Property".freeze
|
199
168
|
property :index,
|
200
169
|
comment: %(index refers to a resource providing
|
201
170
|
an index. ).freeze,
|
202
|
-
|
203
|
-
:"rdfs:member" => %(xhv:relrev-properties).freeze,
|
171
|
+
"rdfs:member": "xhv:relrev-properties".freeze,
|
204
172
|
type: "rdf:Property".freeze
|
205
173
|
property :itsRules,
|
206
174
|
comment: %(itsRules indicates that the designated
|
207
175
|
resource is an [ITS] rule set.).freeze,
|
208
|
-
|
209
|
-
:"rdfs:member" => %(xhv:relrev-properties).freeze,
|
176
|
+
"rdfs:member": "xhv:relrev-properties".freeze,
|
210
177
|
type: "rdf:Property".freeze
|
211
178
|
property :last,
|
212
179
|
comment: %(last refers to the last resource in a
|
213
180
|
collection of resources. ).freeze,
|
214
|
-
|
215
|
-
:"rdfs:member" => %(xhv:relrev-properties).freeze,
|
181
|
+
"rdfs:member": "xhv:relrev-properties".freeze,
|
216
182
|
type: "rdf:Property".freeze
|
217
183
|
property :license,
|
218
184
|
comment: %(license refers to a resource that
|
219
185
|
defines the associated license. ).freeze,
|
220
|
-
|
221
|
-
:"rdfs:member" => %(xhv:relrev-properties).freeze,
|
186
|
+
"rdfs:member": "xhv:relrev-properties".freeze,
|
222
187
|
type: "rdf:Property".freeze
|
223
188
|
property :link,
|
224
189
|
comment: %(An
|
225
190
|
interactive reference to an internal or external resource.).freeze,
|
226
|
-
label: "link".freeze,
|
227
191
|
type: "rdf:Property".freeze
|
228
192
|
property :list,
|
229
193
|
comment: %(A group of
|
230
194
|
non-interactive list items.).freeze,
|
231
|
-
label: "list".freeze,
|
232
195
|
type: "rdf:Property".freeze
|
233
196
|
property :listbox,
|
234
197
|
comment: %(A widget
|
235
198
|
that allows the user to select one or more items from a list of
|
236
199
|
choices.).freeze,
|
237
|
-
label: "listbox".freeze,
|
238
200
|
type: "rdf:Property".freeze
|
239
201
|
property :listitem,
|
240
202
|
comment: %(A
|
241
203
|
single item in a list, listbox, or directory.).freeze,
|
242
|
-
label: "listitem".freeze,
|
243
204
|
type: "rdf:Property".freeze
|
244
205
|
property :log,
|
245
206
|
comment: %(A type of
|
246
207
|
live region where new information is added in meaningful order and old
|
247
208
|
information may disappear. Also see marquee.).freeze,
|
248
|
-
label: "log".freeze,
|
249
209
|
type: "rdf:Property".freeze
|
250
210
|
property :main,
|
251
211
|
comment: %(main acts as the main content of the
|
252
212
|
document. ).freeze,
|
253
|
-
|
254
|
-
:"rdfs:member" => %(xhv:role-properties).freeze,
|
213
|
+
"rdfs:member": "xhv:role-properties".freeze,
|
255
214
|
type: "rdf:Property".freeze
|
256
215
|
property :marquee,
|
257
216
|
comment: %(A type
|
258
217
|
of live region where non-essential information changes frequently. Also
|
259
218
|
see log.).freeze,
|
260
|
-
label: "marquee".freeze,
|
261
219
|
type: "rdf:Property".freeze
|
262
220
|
property :math,
|
263
221
|
comment: %(An element
|
264
222
|
that represents a mathematical expression.).freeze,
|
265
|
-
label: "math".freeze,
|
266
223
|
type: "rdf:Property".freeze
|
267
224
|
property :menu,
|
268
225
|
comment: %(A type of
|
269
226
|
widget that offers a list of choices to the user.).freeze,
|
270
|
-
label: "menu".freeze,
|
271
227
|
type: "rdf:Property".freeze
|
272
228
|
property :menubar,
|
273
229
|
comment: %(A
|
274
230
|
presentation of menu that usually remains visible and is usually
|
275
231
|
presented horizontally.).freeze,
|
276
|
-
label: "menubar".freeze,
|
277
232
|
type: "rdf:Property".freeze
|
278
233
|
property :menuitem,
|
279
234
|
comment: %(An
|
280
235
|
option in a group of choices contained by a menu or menubar.).freeze,
|
281
|
-
label: "menuitem".freeze,
|
282
236
|
type: "rdf:Property".freeze
|
283
237
|
property :menuitemcheckbox,
|
284
238
|
comment: %(A checkable menuitem that has three possible
|
285
239
|
values: true, false, or mixed.).freeze,
|
286
|
-
label: "menuitemcheckbox".freeze,
|
287
240
|
type: "rdf:Property".freeze
|
288
241
|
property :menuitemradio,
|
289
242
|
comment: %(A
|
290
243
|
checkable menuitem in a group of menuitemradio roles, only one of which
|
291
244
|
can be checked at a time.).freeze,
|
292
|
-
label: "menuitemradio".freeze,
|
293
245
|
type: "rdf:Property".freeze
|
294
246
|
property :meta,
|
295
247
|
comment: %(meta refers to a resource that
|
296
248
|
provides metadata. ).freeze,
|
297
|
-
|
298
|
-
:"rdfs:member" => %(xhv:relrev-properties).freeze,
|
249
|
+
"rdfs:member": "xhv:relrev-properties".freeze,
|
299
250
|
type: "rdf:Property".freeze
|
300
251
|
property :navigation,
|
301
252
|
comment: %(navigation indicates a collection of
|
302
253
|
items suitable for navigating the document or related documents.).freeze,
|
303
|
-
|
304
|
-
:"rdfs:member" => %(xhv:role-properties).freeze,
|
254
|
+
"rdfs:member": "xhv:role-properties".freeze,
|
305
255
|
type: "rdf:Property".freeze
|
306
256
|
property :next,
|
307
257
|
comment: %(next refers to the next resource
|
308
258
|
\(after the current one\) in an ordered collection of resources. ).freeze,
|
309
|
-
|
310
|
-
:"rdfs:member" => %(xhv:relrev-properties).freeze,
|
259
|
+
"rdfs:member": "xhv:relrev-properties".freeze,
|
311
260
|
type: "rdf:Property".freeze
|
312
261
|
property :note,
|
313
262
|
comment: %(note indicates the content is
|
314
263
|
parenthetic or ancillary to the main content of the resource. ).freeze,
|
315
|
-
|
316
|
-
:"rdfs:member" => %(xhv:role-properties).freeze,
|
264
|
+
"rdfs:member": "xhv:role-properties".freeze,
|
317
265
|
type: "rdf:Property".freeze
|
318
266
|
property :option,
|
319
267
|
comment: %(A
|
320
268
|
selectable item in a select list.).freeze,
|
321
|
-
label: "option".freeze,
|
322
269
|
type: "rdf:Property".freeze
|
323
270
|
property :p3pv1,
|
324
271
|
comment: %(p3pv1 refers to a P3P Policy Reference
|
325
272
|
File [P3P]. ).freeze,
|
326
|
-
|
327
|
-
:"rdfs:member" => %(xhv:relrev-properties).freeze,
|
273
|
+
"rdfs:member": "xhv:relrev-properties".freeze,
|
328
274
|
type: "rdf:Property".freeze
|
329
275
|
property :presentation,
|
330
276
|
comment: %(An
|
331
277
|
element whose role is presentational and does not need to be mapped to
|
332
278
|
the accessibility API.).freeze,
|
333
|
-
label: "presentation".freeze,
|
334
279
|
type: "rdf:Property".freeze
|
335
280
|
property :prev,
|
336
281
|
comment: %(prev refers to a previous resource
|
337
282
|
\(before the current one\) in an ordered collection of resources. ).freeze,
|
338
|
-
|
339
|
-
:"rdfs:member" => %(xhv:relrev-properties).freeze,
|
283
|
+
"rdfs:member": "xhv:relrev-properties".freeze,
|
340
284
|
type: "rdf:Property".freeze
|
341
285
|
property :progressbar,
|
342
286
|
comment: %(An
|
343
287
|
element that displays the progress status for tasks that take a long
|
344
288
|
time.).freeze,
|
345
|
-
label: "progressbar".freeze,
|
346
289
|
type: "rdf:Property".freeze
|
347
290
|
property :radio,
|
348
291
|
comment: %(A
|
349
292
|
checkable input in a group of radio roles, only one of which can be
|
350
293
|
checked at a time.).freeze,
|
351
|
-
label: "radio".freeze,
|
352
294
|
type: "rdf:Property".freeze
|
353
295
|
property :radiogroup,
|
354
296
|
comment: %(A
|
355
297
|
group of radio buttons.).freeze,
|
356
|
-
label: "radiogroup".freeze,
|
357
298
|
type: "rdf:Property".freeze
|
358
299
|
property :region,
|
359
300
|
comment: %(A large
|
360
301
|
perceivable section of a web page or document, that the author feels
|
361
302
|
should be included in a summary of page features.).freeze,
|
362
|
-
label: "region".freeze,
|
363
303
|
type: "rdf:Property".freeze
|
364
304
|
property :role,
|
365
305
|
comment: %(role indicates the purpose of the
|
366
306
|
resource. See the XHTML Role
|
367
307
|
Vocabulary for roles in this vocabulary space, and XHTMLROLE for information on extending the
|
368
308
|
collection of roles. ).freeze,
|
369
|
-
|
370
|
-
:"rdfs:member" => %(xhv:relrev-properties).freeze,
|
309
|
+
"rdfs:member": "xhv:relrev-properties".freeze,
|
371
310
|
type: ["rdf:Bag".freeze, "rdf:Property".freeze]
|
372
311
|
property :row,
|
373
312
|
comment: %(A row of
|
374
313
|
cells in a grid.).freeze,
|
375
|
-
label: "row".freeze,
|
376
314
|
type: "rdf:Property".freeze
|
377
315
|
property :rowheader,
|
378
316
|
comment: %(A cell
|
379
317
|
containing header information for a row in a grid.).freeze,
|
380
|
-
label: "rowheader".freeze,
|
381
318
|
type: "rdf:Property".freeze
|
382
319
|
property :search,
|
383
320
|
comment: %(search indicates that the section
|
384
321
|
provides a search facility. ).freeze,
|
385
|
-
|
386
|
-
:"rdfs:member" => %(xhv:role-properties).freeze,
|
322
|
+
"rdfs:member": "xhv:role-properties".freeze,
|
387
323
|
type: "rdf:Property".freeze
|
388
324
|
property :section,
|
389
325
|
comment: %(section refers to a resource serving
|
390
326
|
as a section in a collection. ).freeze,
|
391
|
-
|
392
|
-
:"rdfs:member" => %(xhv:relrev-properties).freeze,
|
327
|
+
"rdfs:member": "xhv:relrev-properties".freeze,
|
393
328
|
type: "rdf:Property".freeze
|
394
329
|
property :separator,
|
395
330
|
comment: %(A
|
396
331
|
divider that separates and distinguishes sections of content or groups of
|
397
332
|
menuitems.).freeze,
|
398
|
-
label: "separator".freeze,
|
399
333
|
type: "rdf:Property".freeze
|
400
334
|
property :slider,
|
401
335
|
comment: %(A user
|
402
336
|
input where the user selects a value from within a given range.).freeze,
|
403
|
-
label: "slider".freeze,
|
404
337
|
type: "rdf:Property".freeze
|
405
338
|
property :spinbutton,
|
406
339
|
comment: %(A
|
407
340
|
form of range that expects a user to select from amongst discrete
|
408
341
|
choices.).freeze,
|
409
|
-
label: "spinbutton".freeze,
|
410
342
|
type: "rdf:Property".freeze
|
411
343
|
property :start,
|
412
344
|
comment: %(start refers to the first resource in
|
413
345
|
a collection of resources. ).freeze,
|
414
|
-
|
415
|
-
:"rdfs:member" => %(xhv:relrev-properties).freeze,
|
346
|
+
"rdfs:member": "xhv:relrev-properties".freeze,
|
416
347
|
type: "rdf:Property".freeze
|
417
348
|
property :status,
|
418
349
|
comment: %(A
|
419
350
|
container whose content is advisory information for the user but is not
|
420
351
|
important enough to justify an alert. Also see alert.).freeze,
|
421
|
-
label: "status".freeze,
|
422
352
|
type: "rdf:Property".freeze
|
423
353
|
property :stylesheet,
|
424
354
|
comment: %(stylesheet refers to a resource
|
425
355
|
serving as a stylesheet for a resource. ).freeze,
|
426
|
-
|
427
|
-
:"rdfs:member" => %(xhv:relrev-properties).freeze,
|
356
|
+
"rdfs:member": "xhv:relrev-properties".freeze,
|
428
357
|
type: "rdf:Property".freeze
|
429
358
|
property :subsection,
|
430
359
|
comment: %(subsection refers to a resource
|
431
360
|
serving as a subsection in a collection. ).freeze,
|
432
|
-
|
433
|
-
:"rdfs:member" => %(xhv:relrev-properties).freeze,
|
361
|
+
"rdfs:member": "xhv:relrev-properties".freeze,
|
434
362
|
type: "rdf:Property".freeze
|
435
363
|
property :tab,
|
436
364
|
comment: %(A header for
|
437
365
|
a tabpanel.).freeze,
|
438
|
-
label: "tab".freeze,
|
439
366
|
type: "rdf:Property".freeze
|
440
367
|
property :tablist,
|
441
368
|
comment: %(A list
|
442
369
|
of tab elements, which are references to tabpanel elements.).freeze,
|
443
|
-
label: "tablist".freeze,
|
444
370
|
type: "rdf:Property".freeze
|
445
371
|
property :tabpanel,
|
446
372
|
comment: %(A
|
447
373
|
container for the resources associated with a tab.).freeze,
|
448
|
-
label: "tabpanel".freeze,
|
449
374
|
type: "rdf:Property".freeze
|
450
375
|
property :textbox,
|
451
376
|
comment: %(Input
|
452
377
|
that allows free-form text as their value.).freeze,
|
453
|
-
label: "textbox".freeze,
|
454
378
|
type: "rdf:Property".freeze
|
455
379
|
property :timer,
|
456
380
|
comment: %(A
|
457
381
|
numerical counter which indicates an amount of elapsed time from a start
|
458
382
|
point, or the time remaining until an end point.).freeze,
|
459
|
-
label: "timer".freeze,
|
460
383
|
type: "rdf:Property".freeze
|
461
384
|
property :toolbar,
|
462
385
|
comment: %(A
|
463
386
|
collection of commonly used function buttons represented in compact
|
464
387
|
visual form.).freeze,
|
465
|
-
label: "toolbar".freeze,
|
466
388
|
type: "rdf:Property".freeze
|
467
389
|
property :tooltip,
|
468
390
|
comment: %(A
|
469
391
|
contextual popup that displays a description for an element in a mouse
|
470
392
|
hover or keyboard focused state. Supplement to the normal tooltip
|
471
393
|
processing of the user agent.).freeze,
|
472
|
-
label: "tooltip".freeze,
|
473
394
|
type: "rdf:Property".freeze
|
474
395
|
property :top,
|
475
396
|
comment: %(top is a synonym for start. ).freeze,
|
476
|
-
|
477
|
-
:"rdfs:member" => %(xhv:relrev-properties).freeze,
|
397
|
+
"rdfs:member": "xhv:relrev-properties".freeze,
|
478
398
|
type: "rdf:Property".freeze
|
479
399
|
property :tree,
|
480
400
|
comment: %(A type of
|
481
401
|
list that may contain sub-level nested groups that can be collapsed and
|
482
402
|
expanded.).freeze,
|
483
|
-
label: "tree".freeze,
|
484
403
|
type: "rdf:Property".freeze
|
485
404
|
property :treegrid,
|
486
405
|
comment: %(A grid
|
487
406
|
whose rows can be expanded and collapsed in the same manner as for a
|
488
407
|
tree.).freeze,
|
489
|
-
label: "treegrid".freeze,
|
490
408
|
type: "rdf:Property".freeze
|
491
409
|
property :treeitem,
|
492
410
|
comment: %(An
|
493
411
|
option item of a tree. This is an element within a tree that may be
|
494
412
|
expanded or collapsed if it contains a sub-level group of treeitems.).freeze,
|
495
|
-
label: "treeitem".freeze,
|
496
413
|
type: "rdf:Property".freeze
|
497
414
|
property :up,
|
498
415
|
comment: %(up refers to a resource "above" in a
|
499
416
|
hierarchically structured set. ).freeze,
|
500
|
-
|
501
|
-
:"rdfs:member" => %(xhv:relrev-properties).freeze,
|
417
|
+
"rdfs:member": "xhv:relrev-properties".freeze,
|
502
418
|
type: "rdf:Property".freeze
|
503
419
|
|
504
420
|
# Extra definitions
|
505
421
|
term :"relrev-properties",
|
506
|
-
|
507
|
-
:"rdfs:member" => %(xhv:role-properties).freeze,
|
422
|
+
"rdfs:member": "xhv:role-properties".freeze,
|
508
423
|
type: "rdf:Bag".freeze
|
509
424
|
term :"role-properties",
|
510
|
-
label: "role-properties".freeze,
|
511
425
|
type: ["rdf:Bag".freeze, "rdfs:member".freeze]
|
512
426
|
end
|
513
427
|
end
|