Showing
1 changed file
with
90 additions
and
93 deletions
... | @@ -3,206 +3,203 @@ | ... | @@ -3,206 +3,203 @@ |
3 | # imports: http://rdfs.org/sioc/ns | 3 | # imports: http://rdfs.org/sioc/ns |
4 | # imports: http://www.reportinghub.no/system/schema/reporting | 4 | # imports: http://www.reportinghub.no/system/schema/reporting |
5 | 5 | ||
6 | -# c14n-version: 3 | ||
7 | @prefix log: <http://www.reportinghub.no/system/schema/logging#> . | 6 | @prefix log: <http://www.reportinghub.no/system/schema/logging#> . |
8 | @prefix owl: <http://www.w3.org/2002/07/owl#> . | 7 | @prefix owl: <http://www.w3.org/2002/07/owl#> . |
9 | @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | 8 | @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . |
10 | @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | 9 | @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
11 | @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | 10 | @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . |
11 | + | ||
12 | <http://www.reportinghub.no/system/schema/logging> | 12 | <http://www.reportinghub.no/system/schema/logging> |
13 | rdf:type owl:Ontology ; | 13 | rdf:type owl:Ontology ; |
14 | - owl:imports <http://purl.org/dc/terms/> ; | 14 | + owl:imports <http://www.reportinghub.no/system/schema/reporting> , <http://rdfs.org/sioc/ns> , <http://purl.org/dc/terms/> ; |
15 | - owl:imports <http://rdfs.org/sioc/ns> ; | 15 | + owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
16 | - owl:imports <http://www.reportinghub.no/system/schema/reporting> ; | 16 | + |
17 | - owl:versionInfo "Created with TopBraid Composer"^^xsd:string ; | ||
18 | -. | ||
19 | log:FactPagesUpdateEvent | 17 | log:FactPagesUpdateEvent |
20 | rdf:type owl:Class ; | 18 | rdf:type owl:Class ; |
21 | rdfs:label "Fact pages update event"^^xsd:string ; | 19 | rdfs:label "Fact pages update event"^^xsd:string ; |
22 | - rdfs:subClassOf log:LogEvent ; | 20 | + rdfs:subClassOf log:LogEvent . |
23 | -. | 21 | + |
24 | log:LogEvent | 22 | log:LogEvent |
25 | rdf:type owl:Class ; | 23 | rdf:type owl:Class ; |
26 | rdfs:label "Log event"^^xsd:string ; | 24 | rdfs:label "Log event"^^xsd:string ; |
27 | rdfs:subClassOf owl:Thing ; | 25 | rdfs:subClassOf owl:Thing ; |
28 | - rdfs:subClassOf [ | 26 | + rdfs:subClassOf |
29 | - rdf:type owl:Restriction ; | 27 | + [ rdf:type owl:Restriction ; |
30 | - owl:allValuesFrom xsd:dateTime ; | ||
31 | - owl:onProperty <http://purl.org/dc/terms/created> ; | ||
32 | - ] ; | ||
33 | - rdfs:subClassOf [ | ||
34 | - rdf:type owl:Restriction ; | ||
35 | - owl:allValuesFrom xsd:string ; | ||
36 | - owl:onProperty <http://rdfs.org/sioc/ns#id> ; | ||
37 | - ] ; | ||
38 | - rdfs:subClassOf [ | ||
39 | - rdf:type owl:Restriction ; | ||
40 | owl:cardinality "1"^^xsd:nonNegativeInteger ; | 28 | owl:cardinality "1"^^xsd:nonNegativeInteger ; |
41 | - owl:onProperty <http://purl.org/dc/terms/created> ; | 29 | + owl:onProperty rdfs:comment |
42 | ] ; | 30 | ] ; |
43 | - rdfs:subClassOf [ | 31 | + rdfs:subClassOf |
44 | - rdf:type owl:Restriction ; | 32 | + [ rdf:type owl:Restriction ; |
45 | owl:cardinality "1"^^xsd:nonNegativeInteger ; | 33 | owl:cardinality "1"^^xsd:nonNegativeInteger ; |
46 | - owl:onProperty <http://rdfs.org/sioc/ns#id> ; | 34 | + owl:onProperty <http://rdfs.org/sioc/ns#id> |
47 | ] ; | 35 | ] ; |
48 | - rdfs:subClassOf [ | 36 | + rdfs:subClassOf |
49 | - rdf:type owl:Restriction ; | 37 | + [ rdf:type owl:Restriction ; |
50 | owl:cardinality "1"^^xsd:nonNegativeInteger ; | 38 | owl:cardinality "1"^^xsd:nonNegativeInteger ; |
51 | - owl:onProperty rdfs:comment ; | 39 | + owl:onProperty <http://purl.org/dc/terms/created> |
52 | ] ; | 40 | ] ; |
53 | -. | 41 | + rdfs:subClassOf |
42 | + [ rdf:type owl:Restriction ; | ||
43 | + owl:allValuesFrom xsd:string ; | ||
44 | + owl:onProperty <http://rdfs.org/sioc/ns#id> | ||
45 | + ] ; | ||
46 | + rdfs:subClassOf | ||
47 | + [ rdf:type owl:Restriction ; | ||
48 | + owl:allValuesFrom xsd:dateTime ; | ||
49 | + owl:onProperty <http://purl.org/dc/terms/created> | ||
50 | + ] . | ||
51 | + | ||
54 | log:NPDUploadEvent | 52 | log:NPDUploadEvent |
55 | rdf:type owl:Class ; | 53 | rdf:type owl:Class ; |
56 | rdfs:comment "Represents the fact that a given XML file has been submitted to NPD."^^xsd:string ; | 54 | rdfs:comment "Represents the fact that a given XML file has been submitted to NPD."^^xsd:string ; |
57 | rdfs:label "NPDUpload event"^^xsd:string ; | 55 | rdfs:label "NPDUpload event"^^xsd:string ; |
58 | rdfs:subClassOf log:ReportEvent ; | 56 | rdfs:subClassOf log:ReportEvent ; |
59 | - rdfs:subClassOf [ | 57 | + rdfs:subClassOf |
60 | - rdf:type owl:Restriction ; | 58 | + [ rdf:type owl:Restriction ; |
61 | owl:cardinality "1"^^xsd:nonNegativeInteger ; | 59 | owl:cardinality "1"^^xsd:nonNegativeInteger ; |
62 | - owl:onProperty log:xml ; | 60 | + owl:onProperty log:xml |
63 | - ] ; | 61 | + ] . |
64 | -. | 62 | + |
65 | log:PasswordChangeEvent | 63 | log:PasswordChangeEvent |
66 | rdf:type owl:Class ; | 64 | rdf:type owl:Class ; |
67 | rdfs:label "Password change event"^^xsd:string ; | 65 | rdfs:label "Password change event"^^xsd:string ; |
68 | - rdfs:subClassOf log:LogEvent ; | 66 | + rdfs:subClassOf log:LogEvent . |
69 | -. | 67 | + |
70 | log:QueryEvent | 68 | log:QueryEvent |
71 | rdf:type owl:Class ; | 69 | rdf:type owl:Class ; |
72 | rdfs:label "Query event"^^xsd:string ; | 70 | rdfs:label "Query event"^^xsd:string ; |
73 | - rdfs:subClassOf log:LogEvent ; | 71 | + rdfs:subClassOf log:LogEvent . |
74 | -. | 72 | + |
75 | log:ReportDownloadEvent | 73 | log:ReportDownloadEvent |
76 | rdf:type owl:Class ; | 74 | rdf:type owl:Class ; |
77 | rdfs:label "Report download event"^^xsd:string ; | 75 | rdfs:label "Report download event"^^xsd:string ; |
78 | rdfs:subClassOf log:ReportEvent ; | 76 | rdfs:subClassOf log:ReportEvent ; |
79 | - rdfs:subClassOf [ | 77 | + rdfs:subClassOf |
80 | - rdf:type owl:Restriction ; | 78 | + [ rdf:type owl:Restriction ; |
81 | owl:cardinality "1"^^xsd:nonNegativeInteger ; | 79 | owl:cardinality "1"^^xsd:nonNegativeInteger ; |
82 | - owl:onProperty <http://www.reportinghub.no/system/schema/reporting#format> ; | 80 | + owl:onProperty <http://www.reportinghub.no/system/schema/reporting#wellBoreId> |
83 | ] ; | 81 | ] ; |
84 | - rdfs:subClassOf [ | 82 | + rdfs:subClassOf |
85 | - rdf:type owl:Restriction ; | 83 | + [ rdf:type owl:Restriction ; |
86 | owl:cardinality "1"^^xsd:nonNegativeInteger ; | 84 | owl:cardinality "1"^^xsd:nonNegativeInteger ; |
87 | - owl:onProperty <http://www.reportinghub.no/system/schema/reporting#wellBoreId> ; | 85 | + owl:onProperty <http://www.reportinghub.no/system/schema/reporting#format> |
88 | - ] ; | 86 | + ] . |
89 | -. | 87 | + |
88 | +log:ReportDownloadTriplesEvent | ||
89 | + rdf:type owl:Class ; | ||
90 | + rdfs:subClassOf log:ReportDownloadEvent . | ||
91 | + | ||
90 | log:ReportEvent | 92 | log:ReportEvent |
91 | rdf:type owl:Class ; | 93 | rdf:type owl:Class ; |
92 | rdfs:label "Report event"^^xsd:string ; | 94 | rdfs:label "Report event"^^xsd:string ; |
93 | - rdfs:subClassOf log:LogEvent ; | 95 | + rdfs:subClassOf log:LogEvent . |
94 | -. | 96 | + |
95 | log:ReportUploadEvent | 97 | log:ReportUploadEvent |
96 | rdf:type owl:Class ; | 98 | rdf:type owl:Class ; |
97 | rdfs:label "Report upload event"^^xsd:string ; | 99 | rdfs:label "Report upload event"^^xsd:string ; |
98 | rdfs:subClassOf log:ReportEvent ; | 100 | rdfs:subClassOf log:ReportEvent ; |
99 | - rdfs:subClassOf [ | 101 | + rdfs:subClassOf |
100 | - rdf:type owl:Restriction ; | 102 | + [ rdf:type owl:Restriction ; |
101 | - owl:cardinality "1"^^xsd:nonNegativeInteger ; | ||
102 | - owl:onProperty log:xml ; | ||
103 | - ] ; | ||
104 | - rdfs:subClassOf [ | ||
105 | - rdf:type owl:Restriction ; | ||
106 | owl:minCardinality "0"^^xsd:nonNegativeInteger ; | 103 | owl:minCardinality "0"^^xsd:nonNegativeInteger ; |
107 | - owl:onProperty <http://www.reportinghub.no/system/schema/reporting#format> ; | 104 | + owl:onProperty <http://www.reportinghub.no/system/schema/reporting#format> |
108 | ] ; | 105 | ] ; |
109 | -. | 106 | + rdfs:subClassOf |
107 | + [ rdf:type owl:Restriction ; | ||
108 | + owl:cardinality "1"^^xsd:nonNegativeInteger ; | ||
109 | + owl:onProperty log:xml | ||
110 | + ] . | ||
111 | + | ||
110 | log:ReportValidationEvent | 112 | log:ReportValidationEvent |
111 | rdf:type owl:Class ; | 113 | rdf:type owl:Class ; |
112 | rdfs:label "Report validation event"^^xsd:string ; | 114 | rdfs:label "Report validation event"^^xsd:string ; |
113 | - rdfs:subClassOf log:ReportEvent ; | 115 | + rdfs:subClassOf log:ReportEvent . |
114 | -. | 116 | + |
115 | log:dateFrom | 117 | log:dateFrom |
116 | rdf:type owl:DatatypeProperty ; | 118 | rdf:type owl:DatatypeProperty ; |
117 | rdfs:domain log:ReportDownloadEvent ; | 119 | rdfs:domain log:ReportDownloadEvent ; |
118 | rdfs:label "date from"^^xsd:string ; | 120 | rdfs:label "date from"^^xsd:string ; |
119 | - rdfs:range xsd:date ; | 121 | + rdfs:range xsd:date . |
120 | -. | 122 | + |
121 | log:dateTo | 123 | log:dateTo |
122 | rdf:type owl:DatatypeProperty ; | 124 | rdf:type owl:DatatypeProperty ; |
123 | rdfs:domain log:ReportDownloadEvent ; | 125 | rdfs:domain log:ReportDownloadEvent ; |
124 | rdfs:label "date to"^^xsd:string ; | 126 | rdfs:label "date to"^^xsd:string ; |
125 | - rdfs:range xsd:date ; | 127 | + rdfs:range xsd:date . |
126 | -. | 128 | + |
127 | log:initiatedBy | 129 | log:initiatedBy |
128 | rdf:type owl:DatatypeProperty ; | 130 | rdf:type owl:DatatypeProperty ; |
129 | rdfs:comment "The name of the user logged in."^^xsd:string ; | 131 | rdfs:comment "The name of the user logged in."^^xsd:string ; |
130 | rdfs:domain log:LogEvent ; | 132 | rdfs:domain log:LogEvent ; |
131 | rdfs:label "user"^^xsd:string ; | 133 | rdfs:label "user"^^xsd:string ; |
132 | - rdfs:range xsd:string ; | 134 | + rdfs:range xsd:string . |
133 | -. | 135 | + |
134 | log:npdEntityName | 136 | log:npdEntityName |
135 | rdf:type owl:DatatypeProperty ; | 137 | rdf:type owl:DatatypeProperty ; |
136 | rdfs:comment "Points to a well bore or field name that had the report uploaded."^^xsd:string ; | 138 | rdfs:comment "Points to a well bore or field name that had the report uploaded."^^xsd:string ; |
137 | rdfs:domain log:ReportUploadEvent ; | 139 | rdfs:domain log:ReportUploadEvent ; |
138 | rdfs:label "NPD entity name"^^xsd:string ; | 140 | rdfs:label "NPD entity name"^^xsd:string ; |
139 | - rdfs:range xsd:string ; | 141 | + rdfs:range xsd:string . |
140 | -. | 142 | + |
141 | log:onBehalfOf | 143 | log:onBehalfOf |
142 | rdf:type owl:DatatypeProperty ; | 144 | rdf:type owl:DatatypeProperty ; |
143 | rdfs:comment "The name of the company that the user has been logged in for."^^xsd:string ; | 145 | rdfs:comment "The name of the company that the user has been logged in for."^^xsd:string ; |
144 | rdfs:domain log:LogEvent ; | 146 | rdfs:domain log:LogEvent ; |
145 | rdfs:label "company"^^xsd:string ; | 147 | rdfs:label "company"^^xsd:string ; |
146 | - rdfs:range xsd:string ; | 148 | + rdfs:range xsd:string . |
147 | -. | 149 | + |
148 | log:outcome | 150 | log:outcome |
149 | rdf:type owl:DatatypeProperty ; | 151 | rdf:type owl:DatatypeProperty ; |
150 | rdfs:domain log:LogEvent ; | 152 | rdfs:domain log:LogEvent ; |
151 | rdfs:label "outcome"^^xsd:string ; | 153 | rdfs:label "outcome"^^xsd:string ; |
152 | - rdfs:range [ | 154 | + rdfs:range |
153 | - rdf:type rdfs:Datatype ; | 155 | + [ rdf:type rdfs:Datatype ; |
154 | - owl:oneOf ( | 156 | + owl:oneOf ("success"^^xsd:string "user-error"^^xsd:string "server-error"^^xsd:string) |
155 | - "success"^^xsd:string | 157 | + ] . |
156 | - "user-error"^^xsd:string | 158 | + |
157 | - "server-error"^^xsd:string | ||
158 | - ) ; | ||
159 | - ] ; | ||
160 | -. | ||
161 | log:ownerId | 159 | log:ownerId |
162 | rdf:type owl:DatatypeProperty ; | 160 | rdf:type owl:DatatypeProperty ; |
163 | rdfs:comment "The NPD id of the BAA or Licence."^^xsd:string ; | 161 | rdfs:comment "The NPD id of the BAA or Licence."^^xsd:string ; |
164 | rdfs:domain log:ReportDownloadEvent ; | 162 | rdfs:domain log:ReportDownloadEvent ; |
165 | rdfs:label "owner id"^^xsd:string ; | 163 | rdfs:label "owner id"^^xsd:string ; |
166 | - rdfs:range xsd:string ; | 164 | + rdfs:range xsd:string . |
167 | -. | 165 | + |
168 | log:processingTime | 166 | log:processingTime |
169 | rdf:type owl:DatatypeProperty ; | 167 | rdf:type owl:DatatypeProperty ; |
170 | rdfs:comment "Number of milliseconds that a request took."^^xsd:string ; | 168 | rdfs:comment "Number of milliseconds that a request took."^^xsd:string ; |
171 | rdfs:domain log:ReportEvent ; | 169 | rdfs:domain log:ReportEvent ; |
172 | rdfs:label "processing time (ms)"^^xsd:string ; | 170 | rdfs:label "processing time (ms)"^^xsd:string ; |
173 | - rdfs:range xsd:integer ; | 171 | + rdfs:range xsd:integer . |
174 | -. | 172 | + |
175 | log:reportType | 173 | log:reportType |
176 | rdf:type owl:ObjectProperty ; | 174 | rdf:type owl:ObjectProperty ; |
177 | rdfs:domain log:ReportEvent ; | 175 | rdfs:domain log:ReportEvent ; |
178 | rdfs:label "report type"^^xsd:string ; | 176 | rdfs:label "report type"^^xsd:string ; |
179 | - rdfs:range <http://www.reportinghub.no/system/schema/reporting#ReportClass> ; | 177 | + rdfs:range <http://www.reportinghub.no/system/schema/reporting#ReportClass> . |
180 | -. | 178 | + |
181 | log:reportingPeriodStart | 179 | log:reportingPeriodStart |
182 | rdf:type owl:DatatypeProperty ; | 180 | rdf:type owl:DatatypeProperty ; |
183 | rdfs:comment "The start date of the reporting period in the report."^^xsd:string ; | 181 | rdfs:comment "The start date of the reporting period in the report."^^xsd:string ; |
184 | rdfs:domain log:ReportUploadEvent ; | 182 | rdfs:domain log:ReportUploadEvent ; |
185 | rdfs:label "reporting period start"^^xsd:string ; | 183 | rdfs:label "reporting period start"^^xsd:string ; |
186 | - rdfs:range xsd:date ; | 184 | + rdfs:range xsd:date . |
187 | -. | 185 | + |
188 | log:url | 186 | log:url |
189 | rdf:type owl:DatatypeProperty ; | 187 | rdf:type owl:DatatypeProperty ; |
190 | rdfs:comment "The URL of a query request."^^xsd:string ; | 188 | rdfs:comment "The URL of a query request."^^xsd:string ; |
191 | rdfs:domain log:QueryEvent ; | 189 | rdfs:domain log:QueryEvent ; |
192 | rdfs:label "url"^^xsd:string ; | 190 | rdfs:label "url"^^xsd:string ; |
193 | - rdfs:range xsd:string ; | 191 | + rdfs:range xsd:string . |
194 | -. | 192 | + |
195 | log:xml | 193 | log:xml |
196 | rdf:type owl:DatatypeProperty ; | 194 | rdf:type owl:DatatypeProperty ; |
197 | rdfs:comment "The complete source of the submitted XML document."^^xsd:string ; | 195 | rdfs:comment "The complete source of the submitted XML document."^^xsd:string ; |
198 | rdfs:label "xml"^^xsd:string ; | 196 | rdfs:label "xml"^^xsd:string ; |
199 | - rdfs:range xsd:string ; | 197 | + rdfs:range xsd:string . |
200 | -. | 198 | + |
201 | <http://www.reportinghub.no/system/schema/reporting#format> | 199 | <http://www.reportinghub.no/system/schema/reporting#format> |
202 | - rdfs:range <http://www.reportinghub.no/system/schema/reporting#Format> ; | 200 | + rdfs:range <http://www.reportinghub.no/system/schema/reporting#Format> . |
203 | -. | 201 | + |
204 | <http://www.reportinghub.no/system/schema/reporting#uploadedDocument> | 202 | <http://www.reportinghub.no/system/schema/reporting#uploadedDocument> |
205 | rdf:type owl:ObjectProperty ; | 203 | rdf:type owl:ObjectProperty ; |
206 | rdfs:domain log:ReportUploadEvent ; | 204 | rdfs:domain log:ReportUploadEvent ; |
207 | - rdfs:label "uploaded document"^^xsd:string ; | 205 | + rdfs:label "uploaded document"^^xsd:string . |
208 | -. | ... | ... |
-
Please register or login to post a comment