David Price

Continued work on ERH Facts and skos

1 +# baseURI: http://www.reportinghub.no/erhf/schema/1.0/erh-facts-skos
2 +# imports: http://www.reportinghub.no/erhf/schema/1.0/erh-facts
3 +# imports: http://www.w3.org/2004/02/skos/core
4 +
5 +@prefix : <http://www.reportinghub.no/erhf/schema/1.0/erh-facts-skos#> .
6 +@prefix erhfskos: <http://www.reportinghub.no/erhf/schema/erh-facts-skos#> .
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/erhf/schema/1.0/erh-facts-skos>
13 + rdf:type owl:Ontology ;
14 + owl:imports <http://www.w3.org/2004/02/skos/core> , <http://www.reportinghub.no/erhf/schema/1.0/erh-facts> ;
15 + owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
16 +
17 +<http://www.reportinghub.no/erhf/schema/erh-facts#drilledInProductionLicence>
18 + rdfs:subPropertyOf <http://www.w3.org/2004/02/skos/core#broader> .
19 +
20 +<http://www.reportinghub.no/erhf/schema/erh-facts#flowPartOfField>
21 + rdfs:subPropertyOf <http://www.w3.org/2004/02/skos/core#broader> .
22 +
23 +<http://www.reportinghub.no/erhf/schema/erh-facts#owner>
24 + rdfs:subPropertyOf <http://www.w3.org/2004/02/skos/core#broader> .
25 +
26 +<http://www.reportinghub.no/erhf/schema/erh-facts#wellPartOfField>
27 + rdfs:subPropertyOf <http://www.w3.org/2004/02/skos/core#broader> .
1 # baseURI: http://www.reportinghub.no/erhf/transform/npdfacts-erhf 1 # baseURI: http://www.reportinghub.no/erhf/transform/npdfacts-erhf
2 # imports: http://spinrdf.org/spin 2 # imports: http://spinrdf.org/spin
3 # imports: http://www.reportinghub.no/erhf/schema/1.0/erh-facts 3 # imports: http://www.reportinghub.no/erhf/schema/1.0/erh-facts
4 +# imports: http://www.reportinghub.no/np/data/npd
4 # imports: http://www.reportinghub.no/np/schema/1.0/npd 5 # imports: http://www.reportinghub.no/np/schema/1.0/npd
5 6
6 @prefix npdfacts-erhf: <http://www.reportinghub.no/erhf/transform/npdfacts-erhf#> . 7 @prefix npdfacts-erhf: <http://www.reportinghub.no/erhf/transform/npdfacts-erhf#> .
...@@ -15,6 +16,7 @@ ...@@ -15,6 +16,7 @@
15 <http://www.reportinghub.no/ep/schema/facility#Facility> 16 <http://www.reportinghub.no/ep/schema/facility#Facility>
16 spin:rule 17 spin:rule
17 [ rdf:type sp:Construct ; 18 [ rdf:type sp:Construct ;
19 + rdfs:comment "1070 Make Facility except Field"^^xsd:string ;
18 sp:templates ([ sp:object <http://www.reportinghub.no/erhf/schema/erh-facts#Facility> ; 20 sp:templates ([ sp:object <http://www.reportinghub.no/erhf/schema/erh-facts#Facility> ;
19 sp:predicate rdf:type ; 21 sp:predicate rdf:type ;
20 sp:subject spin:_this 22 sp:subject spin:_this
...@@ -29,7 +31,12 @@ ...@@ -29,7 +31,12 @@
29 sp:predicate <http://www.reportinghub.no/erhf/schema/erh-facts#npdname> ; 31 sp:predicate <http://www.reportinghub.no/erhf/schema/erh-facts#npdname> ;
30 sp:subject spin:_this 32 sp:subject spin:_this
31 ]) ; 33 ]) ;
32 - sp:where ([ sp:object 34 + sp:where ([ rdf:type sp:NotExists ;
35 + sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/facility#Field> ;
36 + sp:predicate rdf:type ;
37 + sp:subject spin:_this
38 + ])
39 + ] [ sp:object
33 [ sp:varName "npdid"^^xsd:string 40 [ sp:varName "npdid"^^xsd:string
34 ] ; 41 ] ;
35 sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ; 42 sp:predicate <http://www.reportinghub.no/np/schema/npd#id> ;
...@@ -45,6 +52,7 @@ ...@@ -45,6 +52,7 @@
45 <http://www.reportinghub.no/ep/schema/facility#Field> 52 <http://www.reportinghub.no/ep/schema/facility#Field>
46 spin:rule 53 spin:rule
47 [ rdf:type sp:Construct ; 54 [ rdf:type sp:Construct ;
55 + rdfs:comment "1060 Make Field"^^xsd:string ;
48 sp:templates ([ sp:object <http://www.reportinghub.no/erhf/schema/erh-facts#Field> ; 56 sp:templates ([ sp:object <http://www.reportinghub.no/erhf/schema/erh-facts#Field> ;
49 sp:predicate rdf:type ; 57 sp:predicate rdf:type ;
50 sp:subject spin:_this 58 sp:subject spin:_this
...@@ -75,6 +83,7 @@ ...@@ -75,6 +83,7 @@
75 <http://www.reportinghub.no/ep/schema/well#Well> 83 <http://www.reportinghub.no/ep/schema/well#Well>
76 spin:rule 84 spin:rule
77 [ rdf:type sp:Construct ; 85 [ rdf:type sp:Construct ;
86 + rdfs:comment "1050 Make Well"^^xsd:string ;
78 sp:templates ([ sp:object <http://www.reportinghub.no/erhf/schema/erh-facts#Well> ; 87 sp:templates ([ sp:object <http://www.reportinghub.no/erhf/schema/erh-facts#Well> ;
79 sp:predicate rdf:type ; 88 sp:predicate rdf:type ;
80 sp:subject spin:_this 89 sp:subject spin:_this
...@@ -95,6 +104,7 @@ ...@@ -95,6 +104,7 @@
95 <http://www.reportinghub.no/ep/schema/well#WellBore> 104 <http://www.reportinghub.no/ep/schema/well#WellBore>
96 spin:rule 105 spin:rule
97 [ rdf:type sp:Construct ; 106 [ rdf:type sp:Construct ;
107 + rdfs:comment "1030 Make Wellbore"^^xsd:string ;
98 sp:templates ([ sp:object <http://www.reportinghub.no/erhf/schema/erh-facts#Wellbore> ; 108 sp:templates ([ sp:object <http://www.reportinghub.no/erhf/schema/erh-facts#Wellbore> ;
99 sp:predicate rdf:type ; 109 sp:predicate rdf:type ;
100 sp:subject spin:_this 110 sp:subject spin:_this
...@@ -124,12 +134,13 @@ ...@@ -124,12 +134,13 @@
124 134
125 <http://www.reportinghub.no/erhf/transform/npdfacts-erhf> 135 <http://www.reportinghub.no/erhf/transform/npdfacts-erhf>
126 rdf:type owl:Ontology ; 136 rdf:type owl:Ontology ;
127 - owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/erhf/schema/1.0/erh-facts> , <http://www.reportinghub.no/np/schema/1.0/npd> ; 137 + owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/erhf/schema/1.0/erh-facts> , <http://www.reportinghub.no/np/schema/1.0/npd> , <http://www.reportinghub.no/np/data/npd> ;
128 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 138 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
129 139
130 <http://www.reportinghub.no/np/schema/npd#BusinessArrangementArea> 140 <http://www.reportinghub.no/np/schema/npd#BusinessArrangementArea>
131 spin:rule 141 spin:rule
132 [ rdf:type sp:Construct ; 142 [ rdf:type sp:Construct ;
143 + rdfs:comment "1020 Make BAA"^^xsd:string ;
133 sp:templates ([ sp:object <http://www.reportinghub.no/erhf/schema/erh-facts#BAA> ; 144 sp:templates ([ sp:object <http://www.reportinghub.no/erhf/schema/erh-facts#BAA> ;
134 sp:predicate rdf:type ; 145 sp:predicate rdf:type ;
135 sp:subject spin:_this 146 sp:subject spin:_this
...@@ -160,6 +171,7 @@ ...@@ -160,6 +171,7 @@
160 <http://www.reportinghub.no/np/schema/npd#Licence> 171 <http://www.reportinghub.no/np/schema/npd#Licence>
161 spin:rule 172 spin:rule
162 [ rdf:type sp:Construct ; 173 [ rdf:type sp:Construct ;
174 + rdfs:comment "1010 Make Licence"^^xsd:string ;
163 sp:templates ([ sp:object <http://www.reportinghub.no/erhf/schema/erh-facts#Licence> ; 175 sp:templates ([ sp:object <http://www.reportinghub.no/erhf/schema/erh-facts#Licence> ;
164 sp:predicate rdf:type ; 176 sp:predicate rdf:type ;
165 sp:subject spin:_this 177 sp:subject spin:_this
...@@ -190,6 +202,7 @@ ...@@ -190,6 +202,7 @@
190 <http://www.reportinghub.no/np/schema/npd#OperatingCompany> 202 <http://www.reportinghub.no/np/schema/npd#OperatingCompany>
191 spin:rule 203 spin:rule
192 [ rdf:type sp:Construct ; 204 [ rdf:type sp:Construct ;
205 + rdfs:comment "1000 make Company"^^xsd:string ;
193 sp:templates ([ sp:object <http://www.reportinghub.no/erhf/schema/erh-facts#Company> ; 206 sp:templates ([ sp:object <http://www.reportinghub.no/erhf/schema/erh-facts#Company> ;
194 sp:predicate rdf:type ; 207 sp:predicate rdf:type ;
195 sp:subject spin:_this 208 sp:subject spin:_this
......
...@@ -12,5 +12,7 @@ ...@@ -12,5 +12,7 @@
12 [] rdf:type inference:Configuration ; 12 [] rdf:type inference:Configuration ;
13 composite:child 13 composite:child
14 [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; 14 [ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
15 + <http://spinrdf.org/spin#topSPINOptions>
16 + "singlePass" ;
15 composite:index "0"^^xsd:int 17 composite:index "0"^^xsd:int
16 ] . 18 ] .
......