Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion _sources/spec-examples/transforms/ttl_to_sosa_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def _get(obj, key, default=None):
own_ctx = _get(tctx, 'jsonld_context_path')
if not own_ctx or not (working_dir / own_ctx).is_file():
raise FileNotFoundError(f'JSON-LD context for this block not found ({own_ctx})')
target = _get(meta, 'target')
target = _get(meta, 'x-target')
target_ctx = own_ctx # the block $refs the target schema, so its context is the target's
if target:
# annotated/<register subdirs>/<own subdirs>/context.jsonld -> .../<target subdirs>/...
Expand Down

Large diffs are not rendered by default.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ path @id schema
/links/hreflang http://purl.org/dc/terms/language https://opengeospatial.github.io/bblocks/annotated-schemas/ogc-utils/json-link/schema.yaml
/links/title http://www.w3.org/2000/01/rdf-schema#label https://opengeospatial.github.io/bblocks/annotated-schemas/ogc-utils/json-link/schema.yaml
/links/length http://purl.org/dc/terms/extent https://opengeospatial.github.io/bblocks/annotated-schemas/ogc-utils/json-link/schema.yaml
/featureType @type /github/workspace/build/annotated/sosa/features/actuation/schema.yaml
/featureType @type https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature-lenient/schema.yaml
/time http://purl.org/dc/terms/time https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/feature-lenient/schema.yaml
/time/_oneOf/1/date http://www.w3.org/2006/time#hasTime https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/time/schema.yaml
/time/_oneOf/1/timestamp http://www.w3.org/2006/time#hasTime https://opengeospatial.github.io/bblocks/annotated-schemas/geo/json-fg/time/schema.yaml
Expand Down Expand Up @@ -152,14 +152,6 @@ path @id schema
/place/_oneOf/17/type https://beta.schemas.opengis.net/json-fg/geometry-object.json
/properties/resultTime http://www.w3.org/ns/sosa/resultTime https://opengeospatial.github.io/ogcapi-sosa/build/annotated/sosa/properties/execution/schema.yaml
/properties/phenomenonTime http://www.w3.org/ns/sosa/phenomenonTime https://opengeospatial.github.io/ogcapi-sosa/build/annotated/sosa/properties/execution/schema.yaml
/properties/phenomenonTime/_oneOf/1/hasBeginning http://www.w3.org/2006/time#hasBeginning https://opengeospatial.github.io/ogcapi-sosa/build/annotated/sosa/properties/execution/schema.yaml
/properties/phenomenonTime/_oneOf/1/hasBeginning/inXSDDateTime https://opengeospatial.github.io/ogcapi-sosa/build/annotated/sosa/properties/execution/schema.yaml
/properties/phenomenonTime/_oneOf/1/hasBeginning/inXSDDateTimeStamp https://opengeospatial.github.io/ogcapi-sosa/build/annotated/sosa/properties/execution/schema.yaml
/properties/phenomenonTime/_oneOf/1/hasBeginning/inXSDDate https://opengeospatial.github.io/ogcapi-sosa/build/annotated/sosa/properties/execution/schema.yaml
/properties/phenomenonTime/_oneOf/1/hasEnd http://www.w3.org/2006/time#hasEnd https://opengeospatial.github.io/ogcapi-sosa/build/annotated/sosa/properties/execution/schema.yaml
/properties/phenomenonTime/_oneOf/1/inXSDDateTime http://www.w3.org/2006/time#inXSDDateTime https://opengeospatial.github.io/ogcapi-sosa/build/annotated/sosa/properties/execution/schema.yaml
/properties/phenomenonTime/_oneOf/1/inXSDDateTimeStamp http://www.w3.org/2006/time#inXSDDateTimeStamp https://opengeospatial.github.io/ogcapi-sosa/build/annotated/sosa/properties/execution/schema.yaml
/properties/phenomenonTime/_oneOf/1/inXSDDate http://www.w3.org/2006/time#inXSDDate https://opengeospatial.github.io/ogcapi-sosa/build/annotated/sosa/properties/execution/schema.yaml
/properties/hasFeatureOfInterest http://www.w3.org/ns/sosa/hasFeatureOfInterest https://opengeospatial.github.io/ogcapi-sosa/build/annotated/sosa/properties/execution/schema.yaml
/properties/hasUltimateFeatureOfInterest http://www.w3.org/ns/sosa/hasUltimateFeatureOfInterest https://opengeospatial.github.io/ogcapi-sosa/build/annotated/sosa/properties/execution/schema.yaml
/properties/usedProcedure http://www.w3.org/ns/sosa/usedProcedure https://opengeospatial.github.io/ogcapi-sosa/build/annotated/sosa/properties/execution/schema.yaml
Expand All @@ -170,6 +162,5 @@ path @id schema
/properties/result@links https://opengeospatial.github.io/ogcapi-sosa/build/annotated/sosa/properties/execution/schema.yaml
/properties/hasSimpleResult http://www.w3.org/ns/sosa/hasSimpleResult https://opengeospatial.github.io/ogcapi-sosa/build/annotated/sosa/properties/execution/schema.yaml
/properties/hasInputValue http://www.w3.org/ns/sosa/hasInputValue https://opengeospatial.github.io/ogcapi-sosa/build/annotated/sosa/properties/execution/schema.yaml
/properties/featureType @type https://opengeospatial.github.io/ogcapi-sosa/build/annotated/sosa/properties/actuation/schema.yaml
/properties/actsOnProperty http://www.w3.org/ns/sosa/actsOnProperty https://opengeospatial.github.io/ogcapi-sosa/build/annotated/sosa/properties/actuation/schema.yaml
/properties/madeByActuator http://www.w3.org/ns/sosa/madeByActuator https://opengeospatial.github.io/ogcapi-sosa/build/annotated/sosa/properties/actuation/schema.yaml
55 changes: 8 additions & 47 deletions build/annotated/sosa/features/actuation/context.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -468,46 +468,10 @@
"@id": "ssn-system:qualityOfObservation",
"@type": "@id"
},
"resultTime": {
"@id": "sosa:resultTime",
"@type": "xsd:dateTime"
},
"resultTime": "sosa:resultTime",
"phenomenonTime": {
"@context": {
"hasBeginning": "owlTime:hasBeginning",
"hasEnd": "owlTime:hasEnd",
"inXSDDateTime": {
"@id": "owlTime:inXSDDateTime",
"@type": "xsd:dateTime"
},
"inXSDDateTimeStamp": {
"@id": "owlTime:inXSDDateTimeStamp",
"@type": "xsd:dateTimeStamp"
},
"inXSDDate": {
"@id": "owlTime:inXSDDate",
"@type": "xsd:date"
},
"Instant": "owlTime:Instant",
"Interval": "owlTime:Interval",
"ProperInterval": "owlTime:ProperInterval",
"hasDuration": "owlTime:hasDuration",
"hasXSDDuration": {
"@id": "owlTime:hasXSDDuration",
"@type": "xsd:duration"
},
"inTimePosition": "owlTime:inTimePosition",
"inXSDgYear": {
"@id": "owlTime:inXSDgYear",
"@type": "xsd:gYear"
},
"inXSDgYearMonth": {
"@id": "owlTime:inXSDgYearMonth",
"@type": "xsd:gYearMonth"
}
},
"@id": "sosa:phenomenonTime",
"@type": "xsd:dateTime"
"@type": "@id"
},
"hasFeatureOfInterest": {
"@id": "sosa:hasFeatureOfInterest",
Expand All @@ -521,19 +485,16 @@
"@id": "sosa:usedProcedure",
"@type": "@id"
},
"startTime": {
"@id": "sosa:startTime",
"@type": "xsd:dateTime"
},
"endTime": {
"@id": "sosa:endTime",
"@type": "xsd:dateTime"
},
"startTime": "sosa:startTime",
"endTime": "sosa:endTime",
"hasResult": {
"@id": "sosa:hasResult",
"@type": "@id"
},
"hasSimpleResult": "sosa:hasSimpleResult",
"hasSimpleResult": {
"@id": "sosa:hasSimpleResult",
"@type": "@id"
},
"hasInputValue": {
"@id": "sosa:hasInputValue",
"@type": "@id"
Expand Down

Large diffs are not rendered by default.

104 changes: 10 additions & 94 deletions build/annotated/sosa/features/actuation/schema.json
Original file line number Diff line number Diff line change
@@ -1,48 +1,10 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"description": "SOSA Actuation Feature",
"$defs": {
"member": {
"description": "A Actuation Feature in a collection (mandatory properties may be provided by the collection)",
"allOf": [
{
"$ref": "https://opengeospatial.github.io/ogcapi-sosa/build/annotated/sosa/features/execution/schema.json"
},
{
"type": "object",
"properties": {
"featureType": {
"oneOf": [
{
"$ref": "https://opengeospatial.github.io/ogcapi-sosa/build/annotated/sosa/properties/actuation/schema.json#/$defs/actuationType"
},
{
"type": "array",
"contains": {
"$ref": "https://opengeospatial.github.io/ogcapi-sosa/build/annotated/sosa/properties/actuation/schema.json#/$defs/actuationType"
}
}
],
"x-jsonld-id": "@type"
}
}
},
{
"type": "object",
"properties": {
"properties": {
"$ref": "https://opengeospatial.github.io/ogcapi-sosa/build/annotated/sosa/properties/actuation/schema.json#/$defs/member",
"x-jsonld-id": "@nest"
}
}
}
]
}
},
"type": "object",
"allOf": [
{
"$ref": "#/$defs/member"
"$ref": "https://opengeospatial.github.io/ogcapi-sosa/build/annotated/sosa/features/execution/schema.json"
},
{
"type": "object",
Expand All @@ -56,6 +18,7 @@
],
"x-jsonld-extra-terms": {
"id": "@id",
"featureType": "@type",
"ActuatableProperty": {
"x-jsonld-id": "http://www.w3.org/ns/sosa/ActuatableProperty",
"x-jsonld-type": "@id"
Expand Down Expand Up @@ -160,10 +123,7 @@
"x-jsonld-id": "http://www.w3.org/ns/sosa/detects",
"x-jsonld-type": "@id"
},
"endTime": {
"x-jsonld-id": "http://www.w3.org/ns/sosa/endTime",
"x-jsonld-type": "http://www.w3.org/2001/XMLSchema#dateTime"
},
"endTime": "http://www.w3.org/ns/sosa/endTime",
"features": {
"x-jsonld-id": "http://www.w3.org/ns/sosa/hasMember",
"x-jsonld-type": "@id"
Expand Down Expand Up @@ -220,7 +180,10 @@
"x-jsonld-id": "http://www.w3.org/ns/sosa/hasSampledFeature",
"x-jsonld-type": "@id"
},
"hasSimpleResult": "http://www.w3.org/ns/sosa/hasSimpleResult",
"hasSimpleResult": {
"x-jsonld-id": "http://www.w3.org/ns/sosa/hasSimpleResult",
"x-jsonld-type": "@id"
},
"hasSubSystem": {
"x-jsonld-id": "http://www.w3.org/ns/sosa/hasSubSystem",
"x-jsonld-type": "@id",
Expand Down Expand Up @@ -341,50 +304,10 @@
},
"phenomenonTime": {
"x-jsonld-id": "http://www.w3.org/ns/sosa/phenomenonTime",
"x-jsonld-type": "http://www.w3.org/2001/XMLSchema#dateTime",
"x-jsonld-context": {
"time": "http://www.w3.org/2006/time#",
"Instant": "http://www.w3.org/2006/time#Instant",
"Interval": "http://www.w3.org/2006/time#Interval",
"ProperInterval": "http://www.w3.org/2006/time#ProperInterval",
"hasBeginning": "http://www.w3.org/2006/time#hasBeginning",
"hasEnd": "http://www.w3.org/2006/time#hasEnd",
"hasDuration": "http://www.w3.org/2006/time#hasDuration",
"hasXSDDuration": {
"@id": "http://www.w3.org/2006/time#hasXSDDuration",
"@type": "http://www.w3.org/2001/XMLSchema#duration"
},
"inTimePosition": "http://www.w3.org/2006/time#inTimePosition",
"inXSDDate": {
"@id": "http://www.w3.org/2006/time#inXSDDate",
"@type": "http://www.w3.org/2001/XMLSchema#date"
},
"inXSDDateTime": {
"@id": "http://www.w3.org/2006/time#inXSDDateTime",
"@type": "http://www.w3.org/2001/XMLSchema#dateTime"
},
"inXSDDateTimeStamp": {
"@id": "http://www.w3.org/2006/time#inXSDDateTimeStamp",
"@type": "http://www.w3.org/2001/XMLSchema#dateTimeStamp"
},
"inXSDgYear": {
"@id": "http://www.w3.org/2006/time#inXSDgYear",
"@type": "http://www.w3.org/2001/XMLSchema#gYear"
},
"inXSDgYearMonth": {
"@id": "http://www.w3.org/2006/time#inXSDgYearMonth",
"@type": "http://www.w3.org/2001/XMLSchema#gYearMonth"
}
}
},
"resultTime": {
"x-jsonld-id": "http://www.w3.org/ns/sosa/resultTime",
"x-jsonld-type": "http://www.w3.org/2001/XMLSchema#dateTime"
},
"startTime": {
"x-jsonld-id": "http://www.w3.org/ns/sosa/startTime",
"x-jsonld-type": "http://www.w3.org/2001/XMLSchema#dateTime"
"x-jsonld-type": "@id"
},
"resultTime": "http://www.w3.org/ns/sosa/resultTime",
"startTime": "http://www.w3.org/ns/sosa/startTime",
"usedProcedure": {
"x-jsonld-id": "http://www.w3.org/ns/sosa/usedProcedure",
"x-jsonld-type": "@id"
Expand Down Expand Up @@ -516,14 +439,7 @@
},
"x-jsonld-prefixes": {
"sosa": "http://www.w3.org/ns/sosa/",
"time": "http://www.w3.org/2006/time#",
"ssn-system": "http://www.w3.org/ns/ssn/systems/",
"ssn": "http://www.w3.org/ns/ssn/"
},
"x-bblocks-metadata": {
"itemIdentifier": "ogc.sosa.features.actuation",
"register": "https://opengeospatial.github.io/ogcapi-sosa/build/register.json",
"version": "1.0",
"dateOfLastChange": "2026-10-26"
}
}
74 changes: 9 additions & 65 deletions build/annotated/sosa/features/actuation/schema.yaml
Original file line number Diff line number Diff line change
@@ -1,35 +1,16 @@
$schema: https://json-schema.org/draft/2020-12/schema
description: SOSA Actuation Feature
$defs:
member:
description: A Actuation Feature in a collection (mandatory properties may be
provided by the collection)
allOf:
- $ref: https://opengeospatial.github.io/ogcapi-sosa/build/annotated/sosa/features/execution/schema.yaml
- type: object
properties:
featureType:
oneOf:
- $ref: https://opengeospatial.github.io/ogcapi-sosa/build/annotated/sosa/properties/actuation/schema.yaml#/$defs/actuationType
- type: array
contains:
$ref: https://opengeospatial.github.io/ogcapi-sosa/build/annotated/sosa/properties/actuation/schema.yaml#/$defs/actuationType
x-jsonld-id: '@type'
- type: object
properties:
properties:
$ref: https://opengeospatial.github.io/ogcapi-sosa/build/annotated/sosa/properties/actuation/schema.yaml#/$defs/member
x-jsonld-id: '@nest'
type: object
allOf:
- $ref: '#/$defs/member'
- $ref: https://opengeospatial.github.io/ogcapi-sosa/build/annotated/sosa/features/execution/schema.yaml
- type: object
properties:
properties:
$ref: https://opengeospatial.github.io/ogcapi-sosa/build/annotated/sosa/properties/actuation/schema.yaml
x-jsonld-id: '@nest'
x-jsonld-extra-terms:
id: '@id'
featureType: '@type'
ActuatableProperty:
x-jsonld-id: http://www.w3.org/ns/sosa/ActuatableProperty
x-jsonld-type: '@id'
Expand Down Expand Up @@ -108,9 +89,7 @@ x-jsonld-extra-terms:
detects:
x-jsonld-id: http://www.w3.org/ns/sosa/detects
x-jsonld-type: '@id'
endTime:
x-jsonld-id: http://www.w3.org/ns/sosa/endTime
x-jsonld-type: http://www.w3.org/2001/XMLSchema#dateTime
endTime: http://www.w3.org/ns/sosa/endTime
features:
x-jsonld-id: http://www.w3.org/ns/sosa/hasMember
x-jsonld-type: '@id'
Expand Down Expand Up @@ -153,7 +132,9 @@ x-jsonld-extra-terms:
hasSampledFeature:
x-jsonld-id: http://www.w3.org/ns/sosa/hasSampledFeature
x-jsonld-type: '@id'
hasSimpleResult: http://www.w3.org/ns/sosa/hasSimpleResult
hasSimpleResult:
x-jsonld-id: http://www.w3.org/ns/sosa/hasSimpleResult
x-jsonld-type: '@id'
hasSubSystem:
x-jsonld-id: http://www.w3.org/ns/sosa/hasSubSystem
x-jsonld-type: '@id'
Expand Down Expand Up @@ -245,40 +226,9 @@ x-jsonld-extra-terms:
x-jsonld-type: '@id'
phenomenonTime:
x-jsonld-id: http://www.w3.org/ns/sosa/phenomenonTime
x-jsonld-type: http://www.w3.org/2001/XMLSchema#dateTime
x-jsonld-context:
time: http://www.w3.org/2006/time#
Instant: http://www.w3.org/2006/time#Instant
Interval: http://www.w3.org/2006/time#Interval
ProperInterval: http://www.w3.org/2006/time#ProperInterval
hasBeginning: http://www.w3.org/2006/time#hasBeginning
hasEnd: http://www.w3.org/2006/time#hasEnd
hasDuration: http://www.w3.org/2006/time#hasDuration
hasXSDDuration:
'@id': http://www.w3.org/2006/time#hasXSDDuration
'@type': http://www.w3.org/2001/XMLSchema#duration
inTimePosition: http://www.w3.org/2006/time#inTimePosition
inXSDDate:
'@id': http://www.w3.org/2006/time#inXSDDate
'@type': http://www.w3.org/2001/XMLSchema#date
inXSDDateTime:
'@id': http://www.w3.org/2006/time#inXSDDateTime
'@type': http://www.w3.org/2001/XMLSchema#dateTime
inXSDDateTimeStamp:
'@id': http://www.w3.org/2006/time#inXSDDateTimeStamp
'@type': http://www.w3.org/2001/XMLSchema#dateTimeStamp
inXSDgYear:
'@id': http://www.w3.org/2006/time#inXSDgYear
'@type': http://www.w3.org/2001/XMLSchema#gYear
inXSDgYearMonth:
'@id': http://www.w3.org/2006/time#inXSDgYearMonth
'@type': http://www.w3.org/2001/XMLSchema#gYearMonth
resultTime:
x-jsonld-id: http://www.w3.org/ns/sosa/resultTime
x-jsonld-type: http://www.w3.org/2001/XMLSchema#dateTime
startTime:
x-jsonld-id: http://www.w3.org/ns/sosa/startTime
x-jsonld-type: http://www.w3.org/2001/XMLSchema#dateTime
x-jsonld-type: '@id'
resultTime: http://www.w3.org/ns/sosa/resultTime
startTime: http://www.w3.org/ns/sosa/startTime
usedProcedure:
x-jsonld-id: http://www.w3.org/ns/sosa/usedProcedure
x-jsonld-type: '@id'
Expand Down Expand Up @@ -377,11 +327,5 @@ x-jsonld-extra-terms:
x-jsonld-type: '@id'
x-jsonld-prefixes:
sosa: http://www.w3.org/ns/sosa/
time: http://www.w3.org/2006/time#
ssn-system: http://www.w3.org/ns/ssn/systems/
ssn: http://www.w3.org/ns/ssn/
x-bblocks-metadata:
itemIdentifier: ogc.sosa.features.actuation
register: https://opengeospatial.github.io/ogcapi-sosa/build/register.json
version: '1.0'
dateOfLastChange: '2026-10-26'
Loading
Loading