Skip to content

Commit

Permalink
fix(build): renamed repo to dprod
Browse files Browse the repository at this point in the history
  • Loading branch information
jgeluk committed Aug 12, 2024
1 parent f967da9 commit 5ab72da
Show file tree
Hide file tree
Showing 17 changed files with 40 additions and 38 deletions.
1 change: 0 additions & 1 deletion CNAME

This file was deleted.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
4 changes: 4 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

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/dprod.jsonld",
"https://ekgf.github.io/dprod/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/dprod.jsonld",
"https://ekgf.github.io/dprod/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/dprod.jsonld",
"@context": "https://ekgf.github.io/dprod/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/#>
PREFIX dprod: <https://ekgf.github.io/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/dprod.jsonld",
"@context": "https://ekgf.github.io/dprod/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/dprod.jsonld",
"@context": "https://ekgf.github.io/dprod/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/dprod.jsonld",
"@context": "https://ekgf.github.io/dprod/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/dprod.jsonld",
"@context": "https://ekgf.github.io/dprod/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/dprod.jsonld",
"@context": "https://ekgf.github.io/dprod/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/dprod.jsonld",
"@context": "https://ekgf.github.io/dprod/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/dprod.jsonld",
{ "@context": "https://ekgf.github.io/dprod/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/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: <https://ekgf.github.io/data-product/data/> .
@prefix dprod: <https://ekgf.github.io/data-product/#> .
@prefix dprod-data: <https://ekgf.github.io/dprod/data/> .
@prefix dprod: <https://ekgf.github.io/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/#>;
owl:imports <https://ekgf.github.io/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/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: <https://ekgf.github.io/data-product/#> .
@prefix dprod: <https://ekgf.github.io/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/dprod-shapes/>
<https://ekgf.github.io/dprod/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/#>;
owl:imports <https://ekgf.github.io/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/
#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#
Expand All @@ -8,7 +8,7 @@



@prefix dprod: <https://ekgf.github.io/data-product/#> .
@prefix dprod: <https://ekgf.github.io/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/
# 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#
Expand All @@ -8,7 +8,7 @@



@prefix dprod: <https://ekgf.github.io/data-product/#> .
@prefix dprod: <https://ekgf.github.io/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
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
jinja2
markdown
rdflib
shutil
16 changes: 8 additions & 8 deletions respec/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
{
Expand All @@ -35,7 +35,7 @@
],
github: {
branch: "main",
repoURL: "https://github.com/EKGF/data-product",
repoURL: "https://github.com/EKGF/dprod",
},
license: "mit",
logos: [{
Expand All @@ -50,7 +50,7 @@
<h1 id="title">Data Product Vocabulary (DPROD)</h1>
<section id='abstract'>
<p>
The <a href="https://ekgf.github.io/data-product/dprod.ttl">Data Product (DPROD)</a> specification is a
The <a href="https://ekgf.github.io/dprod/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.
Expand All @@ -63,7 +63,7 @@ <h1 id="title">Data Product Vocabulary (DPROD)</h1>
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/#">https://ekgf.github.io/data-product/#</a>
The namespace for DPROD terms is <a href="https://ekgf.github.io/dprod/#">https://ekgf.github.io/dprod/#</a>
</p>
<p>
The suggested prefix for the DPROD namespace is <strong><code>dprod</code></strong>
Expand All @@ -77,7 +77,7 @@ <h1 id="title">Data Product Vocabulary (DPROD)</h1>
</li>
<li>
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
For instance, the <a href="https://ekgf.github.io/dprod/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.
</li>
Expand Down Expand Up @@ -121,7 +121,7 @@ <h2>Status of this document</h2>
<p>
The current version is DRAFT.
Feedback and comments welcome via the
<a href="https://github.com/EKGF/data-product/issues">Github Issue feature</a>.
<a href="https://github.com/EKGF/dprod/issues">Github Issue feature</a>.
</p>
</section>

Expand Down Expand Up @@ -260,13 +260,13 @@ <h2>Data Product (DPROD) Model</h2>

<pre id="eg12" class="example hljs json">
{
"@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",
Expand Down
2 changes: 1 addition & 1 deletion spec-generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 5ab72da

Please sign in to comment.