File tree 1 file changed +16
-15
lines changed
1 file changed +16
-15
lines changed Original file line number Diff line number Diff line change @@ -41,16 +41,17 @@ A first example illustrates the features of a `tss:Snippet`:
41
41
tss:until "2026-01-02T00:00:00Z"^^xsd:dateTime;
42
42
tss:pointType sosa:Observation;
43
43
tss:context """
44
- "@context":{
45
- "time": {
46
- "@id":"sosa:resultTime",
47
- "@type":"xsd:dateTime"
48
- },
49
- "value": {
50
- "@id":"sosa:resultTime",
51
- "@type":"xsd:integer"
52
- }
53
- }
44
+ "@context":{
45
+ "id": "@id",
46
+ "time": {
47
+ "@id":"http://www.w3.org/ns/sosa/resultTime",
48
+ "@type":"http://www.w3.org/2001/XMLSchema#dateTime"
49
+ },
50
+ "value": {
51
+ "@id": "http://www.w3.org/ns/sosa/resultTime",
52
+ "@type":"http://www.w3.org/2001/XMLSchema#integer"
53
+ }
54
+ }
54
55
"""^^rdf:JSON;
55
56
tss:about [ a tss:PointTemplate;
56
57
sosa:madeBySensor <temp_sensor_1> ;
@@ -141,14 +142,14 @@ When the optional JSON-LD context is provided through `tss:context`, a [=Snippet
141
142
142
143
```json
143
144
{
144
- "@context": {
145
+ "@context": {
145
146
"id": "@id",
146
- "time": {
147
- "@id": "https://w3id.org/tss#time",
148
- "@type":"http://www.w3.org/2001/XMLSchema#dateTime"
147
+ "time": {
148
+ "@id": "https://w3id.org/tss#time",
149
+ "@type":"http://www.w3.org/2001/XMLSchema#dateTime"
149
150
},
150
151
"value": "https://w3id.org/tss#value"
151
- }
152
+ }
152
153
}
153
154
```
154
155
You can’t perform that action at this time.
0 commit comments