-
Notifications
You must be signed in to change notification settings - Fork 63
/
Copy pathtm.ttl
138 lines (108 loc) · 6.34 KB
/
tm.ttl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
@prefix : <https://www.w3.org/2019/wot/tm#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix td: <https://www.w3.org/2019/wot/td#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix hctl: <https://www.w3.org/2019/wot/hypermedia#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix vann: <http://purl.org/vocab/vann/> .
@prefix schema: <http://schema.org/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix tm: <https://www.w3.org/2019/wot/tm#> .
@base <https://www.w3.org/2019/wot/tm#> .
<https://www.w3.org/2019/wot/tm> rdf:type owl:Ontology ;
dc:title "Thing Model Ontology"@en ;
vann:preferredNamespacePrefix "tm" ;
vann:preferredNamespaceUri "https://www.w3.org/2019/wot/tm#" ;
owl:versionInfo "1.1.0" ;
rdfs:comment "This ontology aims to model the Web of Things Thing Model according to the W3C Working Group (https://www.w3.org/wot/)"@en ;
dcterms:license <http://purl.org/NET/rdflicense/cc-by4.0> ;
dcterms:contributor <https://vcharpenay.link/#me> ;
dcterms:author "Mahda Noura (Siemens)" ;
dcterms:author "Sebastian Kaebisch (Siemens)" ;
dcterms:description "This ontology describes Thing Model concepts"@en ;
dc:publisher [ a schema:Organization ; schema:name "W3C Web of Things Working Group"@en ;
schema:url <https://www.w3.org/WoT/WG/> ] .
dc:title rdf:type owl:AnnotationProperty .
vann:preferredNamespacePrefix rdf:type owl:AnnotationProperty .
vann:preferredNamespaceUri rdf:type owl:AnnotationProperty .
dcterms:description rdf:type owl:AnnotationProperty .
dcterms:license rdf:type owl:AnnotationProperty .
dcterms:contributor rdf:type owl:AnnotationProperty .
dcterms:author rdf:type owl:AnnotationProperty .
dcterms:license rdf:type owl:AnnotationProperty .
dc:publisher rdf:type owl:AnnotationProperty .
schema:name rdf:type owl:AnnotationProperty .
schema:url rdf:type owl:AnnotationProperty .
:versionInfo rdf:type owl:AnnotationProperty ;
rdfs:comment "Provides version information of the TM ontology."@en ;
rdfs:isDefinedBy tm: ;
rdfs:label "versionInfo"@en ;
rdfs:seeAlso schema:version .
td:hasInteractionAffordance rdf:type owl:ObjectProperty ;
rdfs:domain :ThingModel ;
rdfs:range td:InteractionAffordance ;
rdfs:comment "Offers an affordance to interact with the Thing"@en ;
rdfs:isDefinedBy td: ;
rdfs:label "hasInteractionAffordance"@en .
td:hasLink rdf:type owl:ObjectProperty ;
schema:domainIncludes :ThingModel ;
schema:rangeIncludes hctl:Link ;
rdfs:comment "Provides links to existing resources specified in a Thing Model to extend another Thing Model ."@en ;
rdfs:isDefinedBy td: ;
rdfs:label "hasLink"@en .
:hasVersion rdf:type owl:ObjectProperty ;
schema:domainIncludes :ThingModel ;
schema:rangeIncludes :Version ;
rdfs:comment "Provides the relation between a Thing Model and its version."@en ;
rdfs:isDefinedBy tm: ;
rdfs:label "hasVersion"@en .
td:description rdf:type owl:DatatypeProperty ;
rdfs:comment "Provides description of the Thing Model element."@en ;
rdfs:label "description"@en ;
schema:domainIncludes :ThingModel ;
schema:rangeIncludes schema:Text ;
rdfs:isDefinedBy td: .
:model rdf:type owl:DatatypeProperty ;
rdfs:label "model"@en ;
schema:domainIncludes :Version ;
schema:rangeIncludes schema:Text ;
rdfs:comment "Provides a version indicator of the underlying TM."@en ;
rdfs:isDefinedBy tm: .
:optional rdf:type owl:DatatypeProperty ;
schema:domainIncludes :ThingModel ;
schema:rangeIncludes schema:Text ;
rdfs:comment "Constraint that provides references to declarations in the Thing Model that are optional and do not necessarily need to be implemented when Thing Description instances are derived from this Thing Model. The value of tm:optional MUST provide JSON Pointer [RFC6901] references to the required interaction model definitions."@en ;
rdfs:label "optional"@en ;
rdfs:isDefinedBy tm: .
:ref rdf:type owl:DatatypeProperty ;
schema:domainIncludes td:InteractionAffordance ;
schema:rangeIncludes schema:Text ;
rdfs:comment "Provides a reference to an existing (external or local) definition that is copied into a newly defined definition. The reference value is based on three parts: an (optional) URI-reference (used for external reference), '#' sign, and JSON Pointer [RFC6901] value."@en ;
rdfs:label "ref"@en ;
rdfs:seeAlso schema:contactPoint ;
rdfs:isDefinedBy tm: .
:required rdf:type owl:DatatypeProperty ;
schema:domainIncludes :ThingModel ;
schema:rangeIncludes schema:Text ;
rdfs:comment "Constraint that provides references to declarations in the Thing Model that are mandatory and must be present when Thing Description instances are derived from this Thing Model. The reference value is a JSON Pointer [RFC6901]."@en ;
rdfs:label "required"@en ;
rdfs:isDefinedBy tm: .
td:title rdf:type owl:DatatypeProperty ;
rdfs:subPropertyOf dcterms:title ;
schema:domainIncludes :ThingModel ;
schema:rangeIncludes schema:Text ;
rdfs:comment "Provide the title of the Thing Model"@en ;
rdfs:isDefinedBy td: ;
rdfs:label "title"@en .
:ThingModel rdf:type owl:Class ;
rdfs:comment "A Thing Model is a description for a class of Things that have the same capabilities. It describes the Properties, Actions, and Events and common metadata that are shared for an entire group of Things. Compared to a Thing Description, a Thing Model does not contain enough information to identify or interact with a Thing instance."@en ;
rdfs:isDefinedBy tm: ;
rdfs:label "ThingModel"@en .
:Version rdf:type owl:Class ;
rdfs:comment "The Version is a container that provides versioning information for the Thing Model definition."@en ;
rdfs:isDefinedBy tm: ;
rdfs:label "Version"@en .