Created logging system ontology
Cleaned up reporting system ontology
Showing
2 changed files
with
181 additions
and
0 deletions
1 | +# baseURI: http://www.reportinghub.no/system/schema/logging | ||
2 | +# imports: http://purl.org/dc/terms/ | ||
3 | +# imports: http://rdfs.org/sioc/ns | ||
4 | +# imports: http://www.reportinghub.no/system/schema/reporting | ||
5 | + | ||
6 | +@prefix log: <http://www.reportinghub.no/system/schema/logging#> . | ||
7 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
8 | +@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 xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
11 | + | ||
12 | +<http://www.reportinghub.no/system/schema/logging> | ||
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> ; | ||
15 | + owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ||
16 | + | ||
17 | +log:FactPagesUpdateEvent | ||
18 | + rdf:type owl:Class ; | ||
19 | + rdfs:label "Fact pages update event"^^xsd:string ; | ||
20 | + rdfs:subClassOf log:LogEvent . | ||
21 | + | ||
22 | +log:LogEvent | ||
23 | + rdf:type owl:Class ; | ||
24 | + rdfs:label "Log event"^^xsd:string ; | ||
25 | + rdfs:subClassOf owl:Thing ; | ||
26 | + rdfs:subClassOf | ||
27 | + [ 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 ; | ||
34 | + owl:onProperty <http://purl.org/dc/terms/created> | ||
35 | + ] ; | ||
36 | + rdfs:subClassOf | ||
37 | + [ rdf:type owl:Restriction ; | ||
38 | + owl:cardinality "1"^^xsd:nonNegativeInteger ; | ||
39 | + owl:onProperty <http://rdfs.org/sioc/ns#id> | ||
40 | + ] ; | ||
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:cardinality "1"^^xsd:nonNegativeInteger ; | ||
49 | + owl:onProperty rdfs:comment | ||
50 | + ] . | ||
51 | + | ||
52 | +log:PasswordChangeEvent | ||
53 | + rdf:type owl:Class ; | ||
54 | + rdfs:label "Password change event"^^xsd:string ; | ||
55 | + rdfs:subClassOf log:LogEvent . | ||
56 | + | ||
57 | +log:QueryEvent | ||
58 | + rdf:type owl:Class ; | ||
59 | + rdfs:label "Query event"^^xsd:string ; | ||
60 | + rdfs:subClassOf log:LogEvent . | ||
61 | + | ||
62 | +log:ReportDownloadEvent | ||
63 | + rdf:type owl:Class ; | ||
64 | + rdfs:label "Report download event"^^xsd:string ; | ||
65 | + rdfs:subClassOf log:ReportEvent ; | ||
66 | + rdfs:subClassOf | ||
67 | + [ rdf:type owl:Restriction ; | ||
68 | + owl:cardinality "1"^^xsd:nonNegativeInteger ; | ||
69 | + owl:onProperty <http://www.reportinghub.no/system/schema/reporting#wellBoreId> | ||
70 | + ] ; | ||
71 | + rdfs:subClassOf | ||
72 | + [ rdf:type owl:Restriction ; | ||
73 | + owl:cardinality "1"^^xsd:nonNegativeInteger ; | ||
74 | + owl:onProperty <http://www.reportinghub.no/system/schema/reporting#format> | ||
75 | + ] . | ||
76 | + | ||
77 | +log:ReportEvent | ||
78 | + rdf:type owl:Class ; | ||
79 | + rdfs:label "Report event"^^xsd:string ; | ||
80 | + rdfs:subClassOf log:LogEvent . | ||
81 | + | ||
82 | +log:ReportUploadEvent | ||
83 | + rdf:type owl:Class ; | ||
84 | + rdfs:label "Report upload event"^^xsd:string ; | ||
85 | + rdfs:subClassOf log:ReportEvent . | ||
86 | + | ||
87 | +log:ReportValidationEvent | ||
88 | + rdf:type owl:Class ; | ||
89 | + rdfs:label "Report validation event"^^xsd:string ; | ||
90 | + rdfs:subClassOf log:ReportEvent . | ||
91 | + | ||
92 | +log:dateFrom | ||
93 | + rdf:type owl:DatatypeProperty ; | ||
94 | + rdfs:domain log:ReportDownloadEvent ; | ||
95 | + rdfs:label "date from"^^xsd:string ; | ||
96 | + rdfs:range xsd:date . | ||
97 | + | ||
98 | +log:dateTo | ||
99 | + rdf:type owl:DatatypeProperty ; | ||
100 | + rdfs:domain log:ReportDownloadEvent ; | ||
101 | + rdfs:label "date to"^^xsd:string ; | ||
102 | + rdfs:range xsd:date . | ||
103 | + | ||
104 | +log:initiatedBy | ||
105 | + rdf:type owl:DatatypeProperty ; | ||
106 | + rdfs:comment "The name of the user logged in."^^xsd:string ; | ||
107 | + rdfs:domain log:LogEvent ; | ||
108 | + rdfs:label "initiated by"^^xsd:string ; | ||
109 | + rdfs:range xsd:string . | ||
110 | + | ||
111 | +log:onBehalfOf | ||
112 | + rdf:type owl:DatatypeProperty ; | ||
113 | + rdfs:comment "The name of the company that the user has been logged in for."^^xsd:string ; | ||
114 | + rdfs:domain log:LogEvent ; | ||
115 | + rdfs:label "on behalf of"^^xsd:string ; | ||
116 | + rdfs:range xsd:string . | ||
117 | + | ||
118 | +log:outcome | ||
119 | + rdf:type owl:DatatypeProperty ; | ||
120 | + rdfs:domain log:LogEvent ; | ||
121 | + rdfs:label "outcome"^^xsd:string ; | ||
122 | + rdfs:range | ||
123 | + [ rdf:type rdfs:Datatype ; | ||
124 | + owl:oneOf ("success"^^xsd:string "user-error"^^xsd:string "server-error"^^xsd:string) | ||
125 | + ] . | ||
126 | + | ||
127 | +log:ownerId | ||
128 | + rdf:type owl:DatatypeProperty ; | ||
129 | + rdfs:comment "The NPD id of the BAA or Licence."^^xsd:string ; | ||
130 | + rdfs:domain log:ReportDownloadEvent ; | ||
131 | + rdfs:label "owner id"^^xsd:string ; | ||
132 | + rdfs:range xsd:string . | ||
133 | + | ||
134 | +log:reportType | ||
135 | + rdf:type owl:ObjectProperty ; | ||
136 | + rdfs:domain log:ReportEvent ; | ||
137 | + rdfs:label "report type"^^xsd:string ; | ||
138 | + rdfs:range rdfs:Class . | ||
139 | + | ||
140 | +log:url | ||
141 | + rdf:type owl:DatatypeProperty ; | ||
142 | + rdfs:comment "The URL of a query request."^^xsd:string ; | ||
143 | + rdfs:domain log:QueryEvent ; | ||
144 | + rdfs:label "url"^^xsd:string ; | ||
145 | + rdfs:range xsd:string . | ||
146 | + | ||
147 | +<http://www.reportinghub.no/system/schema/reporting#uploadedDocument> | ||
148 | + rdf:type owl:ObjectProperty ; | ||
149 | + rdfs:domain log:ReportUploadEvent ; | ||
150 | + rdfs:label "uploaded document"^^xsd:string . |
... | @@ -67,6 +67,37 @@ report:DPR | ... | @@ -67,6 +67,37 @@ report:DPR |
67 | owl:onProperty report:owner | 67 | owl:onProperty report:owner |
68 | ] . | 68 | ] . |
69 | 69 | ||
70 | +report:Format | ||
71 | + rdf:type owl:Class ; | ||
72 | + rdfs:label "Format"^^xsd:string ; | ||
73 | + rdfs:subClassOf owl:Thing . | ||
74 | + | ||
75 | +report:HTMLFormat | ||
76 | + rdf:type report:Format ; | ||
77 | + rdfs:label "HTMLFormat"^^xsd:string . | ||
78 | + | ||
79 | +report:PDFFormat | ||
80 | + rdf:type report:Format ; | ||
81 | + rdfs:label "PDFFormat"^^xsd:string . | ||
82 | + | ||
83 | +report:WDR | ||
84 | + rdf:type rdfs:Class ; | ||
85 | + rdfs:comment "Metadata about a Weekly Drilling Report"^^xsd:string ; | ||
86 | + rdfs:label "WDR"^^xsd:string ; | ||
87 | + rdfs:subClassOf foaf:Document . | ||
88 | + | ||
89 | +report:XMLFormat | ||
90 | + rdf:type report:Format ; | ||
91 | + rdfs:label "XMLFormat"^^xsd:string . | ||
92 | + | ||
93 | +report:ZipFormat | ||
94 | + rdf:type report:Format ; | ||
95 | + rdfs:label "Zip format"^^xsd:string . | ||
96 | + | ||
97 | +report:format | ||
98 | + rdf:type owl:ObjectProperty ; | ||
99 | + rdfs:label "format"^^xsd:string . | ||
100 | + | ||
70 | report:owner | 101 | report:owner |
71 | rdf:type owl:ObjectProperty ; | 102 | rdf:type owl:ObjectProperty ; |
72 | rdfs:label "owner"^^xsd:string ; | 103 | rdfs:label "owner"^^xsd:string ; | ... | ... |
-
Please register or login to post a comment