Skip to content

Commit

Permalink
Fix inconsistent meta elements
Browse files Browse the repository at this point in the history
related to #53
- Please review
  • Loading branch information
semanticfire committed Mar 23, 2022
1 parent 66ad923 commit c9f6203
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 28 deletions.
16 changes: 0 additions & 16 deletions documentation/advanced.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,22 +61,6 @@ The controlled vocabulary introduced with namespace `PREFIX relation: <https://c

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.

### Classes

#### meta:Relation {#Relation}

A Cube:Relation resource is used to express the relation between different dimensions, the nature of the relationship is determined by the properties used. A Cube:Relation is linked to an observation through a [meta:relation](#relation) property.
See [this example](#relexample).

### Properties

#### meta:relation {#relation}

This property is used on a Dimension Constraint to express a relation with other properties through a [meta:Relation](#Relation) instance, the nature of this relationship is determined by the properties used on the instance.
See [this example](#relexample).



## Hierarchies

<aside class='note'>
Expand Down
13 changes: 7 additions & 6 deletions meta/core.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,14 @@

## Classes ##

### meta:DimensionRelation {#DimensionRelation}

A meta:DimensionRelation resource is used to express the relation of this dimension in related to other dimension, examples are Deviation and StandardError

### meta:Hierarchy {#Hierarchy}

A hierarchy is defined and can be named `schema:name`. This can help user interfaces to allow a selection in case of multiple hierarchies.

### meta:Relation {#Relation}

A meta:Relation resource is used to express the relation or hierarchy between different dimensions, the nature of the relationship is determined by the properties used. A meta:Relation is linked to an observation through a [meta:relation](#relation) property.
A meta:Relation resource is used to express the relation or hierarchy between different dimensions, the nature of the relationship is determined by the properties used. A meta:Relation is linked to an observation through a [meta:relatesTo](#relatesTo) property.

## Properties

Expand Down Expand Up @@ -49,6 +46,10 @@ To express that the dimension provides a specific _kind_ of data which is necess

</aside>

### meta:dimensionRelation {#dimensionRelation}
A meta:dimensionRelation property is used to express the relation of this dimension in related to other dimension, examples are Deviation and StandardError


### meta:hierarchyRoot {#hierarchyRoot}

This property is mandatory and defines one or multiple root concepts. It is the starting point of the hierarchy which is then defined through a cascade of levels where the use of `sh:path` is connecting the concepts. The simplest case is only two levels, the root level and how they are connected to the observations in the dimension. If there are multiple levels they are nested with ['meta:nextInHierarchy'](#nextInHierarchy).
Expand All @@ -63,7 +64,7 @@ A hierarchy must have at least one `meta:hierarchyRoot`.

With `meta:nextInHierarchy` the next lower level is attached to the higher level or the root level of a hierarchy.

### meta:relation {#relation}
### meta:relatesTo {#relatesTo}

This property is used on a Dimension Constraint to express a relation with other properties through a [meta:Relation](#Relation) instance, the nature of this relationship is determined by the properties used on the instance.
See [this example](#relexample).
See [this example](../#relexample).
12 changes: 6 additions & 6 deletions meta/meta.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ PREFIX cube: <https://cube.link/>
PREFIX meta: <https://cube.link/meta/>
PREFIX schema: <http://schema.org/>

meta:DimensionRelation a rdfs:Class;
rdfs:subClassOf meta:Relation;
rdfs:label "Dimension relation";
rdfs:comment "A meta:DimensionRelation resource is used to express the relation of this dimension in related to other dimension, examples are Deviation and StandardError";
meta:dimensionRelation a rdfs:Property;
rdfs:subClassOf meta:relatesTo;
rdfs:label "dimension relation";
rdfs:comment "A meta:dimensionRelation property is used to express the relation of this dimension in related to other dimension, examples are Deviation and StandardError";
.

meta:Hierarchy a rdfs:Class;
Expand Down Expand Up @@ -40,8 +40,8 @@ meta:nextInHierarchy a rdf:Property;
rdfs:comment "With meta:nextInHierarchy it is possible to ";
.

meta:relation a rdf:Property;
meta:relatesTo a rdf:Property;
rdfs:range meta:Relation;
rdfs:label "relation";
rdfs:label "relates to";
rdfs:comment "This property is used on a Dimension Constraint to express a relation with other properties through a meta:Relation instance, the nature of this relationship is determined by the properties used on the instance. ";
.

0 comments on commit c9f6203

Please sign in to comment.