Adding from Omar datasets2, and some fixes to techpub.
authorDan Brickley <danbri@danbri.org>
Fri, 14 Dec 2012 16:40:00 +0000
changeset 55 e1e6f5eee858
parent 43 5a96cef96a90
child 56 1efb7ab4e711
Adding from Omar datasets2, and some fixes to techpub.
schema.org/ext/dataset2.html
schema.org/ext/techpub.html
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/schema.org/ext/dataset2.html	Fri Dec 14 16:40:00 2012 +0000
@@ -0,0 +1,258 @@
+<!DOCTYPE html>
+<!-- saved from url=(0076)http://dvcs.w3.org/hg/webschema/raw-file/default/schema.org/ext/dataset.html -->
+<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+    <title>RDFa Lite Reflection</title>
+    <link rel="stylesheet" type="text/css" href="http://www.w3.org/StyleSheets/TR/base.css" />
+    <style type="text/css">
+      span.h {
+        padding-left: 0px;
+        font-weight: bold;
+      }
+      span {
+        display: block;
+        padding-left: 10px;
+      }
+      .dataset {
+        opacity: 0.7;
+      }
+    </style>
+  </head>
+  <body prefix="radion: http://www.w3.org/ns/radion#
+                adms: http://www.w3.org/ns/adms#
+                dcat: http://www.w3.org/ns/dcat#
+                r2rml: http://www.w3.org/ns/r2rml#
+               ">
+
+   <h1>Dataset Vocabulary - "Look inside" extension.</h1>
+
+   <p>Faded text corresponds to elements already defined in the dataset
+   vocabulary. They are included here for consistency.</p>
+   <span class="dataset">
+    <div typeof="rdfs:Class" resource="http://schema.org/Dataset">
+      <h2><span class="h" property="rdfs:label">Dataset</span></h2>
+      <p><span property="rdfs:comment">A body of structured information describing some topic(s) of interest.</span></p>
+      <span>Subclass of: <a property="rdfs:subClassOf" href="http://schema.org/CreativeWork">CreativeWork</a></span>
+      <span>equivalentClass: <a property="owl:equivalentClass" resource="dcat:Dataset" href="http://www.w3.org/TR/vocab-dcat/#class--dataset">dcat:Dataset</a></span>
+      <span>equivalentClass: <a property="owl:equivalentClass" resource="adms:SemanticAsset" href="http://www.w3.org/ns/adms#SemanticAsset">adms:SemanticAsset</a></span>
+    </div>
+
+    <div typeof="rdf:Property" resource="http://schema.org/catalog">
+      <h3><span class="h" property="rdfs:label">catalog</span></h3>
+      <p><span property="rdfs:comment">A data catalog which contains a dataset.</span></p>
+      <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>
+      <span>equivalentProperty: <a property="owl:equivalentProperty" resource="dcterms:isPartOf" href="http://purl.org/dc/terms/isPartOf">dcterms:isPartOf</a></span>
+    </div>
+
+    <div typeof="rdf:Property" resource="http://schema.org/distribution">
+      <h3><span class="h" property="rdfs:label">distribution</span></h3>
+      <p><span property="rdfs:comment">A downloadable form of this dataset, at a specific location, in a specific format.</span></p>
+      <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>
+      <span>equivalentProperty: <a property="owl:equivalentProperty" resource="dcat:distribution" href="http://www.w3.org/TR/vocab-dcat/#property--dataset-distribution">dcat:distribution</a></span>
+      <span>equivalentProperty: <a property="owl:equivalentProperty" resource="radion:distribution" href="http://www.w3.org/ns/radion#radion:distribution">radion:distribution</a></span>
+      <span>equivalentProperty: <a property="owl:equivalentProperty" resource="void:dataDump" href="http://www.w3.org/TR/void/#dumps">void:dataDump</a></span>
+    </div>
+
+    <!-- keyword: TODO, discuss more. Google and Nature had feedback on this. Also see existing terms on CreativeWork. Also dcat/radion have keyword fwiw. -->
+
+
+    <div typeof="rdf:Property" resource="http://schema.org/spatial">
+      <h3><span class="h" property="rdfs:label">spatial</span></h3>
+      <p><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></p>
+      <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>
+      <span>equivalentProperty: <a property="owl:equivalentProperty" resource="dcterms:spatial" href="http://purl.org/dc/terms/spatial">dcterms:spatial</a></span>
+    </div>
+    <!-- should this be spatialCoverage? related to DCMI notion? -->
+
+    <div typeof="rdf:Property" resource="http://schema.org/temporal">
+      <h3><span class="h" property="rdfs:label">temporal</span></h3>
+      <p><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></p>
+      <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>
+      <span>equivalentProperty: <a property="owl:equivalentProperty" resource="dcterms:temporal" href="http://purl.org/dc/terms/temporal">dcterms:temporal</a></span>
+    </div>
+    </span>
+    <!-- note: the original said Date not DateTime; I think we added latter before GoodRelations -->
+    <!-- should this be temporalCoverage, and ack dc:coverage ? -->
+
+    <div typeof="rdf:Property" resource="http://schema.org/datasetElement">
+      <h3><span class="h" property="rdfs:label">datasetElement</span></h3>
+      <p><span property="rdfs:comment">An element contained in the dataset.</span></p>
+      <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/CreativeWork">CreativeWork</a></span>
+      <span>equivalentProperty: <a property="owl:equivalentProperty" resource="dcterms:hasPart" href="http://purl.org/dc/terms/hasPart">dcterms:hasPart</a></span>
+    </div>
+
+   <!-- todo: map sdo:about to dcat:theme, dcterms:subject; put this in a general mappings file? -->
+
+    <div typeof="rdfs:Class" resource="http://schema.org/DataTable">
+      <h2><span class="h" property="rdfs:label">DataTable</span></h2>
+      <p><span property="rdfs:comment">A table of data.</span></p>
+      <span>Subclass of: <a property="rdfs:subClassOf" href="http://schema.org/CreativeWork">CreativeWork</a></span>
+      <span>equivalentClass: <a property="owl:equivalentClass" resource="r2rml:LogicalTable" href="http://www.w3.org/ns/r2rml#LogicalTable">r2rml:LogicalTable</a></span>
+    </div>
+
+    <div typeof="rdf:Property" resource="http://schema.org/dataset"> <!-- inverseProperty with 'datasetElement' -->
+      <h3><span class="h" property="rdfs:label">dataset</span></h3>
+      <p><span property="rdfs:comment">The dataset that contains this table.</span></p>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/DataTable">DataTable</a></span>
+      <span>Range: <a property="http://schema.org/range" href="http://schema.org/Dataset">Dataset</a></span>
+      <span>equivalentProperty: <a property="owl:equivalentProperty" resource="dcterms:isPartOf" href="http://purl.org/dc/terms/isPartOf">dcterms:isPartOf</a></span>
+    </div>
+
+     <div typeof="rdf:Property" resource="http://schema.org/column">
+      <h3><span class="h" property="rdfs:label">column</span></h3>
+      <p><span property="rdfs:comment">A column that belongs to the table.</span></p>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/DataTable">DataTable</a></span>
+      <span>Range: <a property="http://schema.org/range" href="http://schema.org/Dataset">TableColumn</a></span>
+      <span>equivalentProperty: <a property="owl:equivalentProperty" resource="r2rml:column" href="http://www.w3.org/ns/r2rml#column">r2rml:column</a></span>
+      <span>equivalentProperty: <a property="owl:equivalentProperty" resource="dcterms:hasPart" href="http://purl.org/dc/terms/hasPart">dcterms:hasPart</a></span>
+    </div>
+
+    <div typeof="rdf:Property" resource="http://schema.org/distribution">
+      <h3><span class="h" property="rdfs:label">distribution</span></h3>
+      <p><span property="rdfs:comment">A downloadable form of this table, at a specific location, in a specific format.</span></p>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/DataTable">DataTable</a></span>
+      <span>Range: <a property="http://schema.org/range" href="http://schema.org/DataDownload">DataDownload</a></span>
+      <span>equivalentProperty: <a property="owl:equivalentProperty" resource="dcat:distribution" href="http://www.w3.org/TR/vocab-dcat/#property--dataset-distribution">dcat:distribution</a></span>
+      <span>equivalentProperty: <a property="owl:equivalentProperty" resource="radion:distribution" href="http://www.w3.org/ns/radion#radion:distribution">radion:distribution</a></span>
+      <span>equivalentProperty: <a property="owl:equivalentProperty" resource="void:dataDump" href="http://www.w3.org/TR/void/#dumps">void:dataDump</a></span>
+    </div>
+
+    <div typeof="rdfs:Class" resource="http://schema.org/TableColumn">
+      <h2><span class="h" property="rdfs:label">TableColumn</span></h2>
+      <p><span property="rdfs:comment">A column of data.</span></p>
+      <span>Subclass of: <a property="rdfs:subClassOf" href="http://schema.org/CreativeWork">CreativeWork</a></span>
+    </div>
+
+    <div typeof="rdf:Property" resource="http://schema.org/table"> <!-- inverseProperty with 'column' -->
+      <h3><span class="h" property="rdfs:label">table</span></h3>
+      <p><span property="rdfs:comment">The table that contains this column.</span></p>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/DataTable">TableColumn</a></span>
+      <span>Range: <a property="http://schema.org/range" href="http://schema.org/Dataset">DataTable</a></span>
+      <span>equivalentProperty: <a property="owl:equivalentProperty" resource="dcterms:isPartOf" href="http://purl.org/dc/terms/isPartOf">dcterms:isPartOf</a></span>
+    </div>
+
+    <div typeof="rdf:Property" resource="http://schema.org/columnNumber">
+      <h3><span class="h" property="rdfs:label">columnNumber</span></h3>
+      <p><span property="rdfs:comment">The position of the column in
+      the table. The first column of the table has columnNumber 0, the
+      next one has columnNumber 1, and so on. The columnNumber must be
+      provided, unless this mark-up is used on an HTML
+      table.</span></p>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/DataTable">TableColumn</a></span>
+      <span>Range: <a property="http://schema.org/range" href="http://schema.org/Integer">Integer</a></span>
+    </div>
+
+    <div typeof="rdf:Property" resource="http://schema.org/typeMapping">
+      <h3><span class="h" property="rdfs:label">typeMapping</span></h3>
+      <p><span property="rdfs:comment">Mapping to a schema.org type
+      that corresponds to the contents of the column.</span></p>
+      <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/TableColumn">TableColumn</a></span>
+      <span>Range: <a property="http://schema.org/range" href="http://schema.org/TypeMapping">TypeMapping</a></span>
+    </div>
+
+    <div typeof="rdfs:Class" resource="http://schema.org/TypeMapping">
+      <h2><span class="h" property="rdfs:label">TypeMapping</span></h2>
+      <p><span property="rdfs:comment">Maps a collection of values
+      (e.g., a column of data) to a type / class.</span></p>
+      <span>Subclass of: <a property="rdfs:subClassOf" href="http://schema.org/CreativeWork">CreativeWork</a></span>
+    </div>
+
+     <div typeof="rdf:Property" resource="http://schema.org/maps">
+      <h3><span class="h" property="rdfs:label">maps</span></h3>
+      <p><span property="rdfs:comment">The collection of values being
+      mapped.</span></p>
+
+      <span>Domain: <a property="http://schema.org/domain"
+      href="http://schema.org/TypeMapping">TypeMapping</a></span>
+      <span>Range: <a property="http://schema.org/range"
+      href="http://schema.org/Url">Url</a></span>
+    </div>
+
+     <div typeof="rdf:Property" resource="http://schema.org/toType">
+      <h3><span class="h" property="rdfs:label">toType</span></h3>
+      <p><span property="rdfs:comment">The type that the collection is
+      mapped to.</span></p>
+
+      <span>Domain: <a property="http://schema.org/domain"
+      href="http://schema.org/TypeMapping">TypeMapping</a></span>
+      <span>Range: <a property="http://schema.org/range"
+      href="http://schema.org/Class">Class</a></span>
+    </div>
+
+     <div typeof="rdf:Property" resource="http://schema.org/propertyMapping">
+      <h3><span class="h" property="rdfs:label">propertyMapping</span></h3>
+      <p><span property="rdfs:comment">One or more mappings of secondary collections (e.g., other columns) to properties of the target type.</span></p>
+
+      <span>Domain: <a property="http://schema.org/domain"
+      href="http://schema.org/TypeMapping">TypeMapping</a></span>
+      <span>Range: <a property="http://schema.org/range"
+      href="http://schema.org/PropertyMapping">PropertyMapping</a></span>
+    </div>
+
+
+    <div typeof="rdfs:Class" resource="http://schema.org/PropertyMapping">
+      <h2><span class="h" property="rdfs:label">PropertyMapping</span></h2>
+      <p><span property="rdfs:comment">Maps a collection of values
+      (e.g., a column of data) to a property of a type. Always defined
+      in the context of a type mapping.</span></p>
+      <span>Subclass of: <a property="rdfs:subClassOf"
+      href="http://schema.org/CreativeWork">CreativeWork</a></span>
+    </div>
+
+    <div typeof="rdf:Property" resource="http://schema.org/typeMapping">
+      <h3><span class="h" property="rdfs:label">typeMapping</span></h3>
+      <p><span property="rdfs:comment">The type mapping in the context
+      of which this property mapping is defined.</span></p>
+
+      <span>Domain: <a property="http://schema.org/domain"
+      href="http://schema.org/PropertyMapping">PropertyMapping</a></span>
+      <span>Range: <a property="http://schema.org/range"
+      href="http://schema.org/TypeMapping">TypeMapping</a></span>
+    </div>
+
+
+     <div typeof="rdf:Property" resource="http://schema.org/maps">
+      <h3><span class="h" property="rdfs:label">maps</span></h3>
+      <p><span property="rdfs:comment">The collection of values being
+      mapped. There should be a structural correspondence between
+      elements in the type mapping collection and elements in this
+      collection. E.g., in the case of tables, the correspondence is
+      established by elements belonging to the same row.</span></p>
+
+      <span>Domain: <a property="http://schema.org/domain"
+      href="http://schema.org/PropertyMapping">PropertyMapping</a></span>
+      <span>Range: <a property="http://schema.org/range"
+      href="http://schema.org/Url">Url</a></span>
+    </div>
+
+     <div typeof="rdf:Property" resource="http://schema.org/toProperty">
+      <h3><span class="h" property="rdfs:label">propertyName</span></h3>
+      <p><span property="rdfs:comment">the name of the property. This
+      property must belong to the type specified in the
+      typeMapping.</span></p>
+
+      <span>Domain: <a property="http://schema.org/domain"
+      href="http://schema.org/PropertyMapping">PropertyMapping</a></span>
+      <span>Range: <a property="http://schema.org/range"
+      href="http://schema.org/Property">Property</a></span>
+    </div>
+
+     <div typeof="rdf:Property" resource="http://schema.org/propertyValue">
+      <h3><span class="h" property="rdfs:label">propertyValue</span></h3>
+      <p><span property="rdfs:comment">A constant value for the
+      property. Possible extension: functional expression that
+      calculates a value as a combination of values of this and other
+      collections (e.g., other columns in the table).</span></p>
+
+      <span>Domain: <a property="http://schema.org/domain"
+      href="http://schema.org/PropertyMapping">PropertyMapping</a></span>
+      <span>Range: <a property="http://schema.org/range"
+      href="http://schema.org/Text">Text</a></span>
+    </div>
+
+
+</body></html>
--- a/schema.org/ext/techpub.html	Thu Dec 06 14:17:06 2012 +0000
+++ b/schema.org/ext/techpub.html	Fri Dec 14 16:40:00 2012 +0000
@@ -37,7 +37,7 @@
       <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>
-    <div typeof="rdf:Property" resource="technicalAudience">
+    <div typeof="rdf:Property" resource="http://schema.org/technicalAudience">
       <span class="h" property="rdfs:label">technicalAudience</span>
       <span property="rdfs:comment">Developer, DBA, End-User, System Administrator, Web Developer</span>
       <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/TechArticle">TechArticle</a></span>
@@ -48,25 +48,25 @@
       <span property="rdfs:comment">Reference documentation for application programming interfaces (APIs).</span>
       <span>Subclass of: <a property="rdfs:subClassOf" href="http://schema.org/TechArticle">TechArticle</a></span>
     </div>
-    <div typeof="rdf:Property" resource="assembly">
+    <div typeof="rdf:Property" resource="http://schema.org/assembly">
       <span class="h" property="rdfs:label">assembly</span>
       <span property="rdfs:comment">Library file name e.g., mscorlib.dll, system.web.dll</span>
       <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/APIReference">APIReference</a></span>
       <span>Range: <a property="http://schema.org/range" href="http://schema.org/Text">Text</a></span>
     </div>
-    <div typeof="rdf:Property" resource="assemblyVersion">
+    <div typeof="rdf:Property" resource="http://schema.org/assemblyVersion">
       <span class="h" property="rdfs:label">assemblyVersion</span>
       <span property="rdfs:comment">Associated product/technology version. e.g., .NET Framework 4.5</span>
       <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/APIReference">APIReference</a></span>
       <span>Range: <a property="http://schema.org/range" href="http://schema.org/Text">Text</a></span>
     </div>
-    <div typeof="rdf:Property" resource="programmingModel">
+    <div typeof="rdf:Property" resource="http://schema.org/programmingModel">
       <span class="h" property="rdfs:label">programmingModel</span>
       <span property="rdfs:comment">Indicates whether API is managed or unmanaged.</span>
       <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/APIReference">APIReference</a></span>
       <span>Range: <a property="http://schema.org/range" href="http://schema.org/Text">Text</a></span>
     </div>
-    <div typeof="rdf:Property" resource="targetPlatform">
+    <div typeof="rdf:Property" resource="http://schema.org/targetPlatform">
       <span class="h" property="rdfs:label">targetPlatform</span>
       <span property="rdfs:comment">Type of app development: phone, Metro style, desktop, XBox, etc.</span>
       <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/APIReference">APIReference</a></span>
@@ -77,31 +77,31 @@
       <span property="rdfs:comment">Computer programming source code. Example: Full (compile ready) solutions, code snippet samples, scripts, templates.</span>
       <span>Subclass of: <a property="rdfs:subClassOf" href="http://schema.org/CreativeWork">CreativeWork</a></span>
     </div>
-    <div typeof="rdf:Property" resource="codeRepository">
+    <div typeof="rdf:Property" resource="http://schema.org/codeRepository">
       <span class="h" property="rdfs:label">codeRepository</span>
       <span property="rdfs:comment">Link to the repository where the un-compiled, human readable code and related code is located (SVN, github, CodePlex)</span>
       <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Code">Code</a></span>
       <span>Range: <a property="http://schema.org/range" href="http://schema.org/URL">URL</a></span>
     </div>
-    <div typeof="rdf:Property" resource="sampleType">
+    <div typeof="rdf:Property" resource="http://schema.org/sampleType">
       <span class="h" property="rdfs:label">sampleType</span>
       <span property="rdfs:comment">Full (compile ready) solution, code snippet, inline code, scripts, template.</span>
       <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Code">Code</a></span>
       <span>Range: <a property="http://schema.org/range" href="http://schema.org/Text">Text</a></span>
     </div>
-    <div typeof="rdf:Property" resource="programmingLanguage">
+    <div typeof="rdf:Property" resource="http://schema.org/programmingLanguage">
       <span class="h" property="rdfs:label">programmingLanguage</span>
       <span property="rdfs:comment">The computer programming language.</span>
       <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Code">Code</a></span>
       <span>Range: <a property="http://schema.org/range" href="http://schema.org/Thing">Thing</a></span>
     </div>
-    <div typeof="rdf:Property" resource="runtime">
+    <div typeof="rdf:Property" resource="http://schema.org/runtime">
       <span class="h" property="rdfs:label">runtime</span>
       <span property="rdfs:comment">Runtime platform or script interpreter dependencies (Example - Java v1, Python2.3, .Net Framework 3.0)</span>
       <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Code">Code</a></span>
       <span>Range: <a property="http://schema.org/range" href="http://schema.org/Text">Text</a></span>
     </div>
-    <div typeof="rdf:Property" resource="targetProduct">
+    <div typeof="rdf:Property" resource="http://schema.org/targetProduct">
       <span class="h" property="rdfs:label">targetProduct</span>
       <span property="rdfs:comment">Target Operating System / Product to which the code applies.  If applies to several versions, just the product name can be used.</span>
       <span>Domain: <a property="http://schema.org/domain" href="http://schema.org/Code">Code</a></span>