schema.org/ext/dataset2.html
author scor <scorlosquet@gmail.com>
Fri, 14 Mar 2014 12:03:13 -0400
changeset 179 b4c3ad199322
parent 55 e1e6f5eee858
permissions -rw-r--r--
Add example inspired from stackoverflow for QA proposal
<!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>