Skip to content

Commit

Permalink
Various updates
Browse files Browse the repository at this point in the history
related to issue #53
- Added relation namespace
- Created relation document
- Corrected reference to relation
  • Loading branch information
semanticfire committed Jan 20, 2022
1 parent ae8f18f commit d71359a
Show file tree
Hide file tree
Showing 7 changed files with 69 additions and 3 deletions.
5 changes: 3 additions & 2 deletions documentation/advanced.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,10 @@ There is one `sh:property` definition per dimension so the lookup only needs to

```turtle
PREFIX meta: <https://cube.link/meta/>
PREFIX relation: <https://cube.link/relation/>
[
sh:path <dimension/precision>
sh:path <dimension/starndardError>

This comment has been minimized.

Copy link
@Rdataflow

Rdataflow Jan 20, 2022

Contributor

typo?

This comment has been minimized.

Copy link
@Rdataflow

Rdataflow Jan 20, 2022

Contributor

@semanticfire starndard :-)

# ... additional definitions for that sh:property
meta:dimensionRelation [
# We use a Class to indicate the e.g. the standard error.
Expand All @@ -55,7 +56,7 @@ PREFIX meta: <https://cube.link/meta/>
</aside>

A relation between dimensions is described only with `cube` and `meta` vocabulary. The relation classes itself can be extended based on specific use cases.
The controlled vocabulary introduced with namespace `PREFIX meta: <https://cube.link/meta/>` provides the most common relation Classes, and is proposed as a guideline.
The controlled vocabulary introduced with namespace `PREFIX relation: <https://cube.link/relation/>` provides the most common relation Classes, and is proposed as a guideline.

This is an advanced usage of the cube and increases its complexity. But it gives the expressiveness needed to describe the complex relationship between data in a machine-processable way.

Expand Down
1 change: 1 addition & 0 deletions documentation/core.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ We describe the model, an elaborate example, and scripts to validate observation
| --- | --- | --- |
| `cube` | `https://cube.link` | RDF Cube Schema.|
| `meta` | `https://cube.link/meta` | RDF Cube Schema meta data extension.|
| `relation` | `https://cube.link/relation` | RDF Cube Schema meta data extension.|


### External
Expand Down
4 changes: 3 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@
</head>
<body>
<h1 id='title'>RDF Cube Schema</h1>
<section id='issue-summary'></section>
<section id='abstract' data-include-format="markdown" data-include="documentation/abstract.md"></section>

<section id='issue-summary'></section>

<section id='sotd'> </section>

<section id='core' data-include-format="markdown" data-include="documentation/core.md"></section>
Expand Down
1 change: 1 addition & 0 deletions relation/abstract.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This vocubulary is intended as a companion vocabulary to the RDF Cube Schema vocabulary.
29 changes: 29 additions & 0 deletions relation/config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@

var respecConfig = {
specStatus: "ZZ-BASIC",
shortName: 'rdf-cube-schema-relation',
edDraftURI: "",
maxTocLevel: 4,
github: {
repoURL: "https://github.com/zazuko/rdf-cube-schema",
branch: "documentation", // alternative branch
},
editors: [{
name: "Thomas Bergwinkl",
url: "https://www.zazuko.com",
},
{
name: "Adrian Gschwend",
url: "https://www.zazuko.com",
},
{
name: "Bart van Leeuwen",
url: "https://www.zazuko.com",
},
{
name: "Michael Luggen",
url: "https://www.zazuko.com",
}]
};

module.exports = respecConfig
7 changes: 7 additions & 0 deletions relation/core.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Relation vocabulary #

## Classes ##

### relation:StandardError {#StandardError}

## Properties
25 changes: 25 additions & 0 deletions relation/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<script type="text/javascript" src='https://respec.zazuko.com/js/respec-zazuko.js' async class='remove'></script>
<script class='remove'>
var module = {}
</script>
<script type="text/javascript" src='config.js' class='remove'>

</script>
<title>RDF Cube Schema - Relation vocabulary</title>
</head>
<body>
<h1 id='title'>RDF Cube Schema - Relation vocabulary</h1>
<section id='issue-summary'></section>
<section id='abstract' data-include-format="markdown" data-include="abstract.md"></section>
<section id='sotd'> </section>

<section id='core' data-include-format="markdown" data-include="core.md"></section>

<section id='references'></section>

</body>
</html>

0 comments on commit d71359a

Please sign in to comment.