-
Notifications
You must be signed in to change notification settings - Fork 1
/
temperatureSensor_datetime.owl
136 lines (80 loc) · 4.06 KB
/
temperatureSensor_datetime.owl
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
<?xml version="1.0"?>
<!DOCTYPE rdf:RDF [
<!ENTITY owl "http://www.w3.org/2002/07/owl#" >
<!ENTITY xsd "http://www.w3.org/2001/XMLSchema#" >
<!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#" >
<!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#" >
]>
<rdf:RDF xmlns="http://www.example.com/tempsensor#"
xml:base="http://www.example.com/tempsensor"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<owl:Ontology rdf:about="http://www.example.com/tempsensor"/>
<!--
///////////////////////////////////////////////////////////////////////////////////////
//
// Object Properties
//
///////////////////////////////////////////////////////////////////////////////////////
-->
<!-- http://www.example.com/tempsensor#locatedIn -->
<owl:ObjectProperty rdf:about="http://www.example.com/tempsensor#locatedIn">
<rdfs:comment>It relates sensor to its place of deployment</rdfs:comment>
<rdfs:range rdf:resource="http://www.example.com/tempsensor#Place"/>
<rdfs:domain rdf:resource="http://www.example.com/tempsensor#TempSensor"/>
</owl:ObjectProperty>
<!--
///////////////////////////////////////////////////////////////////////////////////////
//
// Data properties
//
///////////////////////////////////////////////////////////////////////////////////////
-->
<!-- http://www.example.com/tempsensor#hasUnit -->
<owl:DatatypeProperty rdf:about="http://www.example.com/tempsensor#hasUnit">
<rdfs:domain rdf:resource="http://www.example.com/tempsensor#TempSensor"/>
<rdfs:range rdf:resource="&xsd;string"/>
</owl:DatatypeProperty>
<!-- http://www.example.com/tempsensor#measures -->
<owl:DatatypeProperty rdf:about="http://www.example.com/tempsensor#measures">
<rdfs:comment>represents the temperature value</rdfs:comment>
<rdfs:domain rdf:resource="http://www.example.com/tempsensor#TempSensor"/>
<rdfs:range rdf:resource="&xsd;float"/>
</owl:DatatypeProperty>
<!-- http://www.example.com/tempsensor#onDate -->
<owl:DatatypeProperty rdf:about="http://www.example.com/tempsensor#onDate">
<rdfs:comment>date on which measurement was done</rdfs:comment>
<rdfs:domain rdf:resource="http://www.example.com/tempsensor#TempSensor"/>
<rdfs:range rdf:resource="&xsd;dateTime"/>
</owl:DatatypeProperty>
<!--
///////////////////////////////////////////////////////////////////////////////////////
//
// Classes
//
///////////////////////////////////////////////////////////////////////////////////////
-->
<!-- http://www.example.com/tempsensor#OnDate -->
<owl:Class rdf:about="http://www.example.com/tempsensor#OnDate">
<rdfs:comment>represents data on which readings were taken</rdfs:comment>
</owl:Class>
<!-- http://www.example.com/tempsensor#Place -->
<owl:Class rdf:about="http://www.example.com/tempsensor#Place">
<rdfs:comment>place from where measurements are taken</rdfs:comment>
</owl:Class>
<!-- http://www.example.com/tempsensor#TempSensor -->
<owl:Class rdf:about="http://www.example.com/tempsensor#TempSensor">
<rdfs:label>TempSensor</rdfs:label>
<rdfs:comment>Represents the sensor used for measurements</rdfs:comment>
<rdfs:comment rdf:resource="http://www.example.com/tempsensor"/>
</owl:Class>
<!-- http://www.example.com/tempsensor#Temperature -->
<owl:Class rdf:about="http://www.example.com/tempsensor#Temperature">
<rdfs:comment>this class represents different temperature measurements taken</rdfs:comment>
</owl:Class>
<!-- http://www.example.com/tempsensor#Unit -->
<owl:Class rdf:about="http://www.example.com/tempsensor#Unit"/>
</rdf:RDF>
<!-- Generated by the OWL API (version 3.5.0) http://owlapi.sourceforge.net -->