rdf 1.1.0p4 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +6 -14
- data/README +33 -33
- data/VERSION +1 -1
- data/lib/rdf.rb +60 -12
- data/lib/rdf/cli.rb +7 -1
- data/lib/rdf/cli/vocab-loader.rb +240 -0
- data/lib/rdf/format.rb +2 -2
- data/lib/rdf/mixin/enumerable.rb +12 -4
- data/lib/rdf/mixin/queryable.rb +13 -13
- data/lib/rdf/model/graph.rb +5 -4
- data/lib/rdf/model/list.rb +15 -4
- data/lib/rdf/model/literal.rb +2 -1
- data/lib/rdf/model/statement.rb +10 -1
- data/lib/rdf/model/term.rb +8 -0
- data/lib/rdf/model/uri.rb +107 -2
- data/lib/rdf/model/value.rb +8 -0
- data/lib/rdf/ntriples/reader.rb +5 -4
- data/lib/rdf/query.rb +47 -12
- data/lib/rdf/query/solutions.rb +29 -29
- data/lib/rdf/reader.rb +13 -3
- data/lib/rdf/repository.rb +1 -0
- data/lib/rdf/util/file.rb +86 -6
- data/lib/rdf/vocab.rb +158 -58
- data/lib/rdf/vocab/cc.rb +28 -11
- data/lib/rdf/vocab/cert.rb +127 -9
- data/lib/rdf/vocab/dc.rb +242 -60
- data/lib/rdf/vocab/dc11.rb +42 -20
- data/lib/rdf/vocab/doap.rb +121 -42
- data/lib/rdf/vocab/exif.rb +540 -165
- data/lib/rdf/vocab/foaf.rb +353 -66
- data/lib/rdf/vocab/geo.rb +40 -10
- data/lib/rdf/vocab/gr.rb +1094 -0
- data/lib/rdf/vocab/http.rb +81 -23
- data/lib/rdf/vocab/ical.rb +361 -0
- data/lib/rdf/vocab/ma.rb +281 -69
- data/lib/rdf/vocab/og.rb +98 -0
- data/lib/rdf/vocab/owl.rb +226 -56
- data/lib/rdf/vocab/prov.rb +489 -0
- data/lib/rdf/vocab/rdfs.rb +38 -14
- data/lib/rdf/vocab/rsa.rb +25 -9
- data/lib/rdf/vocab/rss.rb +29 -11
- data/lib/rdf/vocab/schema.rb +3729 -647
- data/lib/rdf/vocab/sioc.rb +224 -89
- data/lib/rdf/vocab/skos.rb +141 -33
- data/lib/rdf/vocab/skosxl.rb +43 -0
- data/lib/rdf/vocab/v.rb +154 -0
- data/lib/rdf/vocab/vcard.rb +337 -0
- data/lib/rdf/vocab/void.rb +142 -0
- data/lib/rdf/vocab/wdrs.rb +129 -0
- data/lib/rdf/vocab/wot.rb +52 -18
- data/lib/rdf/vocab/xhtml.rb +3 -6
- data/lib/rdf/vocab/xhv.rb +239 -0
- data/lib/rdf/writer.rb +3 -3
- metadata +81 -14
@@ -0,0 +1,142 @@
|
|
1
|
+
# This file generated automatically using vocab-fetch from http://vocab.deri.ie/void.rdf
|
2
|
+
require 'rdf'
|
3
|
+
module RDF
|
4
|
+
class VOID < StrictVocabulary("http://rdfs.org/ns/void#")
|
5
|
+
|
6
|
+
# Class definitions
|
7
|
+
property :Dataset, :label => 'dataset', :comment =>
|
8
|
+
%(A set of RDF triples that are published, maintained or
|
9
|
+
aggregated by a single provider.)
|
10
|
+
property :Dataset, :label => 'dataset', :comment =>
|
11
|
+
%(A set of RDF triples that are published, maintained or
|
12
|
+
aggregated by a single provider.)
|
13
|
+
property :DatasetDescription, :label => 'dataset description', :comment =>
|
14
|
+
%(A web resource whose foaf:primaryTopic or foaf:topics include
|
15
|
+
void:Datasets.)
|
16
|
+
property :DatasetDescription, :label => 'dataset description', :comment =>
|
17
|
+
%(A web resource whose foaf:primaryTopic or foaf:topics include
|
18
|
+
void:Datasets.)
|
19
|
+
property :Linkset, :label => 'linkset', :comment =>
|
20
|
+
%(A collection of RDF links between two void:Datasets.)
|
21
|
+
property :Linkset, :label => 'linkset', :comment =>
|
22
|
+
%(A collection of RDF links between two void:Datasets.)
|
23
|
+
property :TechnicalFeature, :label => 'technical feature', :comment =>
|
24
|
+
%(A technical feature of a void:Dataset, such as a supported RDF
|
25
|
+
serialization format.)
|
26
|
+
property :TechnicalFeature, :label => 'technical feature', :comment =>
|
27
|
+
%(A technical feature of a void:Dataset, such as a supported RDF
|
28
|
+
serialization format.)
|
29
|
+
|
30
|
+
# Property definitions
|
31
|
+
property :dataDump, :label => 'Data Dump', :comment =>
|
32
|
+
%(An RDF dump, partial or complete, of a void:Dataset.)
|
33
|
+
property :objectsTarget, :label => 'Objects Target', :comment =>
|
34
|
+
%(The dataset describing the objects of the triples contained in
|
35
|
+
the Linkset.)
|
36
|
+
property :subjectsTarget, :label => 'Subjects Target', :comment =>
|
37
|
+
%(The dataset describing the subjects of triples contained in
|
38
|
+
the Linkset.)
|
39
|
+
property :target, :label => 'Target', :comment =>
|
40
|
+
%(One of the two datasets linked by the Linkset.)
|
41
|
+
property :uriSpace, :label => 'URI space', :comment =>
|
42
|
+
%(A URI that is a common string prefix of all the entity URIs in
|
43
|
+
a void:Dataset.)
|
44
|
+
property :linkPredicate, :label => 'a link predicate'
|
45
|
+
property :class, :label => 'class', :comment =>
|
46
|
+
%(The rdfs:Class that is the rdf:type of all entities in a
|
47
|
+
class-based partition.)
|
48
|
+
property :classPartition, :label => 'class partition', :comment =>
|
49
|
+
%(A subset of a void:Dataset that contains only the entities of
|
50
|
+
a certain rdfs:Class.)
|
51
|
+
property :classes, :label => 'classes', :comment =>
|
52
|
+
%(The total number of distinct classes in a void:Dataset. In
|
53
|
+
other words, the number of distinct resources occuring as
|
54
|
+
objects of rdf:type triples in the dataset.)
|
55
|
+
property :distinctObjects, :label => 'distinct objects', :comment =>
|
56
|
+
%(The total number of distinct objects in a void:Dataset. In
|
57
|
+
other words, the number of distinct resources that occur in
|
58
|
+
the object position of triples in the dataset. Literals are
|
59
|
+
included in this count.)
|
60
|
+
property :distinctSubjects, :label => 'distinct subjects', :comment =>
|
61
|
+
%(The total number of distinct subjects in a void:Dataset. In
|
62
|
+
other words, the number of distinct resources that occur in
|
63
|
+
the subject position of triples in the dataset.)
|
64
|
+
property :exampleResource, :label => 'example resource of dataset'
|
65
|
+
property :feature, :label => 'feature'
|
66
|
+
property :uriRegexPattern, :label => 'has URI regular expression pattern', :comment =>
|
67
|
+
%(Defines a regular expression pattern matching URIs in the
|
68
|
+
dataset.)
|
69
|
+
property :sparqlEndpoint, :label => 'has a SPARQL endpoint at'
|
70
|
+
property :uriLookupEndpoint, :label => 'has an URI look-up endpoint at', :comment =>
|
71
|
+
%(Defines a simple URI look-up protocol for accessing a dataset.)
|
72
|
+
property :subset, :label => 'has subset'
|
73
|
+
property :inDataset, :label => 'in dataset', :comment =>
|
74
|
+
%(Points to the void:Dataset that a document is a part of.)
|
75
|
+
property :documents, :label => 'number of documents', :comment =>
|
76
|
+
%(The total number of documents, for datasets that are published
|
77
|
+
as a set of individual documents, such as RDF/XML documents or
|
78
|
+
RDFa-annotated web pages. Non-RDF documents, such as web pages
|
79
|
+
in HTML or images, are usually not included in this count.
|
80
|
+
This property is intended for datasets where the total number
|
81
|
+
of triples or entities is hard to determine. void:triples or
|
82
|
+
void:entities should be preferred where practical.)
|
83
|
+
property :entities, :label => 'number of entities', :comment =>
|
84
|
+
%(The total number of entities that are described in a
|
85
|
+
void:Dataset.)
|
86
|
+
property :properties, :label => 'number of properties', :comment =>
|
87
|
+
%(The total number of distinct properties in a void:Dataset. In
|
88
|
+
other words, the number of distinct resources that occur in
|
89
|
+
the predicate position of triples in the dataset.)
|
90
|
+
property :triples, :label => 'number of triples', :comment =>
|
91
|
+
%(The total number of triples contained in a void:Dataset.)
|
92
|
+
property :openSearchDescription, :label => 'open search description', :comment =>
|
93
|
+
%(An OpenSearch description document for a free-text search
|
94
|
+
service over a void:Dataset.)
|
95
|
+
property :property, :label => 'property', :comment =>
|
96
|
+
%(The rdf:Property that is the predicate of all triples in a
|
97
|
+
property-based partition.)
|
98
|
+
property :propertyPartition, :label => 'property partition', :comment =>
|
99
|
+
%(A subset of a void:Dataset that contains only the triples of a
|
100
|
+
certain rdf:Property.)
|
101
|
+
property :rootResource, :label => 'root resource', :comment =>
|
102
|
+
%(A top concept or entry point for a void:Dataset that is
|
103
|
+
structured in a tree-like fashion. All resources in a dataset
|
104
|
+
can be reached by following links from its root resources in a
|
105
|
+
small number of steps.)
|
106
|
+
property :vocabulary, :label => 'vocabulary', :comment =>
|
107
|
+
%(A vocabulary that is used in the dataset.)
|
108
|
+
property :uriSpace, :label => 'URI space', :comment =>
|
109
|
+
%(A URI that is a common string prefix of all the entity URIs in
|
110
|
+
a void:Dataset.)
|
111
|
+
property :classes, :label => 'classes', :comment =>
|
112
|
+
%(The total number of distinct classes in a void:Dataset. In
|
113
|
+
other words, the number of distinct resources occuring as
|
114
|
+
objects of rdf:type triples in the dataset.)
|
115
|
+
property :distinctObjects, :label => 'distinct objects', :comment =>
|
116
|
+
%(The total number of distinct objects in a void:Dataset. In
|
117
|
+
other words, the number of distinct resources that occur in
|
118
|
+
the object position of triples in the dataset. Literals are
|
119
|
+
included in this count.)
|
120
|
+
property :distinctSubjects, :label => 'distinct subjects', :comment =>
|
121
|
+
%(The total number of distinct subjects in a void:Dataset. In
|
122
|
+
other words, the number of distinct resources that occur in
|
123
|
+
the subject position of triples in the dataset.)
|
124
|
+
property :documents, :label => 'number of documents', :comment =>
|
125
|
+
%(The total number of documents, for datasets that are published
|
126
|
+
as a set of individual documents, such as RDF/XML documents or
|
127
|
+
RDFa-annotated web pages. Non-RDF documents, such as web pages
|
128
|
+
in HTML or images, are usually not included in this count.
|
129
|
+
This property is intended for datasets where the total number
|
130
|
+
of triples or entities is hard to determine. void:triples or
|
131
|
+
void:entities should be preferred where practical.)
|
132
|
+
property :entities, :label => 'number of entities', :comment =>
|
133
|
+
%(The total number of entities that are described in a
|
134
|
+
void:Dataset.)
|
135
|
+
property :properties, :label => 'number of properties', :comment =>
|
136
|
+
%(The total number of distinct properties in a void:Dataset. In
|
137
|
+
other words, the number of distinct resources that occur in
|
138
|
+
the predicate position of triples in the dataset.)
|
139
|
+
property :triples, :label => 'number of triples', :comment =>
|
140
|
+
%(The total number of triples contained in a void:Dataset.)
|
141
|
+
end
|
142
|
+
end
|
@@ -0,0 +1,129 @@
|
|
1
|
+
# This file generated automatically using vocab-fetch from http://www.w3.org/2007/05/powder-s#
|
2
|
+
require 'rdf'
|
3
|
+
module RDF
|
4
|
+
class WDRS < StrictVocabulary("http://www.w3.org/2007/05/powder-s#")
|
5
|
+
|
6
|
+
# Class definitions
|
7
|
+
property :Document, :label => 'POWDER document', :comment =>
|
8
|
+
%(A POWDER document.)
|
9
|
+
property :Processor, :label => 'POWDER processor', :comment =>
|
10
|
+
%(A software agent able to process POWDER documents.)
|
11
|
+
|
12
|
+
# Property definitions
|
13
|
+
property :sha1sum, :label => 'SHA-1 sum', :comment =>
|
14
|
+
%(Links to a Base64-encoded binary SHA-1 hash of the described
|
15
|
+
resource. May be used by POWDER Processors when assessing
|
16
|
+
trustworthiness of a DR.)
|
17
|
+
property :authenticate, :label => 'authenticate', :comment =>
|
18
|
+
%(A pointer to a document that describes how Description
|
19
|
+
Resources created by a FOAF Agent or a DC Terms Agent may be
|
20
|
+
authenticated)
|
21
|
+
property :certified, :label => 'certified', :comment =>
|
22
|
+
%(A property that takes a Boolean value to declare whether the
|
23
|
+
author of the data certifies the described resource.)
|
24
|
+
property :certifiedby, :label => 'certified by', :comment =>
|
25
|
+
%(A property that links a resource to a POWDER document that
|
26
|
+
certifies it.)
|
27
|
+
property :data_error, :label => 'data error', :comment =>
|
28
|
+
%(A property denoting a description of the specific error found
|
29
|
+
in a given POWDER document.)
|
30
|
+
property :describedby, :label => 'described by', :comment =>
|
31
|
+
%(An RDF property to exactly match the describedby relationship
|
32
|
+
type introduced in
|
33
|
+
http://www.w3.org/TR/powder-dr/#assoc-linking and formally
|
34
|
+
defined in appendix D of the same document, i.e. the
|
35
|
+
relationship A 'describedby' B asserts that resource B
|
36
|
+
provides a description of resource A. There are no constraints
|
37
|
+
on the format or representation of either A or B, neither are
|
38
|
+
there any further constraints on either resource.)
|
39
|
+
property :error_code, :label => 'error code', :comment =>
|
40
|
+
%(A property denoting the code of any error encountered by the
|
41
|
+
POWDER processor.)
|
42
|
+
property :hasIRI, :label => 'has IRI', :comment =>
|
43
|
+
%(This property is meant to be used in OWL2 instead of
|
44
|
+
wdrs:matchesregex. It denotes the string data range
|
45
|
+
corresponding to a set of IRIs.)
|
46
|
+
property :issuedby, :label => 'issued by', :comment =>
|
47
|
+
%(This property denotes the author of a POWDER document.)
|
48
|
+
property :logo, :label => 'logo', :comment =>
|
49
|
+
%(Points to a graphic summary for the resources in a given
|
50
|
+
class. Typically, it is a logo denoting conformance of a given
|
51
|
+
\(set of\) resource\(s\) to a given set of criteria.)
|
52
|
+
property :notmatchesregex, :label => 'matches regular expression', :comment =>
|
53
|
+
%(This is the key 'exclude' property for IRI set definitions in
|
54
|
+
POWDER-S. It is necessary to take account of the POWDER
|
55
|
+
Semantic Extension to process this fully. The value is a
|
56
|
+
regular expression that is matched against an IRI.)
|
57
|
+
property :matchesregex, :label => 'matches regular expression', :comment =>
|
58
|
+
%(This is the key 'include' property for IRI set definitions in
|
59
|
+
POWDER-S. It is necessary to take account of the POWDER
|
60
|
+
Semantic Extension to process this fully. The value is a
|
61
|
+
regular expression that is matched against an IRI.)
|
62
|
+
property :notknownto, :label => 'not known to', :comment =>
|
63
|
+
%(Property used in results returned from a POWDER Processor that
|
64
|
+
has no data about the candidate resource. The value is the IRI
|
65
|
+
of the processor.)
|
66
|
+
property :proc_error, :label => 'processing error', :comment =>
|
67
|
+
%(A property denoting a description of the specific software
|
68
|
+
error.)
|
69
|
+
property :supportedby, :label => 'supported by', :comment =>
|
70
|
+
%(A property that links a POWDER document to some other data
|
71
|
+
source that supports the descriptions provided.)
|
72
|
+
property :tag, :label => 'tag', :comment =>
|
73
|
+
%(Property linking to a free-text tag which may include spaces.)
|
74
|
+
property :text, :label => 'text that may be displayed', :comment =>
|
75
|
+
%(This property provides a summary of the descriptorset that it
|
76
|
+
annotates, suitable for display to end users.)
|
77
|
+
property :validfrom, :label => 'valid from', :comment =>
|
78
|
+
%(Provides a timestamp that a POWDER Processor may use when
|
79
|
+
assessing trustworthiness of a POWDER document. Informally, a
|
80
|
+
POWDER Processor should normally ignore data in the document
|
81
|
+
before the given date.)
|
82
|
+
property :validuntil, :label => 'valid until', :comment =>
|
83
|
+
%(Provides a timestamp that a POWDER Processor may use when
|
84
|
+
assessing trustworthiness of a POWDER document. Informally, a
|
85
|
+
POWDER Processor should normally ignore data in the document
|
86
|
+
after the given date.)
|
87
|
+
property :hasIRI, :label => 'has IRI', :comment =>
|
88
|
+
%(This property is meant to be used in OWL2 instead of
|
89
|
+
wdrs:matchesregex. It denotes the string data range
|
90
|
+
corresponding to a set of IRIs.)
|
91
|
+
property :matchesregex, :label => 'matches regular expression', :comment =>
|
92
|
+
%(This is the key 'include' property for IRI set definitions in
|
93
|
+
POWDER-S. It is necessary to take account of the POWDER
|
94
|
+
Semantic Extension to process this fully. The value is a
|
95
|
+
regular expression that is matched against an IRI.)
|
96
|
+
property :notmatchesregex, :label => 'matches regular expression', :comment =>
|
97
|
+
%(This is the key 'exclude' property for IRI set definitions in
|
98
|
+
POWDER-S. It is necessary to take account of the POWDER
|
99
|
+
Semantic Extension to process this fully. The value is a
|
100
|
+
regular expression that is matched against an IRI.)
|
101
|
+
property :tag, :label => 'tag', :comment =>
|
102
|
+
%(Property linking to a free-text tag which may include spaces.)
|
103
|
+
property :certifiedby, :label => 'certified by', :comment =>
|
104
|
+
%(A property that links a resource to a POWDER document that
|
105
|
+
certifies it.)
|
106
|
+
property :issuedby, :label => 'issued by', :comment =>
|
107
|
+
%(This property denotes the author of a POWDER document.)
|
108
|
+
property :logo, :label => 'logo', :comment =>
|
109
|
+
%(Points to a graphic summary for the resources in a given
|
110
|
+
class. Typically, it is a logo denoting conformance of a given
|
111
|
+
\(set of\) resource\(s\) to a given set of criteria.)
|
112
|
+
property :supportedby, :label => 'supported by', :comment =>
|
113
|
+
%(A property that links a POWDER document to some other data
|
114
|
+
source that supports the descriptions provided.)
|
115
|
+
property :text, :label => 'text that may be displayed', :comment =>
|
116
|
+
%(This property provides a summary of the descriptorset that it
|
117
|
+
annotates, suitable for display to end users.)
|
118
|
+
property :validfrom, :label => 'valid from', :comment =>
|
119
|
+
%(Provides a timestamp that a POWDER Processor may use when
|
120
|
+
assessing trustworthiness of a POWDER document. Informally, a
|
121
|
+
POWDER Processor should normally ignore data in the document
|
122
|
+
before the given date.)
|
123
|
+
property :validuntil, :label => 'valid until', :comment =>
|
124
|
+
%(Provides a timestamp that a POWDER Processor may use when
|
125
|
+
assessing trustworthiness of a POWDER document. Informally, a
|
126
|
+
POWDER Processor should normally ignore data in the document
|
127
|
+
after the given date.)
|
128
|
+
end
|
129
|
+
end
|
data/lib/rdf/vocab/wot.rb
CHANGED
@@ -1,21 +1,55 @@
|
|
1
|
+
# This file generated automatically using vocab-fetch from http://xmlns.com/wot/0.1/index.rdf
|
2
|
+
require 'rdf'
|
1
3
|
module RDF
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
property :
|
8
|
-
|
9
|
-
property :
|
10
|
-
|
11
|
-
|
12
|
-
property :
|
13
|
-
|
14
|
-
|
15
|
-
property :
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
4
|
+
class WOT < StrictVocabulary("http://xmlns.com/wot/0.1/")
|
5
|
+
|
6
|
+
# Class definitions
|
7
|
+
property :EncryptedDocument, :label => 'Encrypted Document', :comment =>
|
8
|
+
%(An encrypted document intended for a set of recipients.)
|
9
|
+
property :Endorsement, :label => 'Endorsement', :comment =>
|
10
|
+
%(An endorsement resource containing a detached ascii signature.)
|
11
|
+
property :SigEvent, :label => 'Key Signing Event', :comment =>
|
12
|
+
%(An event describing the action of a public key being signed by
|
13
|
+
some other public key.)
|
14
|
+
property :User, :label => 'Key User', :comment =>
|
15
|
+
%(A user \(agent, person, group or organization\) of a PGP/GPG
|
16
|
+
public key.)
|
17
|
+
property :PubKey, :label => 'Public Key', :comment =>
|
18
|
+
%(A class used to represent a PGP/GPG public key for a user \(an
|
19
|
+
agent, person, group or organization\).)
|
20
|
+
|
21
|
+
# Property definitions
|
22
|
+
property :fingerprint, :label => 'Fingerprint', :comment =>
|
23
|
+
%(A public key hex fingerprint string \(40 digits, white space
|
24
|
+
insignificant\).)
|
25
|
+
property :hex_id, :label => 'Hex identifier', :comment =>
|
26
|
+
%(A public key hex identifier string \(8 digits\).)
|
27
|
+
property :length, :label => 'Length', :comment =>
|
28
|
+
%(A numeric string representing the length, in bytes, of a
|
29
|
+
public key.)
|
30
|
+
property :sigdate, :label => 'Signature date', :comment =>
|
31
|
+
%(The date of a public key signature event.)
|
32
|
+
property :sigtime, :label => 'Signature time', :comment =>
|
33
|
+
%(The time \(of day\) of a public key signature event.)
|
34
|
+
property :pubkeyAddress, :label => 'Address', :comment =>
|
35
|
+
%(The location of an ascii version of a public key.)
|
36
|
+
property :assurance, :label => 'Assurance', :comment =>
|
37
|
+
%(A property linking a document to an endorsement resource
|
38
|
+
containing a detached ascii signature.)
|
39
|
+
property :encrypter, :label => 'Encrypted by', :comment =>
|
40
|
+
%(A property linking an encrypted document to the public key
|
41
|
+
that was used to encrypt it.)
|
42
|
+
property :encryptedTo, :label => 'Encrypted to', :comment =>
|
43
|
+
%(A property linking an encrypted document to a recipient.)
|
44
|
+
property :identity, :label => 'Identity', :comment =>
|
45
|
+
%(A property linking a public key to the user of the key.)
|
46
|
+
property :signed, :label => 'Signed', :comment =>
|
47
|
+
%(A property linking a public key to a public key signature
|
48
|
+
event.)
|
49
|
+
property :signer, :label => 'Signer', :comment =>
|
50
|
+
%(A property linking a public key signature event to the public
|
51
|
+
key that was used to sign.)
|
52
|
+
property :hasKey, :label => 'has Key', :comment =>
|
53
|
+
%(A property to link a PubKey from a User)
|
20
54
|
end
|
21
55
|
end
|
data/lib/rdf/vocab/xhtml.rb
CHANGED
@@ -1,9 +1,6 @@
|
|
1
|
+
# This file generated automatically using vocab-fetch from http://www.w3.org/1999/xhtml#
|
2
|
+
require 'rdf'
|
1
3
|
module RDF
|
2
|
-
|
3
|
-
# Extensible HyperText Markup Language (XHTML) vocabulary.
|
4
|
-
#
|
5
|
-
# @see http://www.w3.org/1999/xhtml/
|
6
|
-
class XHTML < Vocabulary("http://www.w3.org/1999/xhtml#")
|
7
|
-
# TODO
|
4
|
+
class XHTML < StrictVocabulary("http://www.w3.org/1999/xhtml#")
|
8
5
|
end
|
9
6
|
end
|
@@ -0,0 +1,239 @@
|
|
1
|
+
# This file generated automatically using vocab-fetch from http://www.w3.org/1999/xhtml/vocab#
|
2
|
+
require 'rdf'
|
3
|
+
module RDF
|
4
|
+
class XHV < Vocabulary("http://www.w3.org/1999/xhtml/vocab#")
|
5
|
+
|
6
|
+
# Property definitions
|
7
|
+
property :alert, :comment =>
|
8
|
+
%(A message with important, and usually time-sensitive,
|
9
|
+
information. Also see alertdialog and status.)
|
10
|
+
property :alertdialog, :comment =>
|
11
|
+
%(A type of dialog that contains an alert message, where initial
|
12
|
+
focus goes to the dialog or an element within it. Also see
|
13
|
+
alert and dialog.)
|
14
|
+
property :alternate, :comment =>
|
15
|
+
%(alternate designates alternate versions for a resource.)
|
16
|
+
property :appendix, :comment =>
|
17
|
+
%(appendix refers to a resource serving as an appendix in a
|
18
|
+
collection.)
|
19
|
+
property :application, :comment =>
|
20
|
+
%(A region declared as a web application, as opposed to a web
|
21
|
+
document.)
|
22
|
+
property :article, :comment =>
|
23
|
+
%(A section of a page consisting of an independent part of a
|
24
|
+
document, page, or site.)
|
25
|
+
property :banner, :comment =>
|
26
|
+
%(banner contains the prime heading or internal title of a page.)
|
27
|
+
property :bookmark, :comment =>
|
28
|
+
%(bookmark refers to a bookmark - a link to a key entry point
|
29
|
+
within an extended document.)
|
30
|
+
property :button, :comment =>
|
31
|
+
%(An input that allows for user-triggered actions when clicked
|
32
|
+
or pressed.)
|
33
|
+
property :chapter, :comment =>
|
34
|
+
%(chapter refers to a resource serving as a chapter in a
|
35
|
+
collction.)
|
36
|
+
property :checkbox, :comment =>
|
37
|
+
%(An checkable input that has three possible values: true,
|
38
|
+
false, or mixed.)
|
39
|
+
property :cite, :comment =>
|
40
|
+
%(cite refers to a resource that defines a citation.)
|
41
|
+
property :columnheader, :comment =>
|
42
|
+
%(A cell containing header information for a column.)
|
43
|
+
property :combobox, :comment =>
|
44
|
+
%(A presentation of a select; usually similar to a textbox where
|
45
|
+
users can type ahead to select an option, or type to enter
|
46
|
+
arbitrary text as a new item in the list.)
|
47
|
+
property :complementary, :comment =>
|
48
|
+
%(secondary indicates that the section supports but is separable
|
49
|
+
from the main content of resource.)
|
50
|
+
property :contentinfo, :comment =>
|
51
|
+
%(contentinfo has meta information about the content on the page
|
52
|
+
or the page as a whole.)
|
53
|
+
property :contents, :comment =>
|
54
|
+
%(contents refers to a resource serving as a table of contents.)
|
55
|
+
property :copyright, :comment =>
|
56
|
+
%(copyright refers to a copyright statement for the resource.)
|
57
|
+
property :definition, :comment =>
|
58
|
+
%(definition indicates the definition of a term or concept.)
|
59
|
+
property :dialog, :comment =>
|
60
|
+
%(A dialog is an application window that is designed to
|
61
|
+
interrupt the current processing of an application in order to
|
62
|
+
prompt the user to enter information or require a response.
|
63
|
+
Also see alertdialog.)
|
64
|
+
property :directory, :comment =>
|
65
|
+
%(A list of references to members of a group, such as a static
|
66
|
+
table of contents.)
|
67
|
+
property :document, :comment =>
|
68
|
+
%(A region containing related information that is declared as
|
69
|
+
document content, as opposed to a web application.)
|
70
|
+
property :first, :comment =>
|
71
|
+
%(first refers the first item in a collection \(see also start
|
72
|
+
and top\).)
|
73
|
+
property :glossary, :comment =>
|
74
|
+
%(glossary refers to a resource providing a glossary of terms.)
|
75
|
+
property :grid, :comment =>
|
76
|
+
%(A grid contains cells of tabular data arranged in rows and
|
77
|
+
columns, like a table.)
|
78
|
+
property :gridcell, :comment =>
|
79
|
+
%(A cell in a grid or treegrid.)
|
80
|
+
property :group, :comment =>
|
81
|
+
%(A set of user interface objects which would not be included in
|
82
|
+
a page summary or table of contents by an assistive
|
83
|
+
technology.)
|
84
|
+
property :heading, :comment =>
|
85
|
+
%(A heading for a section of the page.)
|
86
|
+
property :help, :comment =>
|
87
|
+
%(help refers to a resource offering help.)
|
88
|
+
property :icon, :comment =>
|
89
|
+
%(icon refers to a resource that represents an icon.)
|
90
|
+
property :img, :comment =>
|
91
|
+
%(A container for a collection of elements that form an image.)
|
92
|
+
property :index, :comment =>
|
93
|
+
%(index refers to a resource providing an index.)
|
94
|
+
property :itsRules, :comment =>
|
95
|
+
%(itsRules indicates that the designated resource is an [ITS]
|
96
|
+
rule set.)
|
97
|
+
property :last, :comment =>
|
98
|
+
%(last refers to the last resource in a collection of resources.)
|
99
|
+
property :license, :comment =>
|
100
|
+
%(license refers to a resource that defines the associated
|
101
|
+
license.)
|
102
|
+
property :link, :comment =>
|
103
|
+
%(An interactive reference to an internal or external resource.)
|
104
|
+
property :list, :comment =>
|
105
|
+
%(A group of non-interactive list items.)
|
106
|
+
property :listbox, :comment =>
|
107
|
+
%(A widget that allows the user to select one or more items from
|
108
|
+
a list of choices.)
|
109
|
+
property :listitem, :comment =>
|
110
|
+
%(A single item in a list, listbox, or directory.)
|
111
|
+
property :log, :comment =>
|
112
|
+
%(A type of live region where new information is added in
|
113
|
+
meaningful order and old information may disappear. Also see
|
114
|
+
marquee.)
|
115
|
+
property :main, :comment =>
|
116
|
+
%(main acts as the main content of the document.)
|
117
|
+
property :marquee, :comment =>
|
118
|
+
%(A type of live region where non-essential information changes
|
119
|
+
frequently. Also see log.)
|
120
|
+
property :math, :comment =>
|
121
|
+
%(An element that represents a mathematical expression.)
|
122
|
+
property :menu, :comment =>
|
123
|
+
%(A type of widget that offers a list of choices to the user.)
|
124
|
+
property :menubar, :comment =>
|
125
|
+
%(A presentation of menu that usually remains visible and is
|
126
|
+
usually presented horizontally.)
|
127
|
+
property :menuitem, :comment =>
|
128
|
+
%(An option in a group of choices contained by a menu or
|
129
|
+
menubar.)
|
130
|
+
property :menuitemcheckbox, :comment =>
|
131
|
+
%(A checkable menuitem that has three possible values: true,
|
132
|
+
false, or mixed.)
|
133
|
+
property :menuitemradio, :comment =>
|
134
|
+
%(A checkable menuitem in a group of menuitemradio roles, only
|
135
|
+
one of which can be checked at a time.)
|
136
|
+
property :meta, :comment =>
|
137
|
+
%(meta refers to a resource that provides metadata.)
|
138
|
+
property :navigation, :comment =>
|
139
|
+
%(navigation indicates a collection of items suitable for
|
140
|
+
navigating the document or related documents.)
|
141
|
+
property :next, :comment =>
|
142
|
+
%(next refers to the next resource \(after the current one\) in
|
143
|
+
an ordered collection of resources.)
|
144
|
+
property :note, :comment =>
|
145
|
+
%(note indicates the content is parenthetic or ancillary to the
|
146
|
+
main content of the resource.)
|
147
|
+
property :option, :comment =>
|
148
|
+
%(A selectable item in a select list.)
|
149
|
+
property :p3pv1, :comment =>
|
150
|
+
%(p3pv1 refers to a P3P Policy Reference File [P3P].)
|
151
|
+
property :presentation, :comment =>
|
152
|
+
%(An element whose role is presentational and does not need to
|
153
|
+
be mapped to the accessibility API.)
|
154
|
+
property :prev, :comment =>
|
155
|
+
%(prev refers to a previous resource \(before the current one\)
|
156
|
+
in an ordered collection of resources.)
|
157
|
+
property :progressbar, :comment =>
|
158
|
+
%(An element that displays the progress status for tasks that
|
159
|
+
take a long time.)
|
160
|
+
property :radio, :comment =>
|
161
|
+
%(A checkable input in a group of radio roles, only one of which
|
162
|
+
can be checked at a time.)
|
163
|
+
property :radiogroup, :comment =>
|
164
|
+
%(A group of radio buttons.)
|
165
|
+
property :region, :comment =>
|
166
|
+
%(A large perceivable section of a web page or document, that
|
167
|
+
the author feels should be included in a summary of page
|
168
|
+
features.)
|
169
|
+
property :role, :comment =>
|
170
|
+
%(role indicates the purpose of the resource. See the XHTML Role
|
171
|
+
Vocabulary for roles in this vocabulary space, and XHTMLROLE
|
172
|
+
for information on extending the collection of roles.)
|
173
|
+
property :row, :comment =>
|
174
|
+
%(A row of cells in a grid.)
|
175
|
+
property :rowheader, :comment =>
|
176
|
+
%(A cell containing header information for a row in a grid.)
|
177
|
+
property :search, :comment =>
|
178
|
+
%(search indicates that the section provides a search facility.)
|
179
|
+
property :section, :comment =>
|
180
|
+
%(section refers to a resource serving as a section in a
|
181
|
+
collection.)
|
182
|
+
property :separator, :comment =>
|
183
|
+
%(A divider that separates and distinguishes sections of content
|
184
|
+
or groups of menuitems.)
|
185
|
+
property :slider, :comment =>
|
186
|
+
%(A user input where the user selects a value from within a
|
187
|
+
given range.)
|
188
|
+
property :spinbutton, :comment =>
|
189
|
+
%(A form of range that expects a user to select from amongst
|
190
|
+
discrete choices.)
|
191
|
+
property :start, :comment =>
|
192
|
+
%(start refers to the first resource in a collection of
|
193
|
+
resources.)
|
194
|
+
property :status, :comment =>
|
195
|
+
%(A container whose content is advisory information for the user
|
196
|
+
but is not important enough to justify an alert. Also see
|
197
|
+
alert.)
|
198
|
+
property :stylesheet, :comment =>
|
199
|
+
%(stylesheet refers to a resource serving as a stylesheet for a
|
200
|
+
resource.)
|
201
|
+
property :subsection, :comment =>
|
202
|
+
%(subsection refers to a resource serving as a subsection in a
|
203
|
+
collection.)
|
204
|
+
property :tab, :comment =>
|
205
|
+
%(A header for a tabpanel.)
|
206
|
+
property :tablist, :comment =>
|
207
|
+
%(A list of tab elements, which are references to tabpanel
|
208
|
+
elements.)
|
209
|
+
property :tabpanel, :comment =>
|
210
|
+
%(A container for the resources associated with a tab.)
|
211
|
+
property :textbox, :comment =>
|
212
|
+
%(Input that allows free-form text as their value.)
|
213
|
+
property :timer, :comment =>
|
214
|
+
%(A numerical counter which indicates an amount of elapsed time
|
215
|
+
from a start point, or the time remaining until an end point.)
|
216
|
+
property :toolbar, :comment =>
|
217
|
+
%(A collection of commonly used function buttons represented in
|
218
|
+
compact visual form.)
|
219
|
+
property :tooltip, :comment =>
|
220
|
+
%(A contextual popup that displays a description for an element
|
221
|
+
in a mouse hover or keyboard focused state. Supplement to the
|
222
|
+
normal tooltip processing of the user agent.)
|
223
|
+
property :top, :comment =>
|
224
|
+
%(top is a synonym for start.)
|
225
|
+
property :tree, :comment =>
|
226
|
+
%(A type of list that may contain sub-level nested groups that
|
227
|
+
can be collapsed and expanded.)
|
228
|
+
property :treegrid, :comment =>
|
229
|
+
%(A grid whose rows can be expanded and collapsed in the same
|
230
|
+
manner as for a tree.)
|
231
|
+
property :treeitem, :comment =>
|
232
|
+
%(An option item of a tree. This is an element within a tree
|
233
|
+
that may be expanded or collapsed if it contains a sub-level
|
234
|
+
group of treeitems.)
|
235
|
+
property :up, :comment =>
|
236
|
+
%(up refers to a resource "above" in a hierarchically structured
|
237
|
+
set.)
|
238
|
+
end
|
239
|
+
end
|