Skip to content

Commit

Permalink
fix(build): renamed 'data-product-spec' back to 'data-product'
Browse files Browse the repository at this point in the history
  • Loading branch information
jgeluk committed Aug 12, 2024
1 parent 432da1f commit 374efff
Show file tree
Hide file tree
Showing 14 changed files with 34 additions and 34 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Artifacts of the EKGF Data Product Workgroup
- [Ontologies](ontology/README.md)
- [Concepts](concept/README.md)

The specification is generated by Respec and (temporarily) published here: https://ekgf.github.io/data-product-spec/dprod
The specification is generated by Respec and (temporarily) published here: https://ekgf.github.io/data-product/dprod

## Contributor Licence Agreement (CLA)

Expand Down
4 changes: 2 additions & 2 deletions examples/core-data-product-extensions/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ In this example, a Data Product Agreement is defined as a subclass of FIBO Agree
[
{
"@context": [
"https://ekgf.github.io/data-product-spec/dprod.jsonld",
"https://ekgf.github.io/data-product/dprod.jsonld",
{
"fibo": "http://spec.edmcouncil.org/fibo/ontology/FND/Agreements/MetadataFNDAgreements/#",
"ex": "http://example.org/dp#"
Expand Down Expand Up @@ -44,7 +44,7 @@ Below is an example of a Data Product with an associated Data Product Agreement
```json
{
"@context": [
"https://ekgf.github.io/data-product-spec/dprod.jsonld",
"https://ekgf.github.io/data-product/dprod.jsonld",
{
"fibo": "http://spec.edmcouncil.org/fibo/ontology/FND/Agreements/MetadataFNDAgreements/#",
"ex": "http://example.org/dp#"
Expand Down
4 changes: 2 additions & 2 deletions examples/data-lineage/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Data Product >> inputPort >> isAccessServiceOf >> isDistributionOf >> Input Data
Let's look at some example data with three data products that connect to each other through their input and output ports:
```json
{
"@context": "https://ekgf.github.io/data-product-spec/dprod.jsonld",
"@context": "https://ekgf.github.io/data-product/dprod.jsonld",
"dataProducts": [
{
"id": "https://y.com/data-product/company-finance",
Expand Down Expand Up @@ -100,7 +100,7 @@ https://y.com/data-product/company-finance >> :inputPort >> :isAccessServiceOf >
In Linked Data, we would actually do this with a query like this:
```sparql
PREFIX dcat: <http://www.w3.org/ns/dcat#>
PREFIX dprod: <https://ekgf.github.io/data-product-spec/dprod/>
PREFIX dprod: <https://ekgf.github.io/data-product/dprod/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX : <https://y.com/data-product/>
Expand Down
6 changes: 3 additions & 3 deletions examples/data-quality/example.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[

{
"@context": "https://ekgf.github.io/data-product-spec/dprod.jsonld",
"@context": "https://ekgf.github.io/data-product/dprod.jsonld",
"id": "https://y.com/derived-quality-measurementA",
"@type": "QualityMeasurement",
"value": 1,
Expand All @@ -17,7 +17,7 @@
,

{
"@context": "https://ekgf.github.io/data-product-spec/dprod.jsonld",
"@context": "https://ekgf.github.io/data-product/dprod.jsonld",
"@id": "https://y.com/quality-measurement-B",
"@type": "QualityMeasurement",
"value": "false",
Expand All @@ -32,7 +32,7 @@
}
,
{
"@context": "https://ekgf.github.io/data-product-spec/dprod.jsonld",
"@context": "https://ekgf.github.io/data-product/dprod.jsonld",
"id": "https://y.com/products/uk-bonds",
"type": "DataProduct",
"outputPort": {
Expand Down
2 changes: 1 addition & 1 deletion examples/data-schema/example.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"@context": "https://ekgf.github.io/data-product-spec/dprod.jsonld",
"@context": "https://ekgf.github.io/data-product/dprod.jsonld",
"id": "https://y.com/products/equity-trade-xxx",
"@type": "DataProduct",
"title": "Equity Trade XXX",
Expand Down
2 changes: 1 addition & 1 deletion examples/equity-trade/example.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"@context": "https://ekgf.github.io/data-product-spec/dprod.jsonld",
"@context": "https://ekgf.github.io/data-product/dprod.jsonld",
"id": "equity trade-xxx",
"@id": "https://y.com/products/equity-trade-xxx",
"@type": "DataProduct",
Expand Down
2 changes: 1 addition & 1 deletion examples/observability/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Here is an example of a data product with an observability port:

```json
{
"@context": "https://ekgf.github.io/data-product-spec/dprod.jsonld",
"@context": "https://ekgf.github.io/data-product/dprod.jsonld",
"dataProducts": [
{
"id": "https://y.com/data-product/uk-bonds",
Expand Down
2 changes: 1 addition & 1 deletion examples/sba-pool-rates/example.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ "@context": "https://ekgf.github.io/data-product-spec/dprod.jsonld",
{ "@context": "https://ekgf.github.io/data-product/dprod.jsonld",
"id": "sba-pool-rates",
"@id": "https://y.com/products/sba-pool-rates",
"@type": "DataProduct",
Expand Down
10 changes: 5 additions & 5 deletions ontology/dprod/dprod-data
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# baseURI: https://ekgf.github.io/data-product-spec/dprod/data/
# baseURI: https://ekgf.github.io/data-product/dprod/data/
# imports: http://purl.org/dc/terms/
# imports: http://www.w3.org/2004/02/skos/core
# imports: http://www.w3.org/ns/prov-o#
# imports: http://www.w3.org/ns/dcat
# imports: http://www.w3.org/ns/shacl
# imports: https://ekgf.github.io/data-product-spec/dprod/
# imports: https://ekgf.github.io/data-product/dprod/
# prefix: dprod-data


@prefix dprod-data: <https://ekgf.github.io/data-product-spec/dprod/data/> .
@prefix dprod: <https://ekgf.github.io/data-product-spec/dprod/> .
@prefix dprod-data: <https://ekgf.github.io/data-product/dprod/data/> .
@prefix dprod: <https://ekgf.github.io/data-product/dprod/> .
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix dc: <http://purl.org/dc/elements/1.1/>.
Expand Down Expand Up @@ -37,7 +37,7 @@ dprod-data:
owl:imports <http://www.w3.org/2004/02/skos/core>;
owl:imports <http://www.w3.org/ns/prov-o#>;
owl:imports <http://www.w3.org/ns/dcat>;
owl:imports <https://ekgf.github.io/data-product-spec/dprod/>;
owl:imports <https://ekgf.github.io/data-product/dprod/>;
dct:creator [
a foaf:Person ;
foaf:name "Natasa Varytimou" ;
Expand Down
10 changes: 5 additions & 5 deletions ontology/dprod/dprod-dcatprofile.ttl
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# baseURI: https://ekgf.github.io/data-product-spec/dprod-shapes/
# baseURI: https://ekgf.github.io/data-product/dprod-shapes/
# imports: http://purl.org/dc/terms/
# imports: http://www.w3.org/2004/02/skos/core
# imports: http://www.w3.org/ns/prov-o#
# imports: http://www.w3.org/ns/dcat
# imports: http://www.w3.org/ns/shacl
# imports: https://ekgf.github.io/data-product-spec/dprod/
# imports: https://ekgf.github.io/data-product/dprod/
# prefix: dprod



@prefix dprod: <https://ekgf.github.io/data-product-spec/dprod/> .
@prefix dprod: <https://ekgf.github.io/data-product/dprod/> .
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix dc: <http://purl.org/dc/elements/1.1/>.
Expand All @@ -28,7 +28,7 @@
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .


<https://ekgf.github.io/data-product-spec/dprod-shapes/>
<https://ekgf.github.io/data-product/dprod-shapes/>
a owl:Ontology ;
rdfs:label "Data Product Shapes DCAT Profile"@en ;
dc:description "This is the DCAT profile based on DPROD which is an ontology designed to facilitate interoperability between data product descriptors.";
Expand Down Expand Up @@ -71,7 +71,7 @@
owl:imports <http://www.w3.org/ns/prov-o#> ;
owl:imports <http://www.w3.org/ns/dcat#> ;
owl:imports <http://www.w3.org/ns/shacl>;
owl:imports <https://ekgf.github.io/data-product-spec/dprod/>;
owl:imports <https://ekgf.github.io/data-product/dprod/>;
dct:modified "2023-12-20"^^xsd:date ;
foaf:maker [
foaf:homepage <http://www.ekgf.org/> ;
Expand Down
4 changes: 2 additions & 2 deletions ontology/dprod/dprod-ontology.ttl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#product baseURI: https://ekgf.github.io/data-product-spec/dprod/
#product baseURI: https://ekgf.github.io/data-product/dprod/
# imports: http://purl.org/dc/terms/
# imports: http://www.w3.org/2004/02/skos/core
# imports: http://www.w3.org/ns/prov-o#
Expand All @@ -8,7 +8,7 @@



@prefix dprod: <https://ekgf.github.io/data-product-spec/dprod/> .
@prefix dprod: <https://ekgf.github.io/data-product/dprod/> .
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix dc: <http://purl.org/dc/elements/1.1/>.
Expand Down
4 changes: 2 additions & 2 deletions ontology/dprod/dprod-redundant.ttl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# baseURI: https://ekgf.github.io/data-product-spec/dprod/
# baseURI: https://ekgf.github.io/data-product/dprod/
# imports: http://purl.org/dc/terms/
# imports: http://www.w3.org/2004/02/skos/core
# imports: http://www.w3.org/ns/prov-o#
Expand All @@ -8,7 +8,7 @@



@prefix dprod: <https://ekgf.github.io/data-product-spec/dprod/> .
@prefix dprod: <https://ekgf.github.io/data-product/dprod/> .
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix dc: <http://purl.org/dc/elements/1.1/>.
Expand Down
12 changes: 6 additions & 6 deletions respec/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
var respecConfig = {
// Working Groups ids at https://respec.org/w3c/groups/
// group: "Semantic Data Products Working Group",
latestVersion: "https://ekgf.github.io/data-product-spec/dprod" ,
latestVersion: "https://ekgf.github.io/data-product/dprod" ,
specStatus: "base",
editors: [
{
Expand Down Expand Up @@ -53,13 +53,13 @@
<h1 id="title">Data Product Vocabulary (DPROD)</h1>
<section id='abstract'>
<p>
The <a href="https://ekgf.github.io/data-product-spec/dprod.ttl">Data Product (DPROD)</a> specification is a profile of the <a href="https://www.w3.org/TR/vocab-dcat-3/">Data Catalog (DCAT) Vocabulary</a>, designed to describe Data Products. This document defines the schema and provides examples for its use.
The <a href="https://ekgf.github.io/data-product/dprod.ttl">Data Product (DPROD)</a> specification is a profile of the <a href="https://www.w3.org/TR/vocab-dcat-3/">Data Catalog (DCAT) Vocabulary</a>, designed to describe Data Products. This document defines the schema and provides examples for its use.
</p>
<p>
DPROD extends DCAT to enable publishers to describe Data Products and data services in a decentralized way. By using a standard model and vocabulary, DPROD facilitates the consumption and aggregation of metadata from multiple Data Marketplaces. This approach increases the discoverability of products and services, supports decentralized data publishing, and enables federated search across multiple sites using a uniform query mechanism and structure.
</p>
<p>
The namespace for DPROD terms is <a href="https://ekgf.github.io/data-product-spec/dprod">https://ekgf.github.io/data-product-spec/dprod</a>
The namespace for DPROD terms is <a href="https://ekgf.github.io/data-product/dprod">https://ekgf.github.io/data-product/dprod</a>
</p>
<p>
The suggested prefix for the DPROD namespace is <code>dprod</code>
Expand All @@ -70,7 +70,7 @@ <h1 id="title">Data Product Vocabulary (DPROD)</h1>
🔵Decentralize Data Ownership: To make data integration more efficient, tasks should be shared among multiple teams. DCAT helps by offering a standard way to publish datasets in a decentralized manner.
</p>
<p>
🔵Harmonize Data Schemas: Using shared schemas helps unify different data formats. For instance, the <a href="https://ekgf.github.io/data-product-spec/dprod.ttl">DPROD</a> specification provides a common set of rules for defining a <a href="#dataproduct">Data Product</a>. You can extend this schema as needed.
🔵Harmonize Data Schemas: Using shared schemas helps unify different data formats. For instance, the <a href="https://ekgf.github.io/data-product/dprod.ttl">DPROD</a> specification provides a common set of rules for defining a <a href="#dataproduct">Data Product</a>. You can extend this schema as needed.
</p>
<br>
The DPROD specification builds on DCAT by connecting <a href="https://www.w3.org/TR/vocab-dcat-3/#Class:Data_Service">DCAT Data Services</a> to DPROD <a href="#dataproduct">Data Products</a> using <a href="#inputport">Input</a> and <a href="#outputport">output</a> ports. These ports are used to publish and consume data from a Data Product. DPROD treats ports as <a href="https://www.w3.org/TR/vocab-dcat-3/#Class:Data_Service">dcat data services</a>, so the data exchanged can be described using DCAT's highly expressive metadata around <a href="https://www.w3.org/TR/vocab-dcat-3/#Class:Distribution">distributions</a> and <a href="https://www.w3.org/TR/vocab-dcat-3/#Class:Dataset">datasets</a>.
Expand Down Expand Up @@ -197,13 +197,13 @@ <h2>Data Product (DPROD) Model</h2>

<pre id="eg12" class="example hljs json">
{
"@context": "https://ekgf.github.io/data-product-spec/dprod.jsonld",
"@context": "https://ekgf.github.io/data-product/dprod.jsonld",
"id": "https://y.com/products/uk-bonds",
"type": "DataProduct",
"title": "UK Bonds",
"description": "UK Bonds is your one-stop-shop for all your bonds!",
"dataProductOwner": "https://www.linkedin.com/in/tonyseale/",
"lifecycleStatus" : "https://ekgf.github.io/data-product-spec/dprod/data/lifecycle-status/Consume",
"lifecycleStatus" : "https://ekgf.github.io/data-product/dprod/data/lifecycle-status/Consume",
"outputPort": {
"type": "DataService",
"endpointURL": "https://y.com/uk-10-year-bonds",
Expand Down
4 changes: 2 additions & 2 deletions spec-generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# Define the JSON-LD context
context = {
"@vocab": str(RDF),
"dprod": 'https://ekgf.github.io/data-product-spec/dprod/',
"dprod": 'https://ekgf.github.io/data-product/dprod/',
"owl": str(OWL),
"rdfs": str(RDFS),
"xsd": str(XSD),
Expand Down Expand Up @@ -235,7 +235,7 @@ def main():
template = env.get_template("template.html")
spec = template.render(classes=classes, examples=examples)

with open('assets/spec.html', 'w', encoding='utf-8') as f:
with open('assets/index.html', 'w', encoding='utf-8') as f:
f.write(spec)

with open('assets/dprod.jsonld', 'w', encoding='utf-8') as f:
Expand Down

0 comments on commit 374efff

Please sign in to comment.