Skip to content

Commit c2ae784

Browse files
spec: use PointTemplate for tss:about
Fixes #8
1 parent 1765274 commit c2ae784

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

spec.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ A first example illustrates the features of a `tss:Snippet`:
5252
}
5353
}
5454
"""^^rdf:JSON;
55-
tss:about [
55+
tss:about [ a tss:PointTemplate;
5656
sosa:madeBySensor <temp_sensor_1>;
5757
sosa:observedProperty <temperature>;
5858
];
@@ -110,7 +110,7 @@ Each [=Snippet=] SHOULD have the following properties:
110110
- `tss:points`: a JSON array (datatype `rdf:JSON`) of data points where each data point is a JSON object with a `time` key using `xsd:dateTime` value, with a `value` key for which the value is annotated with a datatype, and optionally an `id` key for which the value is an IRI for the current data point.
111111
- `tss:from`: starting timestamp (including) of the period covered by `tss:points` using an `xsd:dateTime`.
112112
- `tss:until`: until this timestamp (excluding) of the period covered by `tss:points` using an `xsd:dateTime`.
113-
- `tss:about`: contains statements about a blank node. The statements can be asserted on top of all data points in `tss:points` when expanding the Snippet.
113+
- `tss:about`: contains statements the data points, defined as a `tss:PointTemplate`. The statements can be asserted on top of all data points in `tss:points` when expanding the Snippet.
114114
- `tss:pointType`: the RDF type of all data points in `tss:points`.
115115
- `tss:context`: JSON-LD context describing the JSON array of `tss:points`.
116116

tss.ttl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,3 +94,10 @@ tss:Snippet rdf:type owl:Class ;
9494
rdfs:comment "RDF Time Series Snippet"@en;
9595
rdfs:isDefinedBy <>;
9696
.
97+
98+
### https://w3id.org/tss/PointTemplate
99+
tss:PointTemplate rdf:type owl:Class ;
100+
rdfs:label "PointTemplate";
101+
rdfs:comment "RDF Time Series Point Template"@en;
102+
rdfs:isDefinedBy <>;
103+
.

0 commit comments

Comments
 (0)