David Leal

reinstated production flow definition type

1 -# Saved by TopBraid on Sun Oct 09 11:03:49 BST 2011 1 +# Saved by TopBraid on Sun Oct 09 15:34:41 BST 2011
2 # baseURI: http://www.reportinghub.no/ep/schema/1.0/flow 2 # baseURI: http://www.reportinghub.no/ep/schema/1.0/flow
3 # imports: http://www.reportinghub.no/ep/schema/1.0/core 3 # imports: http://www.reportinghub.no/ep/schema/1.0/core
4 4
...@@ -13,73 +13,98 @@ ...@@ -13,73 +13,98 @@
13 owl:imports <http://www.reportinghub.no/ep/schema/1.0/core> ; 13 owl:imports <http://www.reportinghub.no/ep/schema/1.0/core> ;
14 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 14 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
15 15
16 +ep-flow:AllocatedFlow
17 + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
18 + rdfs:label "allocated flow"^^xsd:string ;
19 + rdfs:subClassOf ep-flow:Flow .
20 +
21 +ep-flow:BudgetFlow
22 + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
23 + rdfs:label "budget flow"^^xsd:string ;
24 + rdfs:subClassOf ep-flow:Flow .
25 +
26 +ep-flow:ConstraintFlow
27 + rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
28 + rdfs:label "constraint flow"^^xsd:string ;
29 + rdfs:subClassOf ep-flow:Flow .
30 +
16 ep-flow:Consume 31 ep-flow:Consume
17 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 32 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
18 rdfs:label "consume"^^xsd:string ; 33 rdfs:label "consume"^^xsd:string ;
19 rdfs:subClassOf ep-flow:Flow . 34 rdfs:subClassOf ep-flow:Flow .
20 35
21 ep-flow:Consume-HPflare 36 ep-flow:Consume-HPflare
22 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 37 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
23 rdfs:label "consume - HP flare"^^xsd:string ; 38 rdfs:label "consume - HP flare"^^xsd:string ;
24 rdfs:subClassOf ep-flow:Consume-flare . 39 rdfs:subClassOf ep-flow:Consume-flare .
25 40
26 ep-flow:Consume-LPflare 41 ep-flow:Consume-LPflare
27 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 42 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
28 rdfs:label "consume - LP flare"^^xsd:string ; 43 rdfs:label "consume - LP flare"^^xsd:string ;
29 rdfs:subClassOf ep-flow:Consume-flare . 44 rdfs:subClassOf ep-flow:Consume-flare .
30 45
31 ep-flow:Consume-blackstart 46 ep-flow:Consume-blackstart
32 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 47 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
33 rdfs:label "consume - blackstart"^^xsd:string ; 48 rdfs:label "consume - blackstart"^^xsd:string ;
34 rdfs:subClassOf ep-flow:Consume . 49 rdfs:subClassOf ep-flow:Consume .
35 50
36 ep-flow:Consume-compressor 51 ep-flow:Consume-compressor
37 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 52 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
38 rdfs:label "consume - compressor"^^xsd:string ; 53 rdfs:label "consume - compressor"^^xsd:string ;
39 rdfs:subClassOf ep-flow:Consume . 54 rdfs:subClassOf ep-flow:Consume .
40 55
41 ep-flow:Consume-emitted 56 ep-flow:Consume-emitted
42 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 57 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
43 rdfs:label "consume - emitted"^^xsd:string ; 58 rdfs:label "consume - emitted"^^xsd:string ;
44 rdfs:subClassOf ep-flow:Consume . 59 rdfs:subClassOf ep-flow:Consume .
45 60
46 ep-flow:Consume-flare 61 ep-flow:Consume-flare
47 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 62 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
48 rdfs:label "consume - flare"^^xsd:string ; 63 rdfs:label "consume - flare"^^xsd:string ;
49 rdfs:subClassOf ep-flow:Consume . 64 rdfs:subClassOf ep-flow:Consume .
50 65
51 ep-flow:Consume-fuel 66 ep-flow:Consume-fuel
52 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 67 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
53 rdfs:label "consume - fuel"^^xsd:string ; 68 rdfs:label "consume - fuel"^^xsd:string ;
54 rdfs:subClassOf ep-flow:Consume . 69 rdfs:subClassOf ep-flow:Consume .
55 70
56 ep-flow:Consume-noncompressor 71 ep-flow:Consume-noncompressor
57 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 72 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
58 rdfs:label "consume - non-compressor"^^xsd:string ; 73 rdfs:label "consume - non-compressor"^^xsd:string ;
59 rdfs:subClassOf ep-flow:Consume . 74 rdfs:subClassOf ep-flow:Consume .
60 75
61 ep-flow:Consume-venting 76 ep-flow:Consume-venting
62 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 77 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
63 rdfs:label "consume - venting"^^xsd:string ; 78 rdfs:label "consume - venting"^^xsd:string ;
64 rdfs:subClassOf ep-flow:Consume . 79 rdfs:subClassOf ep-flow:Consume .
65 80
81 +ep-flow:DerivedFlow
82 + rdf:type owl:Class , ep-flow:ProductionFlowDefinitionType ;
83 + rdfs:label "derived flow"^^xsd:string ;
84 + rdfs:subClassOf ep-flow:Flow .
85 +
86 +ep-flow:EstimatedFlow
87 + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
88 + rdfs:label "estimated flow"^^xsd:string ;
89 + rdfs:subClassOf ep-flow:Flow .
90 +
66 ep-flow:Export 91 ep-flow:Export
67 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 92 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
68 rdfs:label "export"^^xsd:string ; 93 rdfs:label "export"^^xsd:string ;
69 rdfs:subClassOf ep-flow:Flow . 94 rdfs:subClassOf ep-flow:Flow .
70 95
71 ep-flow:Export-nominated 96 ep-flow:Export-nominated
72 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 97 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
73 rdfs:label "export nominated"^^xsd:string ; 98 rdfs:label "export nominated"^^xsd:string ;
74 rdfs:subClassOf ep-flow:Export . 99 rdfs:subClassOf ep-flow:Export .
75 100
76 ep-flow:Export-requested 101 ep-flow:Export-requested
77 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 102 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
78 rdfs:label "export requested"^^xsd:string ; 103 rdfs:label "export requested"^^xsd:string ;
79 rdfs:subClassOf ep-flow:Export . 104 rdfs:subClassOf ep-flow:Export .
80 105
81 ep-flow:Export-shortfall 106 ep-flow:Export-shortfall
82 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 107 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
83 rdfs:label "export shortfall"^^xsd:string ; 108 rdfs:label "export shortfall"^^xsd:string ;
84 rdfs:subClassOf ep-flow:Export . 109 rdfs:subClassOf ep-flow:Export .
85 110
...@@ -89,32 +114,37 @@ ep-flow:Flow ...@@ -89,32 +114,37 @@ ep-flow:Flow
89 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalThing> . 114 rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalThing> .
90 115
91 ep-flow:Gaslift 116 ep-flow:Gaslift
92 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 117 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
93 rdfs:label "gas lift"^^xsd:string ; 118 rdfs:label "gas lift"^^xsd:string ;
94 rdfs:subClassOf ep-flow:Flow . 119 rdfs:subClassOf ep-flow:Flow .
95 120
96 ep-flow:Import 121 ep-flow:Import
97 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 122 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
98 rdfs:label "import"^^xsd:string ; 123 rdfs:label "import"^^xsd:string ;
99 rdfs:subClassOf ep-flow:Flow . 124 rdfs:subClassOf ep-flow:Flow .
100 125
101 ep-flow:Injection 126 ep-flow:Injection
102 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 127 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
103 rdfs:label "injection"^^xsd:string ; 128 rdfs:label "injection"^^xsd:string ;
104 rdfs:subClassOf ep-flow:Flow . 129 rdfs:subClassOf ep-flow:Flow .
105 130
106 ep-flow:Inventory 131 ep-flow:Inventory
107 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 132 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
108 rdfs:label "inventory"^^xsd:string ; 133 rdfs:label "inventory"^^xsd:string ;
109 rdfs:subClassOf ep-flow:Flow . 134 rdfs:subClassOf ep-flow:Flow .
110 135
136 +ep-flow:MeasuredFlow
137 + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
138 + rdfs:label "measured flow"^^xsd:string ;
139 + rdfs:subClassOf ep-flow:Flow .
140 +
111 ep-flow:Overboard 141 ep-flow:Overboard
112 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 142 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
113 rdfs:label "overboard"^^xsd:string ; 143 rdfs:label "overboard"^^xsd:string ;
114 rdfs:subClassOf ep-flow:Flow . 144 rdfs:subClassOf ep-flow:Flow .
115 145
116 ep-flow:Production 146 ep-flow:Production
117 - rdf:type owl:Class , ep-flow:ProductionFlowPurposeType ; 147 + rdf:type ep-flow:ProductionFlowPurposeType , owl:Class ;
118 rdfs:label "production"^^xsd:string ; 148 rdfs:label "production"^^xsd:string ;
119 rdfs:subClassOf ep-flow:Flow . 149 rdfs:subClassOf ep-flow:Flow .
120 150
...@@ -123,7 +153,22 @@ ep-flow:ProductionFlow ...@@ -123,7 +153,22 @@ ep-flow:ProductionFlow
123 rdfs:label "production flow"^^xsd:string ; 153 rdfs:label "production flow"^^xsd:string ;
124 rdfs:subClassOf ep-flow:Flow . 154 rdfs:subClassOf ep-flow:Flow .
125 155
156 +ep-flow:ProductionFlowDefinitionType
157 + rdf:type rdfs:Class ;
158 + rdfs:label " production flow definition type"^^xsd:string ;
159 + rdfs:subClassOf rdfs:Class .
160 +
126 ep-flow:ProductionFlowPurposeType 161 ep-flow:ProductionFlowPurposeType
127 rdf:type rdfs:Class ; 162 rdf:type rdfs:Class ;
128 rdfs:label " production flow purpose type"^^xsd:string ; 163 rdfs:label " production flow purpose type"^^xsd:string ;
129 rdfs:subClassOf rdfs:Class . 164 rdfs:subClassOf rdfs:Class .
165 +
166 +ep-flow:QuotaFlow
167 + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
168 + rdfs:label "quota flow"^^xsd:string ;
169 + rdfs:subClassOf ep-flow:Flow .
170 +
171 +ep-flow:SimulatedFlow
172 + rdf:type ep-flow:ProductionFlowDefinitionType , owl:Class ;
173 + rdfs:label "simulated flow"^^xsd:string ;
174 + rdfs:subClassOf ep-flow:Flow .
......
This diff could not be displayed because it is too large.
1 -# Saved by TopBraid on Sun Oct 09 15:13:05 BST 2011 1 +# Saved by TopBraid on Sun Oct 09 16:28:54 BST 2011
2 # baseURI: null 2 # baseURI: null
3 3
4 @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . 4 @prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
1 -# Saved by TopBraid on Sun Oct 09 10:52:18 BST 2011 1 +# Saved by TopBraid on Sun Oct 09 16:13:48 BST 2011
2 # baseURI: http://www.reportinghub.no/ep/transform/1.0/dpr/productVolume 2 # baseURI: http://www.reportinghub.no/ep/transform/1.0/dpr/productVolume
3 # imports: http://www.reportinghub.no/ep/spin/1.1/lib 3 # imports: http://www.reportinghub.no/ep/spin/1.1/lib
4 -# imports: http://www.reportinghub.no/ep/dpr/spin/1.1/lib
5 # imports: http://www.reportinghub.no/ep/schema/1.0/core 4 # imports: http://www.reportinghub.no/ep/schema/1.0/core
5 +# imports: http://www.reportinghub.no/ep/dpr/spin/1.1/lib
6 # imports: http://www.reportinghub.no/ep/schema/1.0/facility 6 # imports: http://www.reportinghub.no/ep/schema/1.0/facility
7 # imports: http://spinrdf.org/spin 7 # imports: http://spinrdf.org/spin
8 # imports: http://www.witsml.org/schemas/131/addendum/combo 8 # imports: http://www.witsml.org/schemas/131/addendum/combo
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
20 20
21 <http://www.reportinghub.no/ep/transform/1.0/dpr/productVolume> 21 <http://www.reportinghub.no/ep/transform/1.0/dpr/productVolume>
22 rdf:type owl:Ontology ; 22 rdf:type owl:Ontology ;
23 - owl:imports <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.witsml.org/schemas/131/addendum/combo> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> ; 23 + owl:imports <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.witsml.org/schemas/131/addendum/combo> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/spin/1.1/lib> ;
24 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 24 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
25 25
26 <http://www.witsml.org/schemas/131/addendum/combo#Co_productVolume> 26 <http://www.witsml.org/schemas/131/addendum/combo#Co_productVolume>
...@@ -36,212 +36,208 @@ ...@@ -36,212 +36,208 @@
36 ] [ sp:object _:b3 ; 36 ] [ sp:object _:b3 ;
37 sp:predicate rdf:type ; 37 sp:predicate rdf:type ;
38 sp:subject _:b1 38 sp:subject _:b1
39 - ] [ sp:object 39 + ] [ sp:object _:b4 ;
40 - [ sp:varName "productionFlowType"^^xsd:string
41 - ] ;
42 sp:predicate rdf:type ; 40 sp:predicate rdf:type ;
43 sp:subject _:b1 41 sp:subject _:b1
44 - ] [ sp:object _:b4 ; 42 + ] [ sp:object _:b5 ;
45 sp:predicate rdfs:label ; 43 sp:predicate rdfs:label ;
46 sp:subject _:b1 44 sp:subject _:b1
47 ]) ; 45 ]) ;
48 - sp:where ([ sp:object _:b5 ; 46 + sp:where ([ sp:object _:b6 ;
49 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#facilityRef> ; 47 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#facilityRef> ;
50 sp:subject spin:_this 48 sp:subject spin:_this
51 - ] [ sp:object _:b6 ;
52 - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#nameRef> ;
53 - sp:subject _:b5
54 ] [ sp:object _:b7 ; 49 ] [ sp:object _:b7 ;
55 - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; 50 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#nameRef> ;
56 sp:subject _:b6 51 sp:subject _:b6
57 ] [ sp:object _:b8 ; 52 ] [ sp:object _:b8 ;
53 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
54 + sp:subject _:b7
55 + ] [ sp:object _:b9 ;
58 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#flowRef> ; 56 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#flowRef> ;
59 - sp:subject _:b5 57 + sp:subject _:b6
60 - ] [ sp:object _:b4 ; 58 + ] [ sp:object _:b5 ;
61 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#name> ; 59 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#name> ;
62 - sp:subject _:b8 60 + sp:subject _:b9
63 - ] [ sp:object _:b9 ; 61 + ] [ sp:object _:b10 ;
64 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; 62 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ;
65 - sp:subject _:b8 63 + sp:subject _:b9
66 ] [ rdf:type sp:Optional ; 64 ] [ rdf:type sp:Optional ;
67 sp:elements ([ sp:object 65 sp:elements ([ sp:object
68 [ sp:varName "flowDirection"^^xsd:string 66 [ sp:varName "flowDirection"^^xsd:string
69 ] ; 67 ] ;
70 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#directionRef> ; 68 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#directionRef> ;
71 - sp:subject _:b8 69 + sp:subject _:b9
72 ]) 70 ])
73 ] [ rdf:type sp:Optional ; 71 ] [ rdf:type sp:Optional ;
74 sp:elements ([ sp:object 72 sp:elements ([ sp:object
75 [ sp:varName "flowQualifier"^^xsd:string 73 [ sp:varName "flowQualifier"^^xsd:string
76 ] ; 74 ] ;
77 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#qualifierRef> ; 75 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#qualifierRef> ;
78 - sp:subject _:b8 76 + sp:subject _:b9
79 ]) 77 ])
80 ] [ rdf:type sp:Bind ; 78 ] [ rdf:type sp:Bind ;
81 sp:expression 79 sp:expression
82 [ rdf:type ep-spin-lib:normalizeString ; 80 [ rdf:type ep-spin-lib:normalizeString ;
83 - sp:arg1 _:b7 81 + sp:arg1 _:b8
84 ] ; 82 ] ;
85 - sp:variable _:b10 83 + sp:variable _:b11
86 ] [ rdf:type sp:Bind ; 84 ] [ rdf:type sp:Bind ;
87 sp:expression 85 sp:expression
88 [ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ; 86 [ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ;
89 - sp:arg1 _:b10 87 + sp:arg1 _:b11
90 ] ; 88 ] ;
91 sp:variable _:b2 89 sp:variable _:b2
92 ] [ rdf:type sp:Bind ; 90 ] [ rdf:type sp:Bind ;
93 sp:expression 91 sp:expression
94 [ rdf:type ep-spin-lib:normalizeString ; 92 [ rdf:type ep-spin-lib:normalizeString ;
95 - sp:arg1 _:b4 93 + sp:arg1 _:b5
96 ] ; 94 ] ;
97 - sp:variable _:b11 95 + sp:variable _:b12
98 ] [ rdf:type sp:Bind ; 96 ] [ rdf:type sp:Bind ;
99 sp:expression 97 sp:expression
100 [ rdf:type ep-dpr-spin-lib:buildProductionFlowURI ; 98 [ rdf:type ep-dpr-spin-lib:buildProductionFlowURI ;
101 - sp:arg1 _:b11 99 + sp:arg1 _:b12
102 ] ; 100 ] ;
103 sp:variable _:b1 101 sp:variable _:b1
104 ] [ rdf:type sp:Bind ; 102 ] [ rdf:type sp:Bind ;
105 sp:expression 103 sp:expression
106 [ rdf:type ep-dpr-spin-lib:selectProductionFlowPurposeType ; 104 [ rdf:type ep-dpr-spin-lib:selectProductionFlowPurposeType ;
107 - sp:arg1 _:b9 105 + sp:arg1 _:b10
108 ] ; 106 ] ;
109 sp:variable _:b3 107 sp:variable _:b3
110 ] [ rdf:type sp:Bind ; 108 ] [ rdf:type sp:Bind ;
111 sp:expression 109 sp:expression
112 - [ rdf:type ep-dpr-spin-lib:selectProductionFlowQualifierType ; 110 + [ rdf:type ep-dpr-spin-lib:selectProductionFlowDefinitionType ;
113 - sp:arg1 _:b9 111 + sp:arg1 _:b10
114 ] ; 112 ] ;
115 - sp:variable 113 + sp:variable _:b4
116 - [ sp:varName "productionFlowQualitierType"^^xsd:string
117 - ]
118 ]) 114 ])
119 ] ; 115 ] ;
120 spin:rule 116 spin:rule
121 [ rdf:type sp:Construct ; 117 [ rdf:type sp:Construct ;
122 rdfs:comment "STEP 9999 stream of conciousness"^^xsd:string ; 118 rdfs:comment "STEP 9999 stream of conciousness"^^xsd:string ;
123 sp:templates () ; 119 sp:templates () ;
124 - sp:where ([ sp:object _:b12 ; 120 + sp:where ([ sp:object _:b13 ;
125 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#facilityRef> ; 121 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#facilityRef> ;
126 sp:subject spin:_this 122 sp:subject spin:_this
127 - ] [ sp:object _:b13 ; 123 + ] [ sp:object _:b14 ;
128 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#nameRef> ; 124 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#nameRef> ;
129 - sp:subject _:b12 125 + sp:subject _:b13
130 ] [ sp:object 126 ] [ sp:object
131 [ sp:varName "facilityName"^^xsd:string 127 [ sp:varName "facilityName"^^xsd:string
132 ] ; 128 ] ;
133 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; 129 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
134 - sp:subject _:b13 130 + sp:subject _:b14
135 ] [ rdf:type sp:Optional ; 131 ] [ rdf:type sp:Optional ;
136 sp:elements ([ sp:object 132 sp:elements ([ sp:object
137 [ sp:varName "facilityNamingSystem"^^xsd:string 133 [ sp:varName "facilityNamingSystem"^^xsd:string
138 ] ; 134 ] ;
139 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#namingSystem> ; 135 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#namingSystem> ;
140 - sp:subject _:b13 136 + sp:subject _:b14
141 ]) 137 ])
142 ] [ rdf:type sp:Optional ; 138 ] [ rdf:type sp:Optional ;
143 sp:elements ([ sp:object 139 sp:elements ([ sp:object
144 [ sp:varName "facilityKind"^^xsd:string 140 [ sp:varName "facilityKind"^^xsd:string
145 ] ; 141 ] ;
146 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; 142 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ;
147 - sp:subject _:b13 143 + sp:subject _:b14
148 ]) 144 ])
149 - ] [ sp:object _:b14 ; 145 + ] [ sp:object _:b15 ;
150 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#flowRef> ; 146 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#flowRef> ;
151 - sp:subject _:b12 147 + sp:subject _:b13
152 ] [ sp:object 148 ] [ sp:object
153 [ sp:varName "flowName"^^xsd:string 149 [ sp:varName "flowName"^^xsd:string
154 ] ; 150 ] ;
155 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#name> ; 151 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#name> ;
156 - sp:subject _:b14 152 + sp:subject _:b15
157 ] [ sp:object 153 ] [ sp:object
158 [ sp:varName "flowKind"^^xsd:string 154 [ sp:varName "flowKind"^^xsd:string
159 ] ; 155 ] ;
160 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; 156 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ;
161 - sp:subject _:b14 157 + sp:subject _:b15
162 ] [ sp:object 158 ] [ sp:object
163 [ sp:varName "flowDirection"^^xsd:string 159 [ sp:varName "flowDirection"^^xsd:string
164 ] ; 160 ] ;
165 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#directionRef> ; 161 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#directionRef> ;
166 - sp:subject _:b14 162 + sp:subject _:b15
167 ] [ sp:object 163 ] [ sp:object
168 [ sp:varName "flowQualifier"^^xsd:string 164 [ sp:varName "flowQualifier"^^xsd:string
169 ] ; 165 ] ;
170 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#qualifierRef> ; 166 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#qualifierRef> ;
171 - sp:subject _:b14 167 + sp:subject _:b15
172 - ] [ sp:object _:b15 ;
173 - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productRef> ;
174 - sp:subject _:b14
175 ] [ sp:object _:b16 ; 168 ] [ sp:object _:b16 ;
176 - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#nameRef> ; 169 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#productRef> ;
177 sp:subject _:b15 170 sp:subject _:b15
171 + ] [ sp:object _:b17 ;
172 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#nameRef> ;
173 + sp:subject _:b16
178 ] [ sp:object 174 ] [ sp:object
179 [ sp:varName "productName"^^xsd:string 175 [ sp:varName "productName"^^xsd:string
180 ] ; 176 ] ;
181 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; 177 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
182 - sp:subject _:b16 178 + sp:subject _:b17
183 ] [ rdf:type sp:Optional ; 179 ] [ rdf:type sp:Optional ;
184 sp:elements ([ sp:object 180 sp:elements ([ sp:object
185 [ sp:varName "productNamingSystem"^^xsd:string 181 [ sp:varName "productNamingSystem"^^xsd:string
186 ] ; 182 ] ;
187 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#namingSystem> ; 183 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#namingSystem> ;
188 - sp:subject _:b16 184 + sp:subject _:b17
189 ]) 185 ])
190 ] [ rdf:type sp:Optional ; 186 ] [ rdf:type sp:Optional ;
191 - sp:elements ([ sp:object _:b17 ; 187 + sp:elements ([ sp:object _:b18 ;
192 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; 188 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ;
193 - sp:subject _:b16 189 + sp:subject _:b17
194 ]) 190 ])
195 - ] [ sp:object _:b17 ;
196 - sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ;
197 - sp:subject _:b15
198 ] [ sp:object _:b18 ; 191 ] [ sp:object _:b18 ;
192 + sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ;
193 + sp:subject _:b16
194 + ] [ sp:object _:b19 ;
199 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#periodRef> ; 195 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#periodRef> ;
200 - sp:subject _:b15 196 + sp:subject _:b16
201 ] [ sp:object 197 ] [ sp:object
202 [ sp:varName "periodKind"^^xsd:string 198 [ sp:varName "periodKind"^^xsd:string
203 ] ; 199 ] ;
204 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; 200 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ;
205 - sp:subject _:b18 201 + sp:subject _:b19
206 ] [ sp:object 202 ] [ sp:object
207 [ sp:varName "startTime"^^xsd:string 203 [ sp:varName "startTime"^^xsd:string
208 ] ; 204 ] ;
209 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dTimStart> ; 205 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dTimStart> ;
210 - sp:subject _:b18 206 + sp:subject _:b19
211 ] [ sp:object 207 ] [ sp:object
212 [ sp:varName "endTime"^^xsd:string 208 [ sp:varName "endTime"^^xsd:string
213 ] ; 209 ] ;
214 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dTimEnd> ; 210 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#dTimEnd> ;
215 - sp:subject _:b18 211 + sp:subject _:b19
216 ] [ rdf:type sp:Optional ; 212 ] [ rdf:type sp:Optional ;
217 - sp:elements ([ sp:object _:b19 ; 213 + sp:elements ([ sp:object _:b20 ;
218 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#volumeRef> ; 214 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#volumeRef> ;
219 - sp:subject _:b18 215 + sp:subject _:b19
220 ] [ sp:object 216 ] [ sp:object
221 [ sp:varName "realVolume"^^xsd:string 217 [ sp:varName "realVolume"^^xsd:string
222 ] ; 218 ] ;
223 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; 219 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
224 - sp:subject _:b19 220 + sp:subject _:b20
225 ] [ sp:object 221 ] [ sp:object
226 [ sp:varName "uomVolume"^^xsd:string 222 [ sp:varName "uomVolume"^^xsd:string
227 ] ; 223 ] ;
228 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ; 224 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ;
229 - sp:subject _:b19 225 + sp:subject _:b20
230 ]) 226 ])
231 ] [ rdf:type sp:Optional ; 227 ] [ rdf:type sp:Optional ;
232 - sp:elements ([ sp:object _:b20 ; 228 + sp:elements ([ sp:object _:b21 ;
233 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#volumeStdRef> ; 229 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#volumeStdRef> ;
234 - sp:subject _:b18 230 + sp:subject _:b19
235 ] [ sp:object 231 ] [ sp:object
236 [ sp:varName "realVolumeStd"^^xsd:string 232 [ sp:varName "realVolumeStd"^^xsd:string
237 ] ; 233 ] ;
238 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; 234 sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
239 - sp:subject _:b20 235 + sp:subject _:b21
240 ] [ sp:object 236 ] [ sp:object
241 [ sp:varName "uomVolumeStd"^^xsd:string 237 [ sp:varName "uomVolumeStd"^^xsd:string
242 ] ; 238 ] ;
243 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ; 239 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#uomRef> ;
244 - sp:subject _:b20 240 + sp:subject _:b21
245 ]) 241 ])
246 ]) 242 ])
247 ] ; 243 ] ;
...@@ -251,124 +247,127 @@ ...@@ -251,124 +247,127 @@
251 Nothing is done with the namingSystem!"""^^xsd:string ; 247 Nothing is done with the namingSystem!"""^^xsd:string ;
252 sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ; 248 sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#ProductionFacility> ;
253 sp:predicate rdf:type ; 249 sp:predicate rdf:type ;
254 - sp:subject _:b21 250 + sp:subject _:b22
255 - ] [ sp:object _:b22 ;
256 - sp:predicate rdf:type ;
257 - sp:subject _:b21
258 ] [ sp:object _:b23 ; 251 ] [ sp:object _:b23 ;
252 + sp:predicate rdf:type ;
253 + sp:subject _:b22
254 + ] [ sp:object _:b24 ;
259 sp:predicate rdfs:label ; 255 sp:predicate rdfs:label ;
260 - sp:subject _:b21 256 + sp:subject _:b22
261 ]) ; 257 ]) ;
262 - sp:where ([ sp:object _:b24 ; 258 + sp:where ([ sp:object _:b25 ;
263 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#facilityRef> ; 259 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#facilityRef> ;
264 sp:subject spin:_this 260 sp:subject spin:_this
265 - ] [ sp:object _:b25 ; 261 + ] [ sp:object _:b26 ;
266 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#nameRef> ; 262 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#nameRef> ;
267 - sp:subject _:b24
268 - ] [ sp:object _:b23 ;
269 - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
270 sp:subject _:b25 263 sp:subject _:b25
264 + ] [ sp:object _:b24 ;
265 + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
266 + sp:subject _:b26
271 ] [ rdf:type sp:Optional ; 267 ] [ rdf:type sp:Optional ;
272 sp:elements ([ sp:object 268 sp:elements ([ sp:object
273 [ sp:varName "facilityNamingSystem"^^xsd:string 269 [ sp:varName "facilityNamingSystem"^^xsd:string
274 ] ; 270 ] ;
275 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#namingSystem> ; 271 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#namingSystem> ;
276 - sp:subject _:b25 272 + sp:subject _:b26
277 ]) 273 ])
278 ] [ rdf:type sp:Optional ; 274 ] [ rdf:type sp:Optional ;
279 - sp:elements ([ sp:object _:b26 ; 275 + sp:elements ([ sp:object _:b27 ;
280 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ; 276 sp:predicate <http://www.witsml.org/schemas/131/addendum/combo#kindRef> ;
281 - sp:subject _:b25 277 + sp:subject _:b26
282 ]) 278 ])
283 ] [ rdf:type sp:Bind ; 279 ] [ rdf:type sp:Bind ;
284 sp:expression 280 sp:expression
285 [ rdf:type ep-spin-lib:normalizeString ; 281 [ rdf:type ep-spin-lib:normalizeString ;
286 - sp:arg1 _:b23 282 + sp:arg1 _:b24
287 ] ; 283 ] ;
288 - sp:variable _:b27 284 + sp:variable _:b28
289 ] [ rdf:type sp:Bind ; 285 ] [ rdf:type sp:Bind ;
290 sp:expression 286 sp:expression
291 [ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ; 287 [ rdf:type ep-dpr-spin-lib:buildProductionFacilityURI ;
292 - sp:arg1 _:b27 288 + sp:arg1 _:b28
293 ] ; 289 ] ;
294 - sp:variable _:b21 290 + sp:variable _:b22
295 ] [ rdf:type sp:Bind ; 291 ] [ rdf:type sp:Bind ;
296 sp:expression 292 sp:expression
297 [ rdf:type ep-dpr-spin-lib:selectProductionFacilityType ; 293 [ rdf:type ep-dpr-spin-lib:selectProductionFacilityType ;
298 - sp:arg1 _:b26 294 + sp:arg1 _:b27
299 ] ; 295 ] ;
300 - sp:variable _:b22 296 + sp:variable _:b23
301 ]) 297 ])
302 ] . 298 ] .
303 299
304 -_:b3 sp:varName "productionFlowPurposeType"^^xsd:string . 300 +_:b28
305 -
306 -_:b1 sp:varName "productionFlow"^^xsd:string .
307 -
308 -_:b11
309 - sp:varName "normalizedFlowName"^^xsd:string .
310 -
311 -_:b2 sp:varName "productionFacility"^^xsd:string .
312 -
313 -_:b10
314 sp:varName "normalizedFacilityName"^^xsd:string . 301 sp:varName "normalizedFacilityName"^^xsd:string .
315 302
316 -_:b9 sp:varName "flowKind"^^xsd:string . 303 +_:b27
304 + sp:varName "facilityKind"^^xsd:string .
317 305
318 -_:b4 sp:varName "flowName"^^xsd:string . 306 +_:b26
307 + sp:varName "facilityNameRef"^^xsd:string .
319 308
320 -_:b8 sp:varName "flowRef"^^xsd:string . 309 +_:b25
310 + sp:varName "facilityRef"^^xsd:string .
321 311
322 -_:b7 sp:varName "facilityName"^^xsd:string . 312 +_:b24
313 + sp:varName "facilityName"^^xsd:string .
323 314
324 -_:b6 sp:varName "facilityNameRef"^^xsd:string . 315 +_:b23
316 + sp:varName "productionFacilityType"^^xsd:string .
325 317
326 -_:b5 sp:varName "facilityRef"^^xsd:string . 318 +_:b22
319 + sp:varName "productionFacility"^^xsd:string .
327 320
328 -_:b20 321 +_:b21
329 sp:varName "volumeStdRef"^^xsd:string . 322 sp:varName "volumeStdRef"^^xsd:string .
330 323
331 -_:b19 324 +_:b20
332 sp:varName "volumeRef"^^xsd:string . 325 sp:varName "volumeRef"^^xsd:string .
333 326
334 -_:b18 327 +_:b19
335 sp:varName "period"^^xsd:string . 328 sp:varName "period"^^xsd:string .
336 329
337 -_:b17 330 +_:b18
338 sp:varName "productKind"^^xsd:string . 331 sp:varName "productKind"^^xsd:string .
339 332
340 -_:b16 333 +_:b17
341 sp:varName "productNameRef"^^xsd:string . 334 sp:varName "productNameRef"^^xsd:string .
342 335
343 -_:b15 336 +_:b16
344 sp:varName "product"^^xsd:string . 337 sp:varName "product"^^xsd:string .
345 338
346 -_:b14 339 +_:b15
347 sp:varName "flow"^^xsd:string . 340 sp:varName "flow"^^xsd:string .
348 341
349 -_:b13 342 +_:b14
350 sp:varName "facilityNameRef"^^xsd:string . 343 sp:varName "facilityNameRef"^^xsd:string .
351 344
352 -_:b12 345 +_:b13
353 sp:varName "facility"^^xsd:string . 346 sp:varName "facility"^^xsd:string .
354 347
355 -_:b27 348 +_:b6 sp:varName "facilityRef"^^xsd:string .
356 - sp:varName "normalizedFacilityName"^^xsd:string .
357 349
358 -_:b26 350 +_:b7 sp:varName "facilityNameRef"^^xsd:string .
359 - sp:varName "facilityKind"^^xsd:string .
360 351
361 -_:b25 352 +_:b8 sp:varName "facilityName"^^xsd:string .
362 - sp:varName "facilityNameRef"^^xsd:string .
363 353
364 -_:b24 354 +_:b9 sp:varName "flowRef"^^xsd:string .
365 - sp:varName "facilityRef"^^xsd:string .
366 355
367 -_:b23 356 +_:b5 sp:varName "flowName"^^xsd:string .
368 - sp:varName "facilityName"^^xsd:string .
369 357
370 -_:b22 358 +_:b10
371 - sp:varName "productionFacilityType"^^xsd:string . 359 + sp:varName "flowKind"^^xsd:string .
372 360
373 -_:b21 361 +_:b11
374 - sp:varName "productionFacility"^^xsd:string . 362 + sp:varName "normalizedFacilityName"^^xsd:string .
363 +
364 +_:b2 sp:varName "productionFacility"^^xsd:string .
365 +
366 +_:b12
367 + sp:varName "normalizedFlowName"^^xsd:string .
368 +
369 +_:b1 sp:varName "productionFlow"^^xsd:string .
370 +
371 +_:b3 sp:varName "productionFlowPurposeType"^^xsd:string .
372 +
373 +_:b4 sp:varName "productionFlowDefinitionType"^^xsd:string .
......