From 5ab72da745962f25ac8710faf81c9c56b082a490 Mon Sep 17 00:00:00 2001
From: Jacobus Geluk
Date: Mon, 12 Aug 2024 15:09:49 +0100
Subject: [PATCH] fix(build): renamed repo to dprod
---
CNAME | 1 -
README.md | 4 ++--
build.sh | 4 ++++
examples/core-data-product-extensions/README.md | 4 ++--
examples/data-lineage/README.md | 4 ++--
examples/data-quality/example.json | 6 +++---
examples/data-schema/example.json | 2 +-
examples/equity-trade/example.json | 2 +-
examples/observability/README.md | 2 +-
examples/sba-pool-rates/example.json | 2 +-
ontology/dprod/dprod-data | 10 +++++-----
ontology/dprod/dprod-dcatprofile.ttl | 10 +++++-----
ontology/dprod/dprod-ontology.ttl | 4 ++--
ontology/dprod/dprod-redundant.ttl | 4 ++--
requirements.txt | 1 -
respec/template.html | 16 ++++++++--------
spec-generator.py | 2 +-
17 files changed, 40 insertions(+), 38 deletions(-)
delete mode 100644 CNAME
diff --git a/CNAME b/CNAME
deleted file mode 100644
index 4983ea0..0000000
--- a/CNAME
+++ /dev/null
@@ -1 +0,0 @@
-data-product.ekgf.org
diff --git a/README.md b/README.md
index 26e08f0..b8e73a5 100644
--- a/README.md
+++ b/README.md
@@ -6,10 +6,10 @@ 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/dprod
+The specification is generated by Respec and (temporarily) published here: https://ekgf.github.io/dprod/dprod
## Contributor Licence Agreement (CLA)
We're using the CLA assistant service to collect CLA signatures of all contributors.
-[![CLA assistant](https://cla-assistant.io/readme/badge/EKGF/data-product)](https://cla-assistant.io/EKGF/data-product)
+[![CLA assistant](https://cla-assistant.io/readme/badge/EKGF/dprod)](https://cla-assistant.io/EKGF/dprod)
diff --git a/build.sh b/build.sh
index 7d10025..8f327b8 100755
--- a/build.sh
+++ b/build.sh
@@ -14,6 +14,10 @@ function setup() {
${system_python_bin} -m venv ${venv_dir} || return $?
+ source .venv/bin/activate
+ ${venv_python_bin} -m pip install --upgrade pip || return $?
+ ${venv_python_bin} -m pip install -r requirements.txt || return $?
+
return 0
}
diff --git a/examples/core-data-product-extensions/README.md b/examples/core-data-product-extensions/README.md
index 621cebd..5b602d7 100644
--- a/examples/core-data-product-extensions/README.md
+++ b/examples/core-data-product-extensions/README.md
@@ -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/dprod.jsonld",
+ "https://ekgf.github.io/dprod/dprod.jsonld",
{
"fibo": "http://spec.edmcouncil.org/fibo/ontology/FND/Agreements/MetadataFNDAgreements/#",
"ex": "http://example.org/dp#"
@@ -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/dprod.jsonld",
+ "https://ekgf.github.io/dprod/dprod.jsonld",
{
"fibo": "http://spec.edmcouncil.org/fibo/ontology/FND/Agreements/MetadataFNDAgreements/#",
"ex": "http://example.org/dp#"
diff --git a/examples/data-lineage/README.md b/examples/data-lineage/README.md
index a69999f..2313e2d 100644
--- a/examples/data-lineage/README.md
+++ b/examples/data-lineage/README.md
@@ -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/dprod.jsonld",
+ "@context": "https://ekgf.github.io/dprod/dprod.jsonld",
"dataProducts": [
{
"id": "https://y.com/data-product/company-finance",
@@ -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:
-PREFIX dprod:
+PREFIX dprod:
PREFIX rdfs:
PREFIX :
diff --git a/examples/data-quality/example.json b/examples/data-quality/example.json
index 49dbbe7..941a7bc 100644
--- a/examples/data-quality/example.json
+++ b/examples/data-quality/example.json
@@ -1,7 +1,7 @@
[
{
- "@context": "https://ekgf.github.io/data-product/dprod.jsonld",
+ "@context": "https://ekgf.github.io/dprod/dprod.jsonld",
"id": "https://y.com/derived-quality-measurementA",
"@type": "QualityMeasurement",
"value": 1,
@@ -17,7 +17,7 @@
,
{
- "@context": "https://ekgf.github.io/data-product/dprod.jsonld",
+ "@context": "https://ekgf.github.io/dprod/dprod.jsonld",
"@id": "https://y.com/quality-measurement-B",
"@type": "QualityMeasurement",
"value": "false",
@@ -32,7 +32,7 @@
}
,
{
- "@context": "https://ekgf.github.io/data-product/dprod.jsonld",
+ "@context": "https://ekgf.github.io/dprod/dprod.jsonld",
"id": "https://y.com/products/uk-bonds",
"type": "DataProduct",
"outputPort": {
diff --git a/examples/data-schema/example.json b/examples/data-schema/example.json
index 2da0452..b1afc1e 100644
--- a/examples/data-schema/example.json
+++ b/examples/data-schema/example.json
@@ -1,5 +1,5 @@
{
-"@context": "https://ekgf.github.io/data-product/dprod.jsonld",
+"@context": "https://ekgf.github.io/dprod/dprod.jsonld",
"id": "https://y.com/products/equity-trade-xxx",
"@type": "DataProduct",
"title": "Equity Trade XXX",
diff --git a/examples/equity-trade/example.json b/examples/equity-trade/example.json
index 9edaa5f..a4f628c 100644
--- a/examples/equity-trade/example.json
+++ b/examples/equity-trade/example.json
@@ -1,5 +1,5 @@
{
-"@context": "https://ekgf.github.io/data-product/dprod.jsonld",
+"@context": "https://ekgf.github.io/dprod/dprod.jsonld",
"id": "equity trade-xxx",
"@id": "https://y.com/products/equity-trade-xxx",
"@type": "DataProduct",
diff --git a/examples/observability/README.md b/examples/observability/README.md
index a727970..c01af19 100644
--- a/examples/observability/README.md
+++ b/examples/observability/README.md
@@ -20,7 +20,7 @@ Here is an example of a data product with an observability port:
```json
{
- "@context": "https://ekgf.github.io/data-product/dprod.jsonld",
+ "@context": "https://ekgf.github.io/dprod/dprod.jsonld",
"dataProducts": [
{
"id": "https://y.com/data-product/uk-bonds",
diff --git a/examples/sba-pool-rates/example.json b/examples/sba-pool-rates/example.json
index cfea8d6..6298e55 100644
--- a/examples/sba-pool-rates/example.json
+++ b/examples/sba-pool-rates/example.json
@@ -1,4 +1,4 @@
-{ "@context": "https://ekgf.github.io/data-product/dprod.jsonld",
+{ "@context": "https://ekgf.github.io/dprod/dprod.jsonld",
"id": "sba-pool-rates",
"@id": "https://y.com/products/sba-pool-rates",
"@type": "DataProduct",
diff --git a/ontology/dprod/dprod-data b/ontology/dprod/dprod-data
index 67eaa2a..7ebc18c 100644
--- a/ontology/dprod/dprod-data
+++ b/ontology/dprod/dprod-data
@@ -1,15 +1,15 @@
-# baseURI: https://ekgf.github.io/data-product/data/
+# baseURI: https://ekgf.github.io/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/
+# imports: https://ekgf.github.io/dprod/
# prefix: dprod-data
-@prefix dprod-data: .
-@prefix dprod: .
+@prefix dprod-data: .
+@prefix dprod: .
@prefix dcat: .
@prefix dct: .
@prefix dc: .
@@ -37,7 +37,7 @@ dprod-data:
owl:imports ;
owl:imports ;
owl:imports ;
- owl:imports ;
+ owl:imports ;
dct:creator [
a foaf:Person ;
foaf:name "Natasa Varytimou" ;
diff --git a/ontology/dprod/dprod-dcatprofile.ttl b/ontology/dprod/dprod-dcatprofile.ttl
index b843ddc..4eb2eb8 100644
--- a/ontology/dprod/dprod-dcatprofile.ttl
+++ b/ontology/dprod/dprod-dcatprofile.ttl
@@ -1,15 +1,15 @@
-# baseURI: https://ekgf.github.io/data-product/dprod-shapes/
+# baseURI: https://ekgf.github.io/dprod/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/
+# imports: https://ekgf.github.io/dprod/
# prefix: dprod
-@prefix dprod: .
+@prefix dprod: .
@prefix dcat: .
@prefix dct: .
@prefix dc: .
@@ -28,7 +28,7 @@
@prefix xsd: .
-
+
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.";
@@ -71,7 +71,7 @@
owl:imports ;
owl:imports ;
owl:imports ;
- owl:imports ;
+ owl:imports ;
dct:modified "2023-12-20"^^xsd:date ;
foaf:maker [
foaf:homepage ;
diff --git a/ontology/dprod/dprod-ontology.ttl b/ontology/dprod/dprod-ontology.ttl
index 76ef484..8dda0e3 100644
--- a/ontology/dprod/dprod-ontology.ttl
+++ b/ontology/dprod/dprod-ontology.ttl
@@ -1,4 +1,4 @@
-#product baseURI: https://ekgf.github.io/data-product/
+#product baseURI: https://ekgf.github.io/dprod/
# imports: http://purl.org/dc/terms/
# imports: http://www.w3.org/2004/02/skos/core
# imports: http://www.w3.org/ns/prov-o#
@@ -8,7 +8,7 @@
-@prefix dprod: .
+@prefix dprod: .
@prefix dcat: .
@prefix dct: .
@prefix dc: .
diff --git a/ontology/dprod/dprod-redundant.ttl b/ontology/dprod/dprod-redundant.ttl
index 6d167d8..92baf95 100644
--- a/ontology/dprod/dprod-redundant.ttl
+++ b/ontology/dprod/dprod-redundant.ttl
@@ -1,4 +1,4 @@
-# baseURI: https://ekgf.github.io/data-product/
+# baseURI: https://ekgf.github.io/dprod/
# imports: http://purl.org/dc/terms/
# imports: http://www.w3.org/2004/02/skos/core
# imports: http://www.w3.org/ns/prov-o#
@@ -8,7 +8,7 @@
-@prefix dprod: .
+@prefix dprod: .
@prefix dcat: .
@prefix dct: .
@prefix dc: .
diff --git a/requirements.txt b/requirements.txt
index d1a475b..152ebd2 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,4 +1,3 @@
jinja2
markdown
rdflib
-shutil
diff --git a/respec/template.html b/respec/template.html
index acee50f..1c5527a 100644
--- a/respec/template.html
+++ b/respec/template.html
@@ -9,7 +9,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/dprod",
+ latestVersion: "https://ekgf.github.io/dprod/dprod",
specStatus: "base",
editors: [
{
@@ -35,7 +35,7 @@
],
github: {
branch: "main",
- repoURL: "https://github.com/EKGF/data-product",
+ repoURL: "https://github.com/EKGF/dprod",
},
license: "mit",
logos: [{
@@ -50,7 +50,7 @@
Data Product Vocabulary (DPROD)
- The Data Product (DPROD) specification is a
+ The Data Product (DPROD) specification is a
profile of the Data Catalog (DCAT) Vocabulary,
designed to describe Data Products.
This document defines the schema and provides examples for its use.
@@ -63,7 +63,7 @@
Data Product Vocabulary (DPROD)
and enables federated search across multiple sites using a uniform query mechanism and structure.
- The namespace for DPROD terms is https://ekgf.github.io/data-product/#
+ The namespace for DPROD terms is https://ekgf.github.io/dprod/#
The suggested prefix for the DPROD namespace is dprod
@@ -77,7 +77,7 @@
Data Product Vocabulary (DPROD)
Harmonize Data Schemas: Using shared schemas helps unify different data formats.
- For instance, the DPROD specification provides a
+ For instance, the DPROD specification provides a
common set of rules for defining a Data Product.
You can extend this schema as needed.
@@ -121,7 +121,7 @@ Status of this document
The current version is DRAFT.
Feedback and comments welcome via the
- Github Issue feature.
+ Github Issue feature.
@@ -260,13 +260,13 @@ Data Product (DPROD) Model
{
- "@context": "https://ekgf.github.io/data-product/dprod.jsonld",
+ "@context": "https://ekgf.github.io/dprod/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/data/lifecycle-status/Consume",
+ "lifecycleStatus" : "https://ekgf.github.io/dprod/data/lifecycle-status/Consume",
"outputPort": {
"type": "DataService",
"endpointURL": "https://y.com/uk-10-year-bonds",
diff --git a/spec-generator.py b/spec-generator.py
index ccaf719..9aecff6 100644
--- a/spec-generator.py
+++ b/spec-generator.py
@@ -20,7 +20,7 @@
# Define the JSON-LD context
context = {
"@vocab": str(RDF),
- "dprod": 'https://ekgf.github.io/data-product/',
+ "dprod": 'https://ekgf.github.io/dprod/',
"owl": str(OWL),
"rdfs": str(RDFS),
"xsd": str(XSD),