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 Feb 6, 2024
1 parent 53a464a commit 90090ad
Show file tree
Hide file tree
Showing 34 changed files with 391 additions and 391 deletions.
6 changes: 3 additions & 3 deletions build/bblocks.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
"name": "Observations (ISO 19156, OGC/W3C SOSA)",
"abstract": "Building blocks for implementation of OGC Observations Measurements and Samples (ISO 19156 aka OMS) using the OGC API Features schema and the OGC/W3C SOSA ontology",
"description": "Each building block defines a reusable JSON schema that is mapped to the equivalent SOSA concept (and transitively mapped to OMS requirements via SOSA).\n\nEach fragment allows for transparent and validatable use of JSON-LD contexts to map schema elements to equivalent terms from the SOSA ontology. \n\n _These components are under review by the OMS SWG as candidate canonical implementations._ \n\n Each building block allows for examples transformed to RDF, which in turn allows for the use of SHACL rules to enforce the semantics of the SOSA and OMS specifications.\n",
"modified": "2024-02-06T05:13:37.616817",
"modified": "2024-02-06T05:20:40.784515",
"tooling": {
"bblocks-postprocess": {
"commitId": "\"d3ca95c6a06a13ca49593aac13774e5db6835687",
Expand Down Expand Up @@ -348,8 +348,8 @@
"group": "SOSA",
"shaclRules": {},
"dependsOn": [
"ogc.ogc-utils.iri-or-curie",
"ogc.sosa.properties.sensor"
"ogc.sosa.properties.sensor",
"ogc.ogc-utils.iri-or-curie"
],
"schema": {
"application/yaml": "https://opengeospatial.github.io/ogcapi-sosa/build/annotated/sosa/properties/platform/schema.yaml",
Expand Down
66 changes: 33 additions & 33 deletions build/bblocks.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@
rdfs:label "Sensor, Observation, Sample, and Actuator (SOSA)" ;
dct:abstract "The SOSA (Sensor, Observation, Sample, and Actuator) ontology is a realisation of the Observations, Measurements and Sampling (OMS) Conceptual model" ;
dct:created "2023-04-13T00:00:00+00:00"^^xsd:dateTime ;
dct:description [ dct:format "text/html" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/build/generateddocs/slate-build/sosa/" ],
[ dct:format "text/markdown" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/build/generateddocs/markdown/sosa/index.md" ],
[ dct:format "application/json" ;
dct:description [ dct:format "application/json" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/build/generateddocs/json-full/sosa/index.json" ],
[ dct:format "text/html" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/bblock/ogc.sosa" ] ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/build/generateddocs/slate-build/sosa/" ],
[ dct:format "text/html" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/bblock/ogc.sosa" ],
[ dct:format "text/markdown" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/build/generateddocs/markdown/sosa/index.md" ] ;
dct:hasVersion "1.0" ;
dct:modified "2024-02-06"^^xsd:date ;
dct:source <https://www.w3.org/TR/vocab-ssn/> ;
Expand All @@ -41,14 +41,14 @@
rdfs:label "SOSA ObservationCollection Feature" ;
dct:abstract "This building blocks defines an ObservationCollection Feature according to the SOSA/SSN v1.1 specification." ;
dct:created "2023-04-13T00:00:00+00:00"^^xsd:dateTime ;
dct:description [ dct:format "text/html" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/build/generateddocs/slate-build/sosa/features/observationCollection/" ],
dct:description [ dct:format "application/json" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/build/generateddocs/json-full/sosa/features/observationCollection/index.json" ],
[ dct:format "text/markdown" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/build/generateddocs/markdown/sosa/features/observationCollection/index.md" ],
[ dct:format "text/html" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/bblock/ogc.sosa.features.observationCollection" ],
[ dct:format "application/json" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/build/generateddocs/json-full/sosa/features/observationCollection/index.json" ] ;
[ dct:format "text/html" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/build/generateddocs/slate-build/sosa/features/observationCollection/" ] ;
dct:hasVersion "1.0" ;
dct:modified "2024-02-06"^^xsd:date ;
dct:source <https://www.w3.org/TR/vocab-ssn-ext/>,
Expand Down Expand Up @@ -79,10 +79,10 @@
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/bblock/ogc.sosa.properties.platform" ],
[ dct:format "application/json" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/build/generateddocs/json-full/sosa/properties/platform/index.json" ],
[ dct:format "text/markdown" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/build/generateddocs/markdown/sosa/properties/platform/index.md" ],
[ dct:format "text/html" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/build/generateddocs/slate-build/sosa/properties/platform/" ] ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/build/generateddocs/slate-build/sosa/properties/platform/" ],
[ dct:format "text/markdown" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/build/generateddocs/markdown/sosa/properties/platform/index.md" ] ;
dct:hasVersion "1.0" ;
dct:modified "2024-02-06"^^xsd:date ;
dct:source <https://www.w3.org/TR/vocab-ssn/> ;
Expand All @@ -106,10 +106,10 @@
rdfs:label "SOSA Observation Feature" ;
dct:abstract "This building blocks defines a GeoJSON feature containing a SOSA Observation" ;
dct:created "2023-05-18T00:00:00+00:00"^^xsd:dateTime ;
dct:description [ dct:format "text/markdown" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/build/generateddocs/markdown/sosa/features/observation/index.md" ],
[ dct:format "application/json" ;
dct:description [ dct:format "application/json" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/build/generateddocs/json-full/sosa/features/observation/index.json" ],
[ dct:format "text/markdown" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/build/generateddocs/markdown/sosa/features/observation/index.md" ],
[ dct:format "text/html" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/build/generateddocs/slate-build/sosa/features/observation/" ],
[ dct:format "text/html" ;
Expand Down Expand Up @@ -138,14 +138,14 @@
rdfs:label "SOSA ObservationCollection" ;
dct:abstract "This building block defines an ObservationCollection according to the SOSA/SSN v1.1 specification. It defines a set of logical rules regarding presence of mandatory properties anywhere within a potentially nested collection hierarchy. (implemented in SHACL, exploiting the semantic mapping to SOSA)" ;
dct:created "2023-04-13T00:00:00+00:00"^^xsd:dateTime ;
dct:description [ dct:format "text/html" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/bblock/ogc.sosa.properties.observationCollection" ],
dct:description [ dct:format "text/markdown" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/build/generateddocs/markdown/sosa/properties/observationCollection/index.md" ],
[ dct:format "application/json" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/build/generateddocs/json-full/sosa/properties/observationCollection/index.json" ],
[ dct:format "text/markdown" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/build/generateddocs/markdown/sosa/properties/observationCollection/index.md" ],
[ dct:format "text/html" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/build/generateddocs/slate-build/sosa/properties/observationCollection/" ] ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/build/generateddocs/slate-build/sosa/properties/observationCollection/" ],
[ dct:format "text/html" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/bblock/ogc.sosa.properties.observationCollection" ] ;
dct:hasVersion "1.0" ;
dct:modified "2024-02-06"^^xsd:date ;
dct:source <https://www.w3.org/TR/vocab-ssn/> ;
Expand Down Expand Up @@ -202,14 +202,14 @@
rdfs:label "SOSA Observation" ;
dct:abstract "This building block defines the set of properties for an observation according to the SOSA/SSN specification. These properties may be directly included into a root element of a JSON object or used in the properties container of a GeoJSON feature." ;
dct:created "2023-04-13T00:00:00+00:00"^^xsd:dateTime ;
dct:description [ dct:format "text/html" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/bblock/ogc.sosa.properties.observation" ],
dct:description [ dct:format "application/json" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/build/generateddocs/json-full/sosa/properties/observation/index.json" ],
[ dct:format "text/html" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/build/generateddocs/slate-build/sosa/properties/observation/" ],
[ dct:format "text/html" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/bblock/ogc.sosa.properties.observation" ],
[ dct:format "text/markdown" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/build/generateddocs/markdown/sosa/properties/observation/index.md" ],
[ dct:format "application/json" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/build/generateddocs/json-full/sosa/properties/observation/index.json" ] ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/build/generateddocs/markdown/sosa/properties/observation/index.md" ] ;
dct:hasVersion "1.0" ;
dct:modified "2024-02-06"^^xsd:date ;
dct:source <https://www.w3.org/TR/vocab-ssn/> ;
Expand Down Expand Up @@ -245,15 +245,15 @@ Each fragment allows for transparent and validatable use of JSON-LD contexts to
<https://www.w3.org/TR/vocab-ssn/> rdfs:label "Semantic Sensor Network Ontology" .

[] a prov:Activity ;
prov:endedAtTime "2024-02-06T05:13:47.247241"^^xsd:dateTime ;
prov:startedAtTime "2024-02-06T05:13:47.177508"^^xsd:dateTime ;
prov:endedAtTime "2024-02-06T05:20:51.350355"^^xsd:dateTime ;
prov:startedAtTime "2024-02-06T05:20:51.279637"^^xsd:dateTime ;
prov:used [ a prov:Entity ;
dct:format "application/json" ;
dct:hasVersion "git:03e8170fbf071c47a3ef4acc8c0526216c221a1b" ;
rdfs:seeAlso <https://opengeospatial.github.io/ogcapi-sosa/build/register.json> ],
[ a prov:Entity ;
dct:format "application/yaml" ;
rdfs:seeAlso <file:///src/ogc/bblocks/register-context.yaml> ] ;
rdfs:seeAlso <file:///src/ogc/bblocks/register-context.yaml> ],
[ a prov:Entity ;
dct:format "application/json" ;
dct:hasVersion "git:53a464ad4c9369b180cc60ca7315ac74c8f42cf2" ;
rdfs:seeAlso <https://opengeospatial.github.io/ogcapi-sosa/build/register.json> ] ;
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 @@ -28,8 +28,8 @@
"group": "SOSA",
"shaclRules": {},
"dependsOn": [
"ogc.ogc-utils.iri-or-curie",
"ogc.sosa.properties.sensor"
"ogc.sosa.properties.sensor",
"ogc.ogc-utils.iri-or-curie"
],
"schema": {
"application/yaml": "https://opengeospatial.github.io/ogcapi-sosa/build/annotated/sosa/properties/platform/schema.yaml",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
},
{
"language": "ttl",
"code": "@prefix ns1: <http://example.org/> .\n@prefix sosa: <http://www.w3.org/ns/sosa/> .\n\n[] sosa:hasSubSystem [ <eg.purpose> \"eg:rover\" ;\n ns1:sensorscalibrationDate \"2022-09-14T15:35:05\" ;\n ns1:sensorsdescription \"Leica Viva GS10\" ;\n sosa:sensorKind \"eg:gnss\" ],\n [ <eg.purpose> \"eg:base\" ;\n ns1:sensorscalibrationDate \"2022-09-14T15:32:45\" ;\n ns1:sensorsdescription \"Leica Viva GS10\" ;\n sosa:sensorKind \"eg:gnss\" ] ;\n sosa:sensorKind \"eg:gnss-pair\" .\n\n",
"code": "@prefix ns1: <http://example.org/> .\n@prefix sosa: <http://www.w3.org/ns/sosa/> .\n\n[] sosa:hasSubSystem [ <eg.purpose> \"eg:base\" ;\n ns1:sensorscalibrationDate \"2022-09-14T15:32:45\" ;\n ns1:sensorsdescription \"Leica Viva GS10\" ;\n sosa:sensorKind \"eg:gnss\" ],\n [ <eg.purpose> \"eg:rover\" ;\n ns1:sensorscalibrationDate \"2022-09-14T15:35:05\" ;\n ns1:sensorsdescription \"Leica Viva GS10\" ;\n sosa:sensorKind \"eg:gnss\" ] ;\n sosa:sensorKind \"eg:gnss-pair\" .\n\n",
"url": "https://opengeospatial.github.io/ogcapi-sosa/build/tests/sosa/properties/sensor/example_2_1.ttl"
}
]
Expand Down
8 changes: 4 additions & 4 deletions build/generateddocs/markdown/sosa/properties/sensor/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,12 +145,12 @@ The "id" property is assumed to be common and compatible with other mix-in aspec
@prefix ns1: <http://example.org/> .
@prefix sosa: <http://www.w3.org/ns/sosa/> .
[] sosa:hasSubSystem [ <eg.purpose> "eg:rover" ;
ns1:sensorscalibrationDate "2022-09-14T15:35:05" ;
[] sosa:hasSubSystem [ <eg.purpose> "eg:base" ;
ns1:sensorscalibrationDate "2022-09-14T15:32:45" ;
ns1:sensorsdescription "Leica Viva GS10" ;
sosa:sensorKind "eg:gnss" ],
[ <eg.purpose> "eg:base" ;
ns1:sensorscalibrationDate "2022-09-14T15:32:45" ;
[ <eg.purpose> "eg:rover" ;
ns1:sensorscalibrationDate "2022-09-14T15:35:05" ;
ns1:sensorsdescription "Leica Viva GS10" ;
sosa:sensorKind "eg:gnss" ] ;
sosa:sensorKind "eg:gnss-pair" .
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -500,12 +500,12 @@ <h2 id='example-of-of-a-compound-sensor-using-the-system-polymorphism-option'>Ex
<div class="highlight"><pre class="highlight turtle tab-turtle"><code><span class="kd">@prefix</span><span class="w"> </span><span class="nn">ns1:</span><span class="w"> </span><span class="nl">&lt;http://example.org/&gt;</span><span class="w"> </span><span class="p">.</span><span class="w">
</span><span class="kd">@prefix</span><span class="w"> </span><span class="nn">sosa:</span><span class="w"> </span><span class="nl">&lt;http://www.w3.org/ns/sosa/&gt;</span><span class="w"> </span><span class="p">.</span><span class="w">

</span><span class="p">[]</span><span class="w"> </span><span class="nn">sosa:</span><span class="n">hasSubSystem</span><span class="w"> </span><span class="p">[</span><span class="w"> </span><span class="nl">&lt;eg.purpose&gt;</span><span class="w"> </span><span class="s">"eg:rover"</span><span class="w"> </span><span class="p">;</span><span class="w">
</span><span class="nn">ns1:</span><span class="n">sensorscalibrationDate</span><span class="w"> </span><span class="s">"2022-09-14T15:35:05"</span><span class="w"> </span><span class="p">;</span><span class="w">
</span><span class="p">[]</span><span class="w"> </span><span class="nn">sosa:</span><span class="n">hasSubSystem</span><span class="w"> </span><span class="p">[</span><span class="w"> </span><span class="nl">&lt;eg.purpose&gt;</span><span class="w"> </span><span class="s">"eg:base"</span><span class="w"> </span><span class="p">;</span><span class="w">
</span><span class="nn">ns1:</span><span class="n">sensorscalibrationDate</span><span class="w"> </span><span class="s">"2022-09-14T15:32:45"</span><span class="w"> </span><span class="p">;</span><span class="w">
</span><span class="nn">ns1:</span><span class="n">sensorsdescription</span><span class="w"> </span><span class="s">"Leica Viva GS10"</span><span class="w"> </span><span class="p">;</span><span class="w">
</span><span class="nn">sosa:</span><span class="n">sensorKind</span><span class="w"> </span><span class="s">"eg:gnss"</span><span class="w"> </span><span class="p">],</span><span class="w">
</span><span class="p">[</span><span class="w"> </span><span class="nl">&lt;eg.purpose&gt;</span><span class="w"> </span><span class="s">"eg:base"</span><span class="w"> </span><span class="p">;</span><span class="w">
</span><span class="nn">ns1:</span><span class="n">sensorscalibrationDate</span><span class="w"> </span><span class="s">"2022-09-14T15:32:45"</span><span class="w"> </span><span class="p">;</span><span class="w">
</span><span class="p">[</span><span class="w"> </span><span class="nl">&lt;eg.purpose&gt;</span><span class="w"> </span><span class="s">"eg:rover"</span><span class="w"> </span><span class="p">;</span><span class="w">
</span><span class="nn">ns1:</span><span class="n">sensorscalibrationDate</span><span class="w"> </span><span class="s">"2022-09-14T15:35:05"</span><span class="w"> </span><span class="p">;</span><span class="w">
</span><span class="nn">ns1:</span><span class="n">sensorsdescription</span><span class="w"> </span><span class="s">"Leica Viva GS10"</span><span class="w"> </span><span class="p">;</span><span class="w">
</span><span class="nn">sosa:</span><span class="n">sensorKind</span><span class="w"> </span><span class="s">"eg:gnss"</span><span class="w"> </span><span class="p">]</span><span class="w"> </span><span class="p">;</span><span class="w">
</span><span class="nn">sosa:</span><span class="n">sensorKind</span><span class="w"> </span><span class="s">"eg:gnss-pair"</span><span class="w"> </span><span class="p">.</span><span class="w">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,12 +213,12 @@ The "id" property is assumed to be common and compatible with other mix-in aspec
@prefix ns1: <http://example.org/> .
@prefix sosa: <http://www.w3.org/ns/sosa/> .
[] sosa:hasSubSystem [ <eg.purpose> "eg:rover" ;
ns1:sensorscalibrationDate "2022-09-14T15:35:05" ;
[] sosa:hasSubSystem [ <eg.purpose> "eg:base" ;
ns1:sensorscalibrationDate "2022-09-14T15:32:45" ;
ns1:sensorsdescription "Leica Viva GS10" ;
sosa:sensorKind "eg:gnss" ],
[ <eg.purpose> "eg:base" ;
ns1:sensorscalibrationDate "2022-09-14T15:32:45" ;
[ <eg.purpose> "eg:rover" ;
ns1:sensorscalibrationDate "2022-09-14T15:35:05" ;
ns1:sensorsdescription "Leica Viva GS10" ;
sosa:sensorKind "eg:gnss" ] ;
sosa:sensorKind "eg:gnss-pair" .
Expand Down
6 changes: 3 additions & 3 deletions build/register.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Observations (ISO 19156, OGC/W3C SOSA)",
"abstract": "Building blocks for implementation of OGC Observations Measurements and Samples (ISO 19156 aka OMS) using the OGC API Features schema and the OGC/W3C SOSA ontology",
"description": "Each building block defines a reusable JSON schema that is mapped to the equivalent SOSA concept (and transitively mapped to OMS requirements via SOSA).\n\nEach fragment allows for transparent and validatable use of JSON-LD contexts to map schema elements to equivalent terms from the SOSA ontology. \n\n _These components are under review by the OMS SWG as candidate canonical implementations._ \n\n Each building block allows for examples transformed to RDF, which in turn allows for the use of SHACL rules to enforce the semantics of the SOSA and OMS specifications.\n",
"modified": "2024-02-06T05:13:37.616817",
"modified": "2024-02-06T05:20:40.784515",
"tooling": {
"bblocks-postprocess": {
"commitId": "\"d3ca95c6a06a13ca49593aac13774e5db6835687",
Expand Down Expand Up @@ -229,8 +229,8 @@
"group": "SOSA",
"shaclRules": {},
"dependsOn": [
"ogc.ogc-utils.iri-or-curie",
"ogc.sosa.properties.sensor"
"ogc.sosa.properties.sensor",
"ogc.ogc-utils.iri-or-curie"
],
"schema": {
"application/yaml": "https://opengeospatial.github.io/ogcapi-sosa/build/annotated/sosa/properties/platform/schema.yaml",
Expand Down
Loading

0 comments on commit 90090ad

Please sign in to comment.