Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/paper-reviews' into paper-reviews
Browse files Browse the repository at this point in the history
# Conflicts:
#	profiles/config.js
#	profilesont/examples/dcat.svg
#	profilesont/examples/hierarchy.svg
#	profilesont/index.html
#	profilesont/profilesont.vsdx
  • Loading branch information
Nicholas Car committed Feb 22, 2019
2 parents 9a5d847 + 88a96be commit 6f568d3
Show file tree
Hide file tree
Showing 13 changed files with 2,922 additions and 658 deletions.
30 changes: 0 additions & 30 deletions profiles/config.js
Expand Up @@ -35,36 +35,6 @@ var respecConfig = {
github: "https://github.com/w3c/dxwg/issues/",
issueBase: "https://github.com/w3c/dxwg/issues/",
localBiblio: {
"DCAP": {
authors: [
"Karen Coyle",
"Thomas Baker"
],
href: "http://dublincore.org/documents/dcmi-terms/",
title: "Guidelines for Dublin Core Application Profiles (Working Draft)",
date: " 2009-05-18",
status: "DCMI Recommended Resource"
},
"DCSF": {
authors: [
"Mikael Nilsson",
"Thomas Baker",
"Pete Johnston"
],
href: "http://dublincore.org/documents/singapore-framework/",
title: "The Singapore Framework for Dublin Core Application Profiles",
date: " 2008-01-14",
status: "DCMI Recommended Resource"
},
"DCDSP": {
authors: [
"Nilsson, Mikael"
],
href: "http://dublincore.org/documents/dc-dsp/",
title: "Description Set Profiles: A constraint language for Dublin Core Application Profiles",
date: " 2008-03-31",
status: "DCMI Working Draft"
},
"PROF-CONNEG": {
editors: [
"Lars G. Svensson",
Expand Down
2 changes: 1 addition & 1 deletion profilesont/examples/README.md
Expand Up @@ -43,7 +43,7 @@ These profile descriptions are termed `Implementation Resource Descriptor` insta

The RDF for this example is in [eg_ga.ttl](eg_ga.ttl).

![](eg_ga.png)
![](examples/ga.svg)
Figure 5: Geoscience Australia profile

### Open Geospatial Consortium
Expand Down
742 changes: 742 additions & 0 deletions profilesont/examples/dcat-ap.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
334 changes: 170 additions & 164 deletions profilesont/examples/dcat.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed profilesont/examples/eg_ga.png
Binary file not shown.
Binary file removed profilesont/examples/eg_hierarchy.png
Binary file not shown.
647 changes: 647 additions & 0 deletions profilesont/examples/epub.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
790 changes: 790 additions & 0 deletions profilesont/examples/ga.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
330 changes: 130 additions & 200 deletions profilesont/examples/dccat-ap.svg → profilesont/examples/hierarchy.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
492 changes: 314 additions & 178 deletions profilesont/examples/initial.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
162 changes: 98 additions & 64 deletions profilesont/examples/isInheritedFrom.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
51 changes: 30 additions & 21 deletions profilesont/index.html
Expand Up @@ -44,7 +44,7 @@ <h2>Introduction</h2>
<p>The Profiles Vocabulary is an RDF vocabulary to describe the resources that define and implement a profile. A profile is defined as "A named set of constraints on one or more identified base specifications or other profiles, including the identification of any implementing subclasses of datatypes, semantic interpretations, vocabularies, options and parameters of those base specifications necessary to accomplish a particular function." These resources may be human-readable documents (PDFs, textual documents), vocabularies or ontologies (XSD, RDF), resources specific to validation tools (SHACL, ShEx, Schematron), or any other files or resources that support the profile. Each resource is defined as having a role that defines its function within the profile.
</p>
This vocabulary also provides for the description of relationships between such profiles and the standards to which they conform. A standard in this case can be a vocabulary or it can be another profile from which the described profile is a derivation, expansion, or selection. This vocabulary provides a standardized, machine readable formalism for describing the context of profiles. The basis of this vocabulary is a specialization of <code><a href="http://www.dublincore.org/documents/dcmi-terms/#terms-Standard">dct:Standard</a></code>, allowing the use of the <code><a href="http://www.dublincore.org/documents/dcmi-terms/#terms-conformsTo">dct:conformsTo</a></code> predicate to specify conformance to a profile.
</p><p>
</p>
A "profile" here is represented by the <a href="#Class:Profile">Profile class definition</a> in the
<a href="#specification">Vocabulary Specification</a> with the following definition: "A named set of constraints on one or more identified base specifications or other profiles, including the identification of any implementing subclasses of datatypes, semantic interpretations, vocabularies, options and parameters of those base specifications necessary to accomplish a particular function."
</p>
Expand Down Expand Up @@ -549,7 +549,7 @@ <h4>isInheritedFrom</h4>
</figure>
<pre class="example nohighlight turtle" aria-busy="false" aria-live="polite" title="Property isInheritedFrom in use">
# If Standard X, described using PROF, is given as having a Resource
# Descriptor, RS_1, with role "Full Constraints" as follows:
# Descriptor, RD_1, with role "Full Constraints" as follows:

@prefix ex1: &lt;http://example.org/profile1/&gt; .
@prefix ex2: &lt;http://example.org/profile2/&gt; .
Expand All @@ -562,9 +562,9 @@ <h4>isInheritedFrom</h4>
a dct:Standard , prof:Profile ; # this may be a 'null' profile,
# i.e. a profile of nothing, a regular Standard
dct:title "Standard X" ;
prof:hasResource ex1:RS_1 .
prof:hasResource ex1:RD_1 .

ex1:RS_1
ex1:RD_1
a prof:ResourceDescriptor ;
dct:conformsTo &lt;http://www.w3.org/ns/shacl#&gt; ; # the SHACL standard
dct:format &lt;https://w3id.org/mediatype/text/turtle&gt; ; # the RDF Turtle format
Expand All @@ -574,7 +574,7 @@ <h4>isInheritedFrom</h4>
prof:hasArtifact ex1:constraints.ttl .

# then, a profile of Standard X, perhaps Profile Y, may use
# prof:isInheritedFrom to re-use that Resource Descriptor RS_1
# prof:isInheritedFrom to re-use that Resource Descriptor RD_1

ex2:Profile_Y
a prof:Profile ;
Expand All @@ -589,7 +589,7 @@ <h4>isInheritedFrom</h4>
prof:hasRole role:partConstraints ; # this ResourceDescriptor is now only Part Constraints
# for Profile Y as it's implementing some of its own,
# additional constraints (see next Resource Descriptor)
prof:hasArtifact ex1:constraints.ttl # direct URI reference to ex1:RS_1's artifact
prof:hasArtifact ex1:constraints.ttl # direct URI reference to ex1:RD_1's artifact
] ,
[
a prof:ResourceDescriptor ; # RS 3 in diagram. This is not inherited from anywhere
Expand Down Expand Up @@ -631,17 +631,24 @@ <h3>DCAT-AP</h3>
<p><em>This example showcases this vocabulary's description of parts of a profile.</em></p>
<p>
DCAT-AP is the widely used European <em>Application Profile</em> of DCAT. DCAT-AP is described in document form
(PDF & DOCX) and a constraints document for instance validation is available, formulated using the W3C's Shapes
Constraints Language constraints language [[SHACL]].
(PDF &amp; DOCX) and a constraints resource for instance validation is available, formulated using the W3C's Shapes
Constraints Language constraints language [[SHACL]]. An image of the DCAT-AP model is also provided.
</p>
<p>
The figure below described DCA-AP graphically, using elements from this vocabulary.
The figure uses elements from this vocabulary to describe part of the DCAT-AP Profile graphically - PDF &amp; RDF
resources only - to simplify the example.
</p>
<figure id="fig-eg-dcat">
<a href="examples/dcat-ap.svg">
<img src="examples/dcat-ap.svg" title="DCAT-AP described using this vocabulary" style="width:90%;" />
</a>
<figcaption>DCAT-AP described using this vocabulary</figcaption>
<figcaption>
Part of the DCAT-AP Profile described using this ontology. The DCAT-AP profile of DCAT is outlined in blue.
The formats of the DCAT-AP Profile's Resource Descriptors are outlined in orange. The roles that those two
Resource Descriptors play are outlines in red. The second Resource Descriptor conforms to SHACL, outline in
purple. The artifacts (files) that DCAT-AP has, described here by the Resource Descriptors, are outlined in
green.
</figcaption>
</figure>
<p>
In words this vocabulary's descriptions of DCAT-AP is:
Expand All @@ -667,13 +674,13 @@ <h3>DCAT-AP</h3>
<a href="https://w3c.github.io/dxwg/profilesont/resource_roles.html#Concept:Guidance">role:Guidance</a>
</li>
<li>
a document, with a <a href="#Property:format">dct:format</a> value of
<em>(not shown in Figure 5)</em> a document, with a <a href="#Property:format">dct:format</a> value of
<a href="https://w3id.org/mediatype/application/msword">application/msword</a> and a
<a href="#Property:hasRole">prof:hasRole</a> value of
<a href="https://w3c.github.io/dxwg/profilesont/resource_roles.html#Concept:Guidance">role:Guidance</a>
</li>
<li>
an image, with a <a href="#Property:format">dct:format</a> value of
<em>(not shown in Figure 5)</em> an image, with a <a href="#Property:format">dct:format</a> value of
<a href="https://w3id.org/mediatype/image/png">image/png</a> and a
<a href="#Property:hasRole">prof:hasRole</a> value of
<a href="https://w3c.github.io/dxwg/profilesont/resource_roles.html#Concept:Guidance">role:Guidance</a>
Expand All @@ -684,7 +691,7 @@ <h3>DCAT-AP</h3>
<a href="#Property:conformsTo">dct:conformsTo</a> value of
<a href="http://www.w3.org/ns/shacl">http://www.w3.org/ns/shacl</a> (the namespace of the [[SHACL]]
specification) and a <a href="#Property:hasRole">prof:hasRole</a> value of
<a href="https://w3c.github.io/dxwg/profilesont/resource_roles.html#Concept:ConformanceTestConstraints">role:ConformanceTest</a>
<a href="https://w3c.github.io/dxwg/profilesont/resource_roles.html#Concept:FullConstraints">role:FullConstraints</a>
</li>
</ul>
each with a <a href="#Property:hasArtifact">prof:hasArtifact</a> value of an implementing resource object in the
Expand Down Expand Up @@ -759,19 +766,13 @@ <h3>DCAT-AP</h3>
rdfs:label "DCAT-AP Constraints" ;
dct:conformsTo &lt;http://www.w3.org/ns/shacl&gt;; # the namespace for SHACL
dct:format "text/turtle" ;
prof:hasRole role:ConformanceTest ;
prof:hasRole role:FullConstraints ;
.
</pre>
</section>
<section id="eg-hierarchy">
<h3>DCAT-AP hierarchy</h3>
<p><em>This example showcases this vocabulary being used to indicated profiles within a complex hierarchy.</em></p>
<figure id="fig-eg-hierarchy">
<a href="examples/eg_hierarchy.png">
<img src="examples/eg_hierarchy.png" title="DCAT-AP and related profiles in a hierarchy" style="width:50%;" />
</a>
<figcaption>DCAT-AP and related profiles in a hierarchy</figcaption>
</figure>
<p>
DCAT-AP, a profile of DCAT, has itself been profiled for various European countries, such as Belgium who has
issued <a href="http://dcat.be/">DCAT-BE</a>. Additionally, there are several domain profiles of DCAT-AP, such as
Expand All @@ -780,7 +781,15 @@ <h3>DCAT-AP hierarchy</h3>
for enhancing interoperability between descriptions of statistical datasets. Further to this, there is even an
Italian profile of GeoDCAT-AP, <a href="https://joinup.ec.europa.eu/news/geodcat-apit">GeoDCAT-AP_IT</a>.
</p>
<p>This profile hierarchy is represented graphically in the figure above and in RDF (turtle) below.</p>
<p>
This profile hierarchy is represented graphically in the figure and RDF (turtle) below.
</p>
<figure id="fig-eg-hierarchy">
<a href="examples/hierarchy.svg">
<img src="examples/hierarchy.svg" title="DCAT-AP and related profiles in a hierarchy" style="width:70%;" alt="DCAT-AP and related profiles in a hierarchy" />
</a>
<figcaption>DCAT-AP and related profiles in a hierarchy. '?' shows a potential future profile that profiles both DCAT-BE &amp; StatDCAT-AP.</figcaption>
</figure>
<pre class="example nohighlight turtle" aria-busy="false" aria-live="polite" title="The GeoDCAT-AP profile hierarchy described using Profile Ontology in RDF (turtle)">
@prefix prof: &lt;http://www.w3.org/ns/dx/prof/&gt; .
@prefix rdfs: &lt;http://www.w3.org/2000/01/rdf-schema#&gt; .
Expand Down
Binary file modified profilesont/profilesont.vsdx 100644 → 100755
Binary file not shown.

0 comments on commit 6f568d3

Please sign in to comment.