Starting on http://www.w3.org/wiki/WebSchemas/Datasets#Vocabulary and making a basic template for re-use also.
authorDan Brickley <danbri@danbri.org>
Thu, 06 Dec 2012 11:49:22 +0000
changeset 39 b78a49cda7a8
parent 38 b5c170a0d103
child 40 abb89d464bed
Starting on http://www.w3.org/wiki/WebSchemas/Datasets#Vocabulary and making a basic template for re-use also.
schema.org/ext/dataset.html
schema.org/ext/template.html
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/schema.org/ext/dataset.html	Thu Dec 06 11:49:22 2012 +0000
@@ -0,0 +1,83 @@
+<!DOCTYPE html>
+<html>
+  <head>
+    <title>RDFa Lite Reflection</title>
+    <style type="text/css">
+      span.h {
+        padding-left: 0px;
+        font-weight: bold;
+      }
+      span {
+        display: block;
+        padding-left: 10px;
+      }
+    </style>
+  </head>
+  <body>
+
+   <h1>Dataset Vocabulary</h1>
+
+  <p>See <a href="http://www.w3.org/wiki/WebSchemas/Datasets">Wiki overview</a> and <a href="blog.schema.org/2012/07/describing-datasets-with-schemaorg.html">blog post</a> for details.</p>
+
+    <div typeof="rdfs:Class" resource="http://schema.org/Dataset">
+      <span class="h" property="rdfs:label">Dataset</span>
+      <span property="rdfs:comment">A body of structured information describing some topic(s) of interest.</span>
+      <span>Subclass of: <a property="rdfs:subClassOf" href="http://schema.org/CreativeWork">CreativeWork</a></span>
+    </div>
+    <div typeof="rdf:Property" resource="http://schema.org/catalog">
+      <span class="h" property="rdfs:label">catalog</span>
+      <span property="rdfs:comment">A data catalog which contains a dataset.</span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Dataset">Dataset</a></span>
+      <span>Range: <a property="http://schema.org/range" href="http://schema.org/DataCatalog">DataCatalog</a></span>
+    </div>
+
+    <div typeof="rdf:Property" resource="http://schema.org/distribution">
+      <span class="h" property="rdfs:label">distribution</span>
+      <span property="rdfs:comment">A downloadable form of this dataset, at a specific location, in a specific format.</span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Dataset">Dataset</a></span>
+      <span>Range: <a property="http://schema.org/range" href="http://schema.org/DataDownload">DataDownload</a></span>
+    </div>
+
+
+    <!-- keyword: TODO, discuss more. Google and Nature had feedback on this. Also see existing terms on CreativeWork -->
+
+
+    <div typeof="rdf:Property" resource="http://schema.org/spatial">
+      <span class="h" property="rdfs:label">spatial</span>
+      <span property="rdfs:comment">The range of spatial applicability of a dataset, e.g. for a dataset of New York weather, the state of New York.</span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Dataset">Dataset</a></span>
+      <span>Range: <a property="http://schema.org/range" href="http://schema.org/Place">Place</a></span>
+    </div>
+    <!-- should this be spatialCoverage? related to DCMI notion? -->
+
+
+    <div typeof="rdf:Property" resource="http://schema.org/temporal">
+      <span class="h" property="rdfs:label">temporal</span>
+      <span property="rdfs:comment">The range of temporal applicability of a dataset, e.g. for a 2011 census dataset, the year 2011 (in ISO 8601 time interval format).</span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Dataset">Dataset</a></span>
+      <span>Range: <a property="http://schema.org/range" href="http://schema.org/DateTime">DateTime</a></span>
+    </div> 
+    <!-- note: the original said Date not DateTime; I think we added latter before GoodRelations -->
+    <!-- should this be temporalCoverage, and ack dc:coverage ? -->
+
+    <div typeof="rdfs:Class" resource="http://schema.org/DataCatalog">
+      <span class="h" property="rdfs:label">DataCatalog</span>
+      <span property="rdfs:comment">A collection of datasets.</span>
+      <span>Subclass of: <a property="rdfs:subClassOf" href="http://schema.org/CreativeWork">CreativeWork</a></span>
+    </div>
+    <div typeof="rdf:Property" resource="http://schema.org/dataset"> <!-- inverseProperty with 'catalog' -->
+      <span class="h" property="rdfs:label">catalog</span>
+      <span property="rdfs:comment">A dataset contained in a catalog.</span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/DataCatalog">DataCatalog</a></span>
+      <span>Range: <a property="http://schema.org/range" href="http://schema.org/Dataset">Dataset</a></span>
+    </div>
+    <!-- how do we express inverses? within a schema.org term, or using owl? or html rev= if it still exists? -->
+
+    <div typeof="rdfs:Class" resource="http://schema.org/DataDownload">
+      <span class="h" property="rdfs:label">DataDownload</span>
+      <span property="rdfs:comment">A dataset in downloadable form.</span>
+      <span>Subclass of: <a property="rdfs:subClassOf" href="http://schema.org/MediaObject">MediaObject</a></span>
+    </div>
+
+  </body>
+</html>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/schema.org/ext/template.html	Thu Dec 06 11:49:22 2012 +0000
@@ -0,0 +1,35 @@
+<!DOCTYPE html>
+<html>
+  <head>
+    <title>RDFa Lite Reflection</title>
+    <style type="text/css">
+      span.h {
+        padding-left: 0px;
+        font-weight: bold;
+      }
+      span {
+        display: block;
+        padding-left: 10px;
+      }
+    </style>
+  </head>
+  <body>
+
+   <h1>Dataset Vocabulary</h1>
+
+  <p>See <a href="http://www.w3.org/wiki/WebSchemas/Datasets">Wiki overview</a> and <a href="blog.schema.org/2012/07/describing-datasets-with-schemaorg.html">blog post</a> for details.</p>
+
+    <div typeof="rdfs:Class" resource="http://schema.org/Dataset">
+      <span class="h" property="rdfs:label">Dataset</span>
+      <span property="rdfs:comment"></span>
+      <span>Subclass of: <a property="rdfs:subClassOf" href="http://schema.org/Article">Article</a></span>
+    </div>
+    <div typeof="rdf:Property" resource="http://schema.org/dependencies">
+      <span class="h" property="rdfs:label">dependencies</span>
+      <span property="rdfs:comment">Prerequisites needed to fulfill steps in article.</span>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/TechArticle">TechArticle</a></span>
+      <span>Range: <a property="http://schema.org/range" href="http://schema.org/Text">Text</a></span>
+    </div>
+
+  </body>
+</html>