Showing
3 changed files
with
21 additions
and
87 deletions
| 1 | -# baseURI: null | ||
| 2 | - | ||
| 3 | -@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . | ||
| 4 | -@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> . | ||
| 5 | -@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> . | ||
| 6 | -@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
| 7 | -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
| 8 | -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
| 9 | -@prefix visual: <http://topbraid.org/visual#> . | ||
| 10 | -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
| 11 | - | ||
| 12 | -<http://www.reportinghub.no/erhf/schema/erh-facts#Field> | ||
| 13 | - forms:keyProperties (rdfs:label rdfs:comment <http://www.reportinghub.no/erhf/schema/erh-facts#npdname>) . |
| 1 | # baseURI: http://www.reportinghub.no/erhf/schema/1.0/erh-facts | 1 | # baseURI: http://www.reportinghub.no/erhf/schema/1.0/erh-facts |
| 2 | 2 | ||
| 3 | @prefix erhf: <http://www.reportinghub.no/erhf/schema/erh-facts#> . | 3 | @prefix erhf: <http://www.reportinghub.no/erhf/schema/erh-facts#> . |
| 4 | +@prefix npd: <http://www.reportinghub.no/np/schema/npd#> . | ||
| 4 | @prefix owl: <http://www.w3.org/2002/07/owl#> . | 5 | @prefix owl: <http://www.w3.org/2002/07/owl#> . |
| 5 | @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | 6 | @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . |
| 6 | @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | 7 | @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
| ... | @@ -479,3 +480,10 @@ erhf:wellborePartOfWell | ... | @@ -479,3 +480,10 @@ erhf:wellborePartOfWell |
| 479 | rdfs:domain erhf:Wellbore ; | 480 | rdfs:domain erhf:Wellbore ; |
| 480 | rdfs:label "wellbore part of well"^^xsd:string ; | 481 | rdfs:label "wellbore part of well"^^xsd:string ; |
| 481 | rdfs:range erhf:Well . | 482 | rdfs:range erhf:Well . |
| 483 | + | ||
| 484 | +npd:fieldOperator | ||
| 485 | + rdf:type owl:ObjectProperty . | ||
| 486 | + | ||
| 487 | +npd:name | ||
| 488 | + rdf:type owl:DatatypeProperty ; | ||
| 489 | + rdfs:range xsd:string . | ... | ... |
| ... | @@ -29,7 +29,7 @@ | ... | @@ -29,7 +29,7 @@ |
| 29 | ] [ sp:object | 29 | ] [ sp:object |
| 30 | [ sp:varName "npdname"^^xsd:string | 30 | [ sp:varName "npdname"^^xsd:string |
| 31 | ] ; | 31 | ] ; |
| 32 | - sp:predicate <http://www.reportinghub.no/erhf/schema/erh-facts#npdname> ; | 32 | + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; |
| 33 | sp:subject spin:_this | 33 | sp:subject spin:_this |
| 34 | ]) ; | 34 | ]) ; |
| 35 | sp:where ([ rdf:type sp:NotExists ; | 35 | sp:where ([ rdf:type sp:NotExists ; |
| ... | @@ -68,46 +68,12 @@ | ... | @@ -68,46 +68,12 @@ |
| 68 | sp:predicate <http://www.reportinghub.no/erhf/schema/erh-facts#npdname> ; | 68 | sp:predicate <http://www.reportinghub.no/erhf/schema/erh-facts#npdname> ; |
| 69 | sp:subject spin:_this | 69 | sp:subject spin:_this |
| 70 | ] [ sp:object | 70 | ] [ sp:object |
| 71 | - [ sp:varName "operator"^^xsd:string | ||
| 72 | - ] ; | ||
| 73 | - sp:predicate <http://www.reportinghub.no/erhf/schema/erh-facts#operatingCompany> ; | ||
| 74 | - sp:subject spin:_this | ||
| 75 | - ] [ sp:object <http://www.reportinghub.no/erhf/schema/erh-facts#Company> ; | ||
| 76 | - sp:predicate rdf:type ; | ||
| 77 | - sp:subject | ||
| 78 | - [ sp:varName "operator"^^xsd:string | ||
| 79 | - ] | ||
| 80 | - ] [ sp:object | ||
| 81 | - [ sp:varName "operatorid"^^xsd:string | ||
| 82 | - ] ; | ||
| 83 | - sp:predicate <http://www.reportinghub.no/erhf/schema/erh-facts#npdid> ; | ||
| 84 | - sp:subject | ||
| 85 | - [ sp:varName "operator"^^xsd:string | ||
| 86 | - ] | ||
| 87 | - ] [ sp:object | ||
| 88 | - [ sp:varName "oplabel"^^xsd:string | ||
| 89 | - ] ; | ||
| 90 | - sp:predicate rdfs:label ; | ||
| 91 | - sp:subject | ||
| 92 | - [ sp:varName "operator"^^xsd:string | ||
| 93 | - ] | ||
| 94 | - ] [ sp:object | ||
| 95 | - [ sp:varName "operatorname"^^xsd:string | ||
| 96 | - ] ; | ||
| 97 | - sp:predicate <http://www.reportinghub.no/erhf/schema/erh-facts#npdname> ; | ||
| 98 | - sp:subject | ||
| 99 | - [ sp:varName "operator"^^xsd:string | ||
| 100 | - ] | ||
| 101 | - ] [ sp:object | ||
| 102 | [ sp:varName "status"^^xsd:string | 71 | [ sp:varName "status"^^xsd:string |
| 103 | ] ; | 72 | ] ; |
| 104 | sp:predicate <http://www.reportinghub.no/erhf/schema/erh-facts#currentActivityStatus> ; | 73 | sp:predicate <http://www.reportinghub.no/erhf/schema/erh-facts#currentActivityStatus> ; |
| 105 | sp:subject spin:_this | 74 | sp:subject spin:_this |
| 106 | ]) ; | 75 | ]) ; |
| 107 | - sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/facility#Field> ; | 76 | + sp:where ([ sp:object |
| 108 | - sp:predicate rdf:type ; | ||
| 109 | - sp:subject spin:_this | ||
| 110 | - ] [ sp:object | ||
| 111 | [ sp:varName "id"^^xsd:string | 77 | [ sp:varName "id"^^xsd:string |
| 112 | ] ; | 78 | ] ; |
| 113 | sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ; | 79 | sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ; |
| ... | @@ -118,42 +84,10 @@ | ... | @@ -118,42 +84,10 @@ |
| 118 | sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; | 84 | sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; |
| 119 | sp:subject spin:_this | 85 | sp:subject spin:_this |
| 120 | ] [ sp:object | 86 | ] [ sp:object |
| 121 | - [ sp:varName "operator"^^xsd:string | ||
| 122 | - ] ; | ||
| 123 | - sp:predicate <http://www.reportinghub.no/np/schema/npd#fieldOperator> ; | ||
| 124 | - sp:subject spin:_this | ||
| 125 | - ] [ sp:object | ||
| 126 | - [ sp:varName "operatorid"^^xsd:string | ||
| 127 | - ] ; | ||
| 128 | - sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ; | ||
| 129 | - sp:subject | ||
| 130 | - [ sp:varName "operator"^^xsd:string | ||
| 131 | - ] | ||
| 132 | - ] [ sp:object | ||
| 133 | - [ sp:varName "operatorname"^^xsd:string | ||
| 134 | - ] ; | ||
| 135 | - sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; | ||
| 136 | - sp:subject | ||
| 137 | - [ sp:varName "operator"^^xsd:string | ||
| 138 | - ] | ||
| 139 | - ] [ sp:object | ||
| 140 | [ sp:varName "status"^^xsd:string | 87 | [ sp:varName "status"^^xsd:string |
| 141 | ] ; | 88 | ] ; |
| 142 | sp:predicate <http://www.reportinghub.no/np/schema/npd#currentActivityStatus> ; | 89 | sp:predicate <http://www.reportinghub.no/np/schema/npd#currentActivityStatus> ; |
| 143 | sp:subject spin:_this | 90 | sp:subject spin:_this |
| 144 | - ] [ rdf:type sp:Bind ; | ||
| 145 | - sp:expression | ||
| 146 | - [ rdf:type fn:concat ; | ||
| 147 | - sp:arg1 [ sp:varName "operatorname"^^xsd:string | ||
| 148 | - ] ; | ||
| 149 | - sp:arg2 " (NPD Id " ; | ||
| 150 | - sp:arg3 [ sp:varName "operatorid"^^xsd:string | ||
| 151 | - ] ; | ||
| 152 | - sp:arg4 ")" | ||
| 153 | - ] ; | ||
| 154 | - sp:variable | ||
| 155 | - [ sp:varName "oplabel"^^xsd:string | ||
| 156 | - ] | ||
| 157 | ]) | 91 | ]) |
| 158 | ] . | 92 | ] . |
| 159 | 93 | ||
| ... | @@ -167,7 +101,7 @@ | ... | @@ -167,7 +101,7 @@ |
| 167 | ] [ sp:object | 101 | ] [ sp:object |
| 168 | [ sp:varName "npdname"^^xsd:string | 102 | [ sp:varName "npdname"^^xsd:string |
| 169 | ] ; | 103 | ] ; |
| 170 | - sp:predicate <http://www.reportinghub.no/erhf/schema/erh-facts#npdname> ; | 104 | + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; |
| 171 | sp:subject spin:_this | 105 | sp:subject spin:_this |
| 172 | ] [ sp:object | 106 | ] [ sp:object |
| 173 | [ sp:varName "field"^^xsd:string | 107 | [ sp:varName "field"^^xsd:string |
| ... | @@ -203,7 +137,7 @@ | ... | @@ -203,7 +137,7 @@ |
| 203 | ] [ sp:object | 137 | ] [ sp:object |
| 204 | [ sp:varName "npdname"^^xsd:string | 138 | [ sp:varName "npdname"^^xsd:string |
| 205 | ] ; | 139 | ] ; |
| 206 | - sp:predicate <http://www.reportinghub.no/erhf/schema/erh-facts#npdname> ; | 140 | + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; |
| 207 | sp:subject spin:_this | 141 | sp:subject spin:_this |
| 208 | ]) ; | 142 | ]) ; |
| 209 | sp:where ([ sp:object | 143 | sp:where ([ sp:object |
| ... | @@ -239,7 +173,7 @@ | ... | @@ -239,7 +173,7 @@ |
| 239 | ] [ sp:object | 173 | ] [ sp:object |
| 240 | [ sp:varName "npdname"^^xsd:string | 174 | [ sp:varName "npdname"^^xsd:string |
| 241 | ] ; | 175 | ] ; |
| 242 | - sp:predicate <http://www.reportinghub.no/erhf/schema/erh-facts#npdname> ; | 176 | + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; |
| 243 | sp:subject spin:_this | 177 | sp:subject spin:_this |
| 244 | ]) ; | 178 | ]) ; |
| 245 | sp:where ([ sp:object | 179 | sp:where ([ sp:object |
| ... | @@ -272,6 +206,11 @@ | ... | @@ -272,6 +206,11 @@ |
| 272 | ] ; | 206 | ] ; |
| 273 | sp:predicate <http://www.reportinghub.no/erhf/schema/erh-facts#npdname> ; | 207 | sp:predicate <http://www.reportinghub.no/erhf/schema/erh-facts#npdname> ; |
| 274 | sp:subject spin:_this | 208 | sp:subject spin:_this |
| 209 | + ] [ sp:object | ||
| 210 | + [ sp:varName "npdname"^^xsd:string | ||
| 211 | + ] ; | ||
| 212 | + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; | ||
| 213 | + sp:subject spin:_this | ||
| 275 | ]) ; | 214 | ]) ; |
| 276 | sp:where ([ sp:object | 215 | sp:where ([ sp:object |
| 277 | [ sp:varName "npdid"^^xsd:string | 216 | [ sp:varName "npdid"^^xsd:string |
| ... | @@ -304,9 +243,9 @@ | ... | @@ -304,9 +243,9 @@ |
| 304 | sp:predicate rdfs:label ; | 243 | sp:predicate rdfs:label ; |
| 305 | sp:subject spin:_this | 244 | sp:subject spin:_this |
| 306 | ] [ sp:object | 245 | ] [ sp:object |
| 307 | - [ sp:varName "operatorname"^^xsd:string | 246 | + [ sp:varName "npdname"^^xsd:string |
| 308 | ] ; | 247 | ] ; |
| 309 | - sp:predicate <http://www.reportinghub.no/erhf/schema/erh-facts#npdname> ; | 248 | + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; |
| 310 | sp:subject spin:_this | 249 | sp:subject spin:_this |
| 311 | ]) ; | 250 | ]) ; |
| 312 | sp:where ([ sp:object | 251 | sp:where ([ sp:object |
| ... | @@ -315,7 +254,7 @@ | ... | @@ -315,7 +254,7 @@ |
| 315 | sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ; | 254 | sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ; |
| 316 | sp:subject spin:_this | 255 | sp:subject spin:_this |
| 317 | ] [ sp:object | 256 | ] [ sp:object |
| 318 | - [ sp:varName "name"^^xsd:string | 257 | + [ sp:varName "npdname"^^xsd:string |
| 319 | ] ; | 258 | ] ; |
| 320 | sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; | 259 | sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; |
| 321 | sp:subject spin:_this | 260 | sp:subject spin:_this | ... | ... |
-
Please register or login to post a comment