Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
avillar committed Dec 3, 2024
1 parent 3c417a3 commit 38030dd
Show file tree
Hide file tree
Showing 32 changed files with 364 additions and 283 deletions.
19 changes: 3 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,4 @@
# OGC Building Block template

This template provides a working example of an [OGC Building Block](https:blocks.ogc.org). For more info see [the Documentation](https://ogcincubator.github.io/bblocks-docs/).

This template is a working automation recipe to define, test and document a set of Building Blocks.

The automation-generated documentation for this example is here: [https://opengeospatial.github.io/bblock-template/](https://opengeospatial.github.io/bblock-template/)

[Examples of using this with typical applications of OGC standards](https://github.com/ogcincubator/bblocks-examples)

Please replace the contents of this README with information about your Building Block(s).

# How to use this template

[More information on design and usage](https://github.com/opengeospatial/bblock-template/blob/master/USAGE.md)

# CHEK Profiles as OGC Building Blocks

This repository contains the definitions and rulesets of the validation profiles created for the
[CHEK project](https://chekdbp.eu/).
26 changes: 0 additions & 26 deletions _sources/myFeature/bblock.json

This file was deleted.

14 changes: 0 additions & 14 deletions _sources/myFeature/description.md

This file was deleted.

46 changes: 0 additions & 46 deletions _sources/myFeature/examples.yaml

This file was deleted.

25 changes: 0 additions & 25 deletions _sources/myFeature/examples/feature.json

This file was deleted.

11 changes: 0 additions & 11 deletions _sources/myFeature/schema.yaml

This file was deleted.

20 changes: 0 additions & 20 deletions _sources/myFeature/tests/feature-fail.json

This file was deleted.

9 changes: 0 additions & 9 deletions _sources/mySchema/assets/README.md

This file was deleted.

Binary file removed _sources/mySchema/assets/example.png
Binary file not shown.
21 changes: 0 additions & 21 deletions _sources/mySchema/bblock.json

This file was deleted.

7 changes: 0 additions & 7 deletions _sources/mySchema/context.jsonld

This file was deleted.

7 changes: 0 additions & 7 deletions _sources/mySchema/description.md

This file was deleted.

6 changes: 0 additions & 6 deletions _sources/mySchema/example.json

This file was deleted.

25 changes: 0 additions & 25 deletions _sources/mySchema/examples.yaml

This file was deleted.

15 changes: 0 additions & 15 deletions _sources/mySchema/rules.shacl

This file was deleted.

14 changes: 0 additions & 14 deletions _sources/mySchema/schema.yaml

This file was deleted.

9 changes: 0 additions & 9 deletions _sources/mySchema/tests.yaml

This file was deleted.

8 changes: 0 additions & 8 deletions _sources/mySchema/tests/rules-fail.json

This file was deleted.

9 changes: 9 additions & 0 deletions _sources/profiles/common/dummy/bblock.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"name": "Dummy profile",
"abstract": "Empty profile without rules",
"status": "stable",
"dateTimeAddition": "2024-11-10T00:00:00Z",
"itemClass": "schema",
"version": "1.0",
"dateOfLastChange": "2024-11-18"
}
16 changes: 16 additions & 0 deletions _sources/profiles/common/dummy/data.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
@prefix chek: <urn:chek:vocab/> .
@prefix chekp: <urn:chek:profiles/> .
@prefix ap: <urn:chek:profiles/ascoli-piceno/> .
@prefix prof: <http://www.w3.org/ns/dx/prof/> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix role: <http://www.w3.org/ns/dx/prof/role/> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix sd: <https://w3id.org/okn/o/sd#> .
@prefix hydra: <http://www.w3.org/ns/hydra/core#> .

chekp:dummy a prof:Profile, chekp:Profile ;
dct:title "Dummy profile with no rules" ;
prof:isProfileOf chekp:chek ;
prof:hasToken "chek-dummy" ;
dct:hasVersion "1.0" ;
.
1 change: 1 addition & 0 deletions _sources/profiles/common/dummy/rules.shacl
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# No rules defined for this profile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"name": "Green public spaces present",
"abstract": "Profile that requires that green public spaces are present in a dataset",
"status": "stable",
"dateTimeAddition": "2024-11-10T00:00:00Z",
"itemClass": "schema",
"version": "1.0",
"dateOfLastChange": "2024-11-18"
}
24 changes: 24 additions & 0 deletions _sources/profiles/common/green-public-spaces-present/data.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
@prefix chek: <urn:chek:vocab/> .
@prefix chekp: <urn:chek:profiles/> .
@prefix ap: <urn:chek:profiles/ascoli-piceno/> .
@prefix prof: <http://www.w3.org/ns/dx/prof/> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix role: <http://www.w3.org/ns/dx/prof/role/> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix sd: <https://w3id.org/okn/o/sd#> .
@prefix hydra: <http://www.w3.org/ns/hydra/core#> .

chekp:green-public-spaces-present a prof:Profile, chekp:Profile ;
dct:title "Green public spaces present" ;
dct:description "This profile checks that green public spaces are present in at least one dataset" ;
dct:hasVersion "0.1" ;
prof:isProfileOf chekp:chek ;
prof:hasToken "chek-green-public-spaces-present" ;
prof:hasResource [
a prof:ResourceDescriptior ;
prof:hasRole role:validation ;
dct:format <https://w3id.org/mediatype/text/turtle> ;
dct:conformsTo <https://www.w3.org/TR/shacl/> ;
prof:hasArtifact <./shapes/green-public-spaces-present.shacl> ;
] ;
.
Loading

0 comments on commit 38030dd

Please sign in to comment.