SCHEMA-logging.ttl
5.67 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
# 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://purl.org/dc/terms/> , <http://rdfs.org/sioc/ns> , <http://www.reportinghub.no/system/schema/reporting> ;
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:allValuesFrom xsd:string ;
owl:onProperty <http://rdfs.org/sioc/ns#id>
] ;
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:allValuesFrom xsd:dateTime ;
owl:onProperty <http://purl.org/dc/terms/created>
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty <http://purl.org/dc/terms/created>
] .
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#format>
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty <http://www.reportinghub.no/system/schema/reporting#wellBoreId>
] .
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 .
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 "initiated by"^^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 "on behalf of"^^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:reportType
rdf:type owl:ObjectProperty ;
rdfs:domain log:ReportEvent ;
rdfs:label "report type"^^xsd:string ;
rdfs:range rdfs:Class .
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:wellBoreName
rdf:type owl:DatatypeProperty ;
rdfs:comment "Points to one or more well bore names that had reports uploaded."^^xsd:string ;
rdfs:domain log:ReportUploadEvent ;
rdfs:label "well bore name"^^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:domain log:ReportUploadEvent ;
rdfs:label "xml"^^xsd:string ;
rdfs:range xsd:string .
<http://www.reportinghub.no/system/schema/reporting#uploadedDocument>
rdf:type owl:ObjectProperty ;
rdfs:domain log:ReportUploadEvent ;
rdfs:label "uploaded document"^^xsd:string .