rdf-rdfa 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/AUTHORS ADDED
@@ -0,0 +1 @@
1
+ * Gregg Kellogg <gregg@kellogg-assoc.com>
@@ -1,2 +1,7 @@
1
+ === 0.0.2
2
+ * Remove dependency on Namespace
3
+ * Changed to RDF::RDFa, and moved files accordingly.
4
+ * Added vocab definitions for RDA, XHV, XML, XSI and OWL
5
+
1
6
  === 0.0.1
2
- First port from RdfContext version 0.5.4
7
+ * First port from RdfContext version 0.5.4
@@ -16,9 +16,11 @@ Install with 'gem install rdf-rdfa'
16
16
  == Usage:
17
17
  Instantiate a parser and parse source, specifying type and base-URL
18
18
 
19
- use RDF::RDFa
20
- p = Parser.new
21
- graph = p.parse(input, "http://example.com")
19
+ RDF::RDFa::Reader.open("etc/foaf.html") do |reader|
20
+ reader.each_statement do |statement|
21
+ puts statement.inspect
22
+ end
23
+ end
22
24
 
23
25
  == Resources:
24
26
  * Distiller[http://kellogg-assoc/distiller]
data/Rakefile CHANGED
@@ -12,11 +12,13 @@ begin
12
12
  gemspec.email = "gregg@kellogg-assoc.com"
13
13
  gemspec.homepage = "http://github.com/gkellogg/rdf-rdfa"
14
14
  gemspec.authors = ["Gregg Kellogg", "Nicholas Humfrey"]
15
- gemspec.add_dependency('nokogiri', '>= 1.3.3')
16
15
  gemspec.add_dependency('rdf', '>= 0.1.6')
16
+ gemspec.add_dependency('nokogiri', '>= 1.3.3')
17
+ gemspec.add_dependency('patron', '>= 0.4.6')
17
18
  gemspec.add_development_dependency('rspec')
19
+ gemspec.add_development_dependency('rdf-spec')
18
20
  gemspec.add_development_dependency('activesupport', '>= 2.3.0')
19
- gemspec.extra_rdoc_files = %w(README.rdoc History.txt)
21
+ gemspec.extra_rdoc_files = %w(README.rdoc History.txt AUTHORS)
20
22
  end
21
23
  Jeweler::GemcutterTasks.new
22
24
  rescue LoadError
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.1
1
+ 0.0.2
@@ -0,0 +1,83 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN" "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml">
4
+ <head>
5
+ <title>FOAF prefixes</title>
6
+ </head>
7
+ <body xmlns:rdfa="http://www.w3.org/ns/rdfa#">
8
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/Document</span>" can be used with the "<span property="rdfa:term">Document</span>" term.</p>
9
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/Image</span>" can be used with the "<span property="rdfa:term">Image</span>" term.</p>
10
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/LabelProperty</span>" can be used with the "<span property="rdfa:term">LabelProperty</span>" term.</p>
11
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/Agent</span>" can be used with the "<span property="rdfa:term">Agent</span>" term.</p>
12
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/OnlineAccount</span>" can be used with the "<span property="rdfa:term">OnlineAccount</span>" term.</p>
13
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/Project</span>" can be used with the "<span property="rdfa:term">Project</span>" term.</p>
14
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/OnlineChatAccount</span>" can be used with the "<span property="rdfa:term">OnlineChatAccount</span>" term.</p>
15
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/Organization</span>" can be used with the "<span property="rdfa:term">Organization</span>" term.</p>
16
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/PersonalProfileDocument</span>" can be used with the "<span property="rdfa:term">PersonalProfileDocument</span>" term.</p>
17
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/OnlineEcommerceAccount</span>" can be used with the "<span property="rdfa:term">OnlineEcommerceAccount</span>" term.</p>
18
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/OnlineGamingAccount</span>" can be used with the "<span property="rdfa:term">OnlineGamingAccount</span>" term.</p>
19
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/Group</span>" can be used with the "<span property="rdfa:term">Group</span>" term.</p>
20
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/Person</span>" can be used with the "<span property="rdfa:term">Person</span>" term.</p>
21
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/accountName</span>" can be used with the "<span property="rdfa:term">accountName</span>" term.</p>
22
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/knows</span>" can be used with the "<span property="rdfa:term">knows</span>" term.</p>
23
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/account</span>" can be used with the "<span property="rdfa:term">account</span>" term.</p>
24
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/topic_interest</span>" can be used with the "<span property="rdfa:term">topic_interest</span>" term.</p>
25
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/accountServiceHomepage</span>" can be used with the "<span property="rdfa:term">accountServiceHomepage</span>" term.</p>
26
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/member</span>" can be used with the "<span property="rdfa:term">member</span>" term.</p>
27
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/name</span>" can be used with the "<span property="rdfa:term">name</span>" term.</p>
28
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/openid</span>" can be used with the "<span property="rdfa:term">openid</span>" term.</p>
29
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/icqChatID</span>" can be used with the "<span property="rdfa:term">icqChatID</span>" term.</p>
30
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/birthday</span>" can be used with the "<span property="rdfa:term">birthday</span>" term.</p>
31
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/status</span>" can be used with the "<span property="rdfa:term">status</span>" term.</p>
32
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/weblog</span>" can be used with the "<span property="rdfa:term">weblog</span>" term.</p>
33
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/currentProject</span>" can be used with the "<span property="rdfa:term">currentProject</span>" term.</p>
34
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/sha1</span>" can be used with the "<span property="rdfa:term">sha1</span>" term.</p>
35
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/yahooChatID</span>" can be used with the "<span property="rdfa:term">yahooChatID</span>" term.</p>
36
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/isPrimaryTopicOf</span>" can be used with the "<span property="rdfa:term">isPrimaryTopicOf</span>" term.</p>
37
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/schoolHomepage</span>" can be used with the "<span property="rdfa:term">schoolHomepage</span>" term.</p>
38
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/workInfoHomepage</span>" can be used with the "<span property="rdfa:term">workInfoHomepage</span>" term.</p>
39
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/lastName</span>" can be used with the "<span property="rdfa:term">lastName</span>" term.</p>
40
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/msnChatID</span>" can be used with the "<span property="rdfa:term">msnChatID</span>" term.</p>
41
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/mbox</span>" can be used with the "<span property="rdfa:term">mbox</span>" term.</p>
42
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/givenname</span>" can be used with the "<span property="rdfa:term">givenname</span>" term.</p>
43
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/thumbnail</span>" can be used with the "<span property="rdfa:term">thumbnail</span>" term.</p>
44
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/tipjar</span>" can be used with the "<span property="rdfa:term">tipjar</span>" term.</p>
45
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/interest</span>" can be used with the "<span property="rdfa:term">interest</span>" term.</p>
46
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/pastProject</span>" can be used with the "<span property="rdfa:term">pastProject</span>" term.</p>
47
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/myersBriggs</span>" can be used with the "<span property="rdfa:term">myersBriggs</span>" term.</p>
48
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/gender</span>" can be used with the "<span property="rdfa:term">gender</span>" term.</p>
49
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/givenName</span>" can be used with the "<span property="rdfa:term">givenName</span>" term.</p>
50
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/mbox_sha1sum</span>" can be used with the "<span property="rdfa:term">mbox_sha1sum</span>" term.</p>
51
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/firstName</span>" can be used with the "<span property="rdfa:term">firstName</span>" term.</p>
52
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/phone</span>" can be used with the "<span property="rdfa:term">phone</span>" term.</p>
53
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/title</span>" can be used with the "<span property="rdfa:term">title</span>" term.</p>
54
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/topic</span>" can be used with the "<span property="rdfa:term">topic</span>" term.</p>
55
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/maker</span>" can be used with the "<span property="rdfa:term">maker</span>" term.</p>
56
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/plan</span>" can be used with the "<span property="rdfa:term">plan</span>" term.</p>
57
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/theme</span>" can be used with the "<span property="rdfa:term">theme</span>" term.</p>
58
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/page</span>" can be used with the "<span property="rdfa:term">page</span>" term.</p>
59
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/holdsAccount</span>" can be used with the "<span property="rdfa:term">holdsAccount</span>" term.</p>
60
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/age</span>" can be used with the "<span property="rdfa:term">age</span>" term.</p>
61
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/img</span>" can be used with the "<span property="rdfa:term">img</span>" term.</p>
62
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/skypeID</span>" can be used with the "<span property="rdfa:term">skypeID</span>" term.</p>
63
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/jabberID</span>" can be used with the "<span property="rdfa:term">jabberID</span>" term.</p>
64
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/family_name</span>" can be used with the "<span property="rdfa:term">family_name</span>" term.</p>
65
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/nick</span>" can be used with the "<span property="rdfa:term">nick</span>" term.</p>
66
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/logo</span>" can be used with the "<span property="rdfa:term">logo</span>" term.</p>
67
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/depicts</span>" can be used with the "<span property="rdfa:term">depicts</span>" term.</p>
68
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/dnaChecksum</span>" can be used with the "<span property="rdfa:term">dnaChecksum</span>" term.</p>
69
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/fundedBy</span>" can be used with the "<span property="rdfa:term">fundedBy</span>" term.</p>
70
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/publications</span>" can be used with the "<span property="rdfa:term">publications</span>" term.</p>
71
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/workplaceHomepage</span>" can be used with the "<span property="rdfa:term">workplaceHomepage</span>" term.</p>
72
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/depiction</span>" can be used with the "<span property="rdfa:term">depiction</span>" term.</p>
73
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/based_near</span>" can be used with the "<span property="rdfa:term">based_near</span>" term.</p>
74
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/membershipClass</span>" can be used with the "<span property="rdfa:term">membershipClass</span>" term.</p>
75
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/familyName</span>" can be used with the "<span property="rdfa:term">familyName</span>" term.</p>
76
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/homepage</span>" can be used with the "<span property="rdfa:term">homepage</span>" term.</p>
77
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/geekcode</span>" can be used with the "<span property="rdfa:term">geekcode</span>" term.</p>
78
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/aimChatID</span>" can be used with the "<span property="rdfa:term">aimChatID</span>" term.</p>
79
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/made</span>" can be used with the "<span property="rdfa:term">made</span>" term.</p>
80
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/primaryTopic</span>" can be used with the "<span property="rdfa:term">primaryTopic</span>" term.</p>
81
+ <p typeof="">The URI "<span property="rdfa:uri">http://xmlns.com/foaf/0.1/surname</span>" can be used with the "<span property="rdfa:term">surname</span>" term.</p>
82
+ </body>
83
+ </html>
@@ -0,0 +1,459 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN"
3
+ "http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
4
+ <html xmlns="http://www.w3.org/1999/xhtml"
5
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
6
+ xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
7
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema#" xml:lang="en-US">
8
+ <head profile="http://www.w3.org/1999/xhtml/vocab">
9
+ <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
10
+ <title>XHTML Vocabulary</title>
11
+ <base href="http://www.w3.org/1999/xhtml/vocab" />
12
+ <link rel="stylesheet" type="text/css"
13
+ href="http://www.w3.org/StyleSheets/TR/base.css" />
14
+ </head>
15
+
16
+ <body>
17
+
18
+ <div class="head">
19
+ <p><a href="http://www.w3.org/"><img class="head"
20
+ src="http://www.w3.org/Icons/WWW/w3c_home" alt="W3C" /></a></p>
21
+ </div>
22
+
23
+ <h1><abbr title="Extensible HyperText Markup Language">XHTML</abbr>
24
+ Vocabulary</h1>
25
+
26
+ <p>This is a vocabulary collection utilized by <abbr>XHTML</abbr> Family
27
+ modules and document types using <a
28
+ href="http://www.w3.org/TR/xhtml-modularization"><abbr>XHTML</abbr>
29
+ Modularization</a>, including <a
30
+ href="http://www.w3.org/TR/xhtml-role"><abbr>XHTML</abbr> Role</a> and XHTML +
31
+ RDFa as defined in <a
32
+ href="http://www.w3.org/TR/rdfa-syntax">rdfa-syntax</a>.</p>
33
+
34
+ <p>The <abbr>XHTML</abbr> specifications are developed by the <a
35
+ href="http://www.w3.org/MarkUp/"><abbr
36
+ title="World Wide Web Consortium">W3C</abbr> <abbr
37
+ title="Extensible HyperText Markup Language">XHTML</abbr> 2 Working Group</a>
38
+ as part of the <a href="http://www.w3.org/MarkUp/Activity"><abbr>W3C</abbr>
39
+ <abbr>HTML</abbr> Activity</a>.</p>
40
+
41
+ <p>For more information about <abbr>XML</abbr>, please refer to the <a
42
+ href="http://www.w3.org/TR/REC-xml">Extensible Markup Language
43
+ (<abbr>XML</abbr>) 1.0</a> specification.</p>
44
+
45
+ <p>Version date: <!--$date=-->2010-01-27<!--$--></p>
46
+ <hr />
47
+
48
+ <h2>1. Introduction</h2>
49
+
50
+ <p>XHTML Modularization [<a href="#ref_XHTMLMOD">XHTMLMOD</a>] permits the
51
+ development of XHTML modules and XHTML family markup languages. These modules
52
+ and markup languages may, in turn, define local vocabulary items for use as
53
+ values of attributes. This document describes the items that are available in
54
+ the default XHTML vocabulary space:
55
+ <code>http://www.w3.org/1999/xhtml/vocab#</code>. </p>
56
+
57
+ <h2 id="XHTMLMetaInformationModule">2. XHTML Metainformation Vocabulary</h2>
58
+
59
+ <p>The XHTML Metainformation Module defined as part of XHTML+RDFa [<a
60
+ href="#ref_XHTMLRDFa">XHTMLRDFa</a>] specifies the following vocabulary items
61
+ for use in the <code>rel</code> and <code>rev</code> attributes.</p>
62
+
63
+ <div id="relrev-properties" about="#relrev-properties" typeof="rdf:Bag">
64
+
65
+ <div about="#relrev-properties" rev="rdfs:member">
66
+ <dl>
67
+ <dt id="alternate" about="#alternate" typeof="rdf:Property">alternate</dt>
68
+ <dd about="#alternate" property="rdfs:comment"
69
+ datatype="xsd:string"><span>alternate</span> designates alternate
70
+ versions for a resource.</dd>
71
+ <dt id="appendix" about="#appendix" typeof="rdf:Property">appendix</dt>
72
+ <dd about="#appendix" property="rdfs:comment"
73
+ datatype="xsd:string"><span>appendix</span> refers to a resource serving
74
+ as an appendix in a collection. </dd>
75
+ <dt id="bookmark" about="#bookmark" typeof="rdf:Property">bookmark</dt>
76
+ <dd about="#bookmark" property="rdfs:comment"
77
+ datatype="xsd:string"><span>bookmark</span> refers to a bookmark - a link
78
+ to a key entry point within an extended document. </dd>
79
+ <dt id="cite" about="#cite" typeof="rdf:Property">cite</dt>
80
+ <dd about="#cite" property="rdfs:comment"
81
+ datatype="xsd:string"><span>cite</span> refers to a resource that defines
82
+ a citation. </dd>
83
+ <dt id="chapter" about="#chapter" typeof="rdf:Property">chapter</dt>
84
+ <dd about="#chapter" property="rdfs:comment"
85
+ datatype="xsd:string"><span>chapter</span> refers to a resource serving
86
+ as a chapter in a collection. </dd>
87
+ <dt id="contents" about="#contents" typeof="rdf:Property">contents</dt>
88
+ <dd about="#contents" property="rdfs:comment"
89
+ datatype="xsd:string"><span>contents</span> refers to a resource serving
90
+ as a table of contents. </dd>
91
+ <dt id="copyright" about="#copyright" typeof="rdf:Property">copyright</dt>
92
+ <dd about="#copyright" property="rdfs:comment"
93
+ datatype="xsd:string"><span>copyright</span> refers to a copyright
94
+ statement for the resource. </dd>
95
+ <dt id="first" about="#first" typeof="rdf:Property">first</dt>
96
+ <dd about="#first" property="rdfs:comment"
97
+ datatype="xsd:string"><span>first</span> refers the first item in a
98
+ collection (see also start and top).</dd>
99
+ <dt id="glossary" about="#glossary" typeof="rdf:Property">glossary</dt>
100
+ <dd about="#glossary" property="rdfs:comment"
101
+ datatype="xsd:string"><span>glossary</span> refers to a resource
102
+ providing a glossary of terms. </dd>
103
+ <dt id="help" about="#help" typeof="rdf:Property">help</dt>
104
+ <dd about="#help" property="rdfs:comment"
105
+ datatype="xsd:string"><span>help</span> refers to a resource offering
106
+ help. </dd>
107
+ <dt id="icon" about="#icon" typeof="rdf:Property">icon</dt>
108
+ <dd about="#icon" property="rdfs:comment"
109
+ datatype="xsd:string"><span>icon</span> refers to a resource that
110
+ represents an icon. </dd>
111
+ <dt id="index" about="#index" typeof="rdf:Property">index</dt>
112
+ <dd about="#index" property="rdfs:comment"
113
+ datatype="xsd:string"><span>index</span> refers to a resource providing
114
+ an index. </dd>
115
+ <dt id="itsRules" about="#itsRules" typeof="rdf:Property">itsRules</dt>
116
+ <dd about="#itsRules" property="rdfs:comment"
117
+ datatype="xsd:string"><span>itsRules</span> indicates that the designated
118
+ resource is an [<a href="#ref_ITS">ITS</a>] rule set.</dd>
119
+ <dt id="last" about="#last" typeof="rdf:Property">last</dt>
120
+ <dd about="#last" property="rdfs:comment"
121
+ datatype="xsd:string"><span>last</span> refers to the last resource in a
122
+ collection of resources. </dd>
123
+ <dt id="license" about="#license" typeof="rdf:Property">license</dt>
124
+ <dd about="#license" property="rdfs:comment"
125
+ datatype="xsd:string"><span>license</span> refers to a resource that
126
+ defines the associated license. </dd>
127
+ <dt id="meta" about="#meta" typeof="rdf:Property">meta</dt>
128
+ <dd about="#meta" property="rdfs:comment"
129
+ datatype="xsd:string"><span>meta</span> refers to a resource that
130
+ provides metadata. </dd>
131
+ <dt id="next" about="#next" typeof="rdf:Property">next</dt>
132
+ <dd about="#next" property="rdfs:comment"
133
+ datatype="xsd:string"><span>next</span> refers to the next resource
134
+ (after the current one) in an ordered collection of resources. </dd>
135
+ <dt id="p3pv1" about="#p3pv1" typeof="rdf:Property">p3pv1</dt>
136
+ <dd about="#p3pv1" property="rdfs:comment"
137
+ datatype="xsd:string"><span>p3pv1</span> refers to a P3P Policy Reference
138
+ File [<a href="#ref_P3P">P3P</a>]. </dd>
139
+ <dt id="prev" about="#prev" typeof="rdf:Property">prev</dt>
140
+ <dd about="#prev" property="rdfs:comment"
141
+ datatype="xsd:string"><span>prev</span> refers to a previous resource
142
+ (before the current one) in an ordered collection of resources. </dd>
143
+ <dt id="role" about="#role" typeof="rdf:Bag rdf:Property">role</dt>
144
+ <dd about="#role" property="rdfs:comment"
145
+ datatype="xsd:string"><span>role</span> indicates the purpose of the
146
+ resource. See <a href="#XHTMLRoleVocabulary">the XHTML Role
147
+ Vocabulary</a> for roles in this vocabulary space, and <a
148
+ href="#ref_XHTMLROLE">XHTMLROLE</a> for information on extending the
149
+ collection of roles. </dd>
150
+ <dt id="section" about="#section" typeof="rdf:Property">section</dt>
151
+ <dd about="#section" property="rdfs:comment"
152
+ datatype="xsd:string"><span>section</span> refers to a resource serving
153
+ as a section in a collection. </dd>
154
+ <dt id="stylesheet" about="#stylesheet" typeof="rdf:Property">stylesheet</dt>
155
+ <dd about="#stylesheet" property="rdfs:comment"
156
+ datatype="xsd:string"><span>stylesheet</span> refers to a resource
157
+ serving as a stylesheet for a resource. </dd>
158
+ <dt id="subsection" about="#subsection" typeof="rdf:Property">subsection</dt>
159
+ <dd about="#subsection" property="rdfs:comment"
160
+ datatype="xsd:string"><span>subsection</span> refers to a resource
161
+ serving as a subsection in a collection. </dd>
162
+ <dt id="start" about="#start" typeof="rdf:Property">start</dt>
163
+ <dd about="#start" property="rdfs:comment"
164
+ datatype="xsd:string"><span>start</span> refers to the first resource in
165
+ a collection of resources. </dd>
166
+ <dt id="top" about="#top" typeof="rdf:Property">top</dt>
167
+ <dd about="#top" property="rdfs:comment"
168
+ datatype="xsd:string"><span>top</span> is a synonym for start. </dd>
169
+ <dt id="up" about="#up" typeof="rdf:Property">up</dt>
170
+ <dd about="#up" property="rdfs:comment"
171
+ datatype="xsd:string"><span>up</span> refers to a resource "above" in a
172
+ hierarchically structured set. </dd>
173
+ </dl>
174
+ </div>
175
+ </div>
176
+
177
+ <h2 id="XHTMLRoleVocabulary">3. XHTML Role Vocabulary</h2>
178
+
179
+ <h3 id="XHTMLRoleModule">3.1 Items from the XHTML Role Module</h3>
180
+
181
+ <p id="role-properties" about="#role-properties" typeof="rdf:Bag">The values in
182
+ this section are defined for use in the <code>role</code> attribute as
183
+ specified in the <a href="#ref_XHTMLROLE">XHTML Role Attribute Module</a>. Note
184
+ that the values in <a href="#XHTMLMetaInformationModule"
185
+ resource="#relrev-properties" rev="rdfs:member">Section 2</a> and <a
186
+ href="#WAIARIA">Section 3.2</a> are also available.</p>
187
+
188
+ <div about="#role-properties" rev="rdfs:member">
189
+ <dl>
190
+ <dt id="banner" about="#banner" typeof="rdf:Property">banner</dt>
191
+ <dd about="#banner" property="rdfs:comment" datatype="xsd:string">contains
192
+ the prime heading or internal title of a page. </dd>
193
+ <dt id="complementary" about="#complementary"
194
+ typeof="rdf:Property">complementary</dt>
195
+ <dd about="#complementary" property="rdfs:comment"
196
+ datatype="xsd:string">indicates that the section supports but is
197
+ separable from the main content of resource.</dd>
198
+ <dt id="contentinfo" about="#contentinfo"
199
+ typeof="rdf:Property">contentinfo</dt>
200
+ <dd about="#contentinfo" property="rdfs:comment"
201
+ datatype="xsd:string"><span></span>contains meta information about the
202
+ content on the page or the page as a whole.</dd>
203
+ <dt id="definition" about="#definition" typeof="rdf:Property">definition</dt>
204
+ <dd about="#definition" property="rdfs:comment"
205
+ datatype="xsd:string">indicates the definition of a term or concept.</dd>
206
+ <dt id="main" about="#main" typeof="rdf:Property">main</dt>
207
+ <dd about="#main" property="rdfs:comment" datatype="xsd:string">acts as the
208
+ main content of the document. </dd>
209
+ <dt id="navigation" about="#navigation" typeof="rdf:Property">navigation</dt>
210
+ <dd about="#navigation" property="rdfs:comment"
211
+ datatype="xsd:string">indicates a collection of items suitable for
212
+ navigating the document or related documents.</dd>
213
+ <dt id="note" about="#note" typeof="rdf:Property">note</dt>
214
+ <dd about="#note" property="rdfs:comment" datatype="xsd:string">indicates
215
+ the content is parenthetic or ancillary to the main content of the
216
+ resource. </dd>
217
+ <dt id="search" about="#search" typeof="rdf:Property">search</dt>
218
+ <dd about="#search" property="rdfs:comment" datatype="xsd:string">indicates
219
+ that the section provides a search facility. </dd>
220
+ </dl>
221
+ </div>
222
+
223
+ <h3 id="WAIARIA">3.2 Items from the Accessible Rich Internet Applications
224
+ Vocabulary</h3>
225
+
226
+ <div about="#role-properties" typeof="rdfs:member">
227
+ <dl>
228
+ <dt id="alert" about="#alert" typeof="rdf:Property">alert</dt>
229
+ <dd about="#alert" property="rdfs:comment" datatype="xsd:string">A message
230
+ with important, and usually time-sensitive, information. Also see
231
+ alertdialog and status.</dd>
232
+ <dt id="alertdialog" about="#alertdialog"
233
+ typeof="rdf:Property">alertdialog</dt>
234
+ <dd about="#alertdialog" property="rdfs:comment" datatype="xsd:string">A
235
+ type of dialog that contains an alert message, where initial focus goes
236
+ to the dialog or an element within it. Also see alert and dialog.</dd>
237
+ <dt id="application" about="#application"
238
+ typeof="rdf:Property">application</dt>
239
+ <dd about="#application" property="rdfs:comment" datatype="xsd:string">A
240
+ region declared as a web application, as opposed to a web document.</dd>
241
+ <dt id="article" about="#article" typeof="rdf:Property">article</dt>
242
+ <dd about="#article" property="rdfs:comment" datatype="xsd:string">A
243
+ section of a page consisting of an independent part of a document, page,
244
+ or site.</dd>
245
+ <dt id="button" about="#button" typeof="rdf:Property">button</dt>
246
+ <dd about="#button" property="rdfs:comment" datatype="xsd:string">An input
247
+ that allows for user-triggered actions when clicked or pressed.</dd>
248
+ <dt id="checkbox" about="#checkbox" typeof="rdf:Property">checkbox</dt>
249
+ <dd about="#checkbox" property="rdfs:comment" datatype="xsd:string">An
250
+ checkable input that has three possible values: true, false, or
251
+ mixed.</dd>
252
+ <dt id="columnheader" about="#columnheader"
253
+ typeof="rdf:Property">columnheader</dt>
254
+ <dd about="#columnheader" property="rdfs:comment" datatype="xsd:string">A
255
+ cell containing header information for a column.</dd>
256
+ <dt id="combobox" about="#combobox" typeof="rdf:Property">combobox</dt>
257
+ <dd about="#combobox" property="rdfs:comment" datatype="xsd:string">A
258
+ presentation of a select; usually similar to a textbox where users can
259
+ type ahead to select an option, or type to enter arbitrary text as a new
260
+ item in the list.</dd>
261
+ <dt id="dialog" about="#dialog" typeof="rdf:Property">dialog</dt>
262
+ <dd about="#dialog" property="rdfs:comment" datatype="xsd:string">A dialog
263
+ is an application window that is designed to interrupt the current
264
+ processing of an application in order to prompt the user to enter
265
+ information or require a response. Also see alertdialog.</dd>
266
+ <dt id="directory" about="#directory" typeof="rdf:Property">directory</dt>
267
+ <dd about="#directory" property="rdfs:comment" datatype="xsd:string">A list
268
+ of references to members of a group, such as a static table of
269
+ contents.</dd>
270
+ <dt id="document" about="#document" typeof="rdf:Property">document</dt>
271
+ <dd about="#document" property="rdfs:comment" datatype="xsd:string">A
272
+ region containing related information that is declared as document
273
+ content, as opposed to a web application.</dd>
274
+ <dt id="grid" about="#grid" typeof="rdf:Property">grid</dt>
275
+ <dd about="#grid" property="rdfs:comment" datatype="xsd:string">A grid
276
+ contains cells of tabular data arranged in rows and columns, like a
277
+ table.</dd>
278
+ <dt id="gridcell" about="#gridcell" typeof="rdf:Property">gridcell</dt>
279
+ <dd about="#gridcell" property="rdfs:comment" datatype="xsd:string">A cell
280
+ in a grid or treegrid.</dd>
281
+ <dt id="group" about="#group" typeof="rdf:Property">group</dt>
282
+ <dd about="#group" property="rdfs:comment" datatype="xsd:string">A set of
283
+ user interface objects which would not be included in a page summary or
284
+ table of contents by an assistive technology.</dd>
285
+ <dt id="heading" about="#heading" typeof="rdf:Property">heading</dt>
286
+ <dd about="#heading" property="rdfs:comment" datatype="xsd:string">A
287
+ heading for a section of the page.</dd>
288
+ <dt id="img" about="#img" typeof="rdf:Property">img</dt>
289
+ <dd about="#img" property="rdfs:comment" datatype="xsd:string">A container
290
+ for a collection of elements that form an image.</dd>
291
+ <dt id="link" about="#link" typeof="rdf:Property">link</dt>
292
+ <dd about="#link" property="rdfs:comment" datatype="xsd:string">An
293
+ interactive reference to an internal or external resource.</dd>
294
+ <dt id="list" about="#list" typeof="rdf:Property">list</dt>
295
+ <dd about="#list" property="rdfs:comment" datatype="xsd:string">A group of
296
+ non-interactive list items.</dd>
297
+ <dt id="listbox" about="#listbox" typeof="rdf:Property">listbox</dt>
298
+ <dd about="#listbox" property="rdfs:comment" datatype="xsd:string">A widget
299
+ that allows the user to select one or more items from a list of
300
+ choices.</dd>
301
+ <dt id="listitem" about="#listitem" typeof="rdf:Property">listitem</dt>
302
+ <dd about="#listitem" property="rdfs:comment" datatype="xsd:string">A
303
+ single item in a list, listbox, or directory.</dd>
304
+ <dt id="log" about="#log" typeof="rdf:Property">log</dt>
305
+ <dd about="#log" property="rdfs:comment" datatype="xsd:string">A type of
306
+ live region where new information is added in meaningful order and old
307
+ information may disappear. Also see marquee.</dd>
308
+ <dt id="marquee" about="#marquee" typeof="rdf:Property">marquee</dt>
309
+ <dd about="#marquee" property="rdfs:comment" datatype="xsd:string">A type
310
+ of live region where non-essential information changes frequently. Also
311
+ see log.</dd>
312
+ <dt id="math" about="#math" typeof="rdf:Property">math</dt>
313
+ <dd about="#math" property="rdfs:comment" datatype="xsd:string">An element
314
+ that represents a mathematical expression.</dd>
315
+ <dt id="menu" about="#menu" typeof="rdf:Property">menu</dt>
316
+ <dd about="#menu" property="rdfs:comment" datatype="xsd:string">A type of
317
+ widget that offers a list of choices to the user.</dd>
318
+ <dt id="menubar" about="#menubar" typeof="rdf:Property">menubar</dt>
319
+ <dd about="#menubar" property="rdfs:comment" datatype="xsd:string">A
320
+ presentation of menu that usually remains visible and is usually
321
+ presented horizontally.</dd>
322
+ <dt id="menuitem" about="#menuitem" typeof="rdf:Property">menuitem</dt>
323
+ <dd about="#menuitem" property="rdfs:comment" datatype="xsd:string">An
324
+ option in a group of choices contained by a menu or menubar.</dd>
325
+ <dt id="menuitemcheckbox" about="#menuitemcheckbox"
326
+ typeof="rdf:Property">menuitemcheckbox</dt>
327
+ <dd about="#menuitemcheckbox" property="rdfs:comment"
328
+ datatype="xsd:string">A checkable menuitem that has three possible
329
+ values: true, false, or mixed.</dd>
330
+ <dt id="menuitemradio" about="#menuitemradio"
331
+ typeof="rdf:Property">menuitemradio</dt>
332
+ <dd about="#menuitemradio" property="rdfs:comment" datatype="xsd:string">A
333
+ checkable menuitem in a group of menuitemradio roles, only one of which
334
+ can be checked at a time.</dd>
335
+ <dt id="option" about="#option" typeof="rdf:Property">option</dt>
336
+ <dd about="#option" property="rdfs:comment" datatype="xsd:string">A
337
+ selectable item in a select list.</dd>
338
+ <dt id="presentation" about="#presentation"
339
+ typeof="rdf:Property">presentation</dt>
340
+ <dd about="#presentation" property="rdfs:comment" datatype="xsd:string">An
341
+ element whose role is presentational and does not need to be mapped to
342
+ the accessibility API.</dd>
343
+ <dt id="progressbar" about="#progressbar"
344
+ typeof="rdf:Property">progressbar</dt>
345
+ <dd about="#progressbar" property="rdfs:comment" datatype="xsd:string">An
346
+ element that displays the progress status for tasks that take a long
347
+ time.</dd>
348
+ <dt id="radio" about="#radio" typeof="rdf:Property">radio</dt>
349
+ <dd about="#radio" property="rdfs:comment" datatype="xsd:string">A
350
+ checkable input in a group of radio roles, only one of which can be
351
+ checked at a time.</dd>
352
+ <dt id="radiogroup" about="#radiogroup" typeof="rdf:Property">radiogroup</dt>
353
+ <dd about="#radiogroup" property="rdfs:comment" datatype="xsd:string">A
354
+ group of radio buttons.</dd>
355
+ <dt id="region" about="#region" typeof="rdf:Property">region</dt>
356
+ <dd about="#region" property="rdfs:comment" datatype="xsd:string">A large
357
+ perceivable section of a web page or document, that the author feels
358
+ should be included in a summary of page features.</dd>
359
+ <dt id="row" about="#row" typeof="rdf:Property">row</dt>
360
+ <dd about="#row" property="rdfs:comment" datatype="xsd:string">A row of
361
+ cells in a grid.</dd>
362
+ <dt id="rowheader" about="#rowheader" typeof="rdf:Property">rowheader</dt>
363
+ <dd about="#rowheader" property="rdfs:comment" datatype="xsd:string">A cell
364
+ containing header information for a row in a grid.</dd>
365
+ <dt id="separator" about="#separator" typeof="rdf:Property">separator</dt>
366
+ <dd about="#separator" property="rdfs:comment" datatype="xsd:string">A
367
+ divider that separates and distinguishes sections of content or groups of
368
+ menuitems.</dd>
369
+ <dt id="slider" about="#slider" typeof="rdf:Property">slider</dt>
370
+ <dd about="#slider" property="rdfs:comment" datatype="xsd:string">A user
371
+ input where the user selects a value from within a given range.</dd>
372
+ <dt id="spinbutton" about="#spinbutton" typeof="rdf:Property">spinbutton</dt>
373
+ <dd about="#spinbutton" property="rdfs:comment" datatype="xsd:string">A
374
+ form of range that expects a user to select from amongst discrete
375
+ choices.</dd>
376
+ <dt id="status" about="#status" typeof="rdf:Property">status</dt>
377
+ <dd about="#status" property="rdfs:comment" datatype="xsd:string">A
378
+ container whose content is advisory information for the user but is not
379
+ important enough to justify an alert. Also see alert.</dd>
380
+ <dt id="tab" about="#tab" typeof="rdf:Property">tab</dt>
381
+ <dd about="#tab" property="rdfs:comment" datatype="xsd:string">A header for
382
+ a tabpanel.</dd>
383
+ <dt id="tablist" about="#tablist" typeof="rdf:Property">tablist</dt>
384
+ <dd about="#tablist" property="rdfs:comment" datatype="xsd:string">A list
385
+ of tab elements, which are references to tabpanel elements.</dd>
386
+ <dt id="tabpanel" about="#tabpanel" typeof="rdf:Property">tabpanel</dt>
387
+ <dd about="#tabpanel" property="rdfs:comment" datatype="xsd:string">A
388
+ container for the resources associated with a tab.</dd>
389
+ <dt id="textbox" about="#textbox" typeof="rdf:Property">textbox</dt>
390
+ <dd about="#textbox" property="rdfs:comment" datatype="xsd:string">Input
391
+ that allows free-form text as their value.</dd>
392
+ <dt id="timer" about="#timer" typeof="rdf:Property">timer</dt>
393
+ <dd about="#timer" property="rdfs:comment" datatype="xsd:string">A
394
+ numerical counter which indicates an amount of elapsed time from a start
395
+ point, or the time remaining until an end point.</dd>
396
+ <dt id="toolbar" about="#toolbar" typeof="rdf:Property">toolbar</dt>
397
+ <dd about="#toolbar" property="rdfs:comment" datatype="xsd:string">A
398
+ collection of commonly used function buttons represented in compact
399
+ visual form.</dd>
400
+ <dt id="tooltip" about="#tooltip" typeof="rdf:Property">tooltip</dt>
401
+ <dd about="#tooltip" property="rdfs:comment" datatype="xsd:string">A
402
+ contextual popup that displays a description for an element in a mouse
403
+ hover or keyboard focused state. Supplement to the normal tooltip
404
+ processing of the user agent.</dd>
405
+ <dt id="tree" about="#tree" typeof="rdf:Property">tree</dt>
406
+ <dd about="#tree" property="rdfs:comment" datatype="xsd:string">A type of
407
+ list that may contain sub-level nested groups that can be collapsed and
408
+ expanded.</dd>
409
+ <dt id="treegrid" about="#treegrid" typeof="rdf:Property">treegrid</dt>
410
+ <dd about="#treegrid" property="rdfs:comment" datatype="xsd:string">A grid
411
+ whose rows can be expanded and collapsed in the same manner as for a
412
+ tree.</dd>
413
+ <dt id="treeitem" about="#treeitem" typeof="rdf:Property">treeitem</dt>
414
+ <dd about="#treeitem" property="rdfs:comment" datatype="xsd:string">An
415
+ option item of a tree. This is an element within a tree that may be
416
+ expanded or collapsed if it contains a sub-level group of treeitems.</dd>
417
+ </dl>
418
+ </div>
419
+
420
+ <h2>Appendix A - References</h2>
421
+ <dl>
422
+ <dt><a id="ref_ITS" class="normref">[ITS]</a></dt>
423
+ <dd>"<cite><a href="http://www.w3.org/TR/2007/REC-its-20070403/">The
424
+ Internationalization Tag Set (ITS) Version 1.0</a></cite>", W3C
425
+ Recommendation, C. Lieske, F. Sasaki, 3 April 2007.<br />
426
+ Available at: http://www.w3.org/TR/2007/REC-its-20070403/</dd>
427
+ <dt><a id="ref_P3P" class="normref">[P3P]</a></dt>
428
+ <dd>"<cite><a href="http://www.w3.org/TR/2002/REC-P3P-20020416/">The
429
+ Platform for Privacy Preferences 1.0 (P3P1.0) Specification</a></cite>",
430
+ W3C Recommendation, L. Cranor <i xml:lang="la">et al.</i>, 16 April
431
+ 2002.<br />
432
+ Available at: http://www.w3.org/TR/2002/REC-P3P-20020416/</dd>
433
+ <dt>[<a id="ref_XHTMLMOD" class="normref">XHTMLMOD</a>]</dt>
434
+ <dd><cite><a
435
+ href="http://www.w3.org/TR/2008/REC-xhtml-modularization-20081008">XHTML
436
+ Modularization 1.1</a></cite>, W3C Recommendation, Shane McCarron, <em>et
437
+ al.</em>, 8 October 2008<br />
438
+ http://www.w3.org/TR/2008/REC-xhtml-modularization-20081008</dd>
439
+ <dt class="label" id="ref_XHTMLRDFa">[XHTMLRDFa]</dt>
440
+ <dd>"<cite><a
441
+ href="http://www.w3.org/TR/2008/REC-rdfa-syntax-20081014">RDFa in XHTML:
442
+ Syntax and Processing</a></cite>", W3C Recommendation, B. Adida, <em>et
443
+ al.</em>, 14 October 2008.<br />
444
+ http://www.w3.org/TR/2008/REC-rdfa-syntax-20081014.</dd>
445
+ <dt class="label" id="ref_XHTMLROLE">[XHTMLROLE]</dt>
446
+ <dd>"<cite><a href="http://www.w3.org/TR/2008/WD-xhtml-role-20080407">XHTML
447
+ Role Attribute Module</a></cite>", W3C Working Draft, M. Birbeck, et. al.
448
+ 7 April 2008. http://www.w3.org/TR/2008/WD-xhtml-role-20080407<br />
449
+ </dd>
450
+ </dl>
451
+ <hr />
452
+ <address>
453
+ <a href="http://www.cwi.nl/~steven/">Steven Pemberton</a>, W3C HTML Activity
454
+ Lead
455
+ </address>
456
+ <address>
457
+ Last edited: <!--$date=-->2010-01-27</address>
458
+ </body>
459
+ </html>