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