-
Notifications
You must be signed in to change notification settings - Fork 0
/
onto_pw
141 lines (125 loc) · 5.64 KB
/
onto_pw
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
138
139
140
141
<!-- Martinez-Gil, J., Buchgeher, G., Gabauer, D., Freudenthaler, B., Filipiak, D., & Fensel, A. (2022). Root cause analysis in the industrial domain using knowledge graphs: A case study on power transformers. Procedia Computer Science, 200, 944-953. -->
<?xml version="1.0"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xml:base="http://test.org/onto-pw"
xmlns="http://test.org/onto-pw#"
xmlns:swrl="http://www.w3.org/2003/11/swrl#">
<owl:Ontology rdf:about="http://test.org/onto-pw"/>
<owl:ObjectProperty rdf:about="#is">
<rdfs:label>is</rdfs:label>
</owl:ObjectProperty>
<!-- Specific object properties for various relationships -->
<owl:ObjectProperty rdf:about="#relatesWaterContentToMeasurement">
<rdfs:domain rdf:resource="#Water_content"/>
<rdfs:range rdf:resource="#Measurement"/>
<rdfs:label>relates water content to measurement</rdfs:label>
</owl:ObjectProperty>
<!-- Assuming you have a DatatypeProperty for water level -->
<owl:DatatypeProperty rdf:about="#hasWaterLevel">
<rdfs:domain rdf:resource="#Water_content"/>
<rdfs:range rdf:resource="http://www.w3.org/2001/XMLSchema#integer"/>
</owl:DatatypeProperty>
<!-- Additional object properties follow a similar pattern -->
<!-- Class definitions for Transformer and its properties -->
<owl:Class rdf:about="#Transformer">
<rdfs:subClassOf rdf:resource="http://www.w3.org/2002/07/owl#Thing"/>
</owl:Class>
<owl:Class rdf:about="#Gas">
<rdfs:subClassOf rdf:resource="#Transformer"/>
</owl:Class>
<!-- Properties as subclasses of Transformer -->
<owl:Class rdf:about="#DBDS">
<rdfs:subClassOf rdf:resource="#Transformer"/>
</owl:Class>
<owl:Class rdf:about="#Power_factor">
<rdfs:subClassOf rdf:resource="#Transformer"/>
</owl:Class>
<owl:Class rdf:about="#Interfacial_V">
<rdfs:subClassOf rdf:resource="#Transformer"/>
</owl:Class>
<owl:Class rdf:about="#Dielectric_rigidity">
<rdfs:subClassOf rdf:resource="#Transformer"/>
</owl:Class>
<owl:Class rdf:about="#Water_content">
<rdfs:subClassOf rdf:resource="#Transformer"/>
</owl:Class>
<owl:Class rdf:about="#Health_index">
<rdfs:subClassOf rdf:resource="#Transformer"/>
</owl:Class>
<owl:Class rdf:about="#Life_expectation">
<rdfs:subClassOf rdf:resource="#Transformer"/>
</owl:Class>
<!-- General classes like Property, Estimation, Measurement -->
<owl:Class rdf:about="#Property">
<rdfs:subClassOf rdf:resource="http://www.w3.org/2002/07/owl#Thing"/>
</owl:Class>
<owl:Class rdf:about="#Estimation">
<rdfs:subClassOf rdf:resource="http://www.w3.org/2002/07/owl#Thing"/>
</owl:Class>
<owl:Class rdf:about="#Measurement">
<rdfs:subClassOf rdf:resource="http://www.w3.org/2002/07/owl#Thing"/>
</owl:Class>
<!-- Gas types as subclasses of Gas -->
<owl:Class rdf:about="#Hydrogen">
<rdfs:subClassOf rdf:resource="#Gas"/>
</owl:Class>
<owl:Class rdf:about="#Oxygen">
<rdfs:subClassOf rdf:resource="#Gas"/>
</owl:Class>
<owl:Class rdf:about="#Nitrogen">
<rdfs:subClassOf rdf:resource="#Gas"/>
</owl:Class>
<owl:Class rdf:about="#Methane">
<rdfs:subClassOf rdf:resource="#Gas"/>
</owl:Class>
<owl:Class rdf:about="#CO">
<rdfs:subClassOf rdf:resource="#Gas"/>
</owl:Class>
<owl:Class rdf:about="#CO2">
<rdfs:subClassOf rdf:resource="#Gas"/>
</owl:Class>
<owl:Class rdf:about="#Ethylene">
<rdfs:subClassOf rdf:resource="#Gas"/>
</owl:Class>
<owl:Class rdf:about="#Ethane">
<rdfs:subClassOf rdf:resource="#Gas"/>
</owl:Class>
<owl:Class rdf:about="#Acetylene">
<rdfs:subClassOf rdf:resource="#Gas"/>
</owl:Class>
<!-- AllDifferent declaration to distinguish certain classes -->
<owl:AllDifferent>
<owl:distinctMembers rdf:parseType="Collection">
<rdf:Description rdf:about="#DBDS"/>
<rdf:Description rdf:about="#Power_factor"/>
<rdf:Description rdf:about="#Interfacial_V"/>
<rdf:Description rdf:about="#Dielectric_rigidity"/>
<!-- Additional distinct members can be added here -->
</owl:distinctMembers>
</owl:AllDifferent>
<!-- Instance PW101 which is a Transformer with water level 105 -->
<owl:NamedIndividual rdf:about="#PW101">
<rdf:type rdf:resource="#Transformer"/>
<!-- Assuming you have an object property that links Transformer to Water_content -->
<relatesToWaterContent rdf:resource="#WaterContent_PW101"/>
</owl:NamedIndividual>
<!-- Water content associated with PW101 -->
<owl:NamedIndividual rdf:about="#WaterContent_PW101">
<rdf:type rdf:resource="#Water_content"/>
<hasWaterLevel rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">105</hasWaterLevel>
</owl:NamedIndividual>
<!-- Instance PW102 which is a Transformer with water level 56 -->
<owl:NamedIndividual rdf:about="#PW102">
<rdf:type rdf:resource="#Transformer"/>
<!-- Assuming you have an object property that links Transformer to Water_content -->
<relatesToWaterContent rdf:resource="#WaterContent_PW102"/>
</owl:NamedIndividual>
<!-- Water content associated with PW102 -->
<owl:NamedIndividual rdf:about="#WaterContent_PW102">
<rdf:type rdf:resource="#Water_content"/>
<hasWaterLevel rdf:datatype="http://www.w3.org/2001/XMLSchema#integer">56</hasWaterLevel>
</owl:NamedIndividual>
</rdf:RDF>