Update additionalType example to show property from additional vocabulary.
authorGregg Kellogg <gregg@kellogg-assoc.com>
Wed, 03 Oct 2012 09:02:04 -0700
changeset 150 60f668575322
parent 149 d9874553c592
child 151 6c54fb852a6a
Update additionalType example to show property from additional vocabulary.
microdata-rdf/index.html
--- a/microdata-rdf/index.html	Wed Sep 19 22:54:27 2012 -0700
+++ b/microdata-rdf/index.html	Wed Oct 03 09:02:04 2012 -0700
@@ -25,9 +25,9 @@
 
       var respecConfig = {
           // specification status (e.g. WD, LCWD, NOTE, etc.). If in doubt use ED.
-          specStatus:           "WD-NOTE",
+          specStatus:           "ED",
           charterDisclosureURI: "http://www.w3.org/2006/07/swig-charter#Ipr",
-          publishDate:          "2012-09-19",
+          //publishDate:          "2012-09-19",
           copyrightStart:       "2011",
 
           // the specification's short name, as in http://www.w3.org/TR/short-name/
@@ -762,10 +762,12 @@
     }
 }
 
-<div itemscope itemtype="http://schema.org/Product">
-  <link itemprop="additionalType" href="http://www.productontology.org/id/Laser_printer" />
-  <p itemprop="name">Laser Printer</a>
-</div>	
+<div itemscope itemtype="http://schema.org/Person">
+  <link itemprop="additionalType" href="http://xmlns.com/foaf/0.1/Person"/>
+  <a itemprop="email http://xmlns.com/foaf/0.1/mbox" href="mailto:mail@gmail.com">
+    mail@gmail.com
+  </a>
+</div>
 -->
 </pre>
 
@@ -774,19 +776,21 @@
 
 <pre class="example" data-transform="updateExample">
 <!--
+@prefix foaf: <http://xmlns.com/foaf/0.1/> .
+@prefix md: <http://www.w3.org/ns/md#> .
 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
 @prefix rdfa: <http://www.w3.org/ns/rdfa#> .
 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
 @prefix schema: <http://schema.org/> .
 
 <> md:item (
-  [ a schema:Product;
-    schema:additionalType <http://www.productontology.org/id/Laser_printer> ;
-    schema:name "Laser Printer"]
-  );
+  [ a schema:Person;
+    schema:additionalType foaf:Person;
+    schema:email <mailto:mail@gmail.com>;
+    foaf:mbox <mailto:mail@gmail.com>]);
   rdfa:usesVocabulary schema: .
 
-schema:additionalProperty rdfs:subPropertyOf rdf:type .
+schema:additionalType rdfs:subPropertyOf rdf:type .
 -->
 </pre>
 
@@ -794,18 +798,21 @@
 
 <pre class="example" data-transform="updateExample">
 <!--
+@prefix foaf: <http://xmlns.com/foaf/0.1/> .
+@prefix md: <http://www.w3.org/ns/md#> .
 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+@prefix rdfa: <http://www.w3.org/ns/rdfa#> .
 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
 @prefix schema: <http://schema.org/> .
 
 <> md:item (
-  [ a schema:Product, <http://www.productontology.org/id/Laser_printer>;
-    schema:additionalType <http://www.productontology.org/id/Laser_printer> ;
-    schema:name "Laser Printer"]
-  )
+  [ a schema:Person, foaf:Person;
+    schema:additionalType foaf:Person;
+    schema:email <mailto:mail@gmail.com>;
+    foaf:mbox <mailto:mail@gmail.com>]);
   rdfa:usesVocabulary schema: .
 
-schema:additionalProperty rdfs:subPropertyOf rdf:type .
+schema:additionalType rdfs:subPropertyOf rdf:type .
 -->
 </pre>
 
@@ -1635,6 +1642,7 @@
 @prefix mo: <http://purl.org/ontology/mo/> .
 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
 @prefix rdfa: <http://www.w3.org/ns/rdfa#> .
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
 @prefix schema: <http://schema.org/> .
 
 <> md:item ([ a schema:MusicPlaylist;