SCHEMA-reporting.ttl
5.51 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
# baseURI: http://www.reportinghub.no/system/schema/reporting
# imports: http://purl.org/dc/terms/
# imports: http://www.reportinghub.no/np/schema/1.0/npd
@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/> , <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 foaf:Document ;
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: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/date>
] ;
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:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty sioc:id
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom xsd:string ;
owl:onProperty sioc:id
] .
report:AbstractMPR
rdf:type report:ReportClass ;
rdfs:label "Abstract MPR"^^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"^^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"^^xsd:string ;
rdfs:subClassOf report:AbstractDR ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty report:owner
] .
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:MPRD
rdf:type report:ReportClass ;
rdfs:label "MPRD"^^xsd:string ;
rdfs:subClassOf report:AbstractMPR .
report:MPRG
rdf:type report:ReportClass ;
rdfs:label "MPRG"^^xsd:string ;
rdfs:subClassOf report:AbstractMPR .
report:MPRP
rdf:type report:ReportClass ;
rdfs:label "MPRP"^^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:format
rdf:type owl:ObjectProperty ;
rdfs:label "format"^^xsd:string .
report:owner
rdf:type owl:ObjectProperty ;
rdfs:label "owner"^^xsd:string ;
rdfs:range <http://www.reportinghub.no/np/schema/npd#Owner> .
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 .