Added log:reportingPeriodStart, renamed log:wellBoreName to
log:ndpEntityName, adjusted UI of log viewer
Showing
4 changed files
with
58 additions
and
23 deletions
... | @@ -1470,6 +1470,34 @@ rhspin:fieldById | ... | @@ -1470,6 +1470,34 @@ rhspin:fieldById |
1470 | spl:valueType xsd:string | 1470 | spl:valueType xsd:string |
1471 | ] . | 1471 | ] . |
1472 | 1472 | ||
1473 | +rhspin:fieldByOwner | ||
1474 | + rdf:type spin:Function ; | ||
1475 | + rdfs:label "field by owner"^^xsd:string ; | ||
1476 | + rdfs:subClassOf spin:Functions ; | ||
1477 | + spin:body | ||
1478 | + [ rdf:type sp:Select ; | ||
1479 | + sp:resultVariables ([ sp:varName "field"^^xsd:string | ||
1480 | + ]) ; | ||
1481 | + sp:where ([ rdf:type sp:NamedGraph ; | ||
1482 | + sp:elements ([ sp:object | ||
1483 | + [ sp:varName "owner"^^xsd:string | ||
1484 | + ] ; | ||
1485 | + sp:predicate <http://www.reportinghub.no/np/schema/npd#fieldOwner> ; | ||
1486 | + sp:subject | ||
1487 | + [ sp:varName "field"^^xsd:string | ||
1488 | + ] | ||
1489 | + ]) ; | ||
1490 | + sp:graphNameNode npdata:npd | ||
1491 | + ]) | ||
1492 | + ] ; | ||
1493 | + spin:constraint | ||
1494 | + [ rdf:type spl:Argument ; | ||
1495 | + rdfs:comment "The licence or BAA to get the field name of."^^xsd:string ; | ||
1496 | + spl:predicate arg:owner ; | ||
1497 | + spl:valueType <http://www.reportinghub.no/np/schema/npd#Owner> | ||
1498 | + ] ; | ||
1499 | + spin:returnType <http://www.reportinghub.no/ep/schema/facility#Field> . | ||
1500 | + | ||
1473 | rhspin:fieldNameByOwner | 1501 | rhspin:fieldNameByOwner |
1474 | rdf:type spin:Function ; | 1502 | rdf:type spin:Function ; |
1475 | rdfs:label "field name by owner"^^xsd:string ; | 1503 | rdfs:label "field name by owner"^^xsd:string ; |
... | @@ -2627,13 +2655,13 @@ rhspin:wellByName | ... | @@ -2627,13 +2655,13 @@ rhspin:wellByName |
2627 | ] ; | 2655 | ] ; |
2628 | spin:returnType <http://www.reportinghub.no/ep/schema/well#Well> . | 2656 | spin:returnType <http://www.reportinghub.no/ep/schema/well#Well> . |
2629 | 2657 | ||
2630 | -_:b9 sp:varName "company"^^xsd:string . | ||
2631 | - | ||
2632 | _:b11 | 2658 | _:b11 |
2633 | sp:varName "company"^^xsd:string . | 2659 | sp:varName "company"^^xsd:string . |
2634 | 2660 | ||
2635 | _:b7 sp:varName "company"^^xsd:string . | 2661 | _:b7 sp:varName "company"^^xsd:string . |
2636 | 2662 | ||
2663 | +_:b9 sp:varName "company"^^xsd:string . | ||
2664 | + | ||
2637 | _:b10 | 2665 | _:b10 |
2638 | sp:varName "companyName"^^xsd:string . | 2666 | sp:varName "companyName"^^xsd:string . |
2639 | 2667 | ||
... | @@ -2686,10 +2714,10 @@ _:b6 sp:varName "well"^^xsd:string . | ... | @@ -2686,10 +2714,10 @@ _:b6 sp:varName "well"^^xsd:string . |
2686 | _:b12 | 2714 | _:b12 |
2687 | sp:varName "wellBore"^^xsd:string . | 2715 | sp:varName "wellBore"^^xsd:string . |
2688 | 2716 | ||
2689 | -_:b4 sp:varName "wellBore"^^xsd:string . | ||
2690 | - | ||
2691 | _:b8 sp:varName "wellBore"^^xsd:string . | 2717 | _:b8 sp:varName "wellBore"^^xsd:string . |
2692 | 2718 | ||
2719 | +_:b4 sp:varName "wellBore"^^xsd:string . | ||
2720 | + | ||
2693 | _:b3 sp:varName "wellBoreId"^^xsd:string . | 2721 | _:b3 sp:varName "wellBoreId"^^xsd:string . |
2694 | 2722 | ||
2695 | _:b2 sp:varName "wellBoreName"^^xsd:string . | 2723 | _:b2 sp:varName "wellBoreName"^^xsd:string . | ... | ... |
... | @@ -129,6 +129,13 @@ log:initiatedBy | ... | @@ -129,6 +129,13 @@ log:initiatedBy |
129 | rdfs:label "user"^^xsd:string ; | 129 | rdfs:label "user"^^xsd:string ; |
130 | rdfs:range xsd:string . | 130 | rdfs:range xsd:string . |
131 | 131 | ||
132 | +log:npdEntityName | ||
133 | + rdf:type owl:DatatypeProperty ; | ||
134 | + rdfs:comment "Points to a well bore or field name that had the report uploaded."^^xsd:string ; | ||
135 | + rdfs:domain log:ReportUploadEvent ; | ||
136 | + rdfs:label "NPD entity name"^^xsd:string ; | ||
137 | + rdfs:range xsd:string . | ||
138 | + | ||
132 | log:onBehalfOf | 139 | log:onBehalfOf |
133 | rdf:type owl:DatatypeProperty ; | 140 | rdf:type owl:DatatypeProperty ; |
134 | rdfs:comment "The name of the company that the user has been logged in for."^^xsd:string ; | 141 | rdfs:comment "The name of the company that the user has been logged in for."^^xsd:string ; |
... | @@ -158,6 +165,13 @@ log:reportType | ... | @@ -158,6 +165,13 @@ log:reportType |
158 | rdfs:label "report type"^^xsd:string ; | 165 | rdfs:label "report type"^^xsd:string ; |
159 | rdfs:range <http://www.reportinghub.no/system/schema/reporting#ReportClass> . | 166 | rdfs:range <http://www.reportinghub.no/system/schema/reporting#ReportClass> . |
160 | 167 | ||
168 | +log:reportingPeriodStart | ||
169 | + rdf:type owl:DatatypeProperty ; | ||
170 | + rdfs:comment "The start date of the reporting period in the report."^^xsd:string ; | ||
171 | + rdfs:domain log:ReportUploadEvent ; | ||
172 | + rdfs:label "reporting period start"^^xsd:string ; | ||
173 | + rdfs:range xsd:date . | ||
174 | + | ||
161 | log:url | 175 | log:url |
162 | rdf:type owl:DatatypeProperty ; | 176 | rdf:type owl:DatatypeProperty ; |
163 | rdfs:comment "The URL of a query request."^^xsd:string ; | 177 | rdfs:comment "The URL of a query request."^^xsd:string ; |
... | @@ -165,13 +179,6 @@ log:url | ... | @@ -165,13 +179,6 @@ log:url |
165 | rdfs:label "url"^^xsd:string ; | 179 | rdfs:label "url"^^xsd:string ; |
166 | rdfs:range xsd:string . | 180 | rdfs:range xsd:string . |
167 | 181 | ||
168 | -log:wellBoreName | ||
169 | - rdf:type owl:DatatypeProperty ; | ||
170 | - rdfs:comment "Points to one or more well bore names that had reports uploaded."^^xsd:string ; | ||
171 | - rdfs:domain log:ReportUploadEvent ; | ||
172 | - rdfs:label "well bore name"^^xsd:string ; | ||
173 | - rdfs:range xsd:string . | ||
174 | - | ||
175 | log:xml | 182 | log:xml |
176 | rdf:type owl:DatatypeProperty ; | 183 | rdf:type owl:DatatypeProperty ; |
177 | rdfs:comment "The complete source of the submitted XML document."^^xsd:string ; | 184 | rdfs:comment "The complete source of the submitted XML document."^^xsd:string ; | ... | ... |
... | @@ -69,7 +69,7 @@ report:AbstractReport | ... | @@ -69,7 +69,7 @@ report:AbstractReport |
69 | report:DDR | 69 | report:DDR |
70 | rdf:type report:ReportClass ; | 70 | rdf:type report:ReportClass ; |
71 | rdfs:comment "The metadata about a Daily Drilling Report."^^xsd:string ; | 71 | rdfs:comment "The metadata about a Daily Drilling Report."^^xsd:string ; |
72 | - rdfs:label "DDR"^^xsd:string ; | 72 | + rdfs:label "DDR 1.1"^^xsd:string ; |
73 | rdfs:subClassOf report:AbstractDR ; | 73 | rdfs:subClassOf report:AbstractDR ; |
74 | rdfs:subClassOf | 74 | rdfs:subClassOf |
75 | [ rdf:type owl:Restriction ; | 75 | [ rdf:type owl:Restriction ; |
... | @@ -85,7 +85,7 @@ report:DDR | ... | @@ -85,7 +85,7 @@ report:DDR |
85 | report:DPR | 85 | report:DPR |
86 | rdf:type report:ReportClass ; | 86 | rdf:type report:ReportClass ; |
87 | rdfs:comment "The metadata about a Daily Production Report."^^xsd:string ; | 87 | rdfs:comment "The metadata about a Daily Production Report."^^xsd:string ; |
88 | - rdfs:label "DPR"^^xsd:string ; | 88 | + rdfs:label "DPR 1.0"^^xsd:string ; |
89 | rdfs:subClassOf report:AbstractDR ; | 89 | rdfs:subClassOf report:AbstractDR ; |
90 | rdfs:subClassOf | 90 | rdfs:subClassOf |
91 | [ rdf:type owl:Restriction ; | 91 | [ rdf:type owl:Restriction ; |
... | @@ -93,6 +93,11 @@ report:DPR | ... | @@ -93,6 +93,11 @@ report:DPR |
93 | owl:onProperty report:owner | 93 | owl:onProperty report:owner |
94 | ] . | 94 | ] . |
95 | 95 | ||
96 | +report:DPR2 | ||
97 | + rdf:type report:ReportClass ; | ||
98 | + rdfs:label "DPR 2.0"^^xsd:string ; | ||
99 | + rdfs:subClassOf report:AbstractDR . | ||
100 | + | ||
96 | report:Format | 101 | report:Format |
97 | rdf:type owl:Class ; | 102 | rdf:type owl:Class ; |
98 | rdfs:label "Format"^^xsd:string ; | 103 | rdfs:label "Format"^^xsd:string ; |
... | @@ -102,19 +107,14 @@ report:HTMLFormat | ... | @@ -102,19 +107,14 @@ report:HTMLFormat |
102 | rdf:type report:Format ; | 107 | rdf:type report:Format ; |
103 | rdfs:label "HTMLFormat"^^xsd:string . | 108 | rdfs:label "HTMLFormat"^^xsd:string . |
104 | 109 | ||
105 | -report:MPRD | ||
106 | - rdf:type report:ReportClass ; | ||
107 | - rdfs:label "MPRD"^^xsd:string ; | ||
108 | - rdfs:subClassOf report:AbstractMPR . | ||
109 | - | ||
110 | report:MPRG | 110 | report:MPRG |
111 | rdf:type report:ReportClass ; | 111 | rdf:type report:ReportClass ; |
112 | - rdfs:label "MPR Gov"^^xsd:string ; | 112 | + rdfs:label "MPR Gov 1.0"^^xsd:string ; |
113 | rdfs:subClassOf report:AbstractMPR . | 113 | rdfs:subClassOf report:AbstractMPR . |
114 | 114 | ||
115 | report:MPRP | 115 | report:MPRP |
116 | rdf:type report:ReportClass ; | 116 | rdf:type report:ReportClass ; |
117 | - rdfs:label "MPRP"^^xsd:string ; | 117 | + rdfs:label "MPR Partner 1.0"^^xsd:string ; |
118 | rdfs:subClassOf report:AbstractMPR . | 118 | rdfs:subClassOf report:AbstractMPR . |
119 | 119 | ||
120 | report:NPTR | 120 | report:NPTR | ... | ... |
... | @@ -252,7 +252,7 @@ log:ReportEvent | ... | @@ -252,7 +252,7 @@ log:ReportEvent |
252 | ] . | 252 | ] . |
253 | 253 | ||
254 | log:ReportUploadEvent | 254 | log:ReportUploadEvent |
255 | - swa:keyProperties (<http://purl.org/dc/terms/created> rdf:type log:reportType log:wellBoreName log:initiatedBy log:onBehalfOf log:outcome rdfs:comment) ; | 255 | + swa:keyProperties (<http://purl.org/dc/terms/created> rdf:type log:reportType log:npdEntityName log:reportingPeriodStart log:initiatedBy log:onBehalfOf log:outcome rdfs:comment) ; |
256 | ui:instanceView | 256 | ui:instanceView |
257 | [ rdf:type ui:group ; | 257 | [ rdf:type ui:group ; |
258 | default:subject spin:_this ; | 258 | default:subject spin:_this ; |
... | @@ -273,8 +273,8 @@ log:ReportUploadEvent | ... | @@ -273,8 +273,8 @@ log:ReportUploadEvent |
273 | ] ; | 273 | ] ; |
274 | ui:child | 274 | ui:child |
275 | [ rdf:type swa:Object ; | 275 | [ rdf:type swa:Object ; |
276 | - arg:label "Well bore name"^^xsd:string ; | 276 | + arg:label "NPD entity name"^^xsd:string ; |
277 | - arg:predicate log:wellBoreName ; | 277 | + arg:predicate log:npdEntityName ; |
278 | ui:childIndex 1 | 278 | ui:childIndex 1 |
279 | ] ; | 279 | ] ; |
280 | ui:childIndex 1 | 280 | ui:childIndex 1 | ... | ... |
-
Please register or login to post a comment