Skip to content
Permalink
Browse files

Merge pull request #190 from w3c/profiledesc

profiledesc
  • Loading branch information
dr-shorthair committed Apr 13, 2018
2 parents ad552dd + ce168a2 commit 4be725f8f436d156a68768ac14dadeb0cdcbe15c
@@ -0,0 +1,28 @@

53
57
64
66
71
76
77
80
95
98
104
105
109
110
117
118
119
120
121
122
123
124
125
126
127
128
131
@@ -0,0 +1,30 @@
93
94
96
104
105
106
107
109
110
111
113
114
116
117
118
119
120
121
122
123
124
125
126
127
128
130
131
132
133
134
@@ -0,0 +1,5 @@
# Mac index file
.DS_Store

# Protege
catalog-v001.xml
@@ -0,0 +1,9 @@
# DXWG's Profile Descriptor

This component of the [Data Exchange Working Group](https://www.w3.org/2017/dxwg/)'s code repository is for work on the *Profile Descriptor* task.

## Profiles Description Ontology
Currently (April, 2018), an ontology to describe objects relevant to profiling (original specifications profiled, profiles of profiles, categorisation of profiling methods) has been created. See [profile.ttl](profile.ttl) in this folder for the source and <https://promsns.org/def/prof> for a demo of the ontology documented in HTML. Additionally, the main classes and their relations are shown in a diagram [profile.png](profile.png).

## Next Steps
The DXWG has yet, as of April 2018, not decided how it will address its original charter deliverable to provide **profile guidance**. Once a decision has been made (likely May, 2018) work here will be folded into that initiative.
@@ -0,0 +1,44 @@
# Profile Descriptions examples
Here are some examples of the Profile Descriptions Ontology modelling existing or expected profile.

### DCAT
The most fundamental profile for this group is the original DCAT (1.0) which will be termed a profile of the version of DCAT (1.1) currently under consideration.

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

![](https://github.com/w3c/dxwg/raw/profiledesc/profiledesc/examples/eg_dcat.png)
Figure 1: DCAT profiles

### DCAT-AP
DCAT-AP is the widely used European *Application Profile* of DCAT. DCAT-AP's specification is avalable in document form (PDF & DOCX) which has the role of *Guidance* and *Conformance Test Constraints* are specified using SHACL.

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

![](https://github.com/w3c/dxwg/raw/profiledesc/profiledesc/examples/eg_dcat-ap.png)
Figure 2: DCAT-AP profiles

### EUDM
The Energy Use Data Model is an energy data platform project in Australia. It will profile an Australian government profile of DCAT (termed OzDCAT here).

![](https://github.com/w3c/dxwg/raw/profiledesc/profiledesc/examples/eg_EUDM.png)
Figure 3: EUDM profile

### Geoscience Australia
Here the Profile Descriptions Ontology is put to use describing profiling of non-Semantic Web standards. Geoscience Australia, an Australian government geoscience data agency, has recently profiled the ISO19115-1:2014 Geographic metadata standard. That profile is described in three ways:

1. **HTML Web Page**: a human-readable web page offering a comprehensive description of the profile <http://pid.geoscience.gov.au/def/schema/ga/ISO19115-1-2014>
2. **XML Schema Description**: an XML schema that can be used to check XML instances of the profile for conformance <http://pid.geoscience.gov.au/def/schema/ga/ISO19115-3-2016>
3. **Schematron**: an XML assertion language resource that can be used to constraint check XML instances of the profile <http://pid.geoscience.gov.au/def/schema/ga/ISO19115-3-2016/schematron-rules-ga.sch>

These profile descriptions are termed `Implementation Resource Descriptor` instances in the diagram and are typed according to their functional role.

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

![](https://github.com/w3c/dxwg/raw/profiledesc/profiledesc/examples/eg_ga.png)
Figure 4: Geoscience Australia profile

### Open Geospatial Consortium

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

*Figure coming soon!*
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,71 @@
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix def: <http://www.opengis.net/def/> .
@prefix eg: <https://www.opengis.net/def/profiles_example/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix policy: <http://www.opengis.net/ogc-na#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix prof: <http://www.w3.org/ns/dcat/profile#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix ga: <http://example.org/ga#> . # a fictional namespace for GA Profile Description Ontology resource instances
@prefix eg: <http://example.org/types#> . # a fictional library of media types


ga:prof_examples_ga
rdf:type owl:Ontology ;
rdfs:label "Profile examples - GA";
rdfs:comment "Example of Geoscience Australia's profile of the ISO19115-1:2014 Geographic metadata standard"@en;
dc:creator "Nicholas Car" ;
dct:creator <http://orcid.org/0000-0002-8742-7730> ;
dct:created "2018-04-10"^^xsd:date .

<http://pid.geoscience.gov.au/def/schema/ga/ISO19115-1-2014>
a prof:Profile ;
prof:token "iso19115-ga" ;
rdfs:label "ISO19115-1:2014 GA Profile";
rdfs:comment "Provides a means to declare, and discover implementation resources to check, implementations of geographic metadata schema conforming to GA's profile."@en;
dct:publisher <http://pid.geoscience.gov.au/org/ga/geoscienceaustralia> ;
prof:profileOf ga:ISO19115-1-2014 ;
prof:resource <http://pid.geoscience.gov.au/def/schema/ga/schematron-rules-ga.sch> , <http://pid.geoscience.gov.au/def/schema/ga/ISO19115-1-2014> , <http://pid.geoscience.gov.au/def/schema/ga/ISO19115-3-2016>.

ga:ISO19115-1-2014 a prof:BaseSpecification ;
rdfs:label "ISO ISO19115-1:2014" ;
rdfs:comment "The international standard ISO19115-1:2014 Geographic information - Metadata" ;
dc:publisher "International Organization for Standardization" ;
dct:source <https://www.iso.org/standard/53798.html> .

<http://pid.geoscience.gov.au/def/schema/ga/schematron-rules-ga.sch> a prof:ImplResourceDesc;
rdfs:label "GA Profile Schematron";
prof:resource <http://pid.geoscience.gov.au/def/schema/ga/schematron-rules-ga.sch> ;
prof:resourceType eg:Schematron;
dct:format "text/xml" .

<http://pid.geoscience.gov.au/def/schema/ga/ISO19115-1-2014> a prof:ImplResourceDesc;
rdfs:label "GA Profile Document";
prof:resource <http://pid.geoscience.gov.au/def/schema/ga/schematron-rules-ga.sch> ;
prof:resourceType eg:WebPage ;
dct:format "text/html" .

<http://pid.geoscience.gov.au/def/schema/ga/ISO19115-3-2016> a prof:ImplResourceDesc;
rdfs:label "GA Profile XML Schema";
prof:resource <http://pid.geoscience.gov.au/def/schema/ga/ISO19115-3-2016/gapm.xsd> ;
prof:resourceType eg:XSDSchema ;
dct:format "text/xml" .

eg:Schematron a dct:MediaTypeOrExtent ;
rdfs:label "Schematron" ;
rdfs:comment "A language for making assertions about the presence or absence of patterns in XML documents." ;
dct:source <http://schematron.com> .

eg:WebPage a dct:MediaTypeOrExtent ;
rdfs:label "Web Page" ;
rdfs:comment "A document written in HyperText Markup Language designed for human reading via a web browser." ;
dct:source <https://www.w3.org/html/> .

eg:WebPage a dct:MediaTypeOrExtent ;
rdfs:label "Web Page" ;
rdfs:comment "A document written in HyperText Markup Language designed for human reading via a web browser." ;
dct:source <https://www.w3.org/html/> .
@@ -0,0 +1,114 @@
# prefix: eg

@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix def: <http://www.opengis.net/def/> .
@prefix eg: <https://www.opengis.net/def/profiles_example/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix policy: <http://www.opengis.net/ogc-na#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .

@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix prof: <http://www.w3.org/ns/dcat/profile#> .

@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .


eg:prof_examples
rdf:type owl:Ontology ;
rdfs:label "Profile examples";
rdfs:comment "Examples of profiles and their relationships modelled with lightweight dcat profile identification model"@en;
dc:creator "Rob Atkinson";
.

#DCAT v1

<http://www.w3.org/ns/dcat-v1>
a prof:Profile ;
prof:token "dcat-v1" ;
rdfs:label "DCAT v1 implementation profile";
rdfs:comment "Provides a means to declare, and discover implementation resources to check, implementations of DCAT conforming to v1 specification"@en;
dc:publisher "W3.org" ;
prof:profileOf dcat: ;
prof:hasProfile <https://joinup.ec.europa.eu/release/dcat-ap-v10> ;
prof:resource eg:dcatv1-owl ;
.

eg:dcat-owl a prof:ImplResourceDesc;
rdfs:label "DCAT-AP-V1.0 SHACL constraints";
prof:resource <http://data.europa.eu/w21/016d88c3-a0b3-4506-ae4e-758e7401c096> ;
prof:resourceType owl:Ontology;
.


#DCAT-AP examples

<https://joinup.ec.europa.eu/release/dcat-ap-v11>
a prof:Profile ;
prof:token "dcat-ap" ;
rdfs:label "DCAT-AP: DCAT application profile for data portals in Europe";
dc:publisher "European Union" ;
prof:profileOf dcat: , <http://www.w3.org/ns/dcat-v1> ;
prof:hasProfile <https://joinup.ec.europa.eu/release/geodcat-ap-v10> ;
prof:resource eg:dcat-shacl ;
.

eg:dcat-shacl a prof:ImplResourceDesc;
rdfs:label "DCAT-AP-V1.0 SHACL constraints";
prof:resource <http://data.europa.eu/w21/016d88c3-a0b3-4506-ae4e-758e7401c096> ;
prof:resourceType eg:shacl;
dct:format <http://www.w3.org/ns/shacl#>;
.

<https://joinup.ec.europa.eu/release/geodcat-ap-v10> a prof:Profile ;
prof:profileOf <https://joinup.ec.europa.eu/release/dcat-ap-v11> ;
rdfs:label "GeoDCAT-AP: A geospatial extension for the DCAT application profile for data portals in Europe";
prof:token "geodcat-ap" ;
.



# OpenGeospatial Consortium Examples
<http://www.opengis.net/def/serviceType/ogc/wms/1.3>
rdf:type dct:Standard, prof:Profile ;
prof:token "WMS13" ;
dct:publisher <http://www.opengis.net/def/auth/ogc> ;
prof:hasProfile eg:wms13_dgiwg;

.

eg:wms13_dgiwg
rdf:type prof:Profile ;
prof:profiles <http://www.opengis.net/def/serviceType/ogc/wms/1.3> ;
rdfs:label "wms13 dgiwg" ;
skos:prefLabel "wms13 dgiwg" ;
prof:token "WMS-DGIWG" ;
.
eg:wmts
rdf:type dct:Standard ;
prof:token "WMTS" ;
prof:hasProfile eg:wmts_simple ;
.
eg:wmts-simple-sch
rdf:type prof:ImplResourceDesc ;
rdfs:label "WMTS simple Schematron constraints" ;
skos:prefLabel "WMS1.3 DGWIG profile schema" ;
.
eg:wmts-swagger-ui
rdf:type prof:ImplResourceDesc ;
dct:format <http://purl.org/NET/mediatypes/text/html> ;
dct:type prof:OAS ;
prof:resource <http://cite.opengeospatial.org/pub/cite/files/edu/wmts/text/target-api/index.html> ;
rdfs:label "WMTS OAS (Swagger) documentation UI" ;
skos:prefLabel "WMTS OAS (Swagger) documentation UI" ;
.
eg:wmts_simple
rdf:type prof:Profile ;
prof:profileOf eg:wmts ;
prof:resource eg:wmts-simple-sch ;
rdfs:label "WMTS Simple Profile" ;
skos:prefLabel "WMTS Simple Profile" ;
prof:token "WMTS-S" ;
.
Binary file not shown.

0 comments on commit 4be725f

Please sign in to comment.
You can’t perform that action at this time.