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 Aug 6, 2024
1 parent 7598637 commit e1935f7
Show file tree
Hide file tree
Showing 30 changed files with 224 additions and 224 deletions.
26 changes: 13 additions & 13 deletions build/bblocks.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
"name": "Building Blocks - Building Blocks Examples",
"abstract": "This register provides a collection of **examples** designed to illustrate capabilities and implementation patterns for Building Blocks. \n\n*These buildings blocks may be copied and edited into a new repository based on the [template](https://github.com/opengeospatial/bblock-template) - but should not be referenced and extended for reuse*\n",
"description": "The aim of the highlighted examples is to illustrate implementation patterns for reusing OGC building blocks. The emphasis is on typical requirements to extend or constrain generic or abstract models such as OGC API Features, Observations etc. \n\n Other examples will illustrate different possible ways to use the Building Block machinery to semantically annotate externally defines schemas, develop and test logical constraints, or simply test examples using a published specification.\n\nMore complex examples will include transformation testing - testing a format can be transformed into a related structure and/or data model.",
"modified": "2024-08-05T04:36:58.372268",
"modified": "2024-08-06T01:38:13.799054",
"tooling": {
"bblocks-postprocess": {
"commitId": "\"3e8700f308cde8c3c84ff49fe2c0167688146ad4",
Expand Down Expand Up @@ -138,7 +138,7 @@
"itemClass": "schema",
"register": "ogc-building-block-examples",
"version": "1.0",
"dateOfLastChange": "2024-08-01",
"dateOfLastChange": "2024-08-06",
"sources": [
{
"title": "OGC API - Features, Part 1, 7.16.2: Feature Response",
Expand Down Expand Up @@ -203,7 +203,7 @@
"itemClass": "schema",
"register": "ogc-building-block-examples",
"version": "1.0",
"dateOfLastChange": "2024-08-01",
"dateOfLastChange": "2024-08-06",
"maturity": "development",
"scope": "unstable",
"tags": [
Expand Down Expand Up @@ -263,7 +263,7 @@
"itemClass": "schema",
"register": "ogc-building-block-examples",
"version": "1.0",
"dateOfLastChange": "2024-08-01",
"dateOfLastChange": "2024-08-06",
"sources": [
{
"title": "Semantic Sensor Network Ontology",
Expand Down Expand Up @@ -325,7 +325,7 @@
"itemClass": "schema",
"register": "ogc-building-block-examples",
"version": "1.0",
"dateOfLastChange": "2024-08-01",
"dateOfLastChange": "2024-08-06",
"sources": [],
"maturity": "development",
"scope": "unstable",
Expand Down Expand Up @@ -385,7 +385,7 @@
"itemClass": "schema",
"register": "ogc-building-block-examples",
"version": "1.0",
"dateOfLastChange": "2024-08-01",
"dateOfLastChange": "2024-08-06",
"sources": [
{
"title": "OGC API - Features, Part 1, 7.16.2: Feature Response",
Expand All @@ -395,8 +395,8 @@
"maturity": "development",
"scope": "unstable",
"dependsOn": [
"ogc.geo.features.feature",
"ogc.bbr.examples.feature.propertySet",
"ogc.geo.features.feature",
"ogc.bbr.examples.propertySet"
],
"tags": [
Expand Down Expand Up @@ -448,7 +448,7 @@
"itemClass": "schema",
"register": "ogc-building-block-examples",
"version": "1.0",
"dateOfLastChange": "2024-08-01",
"dateOfLastChange": "2024-08-06",
"maturity": "development",
"scope": "unstable",
"tags": [
Expand All @@ -462,8 +462,8 @@
]
},
"dependsOn": [
"ogc.geo.json-fg.feature-lenient",
"ogc.bbr.examples.feature.propertySet"
"ogc.bbr.examples.feature.propertySet",
"ogc.geo.json-fg.feature-lenient"
],
"schema": {
"application/yaml": "https://ogcincubator.github.io/bblocks-examples/build/annotated/bbr/examples/feature/geojsonFeatureFGLenient/schema.yaml",
Expand Down Expand Up @@ -503,7 +503,7 @@
"itemClass": "schema",
"register": "ogc-building-block-examples",
"version": "1.0",
"dateOfLastChange": "2024-08-01",
"dateOfLastChange": "2024-08-06",
"sources": [
{
"title": "Semantic Sensor Network Ontology",
Expand All @@ -513,10 +513,10 @@
"maturity": "development",
"scope": "unstable",
"dependsOn": [
"ogc.sosa.properties.observation",
"ogc.bbr.examples.observation.vectorObservation",
"ogc.sosa.features.observationCollection",
"ogc.sosa.features.observation",
"ogc.sosa.properties.observation"
"ogc.sosa.features.observation"
],
"tags": [
"sosa",
Expand Down
74 changes: 37 additions & 37 deletions build/bblocks.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@
rdfs:label "External Schema (Smart Data Models)" ;
dct:abstract "This example shows a simple customisation for OGC API Feature using an externally defined domain schema." ;
dct:created "2023-05-19T00:00:00+00:00"^^xsd:dateTime ;
dct:description [ dct:format "application/json" ;
dct:description [ dct:format "text/html" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-examples/bblock/ogc.bbr.examples.feature.externalSchema" ],
[ dct:format "application/json" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-examples/build/generateddocs/json-full/bbr/examples/feature/externalSchema/index.json" ],
[ dct:format "text/markdown" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-examples/build/generateddocs/markdown/bbr/examples/feature/externalSchema/index.md" ],
[ dct:format "text/html" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-examples/bblock/ogc.bbr.examples.feature.externalSchema" ] ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-examples/build/generateddocs/markdown/bbr/examples/feature/externalSchema/index.md" ] ;
dct:hasVersion "1.0" ;
dct:modified "2024-08-01"^^xsd:date ;
dct:modified "2024-08-06"^^xsd:date ;
dct:source <https://docs.ogc.org/is/17-069r3/17-069r3.html#_response_7>,
<https://github.com/smart-data-models/dataModel.ACRIS/tree/master/AirportFacility>,
<https://smartdatamodels.org/> ;
Expand All @@ -41,14 +41,14 @@
rdfs:label "Custom Feature" ;
dct:abstract "This example shows a simple customisation method for OGC API Feature schemas" ;
dct:created "2023-05-19T00:00:00+00:00"^^xsd:dateTime ;
dct:description [ dct:format "application/json" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-examples/build/generateddocs/json-full/bbr/examples/feature/geojsonFeature/index.json" ],
dct:description [ dct:format "text/markdown" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-examples/build/generateddocs/markdown/bbr/examples/feature/geojsonFeature/index.md" ],
[ dct:format "text/html" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-examples/bblock/ogc.bbr.examples.feature.geojsonFeature" ],
[ dct:format "text/markdown" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-examples/build/generateddocs/markdown/bbr/examples/feature/geojsonFeature/index.md" ] ;
[ dct:format "application/json" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-examples/build/generateddocs/json-full/bbr/examples/feature/geojsonFeature/index.json" ] ;
dct:hasVersion "1.0" ;
dct:modified "2024-08-01"^^xsd:date ;
dct:modified "2024-08-06"^^xsd:date ;
dct:source <https://docs.ogc.org/is/17-069r3/17-069r3.html#_response_7> ;
skos:inScheme <https://ogcincubator.github.io/bblocks-examples/> ;
dcat:keyword "examples",
Expand All @@ -69,14 +69,14 @@
rdfs:label "Custom JSON-FG (lenient) Feature" ;
dct:abstract "This example shows a simple customisation method for a JSON-FG (lenient) feature" ;
dct:created "2024-07-25T00:00:00+00:00"^^xsd:dateTime ;
dct:description [ dct:format "text/markdown" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-examples/build/generateddocs/markdown/bbr/examples/feature/geojsonFeatureFGLenient/index.md" ],
[ dct:format "text/html" ;
dct:description [ dct:format "text/html" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-examples/bblock/ogc.bbr.examples.feature.geojsonFeatureFGLenient" ],
[ dct:format "application/json" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-examples/build/generateddocs/json-full/bbr/examples/feature/geojsonFeatureFGLenient/index.json" ] ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-examples/build/generateddocs/json-full/bbr/examples/feature/geojsonFeatureFGLenient/index.json" ],
[ dct:format "text/markdown" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-examples/build/generateddocs/markdown/bbr/examples/feature/geojsonFeatureFGLenient/index.md" ] ;
dct:hasVersion "1.0" ;
dct:modified "2024-08-01"^^xsd:date ;
dct:modified "2024-08-06"^^xsd:date ;
skos:inScheme <https://ogcincubator.github.io/bblocks-examples/> ;
dcat:keyword "examples",
"feature" ;
Expand All @@ -95,14 +95,14 @@
rdfs:label "Feature with GeoSPARQL geometry" ;
dct:abstract "This example includes an uplift step to use a GeoSPARQL geometry in a GeoJSON object" ;
dct:created "2024-07-30T00:00:00+00:00"^^xsd:dateTime ;
dct:description [ dct:format "text/html" ;
dct:description [ dct:format "application/json" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-examples/build/generateddocs/json-full/bbr/examples/feature/geosparqlFeature/index.json" ],
[ dct:format "text/html" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-examples/bblock/ogc.bbr.examples.feature.geosparqlFeature" ],
[ dct:format "text/markdown" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-examples/build/generateddocs/markdown/bbr/examples/feature/geosparqlFeature/index.md" ],
[ dct:format "application/json" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-examples/build/generateddocs/json-full/bbr/examples/feature/geosparqlFeature/index.json" ] ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-examples/build/generateddocs/markdown/bbr/examples/feature/geosparqlFeature/index.md" ] ;
dct:hasVersion "1.0" ;
dct:modified "2024-08-01"^^xsd:date ;
dct:modified "2024-08-06"^^xsd:date ;
skos:inScheme <https://ogcincubator.github.io/bblocks-examples/> ;
dcat:keyword "examples",
"feature" ;
Expand All @@ -120,14 +120,14 @@
rdfs:label "Custom Result for Observation Feature" ;
dct:abstract "This building block defines an example specialisation of an existing Feature specialisation (SOSA Observation), using another schema to define a result set - in this case the GeoPose model" ;
dct:created "2023-05-19T00:00:00+00:00"^^xsd:dateTime ;
dct:description [ dct:format "application/json" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-examples/build/generateddocs/json-full/bbr/examples/observation/vectorObservationFeature/index.json" ],
dct:description [ dct:format "text/markdown" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-examples/build/generateddocs/markdown/bbr/examples/observation/vectorObservationFeature/index.md" ],
[ dct:format "text/html" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-examples/bblock/ogc.bbr.examples.observation.vectorObservationFeature" ],
[ dct:format "text/markdown" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-examples/build/generateddocs/markdown/bbr/examples/observation/vectorObservationFeature/index.md" ] ;
[ dct:format "application/json" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-examples/build/generateddocs/json-full/bbr/examples/observation/vectorObservationFeature/index.json" ] ;
dct:hasVersion "1.0" ;
dct:modified "2024-08-01"^^xsd:date ;
dct:modified "2024-08-06"^^xsd:date ;
dct:source <https://www.w3.org/TR/vocab-ssn/> ;
skos:inScheme <https://ogcincubator.github.io/bblocks-examples/> ;
dcat:keyword "examples",
Expand Down Expand Up @@ -155,14 +155,14 @@
rdfs:label "Observation Result (Vector based on GeoPose)" ;
dct:abstract "This building block defines the *property set* for an example specialisation of a SOSA Observation using the GeoPose standard as a result. These two patterns are defined by other Building Blocks." ;
dct:created "2023-05-19T00:00:00+00:00"^^xsd:dateTime ;
dct:description [ dct:format "text/markdown" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-examples/build/generateddocs/markdown/bbr/examples/observation/vectorObservation/index.md" ],
[ dct:format "text/html" ;
dct:description [ dct:format "text/html" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-examples/bblock/ogc.bbr.examples.observation.vectorObservation" ],
[ dct:format "text/markdown" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-examples/build/generateddocs/markdown/bbr/examples/observation/vectorObservation/index.md" ],
[ dct:format "application/json" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-examples/build/generateddocs/json-full/bbr/examples/observation/vectorObservation/index.json" ] ;
dct:hasVersion "1.0" ;
dct:modified "2024-08-01"^^xsd:date ;
dct:modified "2024-08-06"^^xsd:date ;
skos:inScheme <https://ogcincubator.github.io/bblocks-examples/> ;
dcat:keyword "examples",
"geopose",
Expand All @@ -189,14 +189,14 @@
rdfs:label "Example property set for Features" ;
dct:abstract "This shows how to define a propertyset for a feature - which can be re-used in different containers - such as a GeoJSON Feature schema" ;
dct:created "2023-05-19T00:00:00+00:00"^^xsd:dateTime ;
dct:description [ dct:format "application/json" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-examples/build/generateddocs/json-full/bbr/examples/feature/propertySet/index.json" ],
[ dct:format "text/markdown" ;
dct:description [ dct:format "text/markdown" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-examples/build/generateddocs/markdown/bbr/examples/feature/propertySet/index.md" ],
[ dct:format "text/html" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-examples/bblock/ogc.bbr.examples.feature.propertySet" ] ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-examples/bblock/ogc.bbr.examples.feature.propertySet" ],
[ dct:format "application/json" ;
rdfs:isDefinedBy "https://ogcincubator.github.io/bblocks-examples/build/generateddocs/json-full/bbr/examples/feature/propertySet/index.json" ] ;
dct:hasVersion "1.0" ;
dct:modified "2024-08-01"^^xsd:date ;
dct:modified "2024-08-06"^^xsd:date ;
dct:source <https://www.w3.org/TR/vocab-ssn/> ;
skos:inScheme <https://ogcincubator.github.io/bblocks-examples/> ;
dcat:keyword "examples",
Expand Down Expand Up @@ -231,14 +231,14 @@ More complex examples will include transformation testing - testing a format can
<https://opengeospatial.github.io/ogcapi-sosa/build/register.json> .

[] a prov:Activity ;
prov:endedAtTime "2024-08-05T04:37:06.259457"^^xsd:dateTime ;
prov:startedAtTime "2024-08-05T04:37:06.183430"^^xsd:dateTime ;
prov:endedAtTime "2024-08-06T01:38:21.379773"^^xsd:dateTime ;
prov:startedAtTime "2024-08-06T01:38:21.311885"^^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:5c6d2093174cc2e4152047f520c7c57f5ddb7a03" ;
dct:hasVersion "git:75986372e4dfac8d32f7ee176b7ee746f10d00aa" ;
rdfs:seeAlso <https://ogcincubator.github.io/bblocks-examples/build/register.json> ] ;
prov:wasAssociatedWith [ a prov:Agent,
schema:SoftwareApplication ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"itemClass": "schema",
"register": "ogc-building-block-examples",
"version": "1.0",
"dateOfLastChange": "2024-08-01",
"dateOfLastChange": "2024-08-06",
"sources": [
{
"title": "OGC API - Features, Part 1, 7.16.2: Feature Response",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"itemClass": "schema",
"register": "ogc-building-block-examples",
"version": "1.0",
"dateOfLastChange": "2024-08-01",
"dateOfLastChange": "2024-08-06",
"sources": [
{
"title": "OGC API - Features, Part 1, 7.16.2: Feature Response",
Expand All @@ -19,8 +19,8 @@
"maturity": "development",
"scope": "unstable",
"dependsOn": [
"ogc.geo.features.feature",
"ogc.bbr.examples.feature.propertySet",
"ogc.geo.features.feature",
"ogc.bbr.examples.propertySet"
],
"tags": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"itemClass": "schema",
"register": "ogc-building-block-examples",
"version": "1.0",
"dateOfLastChange": "2024-08-01",
"dateOfLastChange": "2024-08-06",
"maturity": "development",
"scope": "unstable",
"tags": [
Expand All @@ -23,8 +23,8 @@
]
},
"dependsOn": [
"ogc.geo.json-fg.feature-lenient",
"ogc.bbr.examples.feature.propertySet"
"ogc.bbr.examples.feature.propertySet",
"ogc.geo.json-fg.feature-lenient"
],
"schema": {
"application/yaml": "https://ogcincubator.github.io/bblocks-examples/build/annotated/bbr/examples/feature/geojsonFeatureFGLenient/schema.yaml",
Expand Down Expand Up @@ -55,7 +55,7 @@
},
{
"language": "ttl",
"code": "@prefix dcterms: <http://purl.org/dc/terms/> .\n@prefix geojson: <https://purl.org/geojson/vocab#> .\n@prefix ns1: <http://example.org/myModel/> .\n@prefix ns2: <http://www.opengis.net/def/glossary/term/> .\n@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .\n@prefix time: <http://www.w3.org/2006/time#> .\n@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .\n\n<http://example.com/features/f1> a <app:building>,\n geojson:Feature ;\n ns1:myProp \"Mandatory property example\" ;\n dcterms:time [ time:hasTime ( \"2014-04-24T10:50:18Z\" \"..\" ) ] ;\n ns2:CoordinateReferenceSystemCRS \"http://www.opengis.net/def/crs/EPSG/0/5555\" ;\n geojson:geometry [ a geojson:LineString ;\n geojson:coordinates ( ( -1.116718e+02 4.005671e+01 ) ( -1.1171e+02 4.015671e+01 ) ) ] .\n\n",
"code": "@prefix dcterms: <http://purl.org/dc/terms/> .\n@prefix geojson: <https://purl.org/geojson/vocab#> .\n@prefix ns1: <http://www.opengis.net/def/glossary/term/> .\n@prefix ns2: <http://example.org/myModel/> .\n@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .\n@prefix time: <http://www.w3.org/2006/time#> .\n@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .\n\n<http://example.com/features/f1> a <app:building>,\n geojson:Feature ;\n ns2:myProp \"Mandatory property example\" ;\n dcterms:time [ time:hasTime ( \"2014-04-24T10:50:18Z\" \"..\" ) ] ;\n ns1:CoordinateReferenceSystemCRS \"http://www.opengis.net/def/crs/EPSG/0/5555\" ;\n geojson:geometry [ a geojson:LineString ;\n geojson:coordinates ( ( -1.116718e+02 4.005671e+01 ) ( -1.1171e+02 4.015671e+01 ) ) ] .\n\n",
"url": "https://ogcincubator.github.io/bblocks-examples/build/tests/bbr/examples/feature/geojsonFeatureFGLenient/example_1_1.ttl"
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"itemClass": "schema",
"register": "ogc-building-block-examples",
"version": "1.0",
"dateOfLastChange": "2024-08-01",
"dateOfLastChange": "2024-08-06",
"maturity": "development",
"scope": "unstable",
"tags": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"itemClass": "schema",
"register": "ogc-building-block-examples",
"version": "1.0",
"dateOfLastChange": "2024-08-01",
"dateOfLastChange": "2024-08-06",
"sources": [
{
"title": "Semantic Sensor Network Ontology",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"itemClass": "schema",
"register": "ogc-building-block-examples",
"version": "1.0",
"dateOfLastChange": "2024-08-01",
"dateOfLastChange": "2024-08-06",
"sources": [],
"maturity": "development",
"scope": "unstable",
Expand Down
Loading

0 comments on commit e1935f7

Please sign in to comment.