html5/md Overview.html,1.153,1.154

Update of /sources/public/html5/md
In directory hutz:/tmp/cvs-serv23463

Modified Files:
	Overview.html 
Log Message:
Drop the algorithm that describes how to convert microdata to RDF. The only people who want to do this seem to want to do it for specific vocabularies so they all define vocabulary-specific conversions instead of using owl:sameAs. (whatwg r6427)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/md/Overview.html,v
retrieving revision 1.153
retrieving revision 1.154
diff -u -d -r1.153 -r1.154
--- Overview.html	3 Aug 2011 00:03:08 -0000	1.153
+++ Overview.html	11 Aug 2011 22:31:11 -0000	1.154
@@ -320,7 +320,7 @@
 
    <h1>HTML Microdata</h1>
    <h2 class="no-num no-toc" id="generatedID"></h2>
-   <h2 class="no-num no-toc" id="editor-s-draft-3-august-2011">Editor's Draft 3 August 2011</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-11-august-2011">Editor's Draft 11 August 2011</h2>
    <dl><dt>Latest Published Version:</dt>
     <dd><a href="http://www.w3.org/TR/microdata/">http://www.w3.org/TR/microdata/</a></dd>
     <dt>Latest Editor's Draft:</dt>
@@ -454,7 +454,7 @@
   Group</a> is the W3C working group responsible for this
   specification's progress along the W3C Recommendation
   track.
-  This specification is the 3 August 2011 Editor's Draft.
+  This specification is the 11 August 2011 Editor's Draft.
   </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><p>Work on this specification is also done at the <a href="http://www.whatwg.org/">WHATWG</a>. The W3C HTML working group
   actively pursues convergence with the WHATWG, as required by the <a href="http://www.w3.org/2007/03/HTML-WG-charter">W3C HTML working
   group charter</a>.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><p>This specification is an extension to the HTML5 language. All
@@ -497,10 +497,7 @@
    <li><a href="#drag-and-drop"><span class="secno">4.2 </span>Drag-and-drop</a></ol></li>
  <li><a href="#converting-html-to-other-formats"><span class="secno">5 </span>Converting HTML to other formats</a>
   <ol>
-   <li><a href="#json"><span class="secno">5.1 </span>JSON</a></li>
-   <li><a href="#rdf"><span class="secno">5.2 </span>RDF</a>
-    <ol>
-     <li><a href="#examples"><span class="secno">5.2.1 </span>Examples</a></ol></ol></li>
+   <li><a href="#json"><span class="secno">5.1 </span>JSON</a></ol></li>
  <li><a href="#iana"><span class="secno">6 </span>IANA considerations</a>
   <ol>
    <li><a href="#application-microdata-json"><span class="secno">6.1 </span><code>application/microdata+json</code></a></ol></li>
@@ -1633,389 +1630,7 @@
 
    <li><p>Return <var title="">result</var>.</li>
 
-  </ol><h3 id="rdf"><span class="secno">5.2 </span>RDF</h3>
-
-  <p>To <dfn id="extracting-rdf" title="extracting rdf">convert a <code>Document</code> to
-  RDF</dfn>, a user agent may run the following algorithm. This is not
-  the only algorithm that can be used for this purpose; for instance,
-  a vocabulary could define a specific conversion which is optimised
-  for the terms in that vocabulary.</p>
-
-  <ol><li>
-
-    <p>If <a href="#the-title-element">the <code>title</code> element</a> is not null,
-    then generate the following triple:</p>
-
-    <dl class="triple"><dt>subject   <dd> <a href="#the-document-s-current-address">the document's current address</a>
-     <dt>predicate <dd> <code title="">http://purl.org/dc/terms/title</code>
-     <dt>object    <dd> the concatenation of the data of all the child <span title="text node">text nodes</span> of <a href="#the-title-element">the <code>title</code> element</a>, in <a href="#tree-order">tree order</a>, as a plain literal, with the language information set from the <a href="#language">language</a> of <a href="#the-title-element">the <code>title</code> element</a>, if it is not unknown.
-
-    </dl></li>
-
-   <li>
-
-    <p>For each <code>a</code>, <code>area</code>, and
-    <code>link</code> element in the <code>Document</code>, run these
-    substeps:</p>
-
-    <ol><li><p>If the element does not have a <code title="">rel</code>
-     attribute, then skip this element.</li>
-
-     <li><p>If the element does not have an <code title="">href</code>
-     attribute, then skip this element.</li>
-
-     <li><p>If <a href="#resolve-a-url" title="resolve a URL">resolving</a> the
-     element's <code title="">href</code> attribute relative to the
-     element is not successful, then skip this element.</li>
-
-     <li><p>Otherwise, <a href="#split-a-string-on-spaces" title="split a string on spaces">split
-     the value of the element's <code title="">rel</code> attribute on
-     spaces</a>, obtaining <var title="">list of tokens</var>.</li>
-
-     <li><p>Convert each token in <var title="">list of tokens</var>
-     that does not contain a U+003A COLON characters (:) <span title="converted to ASCII lowercase">to ASCII
-     lowercase</span>.</li>
-
-     <li><p>Coalesce duplicate tokens in <var title="">list of
-     tokens</var>.</li>
-
-     <li><p>If <var title="">list of tokens</var> contains both the
-     tokens <code title="rel-alternate">alternate</code> and <code title="rel-stylesheet">stylesheet</code>, then remove them both
-     and replace them with the single (uppercase) token <code title="">ALTERNATE-STYLESHEET</code>.</li>
-
-     <li>
-
-      <p>For each token <var title="">token</var> in <var title="">list of tokens</var> that contains no U+003A COLON
-      characters (:), generate the following triple:</p>
-
-      <dl class="triple"><dt>subject   <dd> <a href="#the-document-s-current-address">the document's current address</a>
-       <dt>predicate <dd> the <span>fragment-escaped</span> concatenation of the string "<code title="">http://www.w3.org/1999/xhtml/vocab#</code>" and <var title="">token</var>
-       <dt>object    <dd> the <a href="#absolute-url">absolute URL</a> that results from <a href="#resolve-a-url" title="resolve a URL">resolving</a> the value of the element's <code title="">href</code> attribute relative to the element
-      </dl><p>For each token <var title="">token</var> in <var title="">list of tokens</var> that is an <a href="#absolute-url">absolute
-      URL</a>, generate the following triple:</p>
-
-      <dl class="triple"><dt>subject   <dd> <a href="#the-document-s-current-address">the document's current address</a>
-       <dt>predicate <dd> <var title="">token</var>
-       <dt>object    <dd> the <a href="#absolute-url">absolute URL</a> that results from <a href="#resolve-a-url" title="resolve a URL">resolving</a> the value of the element's <code title="">href</code> attribute relative to the element
-      </dl></li>
-
-    </ol></li>
-
-   <li>
-
-    <p>For each <code>meta</code> element in the <code>Document</code>
-    that has a <code title="attr-meta-name">name</code> attribute and
-    a <code title="attr-meta-content">content</code> attribute, if the
-    value of the <code title="attr-meta-name">name</code> attribute
-    contains no U+003A COLON characters (:), generate the following
-    triple:</p>
-
-    <dl class="triple"><dt>subject   <dd> <a href="#the-document-s-current-address">the document's current address</a>
-     <dt>predicate <dd> the <span>fragment-escaped</span> concatenation of the string "<code title="">http://www.w3.org/1999/xhtml/vocab#</code>" and the value of the element's <code title="attr-meta-name">name</code> attribute, <span>converted to ASCII lowercase</span>
-     <dt>object    <dd> the value of the element's <code title="attr-meta-content">content</code> attribute, as a plain literal, with the language information set from the <a href="#language">language</a> of the element, if it is not unknown
-    </dl><p>For each <code>meta</code> element in the <code>Document</code>
-    that has a <code title="attr-meta-name">name</code> attribute and
-    a <code title="attr-meta-content">content</code> attribute, if the
-    value of the <code title="attr-meta-name">name</code> attribute is
-    an <a href="#absolute-url">absolute URL</a>, generate the following triple:</p>
-
-    <dl class="triple"><dt>subject   <dd> <a href="#the-document-s-current-address">the document's current address</a>
-     <dt>predicate <dd> the value of the element's <code title="attr-meta-name">name</code> attribute
-     <dt>object    <dd> the value of the element's <code title="attr-meta-content">content</code> attribute, as a plain literal, with the language information set from the <a href="#language">language</a> of the element, if it is not unknown
-    </dl></li>
-
-   <li>
-
-    <p>For each <code>blockquote</code> and <code>q</code> element in
-    the <code>Document</code> that has a <code title="">cite</code>
-    attribute that <a href="#resolve-a-url" title="resolve a url">resolves</a>
-    successfully relative to the element, generate the following
-    triple:</p>
-
-    <dl class="triple"><dt>subject   <dd> <a href="#the-document-s-current-address">the document's current address</a>
-     <dt>predicate <dd> <code title="">http://purl.org/dc/terms/source</code>
-     <dt>object    <dd> the <a href="#absolute-url">absolute URL</a> that results from <a href="#resolve-a-url" title="resolve a URL">resolving</a> the value of the element's <code title="">cite</code> attribute relative to the element
-    </dl></li>
-
-   <li>
-
-    <p>Let <var title="">memory</var> be a mapping of items to
-    subjects, initially empty.</p>
-
-   </li>
-
-   <li>
-
-    <p>For each element that is also a <a href="#top-level-microdata-items" title="top-level
-    microdata items">top-level microdata item</a>, run the
-    following steps:</p>
-
-    <ol><li>
-
-      <p><a href="#generate-the-triples-for-an-item" title="generate the triples for an item">Generate the
-      triples for the item</a>. Pass a reference to <var title="">memory</var> as the item/subject list. Let <var title="">result</var> be the subject returned.</p>
-
-     </li>
-
-     <li>
-
-      <p>Generate the following triple:</p>
-
-      <dl class="triple"><dt>subject   <dd> <a href="#the-document-s-current-address">the document's current address</a>
-       <dt>predicate <dd> <code title="">http://www.w3.org/1999/xhtml/microdata#item</code>
-       <dt>object    <dd> <var title="">result</var>
-      </dl></li>
-
-    </ol></li>
-
-  </ol><p>When the user agent is to <dfn id="generate-the-triples-for-an-item">generate the triples for an
-  item</dfn> <var title="">item</var>, given a reference to an
-  item/subject list <var title="">memory</var>, and optionally given a
-  fallback type <var title="">fallback type</var> and fallback
-  property name <var title="">fallback name</var>, it must run the
-  following steps:</p>
-
-  <ol><li><p>If there is an entry for the item <var title="">item</var>
-   in <var title="">memory</var>, then return the subject of that
-   entry and abort these steps.</li>
-
-   <li><p>If <var title="">item</var> has a <a href="#global-identifier">global
-   identifier</a> and that <a href="#global-identifier">global identifier</a> is an
-   <a href="#absolute-url">absolute URL</a>, let <var title="">subject</var> be that
-   <a href="#global-identifier">global identifier</a>. Otherwise, let <var title="">subject</var> be a new blank node.</li>
-
-   <li><p>Add a mapping from the item <var title="">item</var> to the
-   subject <var title="">subject</var> in <var title="">memory</var>.</li>
-
-   <li><p>If <var title="">item</var> has an <a href="#item-type">item type</a>
-   and that <a href="#item-type">item type</a> is an <a href="#absolute-url">absolute URL</a>,
-   let <var title="">type</var> be that <a href="#item-type">item
-   type</a>. Otherwise, let <var title="">type</var> be the empty
-   string.</li>
-
-   
-   <li>
-
-    <p>If <var title="">type</var> is not the empty string, run the
-    following steps:</p>
-
-    <ol><li><p>Generate the following triple:</p>
-
-      <dl class="triple"><dt>subject   <dd> <var title="">subject</var>
-       <dt>predicate <dd> <code title="">http://www.w3.org/1999/02/22-rdf-syntax-ns#type</code>
-       <dt>object    <dd> <var title="">type</var>
-      </dl></li>
-
-     <li><p>If <var title="">type</var> does not contain a U+0023
-     NUMBER SIGN character (#), then append a U+0023 NUMBER SIGN
-     character (#) to <var title="">type</var>.</li>
-
-     <li><p>If <var title="">type</var> does not have a U+003A COLON
-     character (:) after its U+0023 NUMBER SIGN character (#), append
-     a U+003A COLON character (:) to <var title="">type</var>.</li>
-
-    </ol></li>
-
-   <li>
-
-    <p>If <var title="">type</var> is the empty string, but <var title="">fallback type</var> is not, run the following
-    substeps:</p>
-
-    <ol><li><p>Let <var title="">type</var> have the value of <var title="">fallback type</var>.</li>
-
-     <li><p>If <var title="">type</var> does not contain a U+0023
-     NUMBER SIGN character (#), then append a U+0023 NUMBER SIGN
-     character (#) to <var title="">type</var>.</li>
-
-     
-     <li><p>If <var title="">type</var> does not have a U+003A COLON
-     character (:) after its U+0023 NUMBER SIGN character (#), append
-     a U+003A COLON character (:) to <var title="">type</var>.</li>
-
-     <li><p>If the last character of <var title="">type</var> is not a
-     U+003A COLON character (:), append a U+0025 PERCENT SIGN
-     character (%), a U+0032 DIGIT TWO character (2), and a U+0030
-     DIGIT ZERO character (0) to <var title="">type</var>.</li>
-
-     <li><p>Append the <span>fragment-escaped</span> value of <var title="">fallback name</var> to <var title="">type</var>.</li>
-
-    </ol></li>
-
-   <li>
-
-    <p>For each element <var title="">element</var> that has one or
-    more <a href="#property-names">property names</a> and is one of <a href="#the-properties-of-an-item" title="the
-    properties of an item">the properties of the item</a> <var title="">item</var>, in the order those elements are given by the
-    algorithm that returns <a href="#the-properties-of-an-item">the properties of an item</a>, run
-    the following substep:</p>
-
-    <ol><li>
-
-      <p>For each name <var title="">name</var> in <var title="">element</var>'s <a href="#property-names">property names</a>, run the
-      following substeps:</p>
-
-      <ol><li><p>If <var title="">type</var> is the empty string and <var title="">name</var> is not an <a href="#absolute-url">absolute URL</a>, then
-       abort these substeps.</li>
-
-       <li><p>Let <var title="">value</var> be the <a href="#concept-property-value" title="concept-property-value">property value</a> of <var title="">element</var>.</li>
-
-       <li><p>If <var title="">value</var> is an <a href="#concept-item" title="concept-item">item</a>, then <a href="#generate-the-triples-for-an-item" title="generate
-       the triples for an item">generate the triples</a> for <var title="">value</var>. Pass a reference to <var title="">memory</var> as the item/subject list, and pass <var title="">type</var> as the fallback type and <var title="">name</var> as the fallback property name. Replace <var title="">value</var> by the subject returned from those
-       steps.</li>
-
-       
-       <li><p>Otherwise, if <var title="">element</var> is not one of
-       the <a href="#url-property-elements">URL property elements</a>, let <var title="">value</var> be a plain literal, with the language
-       information set from the <a href="#language">language</a> of the element, if
-       it is not unknown.</li>
-
-       <li>
-
-        <dl><dt>If <var title="">name</var> is an <a href="#absolute-url">absolute
-         URL</a></dt>
-
-         <dd>
-
-          <p>Let <var title="">predicate</var> be <var title="">name</var>.</p>
-
-         </dd>
-
-         <dt>If <var title="">name</var> contains no U+003A COLON
-         characters (:)</dt>
-
-         <dd>
-
-          <ol><li><p>Let <var title="">s</var> be <var title="">type</var>.</li>
-
-           <li><p>If the last character of <var title="">s</var> is
-           not a U+003A COLON character (:), append a U+0025 PERCENT
-           SIGN character (%), a U+0032 DIGIT TWO character (2), and a
-           U+0030 DIGIT ZERO character (0) to <var title="">s</var>.</li>
-
-           <li><p>Append the <span>fragment-escaped</span> value of
-           <var title="">name</var> to <var title="">s</var>.</li>
-
-           <li>
-
-            <p>Let <var title="">predicate</var> be the concatenation
-            of the string "<code title="">http://www.w3.org/1999/xhtml/microdata#</code>"
-            and the <span>fragment-escaped</span> value of <var title="">s</var>.</p> 
-            <p class="example">For example if the string <var title="">s</var> is "<code title="">http://example.com/a#:q%20r</code>", the
-            resulting <var title="">predicate</var> would be "<code title="">http://www.w3.org/1999/xhtml/microdata#http://example.com/a%23:q%20r</code>".</p>
-
-           </li>
-
-          </ol></dd>
-
-        </dl></li>
-
-       <li>
-
-        <p>Generate the following triple:</p>
-
-        <dl class="triple"><dt>subject   <dd> <var title="">subject</var>
-         <dt>predicate <dd> <var title="">predicate</var>
-         <dt>object    <dd> <var title="">value</var>
-        </dl></li>
-
-      </ol></li>
-
-    </ol></li>
-
-   <li><p>Return <var title="">subject</var>.</li>
-
-  </ol><h4 id="examples"><span class="secno">5.2.1 </span>Examples</h4>
-
-  <p><i>This section is non-normative.</i></p>
-
-  <div class="example">
-
-   <p>Here is an example of some HTML using Microdata to express RDF
-   statements:</p>
-
-   <pre>&lt;dl itemscope
-    itemtype="http://purl.org/vocab/frbr/core#Work"
-    itemid="http://books.example.com/works/45U8QJGZSQKDH8N"&gt;
- &lt;dt&gt;Title&lt;/dt&gt;
- &lt;dd&gt;&lt;cite itemprop="http://purl.org/dc/terms/title"&gt;Just a Geek&lt;/cite&gt;&lt;/dd&gt;
- &lt;dt&gt;By&lt;/dt&gt;
- &lt;dd&gt;&lt;span itemprop="http://purl.org/dc/elements/1.1/creator"&gt;Wil Wheaton&lt;/span&gt;&lt;/dd&gt;
- &lt;dt&gt;Format&lt;/dt&gt;
- &lt;dd itemprop="http://purl.org/vocab/frbr/core#realization"
-     itemscope
-     itemtype="http://purl.org/vocab/frbr/core#Expression"
-     itemid="http://books.example.com/products/9780596007683.BOOK"&gt;
-  &lt;link itemprop="http://purl.org/dc/terms/type" href="http://books.example.com/product-types/BOOK"&gt;
-  Print
- &lt;/dd&gt;
- &lt;dd itemprop="http://purl.org/vocab/frbr/core#realization"
-     itemscope
-     itemtype="http://purl.org/vocab/frbr/core#Expression"
-     itemid="http://books.example.com/products/9780596802189.EBOOK"&gt;
-  &lt;link itemprop="http://purl.org/dc/terms/type" href="http://books.example.com/product-types/EBOOK"&gt;
-  Ebook
- &lt;/dd&gt;
-&lt;/dl&gt;</pre>
-
-   <p>This is equivalent to the following Turtle:</p>
-
-  <pre class="turtle">@prefix dct: &lt;http://purl.org/dc/terms/&gt; .
- @prefix dce: &lt;http://purl.org/dc/elements/1.1/&gt; .
- @prefix frbr: &lt;http://purl.org/vocab/frbr/core#&gt; .
-
-&lt;http://books.example.com/works/45U8QJGZSQKDH8N&gt; a frbr:Work ;
-     dce:creator "Wil Wheaton"@en ;
-     dct:title "Just a Geek"@en ;
-     frbr:realization &lt;http://books.example.com/products/9780596007683.BOOK&gt;,
-         &lt;http://books.example.com/products/9780596802189.EBOOK&gt; .
-
-&lt;http://books.example.com/products/9780596007683.BOOK&gt; a frbr:Expression ;
-     dct:type &lt;http://books.example.com/product-types/BOOK&gt; .
-
-&lt;http://books.example.com/products/9780596802189.EBOOK&gt; a frbr:Expression ;
-     dct:type &lt;http://books.example.com/product-types/EBOOK&gt; .</pre>
-
-  </div>
-
-  <div class="example">
-
-   <p>The following snippet of HTML has microdata for two people with
-   the same address:</p>
-
-   <pre>&lt;p&gt;
- Both
- &lt;span itemscope itemtype="http://microformats.org/profile/hcard" itemref="home"&gt;&lt;span itemprop="fn"
- &gt;&lt;span itemprop="n" itemscope&gt;&lt;span itemprop="given-name"&gt;Princeton&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
- and
- &lt;span itemscope itemtype="http://microformats.org/profile/hcard" itemref="home"&gt;&lt;span itemprop="fn"
- &gt;&lt;span itemprop="n" itemscope&gt;&lt;span itemprop="given-name"&gt;Trekkie&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
- live at
- &lt;span id="home" itemprop="adr" itemscope&gt;&lt;span itemprop="street-address"&gt;Avenue Q&lt;/span&gt;.&lt;/span&gt;
-&lt;/p&gt;</pre>
-
-   <p>It generates these triples expressed in Turtle (including a
-   triple that in this case is expressed twice, though that is not
-   meaningful in RDF):</p>
-
-   <pre class="turtle">&lt;&gt; &lt;http://www.w3.org/1999/xhtml/microdata#item&gt; _:n0 ;
-   &lt;http://www.w3.org/1999/xhtml/microdata#item&gt; _:n1 .
-_:n0  &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#type&gt; &lt;http://microformats.org/profile/hcard&gt; ;
-      &lt;http://www.w3.org/1999/xhtml/microdata#http://microformats.org/profile/hcard%23:fn&gt; "Princeton" ;
-      &lt;http://www.w3.org/1999/xhtml/microdata#http://microformats.org/profile/hcard%23:n&gt; _:n0a
-      &lt;http://www.w3.org/1999/xhtml/microdata#http://microformats.org/profile/hcard%23:adr&gt; _:n2 .
-_:n0a &lt;http://www.w3.org/1999/xhtml/microdata#http://microformats.org/profile/hcard%23:n%20given-name&gt; "Princeton" .
-_:n1  &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#type&gt; &lt;http://microformats.org/profile/hcard&gt; ;
-      &lt;http://www.w3.org/1999/xhtml/microdata#http://microformats.org/profile/hcard%23:fn&gt; "Trekkie" ;
-      &lt;http://www.w3.org/1999/xhtml/microdata#http://microformats.org/profile/hcard%23:n&gt; _:n1a
-      &lt;http://www.w3.org/1999/xhtml/microdata#http://microformats.org/profile/hcard%23:adr&gt; _:n2 .
-_:n1a &lt;http://www.w3.org/1999/xhtml/microdata#http://microformats.org/profile/hcard%23:n%20given-name&gt; "Trekkie" .
-_:n2  &lt;http://www.w3.org/1999/xhtml/microdata#http://microformats.org/profile/hcard%23:adr%20street-address&gt; "Avenue Q" ;
-      &lt;http://www.w3.org/1999/xhtml/microdata#http://microformats.org/profile/hcard%23:adr%20street-address&gt; "Avenue Q" .</pre>
-
-  </div>
-
-
-  </div><h2 id="iana"><span class="secno">6 </span>IANA considerations</h2><h3 id="application-microdata-json"><span class="secno">6.1 </span><dfn><code>application/microdata+json</code></dfn></h3><p>This registration is for community review and will be submitted
+  </ol></div><h2 id="iana"><span class="secno">6 </span>IANA considerations</h2><h3 id="application-microdata-json"><span class="secno">6.1 </span><dfn><code>application/microdata+json</code></dfn></h3><p>This registration is for community review and will be submitted
   to the IESG for review, approval, and registration with IANA.</p><dl><dt>Type name:</dt>
    <dd>application</dd>
    <dt>Subtype name:</dt>

Received on Thursday, 11 August 2011 22:31:18 UTC