Skip to content

Commit

Permalink
naming of examples and some clean ups
Browse files Browse the repository at this point in the history
  • Loading branch information
rob-metalinkage committed Oct 28, 2024
1 parent a4d6d64 commit 8ea4432
Show file tree
Hide file tree
Showing 23 changed files with 27 additions and 140 deletions.
2 changes: 1 addition & 1 deletion _sources/exercise0/examples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ $schema: https://raw.githubusercontent.com/opengeospatial/bblocks-postprocess/re
examples:
- title: Reference a local file for examples
content: |-
[Example from mySchema](../../exercise1/example.json)
[Example from Exercise 1](/bblock/ogc.bbr.tutorial.exercise1/example)
In **Markdown** format.
Expand Down
2 changes: 1 addition & 1 deletion _sources/exercise1/examples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ $schema: https://raw.githubusercontent.com/opengeospatial/bblocks-postprocess/re
examples:
- title: Reference a local file for examples
content: |-
[Example from mySchema](../../exercise1/example.json)
[Example from Exercise 1](/bblock/ogc.bbr.tutorial.exercise1/example)
In **Markdown** format.
Expand Down
4 changes: 2 additions & 2 deletions _sources/exercise2/bblock.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"$schema": "metaschema.yaml",
"name": "Exercise 2",
"name": "2 - Add a JSON-LD context",
"highlighted": true,
"abstract": "Add a JSON-LD context",
"abstract": "Semantically annotate a schema by adding a simple JSON-LD context",
"status": "under-development",
"dateTimeAddition": "2023-04-05T00:00:00Z",
"itemClass": "schema",
Expand Down
2 changes: 1 addition & 1 deletion _sources/exercise2/examples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ $schema: https://raw.githubusercontent.com/opengeospatial/bblocks-postprocess/re
examples:
- title: Reference a local file for examples
content: |-
[Example from mySchema](../../exercise1/example.json)
[Example from Exercise 1](/bblock/ogc.bbr.tutorial.exercise1/example)
In **Markdown** format.
Expand Down
4 changes: 2 additions & 2 deletions _sources/exercise3/bblock.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"$schema": "metaschema.yaml",
"name": "Exercise 3",
"name": "3 - Add Semantic Rules",
"highlighted": true,
"abstract": "Add logical rules",
"abstract": "Add logical rules using SHACL to exploit semantic annotations",
"status": "under-development",
"dateTimeAddition": "2023-04-05T00:00:00Z",
"itemClass": "model",
Expand Down
4 changes: 3 additions & 1 deletion _sources/exercise3/description.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
## Exercise 3

Goal: Validate logical rules
Goal: Define logical rules to exploit semantic annotation

This will be a basic example that uses the JSON-LD bindings and simple rules. Note that richer rules can be defined that use referenced semantic models and advanced reasoning, however significant extra functionality is provided simply by being able to identify and operate on schema elements with richer logic languages like SHACL.

### Steps
- uncomment line 11 in `rules.shacl`
Expand Down
2 changes: 1 addition & 1 deletion _sources/exercise3/examples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ prefixes:
examples:
- title: Reference a local file for examples
content: |-
[Example from mySchema](../../exercise1/example.json)
[Example from Exercise 1](/bblock/ogc.bbr.tutorial.exercise1/example)
In **Markdown** format.
Expand Down
4 changes: 2 additions & 2 deletions _sources/exercise4/bblock.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"$schema": "metaschema.yaml",
"name": "Exercise 4",
"name": "4 - Profile a BB (using rules)",
"highlighted": true,
"abstract": "Profile with rules",
"abstract": "Profile another Building Block with additional constraint rules",
"status": "under-development",
"dateTimeAddition": "2023-04-05T00:00:00Z",
"itemClass": "model",
Expand Down
2 changes: 1 addition & 1 deletion _sources/exercise5/bblock.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "Exercise 5",
"name": "5 - Features",
"abstract": "This example shows a simple customisation for OGC API Feature schemas",
"status": "under-development",
"dateTimeAddition": "2023-05-19T00:00:00Z",
Expand Down
4 changes: 2 additions & 2 deletions _sources/exercise6/bblock.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Exercise 6",
"abstract": "Profiling an external bblock",
"name": "6 - Import and extend",
"abstract": "Profiling a BBlock from another register",
"status": "under-development",
"dateTimeAddition": "2023-05-19T00:00:00Z",
"itemClass": "schema",
Expand Down
2 changes: 1 addition & 1 deletion _sources/exercise7/bblock.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "Exercise 7",
"name": "7 - Transforms",
"abstract": "schema and graph transforms",
"status": "under-development",
"dateTimeAddition": "2024-10-03T11:31:00+02:00",
Expand Down
13 changes: 10 additions & 3 deletions _sources/exercise8/bblock.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
{
"name": "Exercise 8",
"abstract": "Transform from CityJSON to TopoFeature",
"name": "8 - Advanced Transform Example",
"highlighted": true,
"abstract": "This example highlights an advanced transform from CityJSON to TopoFeature, showing a range of features interacting to support this complex task.",
"status": "under-development",
"dateTimeAddition": "2024-10-18T08:31:00Z",
"itemClass": "schema",
"register": "building-blocks-tutorial",
"version": "0.1",
"dateOfLastChange": "2024-10-18",
"tags": ["building-blocks-tutorial", "3D", "geometry", "topology", "cityjson"]
"tags": [
"building-blocks-tutorial",
"3D",
"geometry",
"topology",
"cityjson"
]
}
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.
22 changes: 0 additions & 22 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.

0 comments on commit 8ea4432

Please sign in to comment.