Skip to content

Commit

Permalink
Implement a solution for spatialResolution
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Cox committed Feb 21, 2019
1 parent 040a677 commit 2307ff1
Show file tree
Hide file tree
Showing 2 changed files with 102 additions and 24 deletions.
90 changes: 73 additions & 17 deletions dcat/index.html
Expand Up @@ -369,8 +369,12 @@ <h3>Basic Example</h3>
dct:modified "2011-12-05"^^xsd:date&nbsp;;
dcat:contactPoint &lt;http://example.org/transparency-office/contact&gt; ;
dct:temporal &lt;http://reference.data.gov.uk/id/quarter/2006-Q1&gt; ;
dcat:temporalResolution "P1D"^^xsd:duration ;
dct:spatial &lt;http://www.geonames.org/6695072&gt; ;
dcat:spatialResolution [
a dcat:Measure ;
dcat:amount 30.0 ;
dcat:unitOfMeasure <http://qudt.org/vocab/unit/M> ;
] ;
dct:publisher&nbsp;:finance-ministry&nbsp;;
dct:language &lt;http://id.loc.gov/vocabulary/iso639-1/en&gt; &nbsp;;
dct:accrualPeriodicity &lt;http://purl.org/linked-data/sdmx/2009/code#freq-W&gt; &nbsp;;
Expand Down Expand Up @@ -674,8 +678,8 @@ <h3>Class: Catalog</h3>
<a href="#Property:dataset_distribution">distribution</a>,
<a href="#Property:dataset_frequency">frequency</a>,
<a href="#Property:dataset_spatial">spatial/geographic coverage</a>,
<a href="#Property:dataset_spatialresolution">spatial resolution</a>,
<a href="#Property:dataset_temporal">temporal coverage</a>,
<a href="#Property:dataset_temporalresolution">temporal resolution</a>,
<a href="#Property:dataset_wasgeneratedby">was generated by</a>
</p>
<p>The following properties are inherited from the super-class <a href="#Class:Resource"><code>dcat:Resource</code></a>:
Expand Down Expand Up @@ -1437,8 +1441,8 @@ <h3>Class: Dataset</h3>
<a href="#Property:dataset_distribution">distribution</a>,
<a href="#Property:dataset_frequency">frequency</a>,
<a href="#Property:dataset_spatial">spatial/geographic coverage</a>,
<a href="#Property:dataset_spatialresolution">spatial resolution</a>,
<a href="#Property:dataset_temporal">temporal coverage</a>,
<a href="#Property:dataset_temporalresolution">temporal resolution</a>,
<a href="#Property:dataset_wasgeneratedby">was generated by</a>
</p>
<p>The following properties are inherited from the super-class <a href="#Class:Resource"><code>dcat:Resource</code></a>:
Expand Down Expand Up @@ -1599,18 +1603,20 @@ <h4>Property: temporal coverage</h4>
</table>
</section>

<section id="Property:dataset_temporalresolution">
<h4>Property: temporal resolution</h4>
<section id="Property:dataset_spatialresolution">
<h4>Property: spatial resolution</h4>

<table class="definition">
<thead><tr><th>RDF Property:</th><th><a href="http://www.w3.org/ns/dcat#temporalResolution">dct:temporalResolution</a></th></tr></thead>
<thead><tr><th>RDF Property:</th><th><a href="http://www.w3.org/ns/dcat#spatialResolution">dct:spatialResolution</a></th></tr></thead>
<tbody>
<tr><td class="prop">Definition:</td><td>minimum time period resolvable in the dataset</td></tr>
<tr><td class="prop">Range:</td><td><a href="http://www.w3.org/TR/xmlschema-2/#duration"><code>xsd:duration</code></a></td></tr>
<tr><td class="prop">Usage note:</td><td>If the dataset is a time-series this should correspond to the spacing of items. For other kinds of dataset, this property will usually indicate the smallest time difference between items in the dataset. </td></tr>
<tr><td class="prop">Definition:</td><td>minimum spatial separation resolvable in a dataset</td></tr>
<tr><td class="prop">Range:</td><td><a href="https://www.w3.org/TR/rdf-schema/#ch_resource"><code>rdfs:Resource</code></a></td></tr>
<tr><td class="prop">Usage note:</td><td>If the dataset is an image or grid this should correspond to the spacing of items. For other kinds of spatial dataset, this property will usually indicate the smallest distance between items in the dataset.</td></tr>
</tbody>
</table>

<p>The range of this property is a scaled quantity representing a distance. Its representation is currently unconstrained. A structured types such as <a href="http://www.qudt.org/qudt/owl/1.0.0/qudt/index.html#QuantityValue">qudt:QuantityValue</a> or <a href="#Class:Measure"></a> is recommended. </p>

<p class="note">
New property in this context in this revision of DCAT.
</p>
Expand Down Expand Up @@ -1666,7 +1672,7 @@ <h3>Class: Distribution</h3>
<a href="#Property:distribution_media_type">media type</a>,
<a href="#Property:distribution_release_date">release date</a>,
<a href="#Property:distribution_rights">rights</a>,
<a href="#Property:distribution_temporalresolution">temporal resolution</a>,
<a href="#Property:distribution_spatialresolution">temporal resolution</a>,
<a href="#Property:distribution_title">title</a>,
<a href="#Property:distribution_update_date">update/modification date</a>
</p>
Expand Down Expand Up @@ -1904,18 +1910,20 @@ <h4>Property: byteSize</h4>
</table>
</section>

<section id="Property:distribution_temporalresolution">
<h4>Property: temporal resolution</h4>
<section id="Property:distribution_spatialresolution">
<h4>Property: spatial resolution</h4>

<table class="definition">
<thead><tr><th>RDF Property:</th><th><a href="http://www.w3.org/ns/dcat#temporalResolution">dct:temporalResolution</a></th></tr></thead>
<thead><tr><th>RDF Property:</th><th><a href="http://www.w3.org/ns/dcat#spatialResolution">dct:spatialResolution</a></th></tr></thead>
<tbody>
<tr><td class="prop">Definition:</td><td>minimum time period resolvable in the dataset distribution</td></tr>
<tr><td class="prop">Range:</td><td><a href="http://www.w3.org/TR/xmlschema-2/#duration"><code>xsd:duration</code></a></td></tr>
<tr><td class="prop">Usage note:</td><td>If the dataset is a time-series this should correspond to the spacing of items. For other kinds of dataset, this property will usually indicate the smallest time difference between items in the dataset. </td></tr>
<tr><td class="prop">Definition:</td><td>minimum spatial separation resolvable in a dataset</td></tr>
<tr><td class="prop">Range:</td><td><a href="https://www.w3.org/TR/rdf-schema/#ch_resource"><code>rdfs:Resource</code></a></td></tr>
<tr><td class="prop">Usage note:</td><td>If the dataset is an image or grid this should correspond to the spacing of items. For other kinds of spatial dataset, this property will usually indicate the smallest distance between items in the dataset.</td></tr>
</tbody>
</table>

<p>The range of this property is a scaled quantity representing a distance. Its representation is currently unconstrained. A structured types such as <a href="http://www.qudt.org/qudt/owl/1.0.0/qudt/index.html#QuantityValue">qudt:QuantityValue</a> or <a href="#Class:Measure"></a> is recommended. </p>

<p class="note">
New property in this context in this revision of DCAT.
</p>
Expand Down Expand Up @@ -2306,6 +2314,54 @@ <h3>Class: Role</h3>
</p>
</section> <!-- end class Role -->

<section id="Class:Measure">
<h3>Class: Measure</h3>

<table class="definition">
<thead><tr><th>RDF Class:</th><th><a href="http://www.w3.org/ns/dcat#Measure">dcat:Measure</a></th></tr></thead>
<tbody>
<tr><td class="prop">Definition:</td><td>A quantity expressed as a scaled number</td></tr>
</tbody>
</table>

<p class="note">
Class added in this revision of DCAT.
</p>

<section id="Property:measure_amount">
<h4>Property: amount</h4>
<table class="definition">
<thead><tr><th>RDF Property:</th><th><a href="http://www.w3.org/ns/dcat#amount">dcat:amount</a></th></tr></thead>
<tbody>
<tr><td class="prop">Definition:</td><td>The numerical element of a quantity.</td></tr>
<tr><td class="prop">Domain:</td><td><a href="http://www.w3.org/ns/dcat#Measure"><code>dcat:Measure</code></a></td></tr>
<tr><td class="prop">Range:</td><td><a href="http://www.w3.org/TR/xmlschema-2/#decimal"><code>xsd:decimal</code></a></td></tr>
</tbody>
</table>

<p class="note">
Property added in this revision of DCAT.
</p>
</section>

<section id="Property:measure_unit">
<h4>Property: unit of measure</h4>
<table class="definition">
<thead><tr><th>RDF Property:</th><th><a href="http://www.w3.org/ns/dcat#unit">dcat:unit</a></th></tr></thead>
<tbody>
<tr><td class="prop">Definition:</td><td>The scale element of a quantity.</td></tr>
<tr><td class="prop">Domain:</td><td><a href="http://www.w3.org/ns/dcat#Measure"><code>dcat:Measure</code></a></td></tr>
<tr><td class="prop">Range:</td><td><a href="http://www.w3.org/TR/xmlschema-2/#decimal"><code>rdfs:Resource</code></a></td></tr>
<tr><td class="prop">Usage note:</td><td> </td></tr>
</tbody>
</table>

<p class="note">
Property added in this revision of DCAT.
</p>
</section>
</section> <!-- end class Measure -->

</section>


Expand Down Expand Up @@ -3988,7 +4044,7 @@ <h3>Changes since the W3C Recommendation of 16 January 2014</h3>

<ul>
<li>
A new property <a href="#Property:dataset_temporalresolution">dcat:temporalResolution</a> added to support description of the temporal resolution of datasets and distributions. See <a href="https://github.com/w3c/dxwg/issues/84">Issue #84</a>
A new property <a href="#Property:dataset_spatialresolution">dcat:spatialResolution</a> added to support description of the spatial resolution of datasets and distributions. A new class <a href="#Class:measure">dcat:Measure</a> is provided for its value. See <a href="https://github.com/w3c/dxwg/issues/84">Issue #84</a>
</li>

<li>
Expand Down
36 changes: 29 additions & 7 deletions dcat/rdf/dcat.ttl
Expand Up @@ -362,6 +362,13 @@ dcat:Distribution
μέσω API ή μέσω μίας ιστοσελίδας. Η χρήση της ιδιότητας dcat:downloadURL δείχνει μόνο άμεσα μεταφορτώσιμες διανομές."""@el ;
skos:scopeNote "これは、データセットの一般的な利用可能性を表わし、データの実際のアクセス方式に関する情報(つまり、直接ダウンロードなのか、APIなのか、ウェブページを介したものなのか)を意味しません。dcat:downloadURLプロパティーの使用は、直接ダウンロード可能な配信を意味します。"@ja ;
.
dcat:Measure
rdf:type owl:Class ;
rdfs:comment "A quantity expressed as a scaled number" ;
rdfs:label "Measure" ;
skos:changeNote "New class in this revision" ;
skos:editorialNote "Status: Class accepted by DCAT revision team, but details of definition and constraints not yet resolved." ;
.
dcat:Relationship
rdf:type owl:Class ;
rdfs:comment "An association class for attaching additional information to a relationship between DCAT Resources" ;
Expand Down Expand Up @@ -463,6 +470,14 @@ dcat:accessURL
skos:scopeNote """確実にダウンロードでない場合や、ダウンロードかどうかが不明である場合は、downloadURLではなく、accessURLを用いてください。
ランディング・ページを通じてしか配信にアクセスできない場合(つまり、直接的なダウンロードURLが不明)は、配信におけるaccessURLとしてランディング・ページのリンクをコピーすべきです(SHOULD)。"""@ja ;
.
dcat:amount
rdf:type owl:DatatypeProperty ;
rdfs:label "amount" ;
rdfs:domain dcat:Measure ;
rdfs:range xsd:decimal ;
rdfs:comment "The numerical element of a quantity." ;
skos:scopeNote "" ;
.
dcat:byteSize
rdf:type rdf:Property ;
rdf:type owl:DatatypeProperty ;
Expand Down Expand Up @@ -800,15 +815,15 @@ dcat:service
skos:changeNote "New property in this revision of DCAT" ;
skos:editorialNote "Status: Property accepted by DCAT revision team, but details of definition and constraints not yet resolved." ;
.
dcat:temporalResolution
rdf:type owl:DatatypeProperty ;
rdfs:comment "minimum time period resolvable in a dataset" ;
rdfs:label "temporal resolution" ;
rdfs:range xsd:duration ;
dcat:spatialResolution
rdf:type owl:ObjectProperty ;
rdfs:comment "minimum spatial separation resolvable in a dataset" ;
rdfs:label "spatial resolution" ;
rdfs:range rdfs:Resource ;
skos:changeNote "New property in this revision of DCAT" ;
skos:editorialNote "Status: Property accepted by DCAT revision team, but details of definition and constraints not yet resolved." ;
skos:editorialNote "Status: details of definition and constraints not yet resolved." ;
skos:editorialNote "Might appear in the description of a Dataset or a Distribution, so no domain is specified" ;
skos:scopeNote "If the dataset is a time-series this should correspond to the spacing of items. For other kinds of dataset, this property will usually indicate the smallest time difference between items in the dataset. " ;
skos:scopeNote "If the dataset is an image or grid this should correspond to the spacing of items. For other kinds of spatial dataset, this property will usually indicate the smallest distance between items in the dataset. " ;
.
dcat:theme
rdf:type rdf:Property ;
Expand Down Expand Up @@ -868,6 +883,13 @@ dcat:themeTaxonomy
rdfs:label "テーマ"@ja ;
rdfs:range skos:ConceptScheme ;
.
dcat:unit
rdf:type owl:ObjectProperty ;
rdfs:label "unit of measure" ;
rdfs:domain dcat:Measure ;
rdfs:comment "The scale element of a quantity." ;
skos:scopeNote "" ;
.
prov:qualifiedAttribution
skos:definition "Link to an Agent having some form of responsibility for the resource" ;
skos:scopeNote """Used to link to an Agent where the nature of the relationship is known but does not match one of the standard Dublin Core properties (dct:creator, dct:publisher).
Expand Down

0 comments on commit 2307ff1

Please sign in to comment.