SCHEMA-reporting.ttl
5.82 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
# baseURI: http://www.reportinghub.no/system/schema/reporting
# imports: http://purl.org/dc/terms/
# imports: http://www.reportinghub.no/np/schema/1.0/npd
# c14n-version: 3
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@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 report: <http://www.reportinghub.no/system/schema/reporting#> .
@prefix sioc: <http://rdfs.org/sioc/ns#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
sioc:id
rdf:type owl:DatatypeProperty ;
rdfs:label "id"^^xsd:string ;
.
<http://www.reportinghub.no/system/schema/reporting>
rdf:type owl:Ontology ;
rdfs:comment "The schema of metadata kept by the ReportingHub system to keep track of submitted reports. The starting point is the class foaf:Document."^^xsd:string ;
owl:imports <http://purl.org/dc/terms/> ;
owl:imports <http://www.reportinghub.no/np/schema/1.0/npd> ;
owl:versionInfo "0.2.0"^^xsd:string ;
.
report:AbstractDR
rdf:type report:ReportClass ;
rdfs:comment "Abstract base class for various types of daily reports."^^xsd:string ;
rdfs:label "Daily report"^^xsd:string ;
rdfs:subClassOf report:AbstractReport ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:allValuesFrom xsd:date ;
owl:onProperty <http://purl.org/dc/terms/date> ;
] ;
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:allValuesFrom xsd:string ;
owl:onProperty sioc: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:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty <http://purl.org/dc/terms/date> ;
] ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty sioc:id ;
] ;
.
report:AbstractMPR
rdf:type report:ReportClass ;
rdfs:label "Monthly Production Report"^^xsd:string ;
rdfs:subClassOf report:AbstractReport ;
.
report:AbstractReport
rdf:type owl:Class ;
rdfs:label "Any report"^^xsd:string ;
rdfs:subClassOf foaf:Document ;
.
report:DDR
rdf:type report:ReportClass ;
rdfs:comment "The metadata about a Daily Drilling Report."^^xsd:string ;
rdfs:label "DDR 1.1"^^xsd:string ;
rdfs:subClassOf report:AbstractDR ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty report:wellBoreId ;
] ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty report:xml ;
] ;
.
report:DPR
rdf:type report:ReportClass ;
rdfs:comment "The metadata about a Daily Production Report."^^xsd:string ;
rdfs:label "DPR 1.0"^^xsd:string ;
rdfs:subClassOf report:AbstractDR ;
rdfs:subClassOf [
rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty report:owner ;
] ;
.
report:DPR2
rdf:type report:ReportClass ;
rdfs:label "DPR 2.0"^^xsd:string ;
rdfs:subClassOf report:AbstractDR ;
.
report:Format
rdf:type owl:Class ;
rdfs:label "Format"^^xsd:string ;
rdfs:subClassOf owl:Thing ;
.
report:HTMLFormat
rdf:type report:Format ;
rdfs:label "HTMLFormat"^^xsd:string ;
.
report:MPRG
rdf:type report:ReportClass ;
rdfs:label "MPR Gov 1.0"^^xsd:string ;
rdfs:subClassOf report:AbstractMPR ;
.
report:MPRP
rdf:type report:ReportClass ;
rdfs:label "MPR Partner 1.0"^^xsd:string ;
rdfs:subClassOf report:AbstractMPR ;
.
report:NPTR
rdf:type report:ReportClass ;
rdfs:comment "Metadata about a Non-Productive Time Report."^^xsd:string ;
rdfs:label "NPTR"^^xsd:string ;
rdfs:subClassOf foaf:Document ;
.
report:PDFFormat
rdf:type report:Format ;
rdfs:label "PDFFormat"^^xsd:string ;
.
report:ReportClass
rdf:type rdfs:Class ;
rdfs:comment "Metaclass for the various report types."^^xsd:string ;
rdfs:label "Report class"^^xsd:string ;
rdfs:subClassOf owl:Class ;
.
report:WDR
rdf:type report:ReportClass ;
rdfs:comment "Metadata about a Weekly Drilling Report"^^xsd:string ;
rdfs:label "WDR"^^xsd:string ;
rdfs:subClassOf foaf:Document ;
.
report:XMLFormat
rdf:type report:Format ;
rdfs:label "XMLFormat"^^xsd:string ;
.
report:ZipFormat
rdf:type report:Format ;
rdfs:label "Zip format"^^xsd:string ;
.
report:containsParts
rdf:type owl:DatatypeProperty ;
rdfs:comment "Comma-separated list of names of the parts in alphabetical order (e.g. \"Cargo, Stock\")."^^xsd:string ;
rdfs:domain report:MPRG ;
rdfs:label "contains parts"^^xsd:string ;
rdfs:range xsd:string ;
.
report:fieldName
rdf:type owl:DatatypeProperty ;
rdfs:domain report:AbstractMPR ;
rdfs:label "field name"^^xsd:string ;
rdfs:range xsd:string ;
.
report:format
rdf:type owl:ObjectProperty ;
rdfs:label "format"^^xsd:string ;
.
report:month
rdf:type owl:DatatypeProperty ;
rdfs:domain report:MPRG ;
rdfs:label "month"^^xsd:string ;
rdfs:range xsd:string ;
.
report:owner
rdf:type owl:ObjectProperty ;
rdfs:label "owner"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/np/schema/npd#Owner> ;
.
report:preliminary
rdf:type owl:DatatypeProperty ;
rdfs:domain report:MPRG ;
rdfs:label "preliminary"^^xsd:string ;
rdfs:range xsd:boolean ;
.
report:wellBoreId
rdf:type owl:DatatypeProperty ;
rdfs:label "well bore id"^^xsd:string ;
.
report:xml
rdf:type owl:DatatypeProperty ;
rdfs:comment "The XML code of a report."^^xsd:string ;
rdfs:label "xml"^^xsd:string ;
rdfs:range xsd:string ;
.
foaf:Document
rdf:type rdfs:Class ;
rdfs:label "Document"^^xsd:string ;
.