Skip to content

Commit 1607b7e

Browse files
Update examples for PROF instead of rdfp
1 parent b5bc742 commit 1607b7e

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

ssn/rdf/examples/dht22.ttl

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,21 +26,23 @@ ex:DHT22_Procedure
2626
.
2727

2828
ex:DHT22_output
29-
# a rdfp:GraphDescription ;
29+
# specify the encoding format - which is not necessary constrained by the model for the content
30+
dct:format <https://w3id.org/mediatype/text/turtle> ;
3031
rdfs:comment "The output is a RDF Graph that describes both the temperature and the humidity. It can be validated by a SHACL shapes graph."@en ;
3132
dct:conformsTo ex:myProfile
3233
.
3334

35+
36+
3437
ex:myProfile
3538
a prof:Profile ;
3639
prof:hasResource [ a prof:ResourceDescriptor ;
3740
# it's in Turtle format
3841
dct:format <https://w3id.org/mediatype/text/turtle> ;
3942
# it conforms to SHACL, here refered to by its namespace URI as a Profile
4043
dct:conformsTo <https://www.w3.org/TR/shacl/> ;
41-
# this profile resource plays the role of "Validation"
42-
# described in this ontology's accompanying Roles vocabulary
43-
prof:hasRole role:Validation ;
44+
# this profile resource plays the role of "Validation" as well as defining a "schema"
45+
prof:hasRole role:validation , role:schema ;
4446
# this profile resource's actual file
4547
prof:hasArtifact <http://example.org/profile/x/resource/validator.ttl> ] ;
4648
.

0 commit comments

Comments
 (0)