Skip to content

Commit

Permalink
Building blocks postprocessing
Browse files Browse the repository at this point in the history
  • Loading branch information
rob-metalinkage committed Oct 21, 2024
1 parent 9fd9787 commit d5dd3c7
Show file tree
Hide file tree
Showing 39 changed files with 124 additions and 118 deletions.
22 changes: 12 additions & 10 deletions build/bblocks.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
"name": "Building Blocks - My OGC Building Blocks repository",
"abstract": "This is an example text for the abstract. It should be short and to the point.\nA \"Tell me more\" link will appear if there is an additional description with a longer explanation.\n",
"description": "The description can be longer. Both **the abstract** *and the description* support Markdown,\nincluding [links](https://google.es).\n",
"modified": "2024-10-20T11:27:30.015758",
"modified": "2024-10-21T10:01:10.910654",
"tooling": {
"bblocks-postprocess": {
"commitId": "\"b762fc0e8ff295bfc8279d19691d0ee3a4e3d1ee",
Expand Down Expand Up @@ -139,7 +139,7 @@
"itemClass": "schema",
"register": "ogc-building-block-register",
"version": "0.1",
"dateOfLastChange": "2024-10-20",
"dateOfLastChange": "2024-10-21",
"link": "https://github.com/opengeospatial/bblock-template",
"sources": [
{
Expand Down Expand Up @@ -191,7 +191,7 @@
"itemClass": "schema",
"register": "ogc-building-block-register",
"version": "0.1",
"dateOfLastChange": "2024-10-20",
"dateOfLastChange": "2024-10-21",
"link": "https://github.com/opengeospatial/bblock-template",
"sources": [
{
Expand Down Expand Up @@ -244,7 +244,7 @@
"itemClass": "model",
"register": "ogc-building-block-register",
"version": "0.1",
"dateOfLastChange": "2024-10-20",
"dateOfLastChange": "2024-10-21",
"link": "https://github.com/opengeospatial/bblock-template",
"sources": [
{
Expand Down Expand Up @@ -303,7 +303,7 @@
"itemClass": "model",
"register": "ogc-building-block-register",
"version": "0.1",
"dateOfLastChange": "2024-10-20",
"dateOfLastChange": "2024-10-21",
"link": "https://github.com/opengeospatial/bblock-template",
"sources": [
{
Expand Down Expand Up @@ -358,7 +358,7 @@
"itemClass": "schema",
"register": "ogc-building-block-examples",
"version": "1.0",
"dateOfLastChange": "2024-10-20",
"dateOfLastChange": "2024-10-21",
"sources": [],
"maturity": "development",
"scope": "unstable",
Expand Down Expand Up @@ -406,7 +406,8 @@
"dateTimeAddition": "2024-10-03T11:31:00+02:00",
"itemClass": "schema",
"version": "0.1",
"dateOfLastChange": "2024-10-20",
"dateOfLastChange": "2024-10-21",
"highlighted": true,
"shaclRules": {},
"ldContext": "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/annotated/bbr/template/exercise7/context.jsonld",
"schema": {
Expand Down Expand Up @@ -579,7 +580,7 @@
"itemClass": "schema",
"register": "ogc",
"version": "0.1",
"dateOfLastChange": "2024-10-20",
"dateOfLastChange": "2024-10-21",
"tags": [
"3D",
"geometry",
Expand Down Expand Up @@ -655,7 +656,7 @@
"itemClass": "schema",
"register": "ogc-building-block-register",
"version": "0.1",
"dateOfLastChange": "2024-10-20",
"dateOfLastChange": "2024-10-21",
"link": "https://github.com/opengeospatial/bblock-template",
"sources": [
{
Expand All @@ -668,6 +669,7 @@
"tags": [
"templates"
],
"highlighted": true,
"shaclRules": {
"ogc.bbr.template.mySchema": [
"https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/_sources/mySchema/rules.shacl"
Expand Down Expand Up @@ -712,7 +714,7 @@
"itemClass": "schema",
"register": "ogc-building-block-examples",
"version": "1.0",
"dateOfLastChange": "2024-10-20",
"dateOfLastChange": "2024-10-21",
"sources": [
{
"title": "OGC API - Features, Part 1, 7.16.2: Feature Response",
Expand Down
84 changes: 42 additions & 42 deletions build/bblocks.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@
rdfs:label "Exercise 1" ;
dct:abstract "Set an example" ;
dct:created "2023-04-05T00:00:00+00:00"^^xsd:dateTime ;
dct:description [ dct:format "application/json" ;
rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/generateddocs/json-full/bbr/template/exercise1/index.json" ],
[ dct:format "text/html" ;
dct:description [ dct:format "text/html" ;
rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/bblock/ogc.bbr.template.exercise1" ],
[ dct:format "application/json" ;
rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/generateddocs/json-full/bbr/template/exercise1/index.json" ],
[ dct:format "text/markdown" ;
rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/generateddocs/markdown/bbr/template/exercise1/index.md" ] ;
dct:hasVersion "0.1" ;
dct:modified "2024-10-20"^^xsd:date ;
dct:modified "2024-10-21"^^xsd:date ;
dct:source <https://example.com/sources/1> ;
skos:inScheme <https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/> ;
dcat:keyword "templates" ;
Expand All @@ -35,14 +35,14 @@
rdfs:label "Exercise 2" ;
dct:abstract "Add a JSON-LD context" ;
dct:created "2023-04-05T00:00:00+00:00"^^xsd:dateTime ;
dct:description [ dct:format "text/markdown" ;
rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/generateddocs/markdown/bbr/template/exercise2/index.md" ],
dct:description [ dct:format "text/html" ;
rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/bblock/ogc.bbr.template.exercise2" ],
[ dct:format "application/json" ;
rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/generateddocs/json-full/bbr/template/exercise2/index.json" ],
[ dct:format "text/html" ;
rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/bblock/ogc.bbr.template.exercise2" ] ;
[ dct:format "text/markdown" ;
rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/generateddocs/markdown/bbr/template/exercise2/index.md" ] ;
dct:hasVersion "0.1" ;
dct:modified "2024-10-20"^^xsd:date ;
dct:modified "2024-10-21"^^xsd:date ;
dct:source <https://example.com/sources/1> ;
skos:inScheme <https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/> ;
dcat:keyword "templates" ;
Expand All @@ -57,14 +57,14 @@
rdfs:label "Exercise 3" ;
dct:abstract "Add logical rules" ;
dct:created "2023-04-05T00:00:00+00:00"^^xsd:dateTime ;
dct:description [ dct:format "text/html" ;
rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/bblock/ogc.bbr.template.exercise3" ],
[ dct:format "application/json" ;
dct:description [ dct:format "application/json" ;
rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/generateddocs/json-full/bbr/template/exercise3/index.json" ],
[ dct:format "text/markdown" ;
rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/generateddocs/markdown/bbr/template/exercise3/index.md" ] ;
rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/generateddocs/markdown/bbr/template/exercise3/index.md" ],
[ dct:format "text/html" ;
rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/bblock/ogc.bbr.template.exercise3" ] ;
dct:hasVersion "0.1" ;
dct:modified "2024-10-20"^^xsd:date ;
dct:modified "2024-10-21"^^xsd:date ;
dct:source <https://example.com/sources/1> ;
skos:inScheme <https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/> ;
dcat:keyword "templates" ;
Expand All @@ -82,14 +82,14 @@
rdfs:label "Exercise 4" ;
dct:abstract "Profile with rules" ;
dct:created "2023-04-05T00:00:00+00:00"^^xsd:dateTime ;
dct:description [ dct:format "text/html" ;
rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/bblock/ogc.bbr.template.exercise4" ],
[ dct:format "application/json" ;
dct:description [ dct:format "application/json" ;
rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/generateddocs/json-full/bbr/template/exercise4/index.json" ],
[ dct:format "text/markdown" ;
rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/generateddocs/markdown/bbr/template/exercise4/index.md" ] ;
rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/generateddocs/markdown/bbr/template/exercise4/index.md" ],
[ dct:format "text/html" ;
rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/bblock/ogc.bbr.template.exercise4" ] ;
dct:hasVersion "0.1" ;
dct:modified "2024-10-20"^^xsd:date ;
dct:modified "2024-10-21"^^xsd:date ;
dct:source <https://example.com/sources/1> ;
skos:inScheme <https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/> ;
dcat:keyword "templates" ;
Expand All @@ -112,7 +112,7 @@
[ dct:format "text/markdown" ;
rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/generateddocs/markdown/bbr/template/exercise5/index.md" ] ;
dct:hasVersion "1.0" ;
dct:modified "2024-10-20"^^xsd:date ;
dct:modified "2024-10-21"^^xsd:date ;
dct:source <https://docs.ogc.org/is/17-069r3/17-069r3.html#_response_7> ;
skos:inScheme <https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/> ;
dcat:keyword "examples",
Expand All @@ -130,14 +130,14 @@
rdfs:label "Exercise 6" ;
dct:abstract "Profiling an external bblock" ;
dct:created "2023-05-19T00:00:00+00:00"^^xsd:dateTime ;
dct:description [ dct:format "application/json" ;
rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/generateddocs/json-full/bbr/template/exercise6/index.json" ],
dct:description [ dct:format "text/markdown" ;
rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/generateddocs/markdown/bbr/template/exercise6/index.md" ],
[ dct:format "text/html" ;
rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/bblock/ogc.bbr.template.exercise6" ],
[ dct:format "text/markdown" ;
rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/generateddocs/markdown/bbr/template/exercise6/index.md" ] ;
[ dct:format "application/json" ;
rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/generateddocs/json-full/bbr/template/exercise6/index.json" ] ;
dct:hasVersion "1.0" ;
dct:modified "2024-10-20"^^xsd:date ;
dct:modified "2024-10-21"^^xsd:date ;
skos:inScheme <https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/> ;
dcat:keyword "examples",
"feature" ;
Expand All @@ -154,12 +154,12 @@
dct:created "2024-10-03T11:31:00+02:00"^^xsd:dateTime ;
dct:description [ dct:format "text/markdown" ;
rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/generateddocs/markdown/bbr/template/exercise7/index.md" ],
[ dct:format "application/json" ;
rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/generateddocs/json-full/bbr/template/exercise7/index.json" ],
[ dct:format "text/html" ;
rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/bblock/ogc.bbr.template.exercise7" ] ;
rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/bblock/ogc.bbr.template.exercise7" ],
[ dct:format "application/json" ;
rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/generateddocs/json-full/bbr/template/exercise7/index.json" ] ;
dct:hasVersion "0.1" ;
dct:modified "2024-10-20"^^xsd:date ;
dct:modified "2024-10-21"^^xsd:date ;
skos:inScheme <https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/> ;
bblocks:hasJsonLdContext <https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/annotated/bbr/template/exercise7/context.jsonld> ;
bblocks:hasSchema <https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/annotated/bbr/template/exercise7/schema.json>,
Expand All @@ -180,7 +180,7 @@
[ dct:format "text/html" ;
rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/bblock/ogc.bbr.template.exercise8" ] ;
dct:hasVersion "0.1" ;
dct:modified "2024-10-20"^^xsd:date ;
dct:modified "2024-10-21"^^xsd:date ;
skos:inScheme <https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/> ;
dcat:keyword "3D",
"cityjson",
Expand All @@ -194,14 +194,14 @@
rdfs:label "My Schema" ;
dct:abstract "An example schema defining the set of properties of any type of object." ;
dct:created "2023-04-05T00:00:00+00:00"^^xsd:dateTime ;
dct:description [ dct:format "application/json" ;
rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/generateddocs/json-full/bbr/template/mySchema/index.json" ],
[ dct:format "text/markdown" ;
dct:description [ dct:format "text/markdown" ;
rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/generateddocs/markdown/bbr/template/mySchema/index.md" ],
[ dct:format "text/html" ;
rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/bblock/ogc.bbr.template.mySchema" ] ;
rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/bblock/ogc.bbr.template.mySchema" ],
[ dct:format "application/json" ;
rdfs:isDefinedBy "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/generateddocs/json-full/bbr/template/mySchema/index.json" ] ;
dct:hasVersion "0.1" ;
dct:modified "2024-10-20"^^xsd:date ;
dct:modified "2024-10-21"^^xsd:date ;
dct:source <https://example.com/sources/1> ;
skos:inScheme <https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/> ;
dcat:keyword "templates" ;
Expand Down Expand Up @@ -231,15 +231,15 @@ including [links](https://google.es).
bblocks:imports <https://opengeospatial.github.io/bblocks/register.json> .

[] a prov:Activity ;
prov:endedAtTime "2024-10-20T11:27:31.683031"^^xsd:dateTime ;
prov:startedAtTime "2024-10-20T11:27:31.609533"^^xsd:dateTime ;
prov:endedAtTime "2024-10-21T10:01:12.620670"^^xsd:dateTime ;
prov:startedAtTime "2024-10-21T10:01:12.549354"^^xsd:dateTime ;
prov:used [ a prov:Entity ;
dct:format "application/yaml" ;
rdfs:seeAlso <file:///src/ogc/bblocks/register-context.yaml> ],
[ a prov:Entity ;
dct:format "application/json" ;
dct:hasVersion "git:9ad8b7462c515c72eb33281fe0615c0a491237d3" ;
rdfs:seeAlso <https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/register.json> ] ;
dct:hasVersion "git:9fd978741aa27a2f78b2c0502f5d5a9bc9ffce21" ;
rdfs:seeAlso <https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/register.json> ],
[ a prov:Entity ;
dct:format "application/yaml" ;
rdfs:seeAlso <file:///src/ogc/bblocks/register-context.yaml> ] ;
prov:wasAssociatedWith [ a prov:Agent,
schema:SoftwareApplication ;
rdfs:label "OGC-NA tools" ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"itemClass": "schema",
"register": "ogc-building-block-register",
"version": "0.1",
"dateOfLastChange": "2024-10-20",
"dateOfLastChange": "2024-10-21",
"link": "https://github.com/opengeospatial/bblock-template",
"sources": [
{
Expand All @@ -36,7 +36,7 @@
"examples": [
{
"title": "Reference a local file for examples",
"content": "[Example from mySchema](../../mySchema/example.json)\n\nIn **Markdown** format."
"content": "[Example from mySchema](../../exercise1/example.json)\n\nIn **Markdown** format."
}
],
"annotatedSchema": "$schema: https://json-schema.org/draft/2020-12/schema\ndescription: My example schema\ntype: object\nproperties:\n a:\n type: string\n format: uri\n b:\n type: number\n c:\n type: number\nrequired:\n- a\n- b\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"itemClass": "schema",
"register": "ogc-building-block-register",
"version": "0.1",
"dateOfLastChange": "2024-10-20",
"dateOfLastChange": "2024-10-21",
"link": "https://github.com/opengeospatial/bblock-template",
"sources": [
{
Expand All @@ -37,11 +37,11 @@
"examples": [
{
"title": "Reference a local file for examples",
"content": "[Example from mySchema](../../mySchema/example.json)\n\nIn **Markdown** format.",
"content": "[Example from mySchema](../../exercise1/example.json)\n\nIn **Markdown** format.",
"snippets": [
{
"language": "json",
"ref": "../mySchema/example.json",
"ref": "../exercise1/example.json",
"code": "{\n \"a\": \"mynamespace:aThing\",\n \"b\": 23,\n \"c\": 1\n}\n\n",
"url": "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/tests/bbr/template/exercise2/example_1_1.json"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"itemClass": "model",
"register": "ogc-building-block-register",
"version": "0.1",
"dateOfLastChange": "2024-10-20",
"dateOfLastChange": "2024-10-21",
"link": "https://github.com/opengeospatial/bblock-template",
"sources": [
{
Expand Down Expand Up @@ -39,15 +39,15 @@
"sourceFiles": "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/_sources/exercise3/",
"validationPassed": true,
"testOutputs": "https://github.com/ogcincubator/bblocks-tutorial/blob/master/build/tests/bbr/template/exercise3/",
"description": "## Exercise 3\n\nGoal: Validate logical rules\n\n### Steps\n- rename `rules.example` to `rules.shacl` \n- run build\n- run viewer\n- navigate to \"Exercise 3\"/Validation\n- view validation results at [Validation Report](../validation) or [build-local/...](/register/build-local/tests/bbr/template/exercise3/_report.json)",
"description": "## Exercise 3\n\nGoal: Validate logical rules\n\n### Steps\n- uncomment line 11 in `rules.shacl` \n- run build\n- run viewer\n- navigate to \"Exercise 3\"/Validation\n- view validation results on \"about tab\" \n",
"examples": [
{
"title": "Reference a local file for examples",
"content": "[Example from mySchema](../../mySchema/example.json)\n\nIn **Markdown** format.",
"content": "[Example from mySchema](../../exercise1/example.json)\n\nIn **Markdown** format.",
"snippets": [
{
"language": "json",
"ref": "../mySchema/example.json",
"ref": "../exercise1/example.json",
"code": "{\n \"a\": \"mynamespace:aThing\",\n \"b\": 23,\n \"c\": 1\n}\n\n",
"url": "https://raw.githubusercontent.com/ogcincubator/bblocks-tutorial/undefined/build/tests/bbr/template/exercise3/example_1_1.json"
},
Expand Down
Loading

0 comments on commit d5dd3c7

Please sign in to comment.