Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyseale committed Jan 5, 2024
1 parent 4fc877d commit 0a0406c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 9 deletions.
11 changes: 6 additions & 5 deletions code/script.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@

# Load the OWL ontology into an RDFlib graph
g = Graph()
g.parse('../ontology/dprod/dprod.ttl', format='ttl')
g.parse('../ontology/dprod/dprod-ontology.ttl', format='ttl')
g.parse('../ontology/dprod/dprod-dcatprofile.ttl', format='ttl')

# Define the JSON-LD context
context = {
Expand All @@ -28,15 +29,15 @@
class RdfProperty:
name: str
uri: URIRef
label: str = None
description: str = None
label: str = ''
description: str = ''

@dataclass
class RdfClass:
name: str
uri: URIRef
label: str = None
description: str = None
label: str = ''
description: str = ''
inherits: list = field(default_factory=list)
properties: List[RdfProperty] = field(default_factory=list)

Expand Down
11 changes: 7 additions & 4 deletions docs/respec/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,18 @@
<h1 id="title">Data Product Vocabulary (DPROD)</h1>
<section id='abstract'>
<p>
The <a href="https://martinfowler.com/articles/data-mesh-principles.html">Data Mesh</a> is an architectural and organizational paradigm that views data as a product, emphasizing domain-oriented decentralized data ownership and architecture. The <a href="https://www.w3.org/TR/vocab-dcat-3/">Data Catalog (DCAT) Vocabulary</a> is a <a href="https://www.w3.org/">W3C</a> standard that allows publishers to describe datasets and data services in a decentralized way.</p>
<p>The Data Product (DPROD) specification defines a profile of DCAT, extending it to describe <a href="#dataproduct">Data Products</a>. DPROD follows two basic principles:</p>
The <a href="https://martinfowler.com/articles/data-mesh-principles.html">Data Mesh</a> is an architectural and organizational paradigm that views data as a product, emphasizing domain-oriented decentralized data ownership and architecture. The <a href="https://www.w3.org/TR/vocab-dcat-3/">Data Catalog (DCAT) Vocabulary</a> is a <a href="https://www.w3.org/">W3C</a> standard that allows publishers to describe datasets and data services in a decentralized way.
The Data Product (DPROD) specification defines a profile of DCAT, extending it to describe <a href="#dataproduct">Data Products</a>.</p>
<p>DPROD follows two basic principles:</p>
<p>
🔵 Decentralize Data Ownership: Efficiency in data integration necessitates task distribution among multiple teams. DCAT facilitates this by providing a standardised approach for decentralized dataset publication.
</p>
<p>
🔵 Harmonize Data Schemas: Shared ontologies can be used to harmonize decentralize schemas to consistent semantics. For example this shared <a href="https://ekgf.github.io/data-product-spec/dprod">DPROD</a> ontology provides the semantics for defining what constitutes a <a href="#dataproduct">Data Product</a>.
</p>
The DPROD specification extends DCAT by linking <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>. This enables a decentralized approach to publishing <a href="#dataproduct">Data Products</a>, facilitating federated searches for products across distributed sites using the same query mechanism and structure. The DPROD specification has four main aims:
<br>
The DPROD specification extends DCAT by linking <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>. This enables a decentralized approach to publishing <a href="#dataproduct">Data Products</a>, facilitating federated searches for products across distributed sites using the same query mechanism and structure.
<p>The DPROD specification has four main aims:</p>
<p>
🔵 To provide unambiguous and sharable semantics to answer the question: 'What is a <a href="#dataproduct">data product</a>?'
</p>
Expand Down Expand Up @@ -165,7 +168,7 @@ <h2>Data Product (DPROD) Model</h2>
"dataProductOwner": "https://www.linkedin.com/in/tonyseale/",
"lifecycle" : "Consume",
"outputPort": {
"@type": "RESTDataService",
"@type": "dcat:DataService",
"dcat:endpointURL": "https://y.com/uk-10-year-bonds",
"offersDistribution": {
"@type": "dcat:Distribution",
Expand Down
Binary file modified images/dprod-model.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0a0406c

Please sign in to comment.