showing example of RDF extracted from microdata markup
authorJeniT
Wed, 21 Dec 2011 16:34:28 +0000
changeset 66 93e829ad570b
parent 65 8ca69129dd76
child 67 915fd629432f
showing example of RDF extracted from microdata markup
html-data-guide/index.html
--- a/html-data-guide/index.html	Wed Dec 21 16:26:57 2011 +0000
+++ b/html-data-guide/index.html	Wed Dec 21 16:34:28 2011 +0000
@@ -345,7 +345,7 @@
             </p>
           </section>
           <section id="mixing-vocabularies-microdata">
-            <h5>Mixing Vocabularies in microdata</h5>
+            <h5>Mixing Vocabularies in Microdata</h5>
             <p>
               Microdata is designed such that each piece of information in a page is assigned <a title="type">types</a> from a single <a>vocabulary</a>, though each <a>entity</a> may have multiple types and have <a title="property">properties</a> from other vocabularies.
             </p>
@@ -433,7 +433,18 @@
   }
 }</pre>
           <p>
-            While an RDFa processor will extract the data provided through the schema.org vocabulary:
+            while processors that <a href="https://dvcs.w3.org/hg/htmldata/raw-file/default/microdata-rdf/index.html">map microdata to RDF</a> would extract the following RDF from the microdata markup:
+          </p>
+          <pre>@prefix hcal: &lt;http://microformats.org/profile/hcalendar#&gt;
+
+[] a hcal:vevent ;
+  hcal:url &lt;http://example.com/nba-miami-philadelphia-game3.html&gt; ;
+  hcal:summary " Miami Heat at Philadelphia 76ers - Game 3 (Home Game 1) " ;
+  hcal:dtstart "2016-04-21T20:00:00"^^xs:dateTime ;
+  hcal:location "\n    \n      Wells Fargo Center\n    \n    \n      Philadelphia,\n      PA\n    \n  " ;
+  .</pre>
+          <p>
+            and an RDFa processor will extract the data provided through the schema.org vocabulary:
           </p>
           <pre>[] a schema:Event;
   schema:location [