SCHEMA-logging.ttl
7.26 KB
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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
# baseURI: http://www.reportinghub.no/system/schema/logging
# imports: http://purl.org/dc/terms/
# imports: http://rdfs.org/sioc/ns
# imports: http://www.reportinghub.no/system/schema/reporting
@prefix log: <http://www.reportinghub.no/system/schema/logging#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/system/schema/logging>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/system/schema/reporting> , <http://rdfs.org/sioc/ns> , <http://purl.org/dc/terms/> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
log:FactPagesUpdateEvent
rdf:type owl:Class ;
rdfs:label "Fact pages update event"^^xsd:string ;
rdfs:subClassOf log:LogEvent .
log:LogEvent
rdf:type owl:Class ;
rdfs:label "Log event"^^xsd:string ;
rdfs:subClassOf owl:Thing ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty rdfs:comment
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty <http://rdfs.org/sioc/ns#id>
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty <http://purl.org/dc/terms/created>
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom xsd:string ;
owl:onProperty <http://rdfs.org/sioc/ns#id>
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom xsd:dateTime ;
owl:onProperty <http://purl.org/dc/terms/created>
] .
log:NPDUploadEvent
rdf:type owl:Class ;
rdfs:comment "Represents the fact that a given XML file has been submitted to NPD."^^xsd:string ;
rdfs:label "NPDUpload event"^^xsd:string ;
rdfs:subClassOf log:ReportEvent ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty log:xml
] .
log:PasswordChangeEvent
rdf:type owl:Class ;
rdfs:label "Password change event"^^xsd:string ;
rdfs:subClassOf log:LogEvent .
log:QueryEvent
rdf:type owl:Class ;
rdfs:label "Query event"^^xsd:string ;
rdfs:subClassOf log:LogEvent .
log:ReportDownloadEvent
rdf:type owl:Class ;
rdfs:label "Report download event"^^xsd:string ;
rdfs:subClassOf log:ReportEvent ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty <http://www.reportinghub.no/system/schema/reporting#wellBoreId>
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty <http://www.reportinghub.no/system/schema/reporting#format>
] .
log:ReportDownloadTriplesEvent
rdf:type owl:Class ;
rdfs:subClassOf log:ReportDownloadEvent .
log:ReportEvent
rdf:type owl:Class ;
rdfs:label "Report event"^^xsd:string ;
rdfs:subClassOf log:LogEvent .
log:ReportUploadEvent
rdf:type owl:Class ;
rdfs:label "Report upload event"^^xsd:string ;
rdfs:subClassOf log:ReportEvent ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:minCardinality "0"^^xsd:nonNegativeInteger ;
owl:onProperty <http://www.reportinghub.no/system/schema/reporting#format>
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty log:xml
] .
log:ReportValidationEvent
rdf:type owl:Class ;
rdfs:label "Report validation event"^^xsd:string ;
rdfs:subClassOf log:ReportEvent .
log:dateFrom
rdf:type owl:DatatypeProperty ;
rdfs:domain log:ReportDownloadEvent ;
rdfs:label "date from"^^xsd:string ;
rdfs:range xsd:date .
log:dateTo
rdf:type owl:DatatypeProperty ;
rdfs:domain log:ReportDownloadEvent ;
rdfs:label "date to"^^xsd:string ;
rdfs:range xsd:date .
log:initiatedBy
rdf:type owl:DatatypeProperty ;
rdfs:comment "The name of the user logged in."^^xsd:string ;
rdfs:domain log:LogEvent ;
rdfs:label "user"^^xsd:string ;
rdfs:range xsd:string .
log:npdEntityName
rdf:type owl:DatatypeProperty ;
rdfs:comment "Points to a well bore or field name that had the report uploaded."^^xsd:string ;
rdfs:domain log:ReportUploadEvent ;
rdfs:label "NPD entity name"^^xsd:string ;
rdfs:range xsd:string .
log:onBehalfOf
rdf:type owl:DatatypeProperty ;
rdfs:comment "The name of the company that the user has been logged in for."^^xsd:string ;
rdfs:domain log:LogEvent ;
rdfs:label "company"^^xsd:string ;
rdfs:range xsd:string .
log:outcome
rdf:type owl:DatatypeProperty ;
rdfs:domain log:LogEvent ;
rdfs:label "outcome"^^xsd:string ;
rdfs:range
[ rdf:type rdfs:Datatype ;
owl:oneOf ("success"^^xsd:string "user-error"^^xsd:string "server-error"^^xsd:string)
] .
log:ownerId
rdf:type owl:DatatypeProperty ;
rdfs:comment "The NPD id of the BAA or Licence."^^xsd:string ;
rdfs:domain log:ReportDownloadEvent ;
rdfs:label "owner id"^^xsd:string ;
rdfs:range xsd:string .
log:processingTime
rdf:type owl:DatatypeProperty ;
rdfs:comment "Number of milliseconds that a request took."^^xsd:string ;
rdfs:domain log:ReportEvent ;
rdfs:label "processing time (ms)"^^xsd:string ;
rdfs:range xsd:integer .
log:reportType
rdf:type owl:ObjectProperty ;
rdfs:domain log:ReportEvent ;
rdfs:label "report type"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/system/schema/reporting#ReportClass> .
log:reportingPeriodStart
rdf:type owl:DatatypeProperty ;
rdfs:comment "The start date of the reporting period in the report."^^xsd:string ;
rdfs:domain log:ReportUploadEvent ;
rdfs:label "reporting period start"^^xsd:string ;
rdfs:range xsd:date .
log:url
rdf:type owl:DatatypeProperty ;
rdfs:comment "The URL of a query request."^^xsd:string ;
rdfs:domain log:QueryEvent ;
rdfs:label "url"^^xsd:string ;
rdfs:range xsd:string .
log:xml
rdf:type owl:DatatypeProperty ;
rdfs:comment "The complete source of the submitted XML document."^^xsd:string ;
rdfs:label "xml"^^xsd:string ;
rdfs:range xsd:string .
<http://www.reportinghub.no/system/schema/reporting#format>
rdfs:range <http://www.reportinghub.no/system/schema/reporting#Format> .
<http://www.reportinghub.no/system/schema/reporting#uploadedDocument>
rdf:type owl:ObjectProperty ;
rdfs:domain log:ReportUploadEvent ;
rdfs:label "uploaded document"^^xsd:string .