Skip to content

Commit

Permalink
Building blocks postprocessing
Browse files Browse the repository at this point in the history
  • Loading branch information
avillar committed May 6, 2024
1 parent 294efa9 commit 5d19f2e
Show file tree
Hide file tree
Showing 95 changed files with 544 additions and 497 deletions.
20 changes: 10 additions & 10 deletions build/bblocks.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,12 @@
"name": "Building Blocks - 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-05-03T09:10:26.675725",
"modified": "2024-05-06T08:09:28.783737",
"tooling": {
"bblocks-postprocess": {
"commitId": "\"c138f923a385d8b7769118e6f65cfa15d3e6eefd",
"shortCommitId": "\"c138f9",
"date": "2024-05-03T07:31:30+00:00\""
"commitId": "\"c3f59d37227b7fd3200f4b4c75a74a145ece69fe",
"shortCommitId": "\"c3f59d",
"date": "2024-05-03T13:34:33+00:00\""
}
},
"gitRepository": "https://github.com/opengeospatial/ogcapi-sosa",
Expand Down Expand Up @@ -349,8 +349,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 Expand Up @@ -473,8 +473,8 @@
"maturity": "development",
"scope": "development",
"dependsOn": [
"ogc.geo.json-fg.feature-lenient",
"ogc.sosa.properties.observation"
"ogc.sosa.properties.observation",
"ogc.geo.json-fg.feature-lenient"
],
"tags": [
"sosa",
Expand Down Expand Up @@ -558,9 +558,9 @@
]
},
"dependsOn": [
"ogc.sosa.properties.observationCollection",
"ogc.geo.json-fg.featureCollection-lenient",
"ogc.sosa.features.observation",
"ogc.sosa.properties.observationCollection"
"ogc.sosa.features.observation"
],
"schema": {
"application/yaml": "https://opengeospatial.github.io/ogcapi-sosa/build/annotated/sosa/features/observationCollection/schema.yaml",
Expand Down
62 changes: 31 additions & 31 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/markdown" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/build/generateddocs/markdown/sosa/index.md" ],
[ dct:format "text/html" ;
dct:description [ dct:format "text/html" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/bblock/ogc.sosa" ],
[ dct:format "text/html" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/build/generateddocs/slate-build/sosa/" ],
[ dct:format "application/json" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/build/generateddocs/json-full/sosa/index.json" ] ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/build/generateddocs/json-full/sosa/index.json" ],
[ 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-05-03"^^xsd:date ;
dct:source <https://www.w3.org/TR/vocab-ssn/> ;
Expand All @@ -38,14 +38,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/bblock/ogc.sosa.features.observationCollection" ],
[ dct:format "text/html" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/build/generateddocs/slate-build/sosa/features/observationCollection/" ],
dct:description [ dct:format "text/markdown" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/build/generateddocs/markdown/sosa/features/observationCollection/index.md" ],
[ 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/build/generateddocs/slate-build/sosa/features/observationCollection/" ],
[ dct:format "text/html" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/bblock/ogc.sosa.features.observationCollection" ] ;
dct:hasVersion "1.0" ;
dct:modified "2024-05-03"^^xsd:date ;
dct:source <https://www.w3.org/TR/vocab-ssn-ext/>,
Expand Down Expand Up @@ -74,12 +74,12 @@
dct:created "2023-12-05T00:00:00+00:00"^^xsd:dateTime ;
dct:description [ dct:format "text/html" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/bblock/ogc.sosa.properties.platform" ],
[ dct:format "text/markdown" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/build/generateddocs/markdown/sosa/properties/platform/index.md" ],
[ dct:format "application/json" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/build/generateddocs/json-full/sosa/properties/platform/index.json" ],
[ dct:format "text/html" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/build/generateddocs/slate-build/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:hasVersion "1.0" ;
dct:modified "2024-05-03"^^xsd:date ;
dct:source <https://www.w3.org/TR/vocab-ssn/> ;
Expand All @@ -104,9 +104,9 @@
dct:abstract "This building blocks defines a GeoJSON feature containing a SOSA Observation, using the properties defined in the Observation Properties schema" ;
dct:created "2023-05-18T00: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/observation/" ],
[ dct:format "text/html" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/bblock/ogc.sosa.features.observation" ],
[ dct:format "text/html" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/build/generateddocs/slate-build/sosa/features/observation/" ],
[ dct:format "text/markdown" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/build/generateddocs/markdown/sosa/features/observation/index.md" ],
[ dct:format "application/json" ;
Expand Down Expand Up @@ -137,10 +137,10 @@
dct:created "2023-04-13T00:00:00+00:00"^^xsd:dateTime ;
dct:description [ dct:format "text/markdown" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/build/generateddocs/markdown/sosa/properties/observation-owa/index.md" ],
[ dct:format "text/html" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/build/generateddocs/slate-build/sosa/properties/observation-owa/" ],
[ dct:format "application/json" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/build/generateddocs/json-full/sosa/properties/observation-owa/index.json" ],
[ dct:format "text/html" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/build/generateddocs/slate-build/sosa/properties/observation-owa/" ],
[ dct:format "text/html" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/bblock/ogc.sosa.properties.observation-owa" ] ;
dct:hasVersion "1.0" ;
Expand All @@ -165,14 +165,14 @@
rdfs:label "ObservationCollection Properties" ;
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:format "text/html" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/build/generateddocs/slate-build/sosa/properties/observationCollection/" ],
dct:description [ 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 "application/json" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/build/generateddocs/json-full/sosa/properties/observationCollection/index.json" ] ;
[ dct:format "text/html" ;
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-05-03"^^xsd:date ;
dct:source <https://www.w3.org/TR/vocab-ssn/> ;
Expand All @@ -198,13 +198,13 @@
dct:abstract "An identifiable entity that can generate Observations pertaining to an ObservableProperty by implementing an ObservingProcedure. Device, agent (including humans), or software (simulation) involved in, or implementing, a Procedure. Sensors respond to a stimulus, e.g., a change in the environment, or input data composed from the results of prior Observations, and generate a Result. Sensors can be hosted by Platforms." ;
dct:created "2023-12-05T00:00:00+00:00"^^xsd:dateTime ;
dct:description [ dct:format "text/html" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/bblock/ogc.sosa.properties.sensor" ],
[ dct:format "text/markdown" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/build/generateddocs/markdown/sosa/properties/sensor/index.md" ],
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/build/generateddocs/slate-build/sosa/properties/sensor/" ],
[ dct:format "application/json" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/build/generateddocs/json-full/sosa/properties/sensor/index.json" ],
[ dct:format "text/html" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/build/generateddocs/slate-build/sosa/properties/sensor/" ] ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/bblock/ogc.sosa.properties.sensor" ],
[ dct:format "text/markdown" ;
rdfs:isDefinedBy "https://opengeospatial.github.io/ogcapi-sosa/build/generateddocs/markdown/sosa/properties/sensor/index.md" ] ;
dct:hasVersion "1.0" ;
dct:modified "2024-05-03"^^xsd:date ;
dct:source <https://www.w3.org/TR/vocab-ssn/> ;
Expand Down Expand Up @@ -273,14 +273,14 @@ 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-05-03T09:10:39.747856"^^xsd:dateTime ;
prov:startedAtTime "2024-05-03T09:10:39.678879"^^xsd:dateTime ;
prov:endedAtTime "2024-05-06T08:09:38.754315"^^xsd:dateTime ;
prov:startedAtTime "2024-05-06T08:09:38.688571"^^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:3b73274e0ebc9fe3a065a1e0c7f12253311cd7cd" ;
dct:hasVersion "git:294efa99136ea58e4b537dfa07162648cc0b1187" ;
rdfs:seeAlso <https://opengeospatial.github.io/ogcapi-sosa/build/register.json> ] ;
prov:wasAssociatedWith [ a prov:Agent,
schema:SoftwareApplication ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"maturity": "development",
"scope": "development",
"dependsOn": [
"ogc.geo.json-fg.feature-lenient",
"ogc.sosa.properties.observation"
"ogc.sosa.properties.observation",
"ogc.geo.json-fg.feature-lenient"
],
"tags": [
"sosa",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@
]
},
"dependsOn": [
"ogc.sosa.properties.observationCollection",
"ogc.geo.json-fg.featureCollection-lenient",
"ogc.sosa.features.observation",
"ogc.sosa.properties.observationCollection"
"ogc.sosa.features.observation"
],
"schema": {
"application/yaml": "https://opengeospatial.github.io/ogcapi-sosa/build/annotated/sosa/features/observationCollection/schema.yaml",
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: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",
"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",
"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:base" ;
ns1:sensorscalibrationDate "2022-09-14T15:32:45" ;
[] sosa:hasSubSystem [ <eg.purpose> "eg:rover" ;
ns1:sensorscalibrationDate "2022-09-14T15:35:05" ;
ns1:sensorsdescription "Leica Viva GS10" ;
sosa:sensorKind "eg:gnss" ],
[ <eg.purpose> "eg:rover" ;
ns1:sensorscalibrationDate "2022-09-14T15:35:05" ;
[ <eg.purpose> "eg:base" ;
ns1:sensorscalibrationDate "2022-09-14T15:32:45" ;
ns1:sensorsdescription "Leica Viva GS10" ;
sosa:sensorKind "eg:gnss" ] ;
sosa:sensorKind "eg:gnss-pair" .
Expand Down
Loading

0 comments on commit 5d19f2e

Please sign in to comment.