Showing
2 changed files
with
1207 additions
and
175 deletions
| ... | @@ -20,6 +20,230 @@ | ... | @@ -20,6 +20,230 @@ |
| 20 | owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/spin/rh> ; | 20 | owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/spin/rh> ; |
| 21 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 21 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
| 22 | 22 | ||
| 23 | +dpr-tables:ExportVolumes | ||
| 24 | + rdf:type rhspin:TableTemplate ; | ||
| 25 | + rdfs:label "Export Volume List"^^xsd:string ; | ||
| 26 | + rdfs:subClassOf rhspin:DPRTableTemplates ; | ||
| 27 | + spin:body | ||
| 28 | + [ rdf:type sp:Select ; | ||
| 29 | + sp:orderBy ([ sp:varName "flowInOutFacilityName"^^xsd:string | ||
| 30 | + ] [ sp:varName "flowPurposeName"^^xsd:string | ||
| 31 | + ] [ sp:varName "flowDefinitionName"^^xsd:string | ||
| 32 | + ]) ; | ||
| 33 | + sp:resultVariables ([ sp:varName "containingWholeFacilityName"^^xsd:string | ||
| 34 | + ] [ sp:varName "flowInOutFacilityName"^^xsd:string | ||
| 35 | + ] [ sp:varName "flowPurposeName"^^xsd:string | ||
| 36 | + ] [ sp:varName "flowDefinitionName"^^xsd:string | ||
| 37 | + ] [ sp:varName "densityValue"^^xsd:string | ||
| 38 | + ] [ sp:varName "pressureValue"^^xsd:string | ||
| 39 | + ] [ sp:varName "temperatureValue"^^xsd:string | ||
| 40 | + ]) ; | ||
| 41 | + sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ; | ||
| 42 | + sp:predicate rdf:type ; | ||
| 43 | + sp:subject | ||
| 44 | + [ sp:varName "report"^^xsd:string | ||
| 45 | + ] | ||
| 46 | + ] [ sp:object | ||
| 47 | + [ sp:varName "report"^^xsd:string | ||
| 48 | + ] ; | ||
| 49 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; | ||
| 50 | + sp:subject | ||
| 51 | + [ sp:varName "productvolumereport"^^xsd:string | ||
| 52 | + ] | ||
| 53 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductVolumeReport> ; | ||
| 54 | + sp:predicate rdf:type ; | ||
| 55 | + sp:subject | ||
| 56 | + [ sp:varName "productvolumereport"^^xsd:string | ||
| 57 | + ] | ||
| 58 | + ] [ sp:object | ||
| 59 | + [ sp:varName "productionflownetwork"^^xsd:string | ||
| 60 | + ] ; | ||
| 61 | + sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ; | ||
| 62 | + sp:subject | ||
| 63 | + [ sp:varName "productvolumereport"^^xsd:string | ||
| 64 | + ] | ||
| 65 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowNetwork> ; | ||
| 66 | + sp:predicate rdf:type ; | ||
| 67 | + sp:subject | ||
| 68 | + [ sp:varName "productionflownetwork"^^xsd:string | ||
| 69 | + ] | ||
| 70 | + ] [ sp:object | ||
| 71 | + [ sp:varName "flow"^^xsd:string | ||
| 72 | + ] ; | ||
| 73 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasNetworkPart> ; | ||
| 74 | + sp:subject | ||
| 75 | + [ sp:varName "productionflownetwork"^^xsd:string | ||
| 76 | + ] | ||
| 77 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlow> ; | ||
| 78 | + sp:predicate rdf:type ; | ||
| 79 | + sp:subject | ||
| 80 | + [ sp:varName "flow"^^xsd:string | ||
| 81 | + ] | ||
| 82 | + ] [ sp:object | ||
| 83 | + [ sp:varName "productionflownetwork"^^xsd:string | ||
| 84 | + ] ; | ||
| 85 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ; | ||
| 86 | + sp:subject | ||
| 87 | + [ sp:varName "productionflownetworkFacility"^^xsd:string | ||
| 88 | + ] | ||
| 89 | + ] [ sp:object | ||
| 90 | + [ sp:varName "containingWholeFacility"^^xsd:string | ||
| 91 | + ] ; | ||
| 92 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 93 | + sp:subject | ||
| 94 | + [ sp:varName "productionflownetworkFacility"^^xsd:string | ||
| 95 | + ] | ||
| 96 | + ] [ sp:object | ||
| 97 | + [ sp:varName "containingWholeFacilityName"^^xsd:string | ||
| 98 | + ] ; | ||
| 99 | + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; | ||
| 100 | + sp:subject | ||
| 101 | + [ sp:varName "containingWholeFacility"^^xsd:string | ||
| 102 | + ] | ||
| 103 | + ] [ sp:object | ||
| 104 | + [ sp:varName "flowWhole"^^xsd:string | ||
| 105 | + ] ; | ||
| 106 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 107 | + sp:subject | ||
| 108 | + [ sp:varName "flow"^^xsd:string | ||
| 109 | + ] | ||
| 110 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#WholeLifeProductionFlow> ; | ||
| 111 | + sp:predicate rdf:type ; | ||
| 112 | + sp:subject | ||
| 113 | + [ sp:varName "flowWhole"^^xsd:string | ||
| 114 | + ] | ||
| 115 | + ] [ sp:object | ||
| 116 | + [ sp:varName "flowInOutFacility"^^xsd:string | ||
| 117 | + ] ; | ||
| 118 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf> ; | ||
| 119 | + sp:subject | ||
| 120 | + [ sp:varName "flowWhole"^^xsd:string | ||
| 121 | + ] | ||
| 122 | + ] [ rdf:type sp:TriplePath ; | ||
| 123 | + sp:object | ||
| 124 | + [ sp:varName "flowInOutFacilityName"^^xsd:string | ||
| 125 | + ] ; | ||
| 126 | + sp:path [ rdf:type sp:AltPath ; | ||
| 127 | + sp:path1 <http://www.reportinghub.no/ep/schema/core#name> ; | ||
| 128 | + sp:path2 <http://www.reportinghub.no/np/schema/npd#name> | ||
| 129 | + ] ; | ||
| 130 | + sp:subject | ||
| 131 | + [ sp:varName "flowInOutFacility"^^xsd:string | ||
| 132 | + ] | ||
| 133 | + ] [ sp:object | ||
| 134 | + [ sp:varName "flowPurpose"^^xsd:string | ||
| 135 | + ] ; | ||
| 136 | + sp:predicate rdf:type ; | ||
| 137 | + sp:subject | ||
| 138 | + [ sp:varName "flowWhole"^^xsd:string | ||
| 139 | + ] | ||
| 140 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowPurposeType> ; | ||
| 141 | + sp:predicate rdf:type ; | ||
| 142 | + sp:subject | ||
| 143 | + [ sp:varName "flowPurpose"^^xsd:string | ||
| 144 | + ] | ||
| 145 | + ] [ rdf:type sp:Filter ; | ||
| 146 | + sp:expression | ||
| 147 | + [ rdf:type sp:eq ; | ||
| 148 | + sp:arg1 [ sp:varName "flowPurpose"^^xsd:string | ||
| 149 | + ] ; | ||
| 150 | + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Export> | ||
| 151 | + ] | ||
| 152 | + ] [ sp:object | ||
| 153 | + [ sp:varName "flowPurposeName"^^xsd:string | ||
| 154 | + ] ; | ||
| 155 | + sp:predicate rdfs:label ; | ||
| 156 | + sp:subject | ||
| 157 | + [ sp:varName "flowPurpose"^^xsd:string | ||
| 158 | + ] | ||
| 159 | + ] [ sp:object | ||
| 160 | + [ sp:varName "flowDefinition"^^xsd:string | ||
| 161 | + ] ; | ||
| 162 | + sp:predicate rdf:type ; | ||
| 163 | + sp:subject | ||
| 164 | + [ sp:varName "flowWhole"^^xsd:string | ||
| 165 | + ] | ||
| 166 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowDefinitionType> ; | ||
| 167 | + sp:predicate rdf:type ; | ||
| 168 | + sp:subject | ||
| 169 | + [ sp:varName "flowDefinition"^^xsd:string | ||
| 170 | + ] | ||
| 171 | + ] [ sp:object | ||
| 172 | + [ sp:varName "flowDefinitionName"^^xsd:string | ||
| 173 | + ] ; | ||
| 174 | + sp:predicate rdfs:label ; | ||
| 175 | + sp:subject | ||
| 176 | + [ sp:varName "flowDefinition"^^xsd:string | ||
| 177 | + ] | ||
| 178 | + ] [ rdf:type sp:Optional ; | ||
| 179 | + sp:elements ([ sp:object | ||
| 180 | + [ sp:varName "temperature"^^xsd:string | ||
| 181 | + ] ; | ||
| 182 | + sp:predicate rdf:type ; | ||
| 183 | + sp:subject | ||
| 184 | + [ sp:varName "flow"^^xsd:string | ||
| 185 | + ] | ||
| 186 | + ] [ sp:object | ||
| 187 | + [ sp:varName "density"^^xsd:string | ||
| 188 | + ] ; | ||
| 189 | + sp:predicate rdf:type ; | ||
| 190 | + sp:subject | ||
| 191 | + [ sp:varName "flow"^^xsd:string | ||
| 192 | + ] | ||
| 193 | + ] [ sp:object | ||
| 194 | + [ sp:varName "pressure"^^xsd:string | ||
| 195 | + ] ; | ||
| 196 | + sp:predicate rdf:type ; | ||
| 197 | + sp:subject | ||
| 198 | + [ sp:varName "flow"^^xsd:string | ||
| 199 | + ] | ||
| 200 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ; | ||
| 201 | + sp:predicate rdf:type ; | ||
| 202 | + sp:subject | ||
| 203 | + [ sp:varName "pressure"^^xsd:string | ||
| 204 | + ] | ||
| 205 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Density> ; | ||
| 206 | + sp:predicate rdf:type ; | ||
| 207 | + sp:subject | ||
| 208 | + [ sp:varName "density"^^xsd:string | ||
| 209 | + ] | ||
| 210 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Temperature> ; | ||
| 211 | + sp:predicate rdf:type ; | ||
| 212 | + sp:subject | ||
| 213 | + [ sp:varName "temperature"^^xsd:string | ||
| 214 | + ] | ||
| 215 | + ] [ rdf:type sp:Bind ; | ||
| 216 | + sp:expression | ||
| 217 | + [ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ; | ||
| 218 | + sp:arg1 [ sp:varName "temperature"^^xsd:string | ||
| 219 | + ] | ||
| 220 | + ] ; | ||
| 221 | + sp:variable | ||
| 222 | + [ sp:varName "temperatureValue"^^xsd:string | ||
| 223 | + ] | ||
| 224 | + ] [ rdf:type sp:Bind ; | ||
| 225 | + sp:expression | ||
| 226 | + [ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ; | ||
| 227 | + sp:arg1 [ sp:varName "pressure"^^xsd:string | ||
| 228 | + ] | ||
| 229 | + ] ; | ||
| 230 | + sp:variable | ||
| 231 | + [ sp:varName "pressureValue"^^xsd:string | ||
| 232 | + ] | ||
| 233 | + ] [ rdf:type sp:Bind ; | ||
| 234 | + sp:expression | ||
| 235 | + [ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ; | ||
| 236 | + sp:arg1 [ sp:varName "density"^^xsd:string | ||
| 237 | + ] | ||
| 238 | + ] ; | ||
| 239 | + sp:variable | ||
| 240 | + [ sp:varName "densityValue"^^xsd:string | ||
| 241 | + ] | ||
| 242 | + ]) | ||
| 243 | + ]) | ||
| 244 | + ] ; | ||
| 245 | + rhspin:tableHeaders ("Field"^^xsd:string "Facility Name"^^xsd:string "Flow Purpose"^^xsd:string "Flow Definition"^^xsd:string "Flow Density"^^xsd:string "Flow Pressure"^^xsd:string "Flow Temperature"^^xsd:string) . | ||
| 246 | + | ||
| 23 | dpr-tables:FluidSampleAnalysisResults | 247 | dpr-tables:FluidSampleAnalysisResults |
| 24 | rdf:type rhspin:TableTemplate ; | 248 | rdf:type rhspin:TableTemplate ; |
| 25 | rdfs:label "Fluid Sample Analysis Results"^^xsd:string ; | 249 | rdfs:label "Fluid Sample Analysis Results"^^xsd:string ; |
| ... | @@ -459,9 +683,9 @@ dpr-tables:HSEInformation | ... | @@ -459,9 +683,9 @@ dpr-tables:HSEInformation |
| 459 | ] ; | 683 | ] ; |
| 460 | rhspin:tableHeaders ("Facility"^^xsd:string "Operation Type"^^xsd:string "Start"^^xsd:string "Finish"^^xsd:string "Safety Text"^^xsd:string "Comment"^^xsd:string) . | 684 | rhspin:tableHeaders ("Facility"^^xsd:string "Operation Type"^^xsd:string "Start"^^xsd:string "Finish"^^xsd:string "Safety Text"^^xsd:string "Comment"^^xsd:string) . |
| 461 | 685 | ||
| 462 | -dpr-tables:InjectionVolumes | 686 | +dpr-tables:ImportVolumes |
| 463 | rdf:type rhspin:TableTemplate ; | 687 | rdf:type rhspin:TableTemplate ; |
| 464 | - rdfs:label "Injection Volume List"^^xsd:string ; | 688 | + rdfs:label "Import Volume List"^^xsd:string ; |
| 465 | rdfs:subClassOf rhspin:DPRTableTemplates ; | 689 | rdfs:subClassOf rhspin:DPRTableTemplates ; |
| 466 | spin:body | 690 | spin:body |
| 467 | [ rdf:type sp:Select ; | 691 | [ rdf:type sp:Select ; |
| ... | @@ -586,7 +810,7 @@ dpr-tables:InjectionVolumes | ... | @@ -586,7 +810,7 @@ dpr-tables:InjectionVolumes |
| 586 | [ rdf:type sp:eq ; | 810 | [ rdf:type sp:eq ; |
| 587 | sp:arg1 [ sp:varName "flowPurpose"^^xsd:string | 811 | sp:arg1 [ sp:varName "flowPurpose"^^xsd:string |
| 588 | ] ; | 812 | ] ; |
| 589 | - sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Injection> | 813 | + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Import> |
| 590 | ] | 814 | ] |
| 591 | ] [ sp:object | 815 | ] [ sp:object |
| 592 | [ sp:varName "flowPurposeName"^^xsd:string | 816 | [ sp:varName "flowPurposeName"^^xsd:string |
| ... | @@ -683,15 +907,23 @@ dpr-tables:InjectionVolumes | ... | @@ -683,15 +907,23 @@ dpr-tables:InjectionVolumes |
| 683 | ] ; | 907 | ] ; |
| 684 | rhspin:tableHeaders ("Field"^^xsd:string "Facility Name"^^xsd:string "Flow Purpose"^^xsd:string "Flow Definition"^^xsd:string "Flow Density"^^xsd:string "Flow Pressure"^^xsd:string "Flow Temperature"^^xsd:string) . | 908 | rhspin:tableHeaders ("Field"^^xsd:string "Facility Name"^^xsd:string "Flow Purpose"^^xsd:string "Flow Definition"^^xsd:string "Flow Density"^^xsd:string "Flow Pressure"^^xsd:string "Flow Temperature"^^xsd:string) . |
| 685 | 909 | ||
| 686 | -dpr-tables:OperationInformation | 910 | +dpr-tables:InjectionVolumes |
| 687 | rdf:type rhspin:TableTemplate ; | 911 | rdf:type rhspin:TableTemplate ; |
| 688 | - rdfs:label "Operation Information"^^xsd:string ; | 912 | + rdfs:label "Injection Volume List"^^xsd:string ; |
| 689 | rdfs:subClassOf rhspin:DPRTableTemplates ; | 913 | rdfs:subClassOf rhspin:DPRTableTemplates ; |
| 690 | spin:body | 914 | spin:body |
| 691 | [ rdf:type sp:Select ; | 915 | [ rdf:type sp:Select ; |
| 692 | - sp:resultVariables ([ sp:varName "facilityName"^^xsd:string | 916 | + sp:orderBy ([ sp:varName "flowInOutFacilityName"^^xsd:string |
| 693 | - ] [ sp:varName "definingType"^^xsd:string | 917 | + ] [ sp:varName "flowPurposeName"^^xsd:string |
| 694 | - ] [ sp:varName "number"^^xsd:string | 918 | + ] [ sp:varName "flowDefinitionName"^^xsd:string |
| 919 | + ]) ; | ||
| 920 | + sp:resultVariables ([ sp:varName "containingWholeFacilityName"^^xsd:string | ||
| 921 | + ] [ sp:varName "flowInOutFacilityName"^^xsd:string | ||
| 922 | + ] [ sp:varName "flowPurposeName"^^xsd:string | ||
| 923 | + ] [ sp:varName "flowDefinitionName"^^xsd:string | ||
| 924 | + ] [ sp:varName "densityValue"^^xsd:string | ||
| 925 | + ] [ sp:varName "pressureValue"^^xsd:string | ||
| 926 | + ] [ sp:varName "temperatureValue"^^xsd:string | ||
| 695 | ]) ; | 927 | ]) ; |
| 696 | sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ; | 928 | sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ; |
| 697 | sp:predicate rdf:type ; | 929 | sp:predicate rdf:type ; |
| ... | @@ -699,26 +931,242 @@ dpr-tables:OperationInformation | ... | @@ -699,26 +931,242 @@ dpr-tables:OperationInformation |
| 699 | [ sp:varName "report"^^xsd:string | 931 | [ sp:varName "report"^^xsd:string |
| 700 | ] | 932 | ] |
| 701 | ] [ sp:object | 933 | ] [ sp:object |
| 702 | - [ sp:varName "productionReport"^^xsd:string | 934 | + [ sp:varName "report"^^xsd:string |
| 703 | ] ; | 935 | ] ; |
| 704 | sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; | 936 | sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; |
| 705 | sp:subject | 937 | sp:subject |
| 706 | - [ sp:varName "productionOperationReport"^^xsd:string | 938 | + [ sp:varName "productvolumereport"^^xsd:string |
| 707 | ] | 939 | ] |
| 708 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionOperationReport> ; | 940 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductVolumeReport> ; |
| 709 | sp:predicate rdf:type ; | 941 | sp:predicate rdf:type ; |
| 710 | sp:subject | 942 | sp:subject |
| 711 | - [ sp:varName "productionOperationReport"^^xsd:string | 943 | + [ sp:varName "productvolumereport"^^xsd:string |
| 712 | ] | 944 | ] |
| 713 | ] [ sp:object | 945 | ] [ sp:object |
| 714 | - [ sp:varName "temporalPartOfFacility"^^xsd:string | 946 | + [ sp:varName "productionflownetwork"^^xsd:string |
| 715 | ] ; | 947 | ] ; |
| 716 | sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ; | 948 | sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ; |
| 717 | sp:subject | 949 | sp:subject |
| 718 | - [ sp:varName "productionOperationReport"^^xsd:string | 950 | + [ sp:varName "productvolumereport"^^xsd:string |
| 719 | ] | 951 | ] |
| 720 | - ] [ sp:object | 952 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowNetwork> ; |
| 721 | - [ sp:varName "productionFacility"^^xsd:string | 953 | + sp:predicate rdf:type ; |
| 954 | + sp:subject | ||
| 955 | + [ sp:varName "productionflownetwork"^^xsd:string | ||
| 956 | + ] | ||
| 957 | + ] [ sp:object | ||
| 958 | + [ sp:varName "flow"^^xsd:string | ||
| 959 | + ] ; | ||
| 960 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasNetworkPart> ; | ||
| 961 | + sp:subject | ||
| 962 | + [ sp:varName "productionflownetwork"^^xsd:string | ||
| 963 | + ] | ||
| 964 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlow> ; | ||
| 965 | + sp:predicate rdf:type ; | ||
| 966 | + sp:subject | ||
| 967 | + [ sp:varName "flow"^^xsd:string | ||
| 968 | + ] | ||
| 969 | + ] [ sp:object | ||
| 970 | + [ sp:varName "productionflownetwork"^^xsd:string | ||
| 971 | + ] ; | ||
| 972 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ; | ||
| 973 | + sp:subject | ||
| 974 | + [ sp:varName "productionflownetworkFacility"^^xsd:string | ||
| 975 | + ] | ||
| 976 | + ] [ sp:object | ||
| 977 | + [ sp:varName "containingWholeFacility"^^xsd:string | ||
| 978 | + ] ; | ||
| 979 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 980 | + sp:subject | ||
| 981 | + [ sp:varName "productionflownetworkFacility"^^xsd:string | ||
| 982 | + ] | ||
| 983 | + ] [ sp:object | ||
| 984 | + [ sp:varName "containingWholeFacilityName"^^xsd:string | ||
| 985 | + ] ; | ||
| 986 | + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; | ||
| 987 | + sp:subject | ||
| 988 | + [ sp:varName "containingWholeFacility"^^xsd:string | ||
| 989 | + ] | ||
| 990 | + ] [ sp:object | ||
| 991 | + [ sp:varName "flowWhole"^^xsd:string | ||
| 992 | + ] ; | ||
| 993 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 994 | + sp:subject | ||
| 995 | + [ sp:varName "flow"^^xsd:string | ||
| 996 | + ] | ||
| 997 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#WholeLifeProductionFlow> ; | ||
| 998 | + sp:predicate rdf:type ; | ||
| 999 | + sp:subject | ||
| 1000 | + [ sp:varName "flowWhole"^^xsd:string | ||
| 1001 | + ] | ||
| 1002 | + ] [ sp:object | ||
| 1003 | + [ sp:varName "flowInOutFacility"^^xsd:string | ||
| 1004 | + ] ; | ||
| 1005 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf> ; | ||
| 1006 | + sp:subject | ||
| 1007 | + [ sp:varName "flowWhole"^^xsd:string | ||
| 1008 | + ] | ||
| 1009 | + ] [ rdf:type sp:TriplePath ; | ||
| 1010 | + sp:object | ||
| 1011 | + [ sp:varName "flowInOutFacilityName"^^xsd:string | ||
| 1012 | + ] ; | ||
| 1013 | + sp:path [ rdf:type sp:AltPath ; | ||
| 1014 | + sp:path1 <http://www.reportinghub.no/ep/schema/core#name> ; | ||
| 1015 | + sp:path2 <http://www.reportinghub.no/np/schema/npd#name> | ||
| 1016 | + ] ; | ||
| 1017 | + sp:subject | ||
| 1018 | + [ sp:varName "flowInOutFacility"^^xsd:string | ||
| 1019 | + ] | ||
| 1020 | + ] [ sp:object | ||
| 1021 | + [ sp:varName "flowPurpose"^^xsd:string | ||
| 1022 | + ] ; | ||
| 1023 | + sp:predicate rdf:type ; | ||
| 1024 | + sp:subject | ||
| 1025 | + [ sp:varName "flowWhole"^^xsd:string | ||
| 1026 | + ] | ||
| 1027 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowPurposeType> ; | ||
| 1028 | + sp:predicate rdf:type ; | ||
| 1029 | + sp:subject | ||
| 1030 | + [ sp:varName "flowPurpose"^^xsd:string | ||
| 1031 | + ] | ||
| 1032 | + ] [ rdf:type sp:Filter ; | ||
| 1033 | + sp:expression | ||
| 1034 | + [ rdf:type sp:eq ; | ||
| 1035 | + sp:arg1 [ sp:varName "flowPurpose"^^xsd:string | ||
| 1036 | + ] ; | ||
| 1037 | + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Injection> | ||
| 1038 | + ] | ||
| 1039 | + ] [ sp:object | ||
| 1040 | + [ sp:varName "flowPurposeName"^^xsd:string | ||
| 1041 | + ] ; | ||
| 1042 | + sp:predicate rdfs:label ; | ||
| 1043 | + sp:subject | ||
| 1044 | + [ sp:varName "flowPurpose"^^xsd:string | ||
| 1045 | + ] | ||
| 1046 | + ] [ sp:object | ||
| 1047 | + [ sp:varName "flowDefinition"^^xsd:string | ||
| 1048 | + ] ; | ||
| 1049 | + sp:predicate rdf:type ; | ||
| 1050 | + sp:subject | ||
| 1051 | + [ sp:varName "flowWhole"^^xsd:string | ||
| 1052 | + ] | ||
| 1053 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowDefinitionType> ; | ||
| 1054 | + sp:predicate rdf:type ; | ||
| 1055 | + sp:subject | ||
| 1056 | + [ sp:varName "flowDefinition"^^xsd:string | ||
| 1057 | + ] | ||
| 1058 | + ] [ sp:object | ||
| 1059 | + [ sp:varName "flowDefinitionName"^^xsd:string | ||
| 1060 | + ] ; | ||
| 1061 | + sp:predicate rdfs:label ; | ||
| 1062 | + sp:subject | ||
| 1063 | + [ sp:varName "flowDefinition"^^xsd:string | ||
| 1064 | + ] | ||
| 1065 | + ] [ rdf:type sp:Optional ; | ||
| 1066 | + sp:elements ([ sp:object | ||
| 1067 | + [ sp:varName "temperature"^^xsd:string | ||
| 1068 | + ] ; | ||
| 1069 | + sp:predicate rdf:type ; | ||
| 1070 | + sp:subject | ||
| 1071 | + [ sp:varName "flow"^^xsd:string | ||
| 1072 | + ] | ||
| 1073 | + ] [ sp:object | ||
| 1074 | + [ sp:varName "density"^^xsd:string | ||
| 1075 | + ] ; | ||
| 1076 | + sp:predicate rdf:type ; | ||
| 1077 | + sp:subject | ||
| 1078 | + [ sp:varName "flow"^^xsd:string | ||
| 1079 | + ] | ||
| 1080 | + ] [ sp:object | ||
| 1081 | + [ sp:varName "pressure"^^xsd:string | ||
| 1082 | + ] ; | ||
| 1083 | + sp:predicate rdf:type ; | ||
| 1084 | + sp:subject | ||
| 1085 | + [ sp:varName "flow"^^xsd:string | ||
| 1086 | + ] | ||
| 1087 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ; | ||
| 1088 | + sp:predicate rdf:type ; | ||
| 1089 | + sp:subject | ||
| 1090 | + [ sp:varName "pressure"^^xsd:string | ||
| 1091 | + ] | ||
| 1092 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Density> ; | ||
| 1093 | + sp:predicate rdf:type ; | ||
| 1094 | + sp:subject | ||
| 1095 | + [ sp:varName "density"^^xsd:string | ||
| 1096 | + ] | ||
| 1097 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Temperature> ; | ||
| 1098 | + sp:predicate rdf:type ; | ||
| 1099 | + sp:subject | ||
| 1100 | + [ sp:varName "temperature"^^xsd:string | ||
| 1101 | + ] | ||
| 1102 | + ] [ rdf:type sp:Bind ; | ||
| 1103 | + sp:expression | ||
| 1104 | + [ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ; | ||
| 1105 | + sp:arg1 [ sp:varName "temperature"^^xsd:string | ||
| 1106 | + ] | ||
| 1107 | + ] ; | ||
| 1108 | + sp:variable | ||
| 1109 | + [ sp:varName "temperatureValue"^^xsd:string | ||
| 1110 | + ] | ||
| 1111 | + ] [ rdf:type sp:Bind ; | ||
| 1112 | + sp:expression | ||
| 1113 | + [ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ; | ||
| 1114 | + sp:arg1 [ sp:varName "pressure"^^xsd:string | ||
| 1115 | + ] | ||
| 1116 | + ] ; | ||
| 1117 | + sp:variable | ||
| 1118 | + [ sp:varName "pressureValue"^^xsd:string | ||
| 1119 | + ] | ||
| 1120 | + ] [ rdf:type sp:Bind ; | ||
| 1121 | + sp:expression | ||
| 1122 | + [ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ; | ||
| 1123 | + sp:arg1 [ sp:varName "density"^^xsd:string | ||
| 1124 | + ] | ||
| 1125 | + ] ; | ||
| 1126 | + sp:variable | ||
| 1127 | + [ sp:varName "densityValue"^^xsd:string | ||
| 1128 | + ] | ||
| 1129 | + ]) | ||
| 1130 | + ]) | ||
| 1131 | + ] ; | ||
| 1132 | + rhspin:tableHeaders ("Field"^^xsd:string "Facility Name"^^xsd:string "Flow Purpose"^^xsd:string "Flow Definition"^^xsd:string "Flow Density"^^xsd:string "Flow Pressure"^^xsd:string "Flow Temperature"^^xsd:string) . | ||
| 1133 | + | ||
| 1134 | +dpr-tables:OperationInformation | ||
| 1135 | + rdf:type rhspin:TableTemplate ; | ||
| 1136 | + rdfs:label "Operation Information"^^xsd:string ; | ||
| 1137 | + rdfs:subClassOf rhspin:DPRTableTemplates ; | ||
| 1138 | + spin:body | ||
| 1139 | + [ rdf:type sp:Select ; | ||
| 1140 | + sp:resultVariables ([ sp:varName "facilityName"^^xsd:string | ||
| 1141 | + ] [ sp:varName "definingType"^^xsd:string | ||
| 1142 | + ] [ sp:varName "number"^^xsd:string | ||
| 1143 | + ]) ; | ||
| 1144 | + sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ; | ||
| 1145 | + sp:predicate rdf:type ; | ||
| 1146 | + sp:subject | ||
| 1147 | + [ sp:varName "report"^^xsd:string | ||
| 1148 | + ] | ||
| 1149 | + ] [ sp:object | ||
| 1150 | + [ sp:varName "productionReport"^^xsd:string | ||
| 1151 | + ] ; | ||
| 1152 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; | ||
| 1153 | + sp:subject | ||
| 1154 | + [ sp:varName "productionOperationReport"^^xsd:string | ||
| 1155 | + ] | ||
| 1156 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionOperationReport> ; | ||
| 1157 | + sp:predicate rdf:type ; | ||
| 1158 | + sp:subject | ||
| 1159 | + [ sp:varName "productionOperationReport"^^xsd:string | ||
| 1160 | + ] | ||
| 1161 | + ] [ sp:object | ||
| 1162 | + [ sp:varName "temporalPartOfFacility"^^xsd:string | ||
| 1163 | + ] ; | ||
| 1164 | + sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ; | ||
| 1165 | + sp:subject | ||
| 1166 | + [ sp:varName "productionOperationReport"^^xsd:string | ||
| 1167 | + ] | ||
| 1168 | + ] [ sp:object | ||
| 1169 | + [ sp:varName "productionFacility"^^xsd:string | ||
| 722 | ] ; | 1170 | ] ; |
| 723 | sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | 1171 | sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; |
| 724 | sp:subject | 1172 | sp:subject |
| ... | @@ -769,48 +1217,681 @@ dpr-tables:OperationInformation | ... | @@ -769,48 +1217,681 @@ dpr-tables:OperationInformation |
| 769 | sp:subject | 1217 | sp:subject |
| 770 | [ sp:varName "productionOperation"^^xsd:string | 1218 | [ sp:varName "productionOperation"^^xsd:string |
| 771 | ] | 1219 | ] |
| 772 | - ] [ sp:object | 1220 | + ] [ sp:object |
| 773 | - [ sp:varName "setDefiningType"^^xsd:string | 1221 | + [ sp:varName "setDefiningType"^^xsd:string |
| 1222 | + ] ; | ||
| 1223 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#definingType> ; | ||
| 1224 | + sp:subject | ||
| 1225 | + [ sp:varName "set"^^xsd:string | ||
| 1226 | + ] | ||
| 1227 | + ] [ sp:object | ||
| 1228 | + [ sp:varName "definingType"^^xsd:string | ||
| 1229 | + ] ; | ||
| 1230 | + sp:predicate rdfs:label ; | ||
| 1231 | + sp:subject | ||
| 1232 | + [ sp:varName "setDefiningType"^^xsd:string | ||
| 1233 | + ] | ||
| 1234 | + ] [ sp:object | ||
| 1235 | + [ sp:varName "number"^^xsd:string | ||
| 1236 | + ] ; | ||
| 1237 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#numberInSet> ; | ||
| 1238 | + sp:subject | ||
| 1239 | + [ sp:varName "set"^^xsd:string | ||
| 1240 | + ] | ||
| 1241 | + ]) | ||
| 1242 | + ] ; | ||
| 1243 | + rhspin:tableHeaders ("Facility"^^xsd:string "Incident Type"^^xsd:string "Count"^^xsd:string) . | ||
| 1244 | + | ||
| 1245 | +dpr-tables:OtherVolumes | ||
| 1246 | + rdf:type rhspin:TableTemplate ; | ||
| 1247 | + rdfs:label "Consume and Other Volume List"^^xsd:string ; | ||
| 1248 | + rdfs:subClassOf rhspin:DPRTableTemplates ; | ||
| 1249 | + spin:body | ||
| 1250 | + [ rdf:type sp:Select ; | ||
| 1251 | + sp:orderBy ([ sp:varName "flowInOutFacilityName"^^xsd:string | ||
| 1252 | + ] [ sp:varName "flowPurposeName"^^xsd:string | ||
| 1253 | + ] [ sp:varName "flowDefinitionName"^^xsd:string | ||
| 1254 | + ]) ; | ||
| 1255 | + sp:resultVariables ([ sp:varName "containingWholeFacilityName"^^xsd:string | ||
| 1256 | + ] [ sp:varName "flowInOutFacilityName"^^xsd:string | ||
| 1257 | + ] [ sp:varName "flowPurposeName"^^xsd:string | ||
| 1258 | + ] [ sp:varName "flowDefinitionName"^^xsd:string | ||
| 1259 | + ] [ sp:varName "densityValue"^^xsd:string | ||
| 1260 | + ] [ sp:varName "pressureValue"^^xsd:string | ||
| 1261 | + ] [ sp:varName "temperatureValue"^^xsd:string | ||
| 1262 | + ]) ; | ||
| 1263 | + sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ; | ||
| 1264 | + sp:predicate rdf:type ; | ||
| 1265 | + sp:subject | ||
| 1266 | + [ sp:varName "report"^^xsd:string | ||
| 1267 | + ] | ||
| 1268 | + ] [ sp:object | ||
| 1269 | + [ sp:varName "report"^^xsd:string | ||
| 1270 | + ] ; | ||
| 1271 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; | ||
| 1272 | + sp:subject | ||
| 1273 | + [ sp:varName "productvolumereport"^^xsd:string | ||
| 1274 | + ] | ||
| 1275 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductVolumeReport> ; | ||
| 1276 | + sp:predicate rdf:type ; | ||
| 1277 | + sp:subject | ||
| 1278 | + [ sp:varName "productvolumereport"^^xsd:string | ||
| 1279 | + ] | ||
| 1280 | + ] [ sp:object | ||
| 1281 | + [ sp:varName "productionflownetwork"^^xsd:string | ||
| 1282 | + ] ; | ||
| 1283 | + sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ; | ||
| 1284 | + sp:subject | ||
| 1285 | + [ sp:varName "productvolumereport"^^xsd:string | ||
| 1286 | + ] | ||
| 1287 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowNetwork> ; | ||
| 1288 | + sp:predicate rdf:type ; | ||
| 1289 | + sp:subject | ||
| 1290 | + [ sp:varName "productionflownetwork"^^xsd:string | ||
| 1291 | + ] | ||
| 1292 | + ] [ sp:object | ||
| 1293 | + [ sp:varName "flow"^^xsd:string | ||
| 1294 | + ] ; | ||
| 1295 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasNetworkPart> ; | ||
| 1296 | + sp:subject | ||
| 1297 | + [ sp:varName "productionflownetwork"^^xsd:string | ||
| 1298 | + ] | ||
| 1299 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlow> ; | ||
| 1300 | + sp:predicate rdf:type ; | ||
| 1301 | + sp:subject | ||
| 1302 | + [ sp:varName "flow"^^xsd:string | ||
| 1303 | + ] | ||
| 1304 | + ] [ sp:object | ||
| 1305 | + [ sp:varName "productionflownetwork"^^xsd:string | ||
| 1306 | + ] ; | ||
| 1307 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ; | ||
| 1308 | + sp:subject | ||
| 1309 | + [ sp:varName "productionflownetworkFacility"^^xsd:string | ||
| 1310 | + ] | ||
| 1311 | + ] [ sp:object | ||
| 1312 | + [ sp:varName "containingWholeFacility"^^xsd:string | ||
| 1313 | + ] ; | ||
| 1314 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 1315 | + sp:subject | ||
| 1316 | + [ sp:varName "productionflownetworkFacility"^^xsd:string | ||
| 1317 | + ] | ||
| 1318 | + ] [ sp:object | ||
| 1319 | + [ sp:varName "containingWholeFacilityName"^^xsd:string | ||
| 1320 | + ] ; | ||
| 1321 | + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; | ||
| 1322 | + sp:subject | ||
| 1323 | + [ sp:varName "containingWholeFacility"^^xsd:string | ||
| 1324 | + ] | ||
| 1325 | + ] [ sp:object | ||
| 1326 | + [ sp:varName "flowWhole"^^xsd:string | ||
| 1327 | + ] ; | ||
| 1328 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 1329 | + sp:subject | ||
| 1330 | + [ sp:varName "flow"^^xsd:string | ||
| 1331 | + ] | ||
| 1332 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#WholeLifeProductionFlow> ; | ||
| 1333 | + sp:predicate rdf:type ; | ||
| 1334 | + sp:subject | ||
| 1335 | + [ sp:varName "flowWhole"^^xsd:string | ||
| 1336 | + ] | ||
| 1337 | + ] [ sp:object | ||
| 1338 | + [ sp:varName "flowInOutFacility"^^xsd:string | ||
| 1339 | + ] ; | ||
| 1340 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf> ; | ||
| 1341 | + sp:subject | ||
| 1342 | + [ sp:varName "flowWhole"^^xsd:string | ||
| 1343 | + ] | ||
| 1344 | + ] [ rdf:type sp:TriplePath ; | ||
| 1345 | + sp:object | ||
| 1346 | + [ sp:varName "flowInOutFacilityName"^^xsd:string | ||
| 1347 | + ] ; | ||
| 1348 | + sp:path [ rdf:type sp:AltPath ; | ||
| 1349 | + sp:path1 <http://www.reportinghub.no/ep/schema/core#name> ; | ||
| 1350 | + sp:path2 <http://www.reportinghub.no/np/schema/npd#name> | ||
| 1351 | + ] ; | ||
| 1352 | + sp:subject | ||
| 1353 | + [ sp:varName "flowInOutFacility"^^xsd:string | ||
| 1354 | + ] | ||
| 1355 | + ] [ sp:object | ||
| 1356 | + [ sp:varName "flowPurpose"^^xsd:string | ||
| 1357 | + ] ; | ||
| 1358 | + sp:predicate rdf:type ; | ||
| 1359 | + sp:subject | ||
| 1360 | + [ sp:varName "flowWhole"^^xsd:string | ||
| 1361 | + ] | ||
| 1362 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowPurposeType> ; | ||
| 1363 | + sp:predicate rdf:type ; | ||
| 1364 | + sp:subject | ||
| 1365 | + [ sp:varName "flowPurpose"^^xsd:string | ||
| 1366 | + ] | ||
| 1367 | + ] [ rdf:type sp:Filter ; | ||
| 1368 | + sp:expression | ||
| 1369 | + [ rdf:type sp:ne ; | ||
| 1370 | + sp:arg1 [ sp:varName "flowPurpose"^^xsd:string | ||
| 1371 | + ] ; | ||
| 1372 | + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Injection> | ||
| 1373 | + ] | ||
| 1374 | + ] [ rdf:type sp:Filter ; | ||
| 1375 | + sp:expression | ||
| 1376 | + [ rdf:type sp:ne ; | ||
| 1377 | + sp:arg1 [ sp:varName "flowPurpose"^^xsd:string | ||
| 1378 | + ] ; | ||
| 1379 | + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Production> | ||
| 1380 | + ] | ||
| 1381 | + ] [ rdf:type sp:Filter ; | ||
| 1382 | + sp:expression | ||
| 1383 | + [ rdf:type sp:ne ; | ||
| 1384 | + sp:arg1 [ sp:varName "flowPurpose"^^xsd:string | ||
| 1385 | + ] ; | ||
| 1386 | + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Export> | ||
| 1387 | + ] | ||
| 1388 | + ] [ rdf:type sp:Filter ; | ||
| 1389 | + sp:expression | ||
| 1390 | + [ rdf:type sp:ne ; | ||
| 1391 | + sp:arg1 [ sp:varName "flowPurpose"^^xsd:string | ||
| 1392 | + ] ; | ||
| 1393 | + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Import> | ||
| 1394 | + ] | ||
| 1395 | + ] [ sp:object | ||
| 1396 | + [ sp:varName "flowPurposeName"^^xsd:string | ||
| 1397 | + ] ; | ||
| 1398 | + sp:predicate rdfs:label ; | ||
| 1399 | + sp:subject | ||
| 1400 | + [ sp:varName "flowPurpose"^^xsd:string | ||
| 1401 | + ] | ||
| 1402 | + ] [ sp:object | ||
| 1403 | + [ sp:varName "flowDefinition"^^xsd:string | ||
| 1404 | + ] ; | ||
| 1405 | + sp:predicate rdf:type ; | ||
| 1406 | + sp:subject | ||
| 1407 | + [ sp:varName "flowWhole"^^xsd:string | ||
| 1408 | + ] | ||
| 1409 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowDefinitionType> ; | ||
| 1410 | + sp:predicate rdf:type ; | ||
| 1411 | + sp:subject | ||
| 1412 | + [ sp:varName "flowDefinition"^^xsd:string | ||
| 1413 | + ] | ||
| 1414 | + ] [ sp:object | ||
| 1415 | + [ sp:varName "flowDefinitionName"^^xsd:string | ||
| 1416 | + ] ; | ||
| 1417 | + sp:predicate rdfs:label ; | ||
| 1418 | + sp:subject | ||
| 1419 | + [ sp:varName "flowDefinition"^^xsd:string | ||
| 1420 | + ] | ||
| 1421 | + ] [ rdf:type sp:Optional ; | ||
| 1422 | + sp:elements ([ sp:object | ||
| 1423 | + [ sp:varName "temperature"^^xsd:string | ||
| 1424 | + ] ; | ||
| 1425 | + sp:predicate rdf:type ; | ||
| 1426 | + sp:subject | ||
| 1427 | + [ sp:varName "flow"^^xsd:string | ||
| 1428 | + ] | ||
| 1429 | + ] [ sp:object | ||
| 1430 | + [ sp:varName "density"^^xsd:string | ||
| 1431 | + ] ; | ||
| 1432 | + sp:predicate rdf:type ; | ||
| 1433 | + sp:subject | ||
| 1434 | + [ sp:varName "flow"^^xsd:string | ||
| 1435 | + ] | ||
| 1436 | + ] [ sp:object | ||
| 1437 | + [ sp:varName "pressure"^^xsd:string | ||
| 1438 | + ] ; | ||
| 1439 | + sp:predicate rdf:type ; | ||
| 1440 | + sp:subject | ||
| 1441 | + [ sp:varName "flow"^^xsd:string | ||
| 1442 | + ] | ||
| 1443 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ; | ||
| 1444 | + sp:predicate rdf:type ; | ||
| 1445 | + sp:subject | ||
| 1446 | + [ sp:varName "pressure"^^xsd:string | ||
| 1447 | + ] | ||
| 1448 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Density> ; | ||
| 1449 | + sp:predicate rdf:type ; | ||
| 1450 | + sp:subject | ||
| 1451 | + [ sp:varName "density"^^xsd:string | ||
| 1452 | + ] | ||
| 1453 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Temperature> ; | ||
| 1454 | + sp:predicate rdf:type ; | ||
| 1455 | + sp:subject | ||
| 1456 | + [ sp:varName "temperature"^^xsd:string | ||
| 1457 | + ] | ||
| 1458 | + ] [ rdf:type sp:Bind ; | ||
| 1459 | + sp:expression | ||
| 1460 | + [ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ; | ||
| 1461 | + sp:arg1 [ sp:varName "temperature"^^xsd:string | ||
| 1462 | + ] | ||
| 1463 | + ] ; | ||
| 1464 | + sp:variable | ||
| 1465 | + [ sp:varName "temperatureValue"^^xsd:string | ||
| 1466 | + ] | ||
| 1467 | + ] [ rdf:type sp:Bind ; | ||
| 1468 | + sp:expression | ||
| 1469 | + [ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ; | ||
| 1470 | + sp:arg1 [ sp:varName "pressure"^^xsd:string | ||
| 1471 | + ] | ||
| 1472 | + ] ; | ||
| 1473 | + sp:variable | ||
| 1474 | + [ sp:varName "pressureValue"^^xsd:string | ||
| 1475 | + ] | ||
| 1476 | + ] [ rdf:type sp:Bind ; | ||
| 1477 | + sp:expression | ||
| 1478 | + [ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ; | ||
| 1479 | + sp:arg1 [ sp:varName "density"^^xsd:string | ||
| 1480 | + ] | ||
| 1481 | + ] ; | ||
| 1482 | + sp:variable | ||
| 1483 | + [ sp:varName "densityValue"^^xsd:string | ||
| 1484 | + ] | ||
| 1485 | + ]) | ||
| 1486 | + ]) | ||
| 1487 | + ] ; | ||
| 1488 | + rhspin:tableHeaders ("Field"^^xsd:string "Facility Name"^^xsd:string "Flow Purpose"^^xsd:string "Flow Definition"^^xsd:string "Flow Density"^^xsd:string "Flow Pressure"^^xsd:string "Flow Temperature"^^xsd:string) . | ||
| 1489 | + | ||
| 1490 | +dpr-tables:PersonnelInformation | ||
| 1491 | + rdf:type rhspin:TableTemplate ; | ||
| 1492 | + rdfs:label "Personnel Information"^^xsd:string ; | ||
| 1493 | + rdfs:subClassOf rhspin:DPRTableTemplates ; | ||
| 1494 | + spin:body | ||
| 1495 | + [ rdf:type sp:Select ; | ||
| 1496 | + sp:orderBy ([ sp:varName "facilityName"^^xsd:string | ||
| 1497 | + ]) ; | ||
| 1498 | + sp:resultVariables ([ sp:varName "facilityName"^^xsd:string | ||
| 1499 | + ] [ sp:varName "crewNumber"^^xsd:string | ||
| 1500 | + ] [ sp:varName "crewTypename"^^xsd:string | ||
| 1501 | + ]) ; | ||
| 1502 | + sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ; | ||
| 1503 | + sp:predicate rdf:type ; | ||
| 1504 | + sp:subject | ||
| 1505 | + [ sp:varName "report"^^xsd:string | ||
| 1506 | + ] | ||
| 1507 | + ] [ sp:object | ||
| 1508 | + [ sp:varName "report"^^xsd:string | ||
| 1509 | + ] ; | ||
| 1510 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; | ||
| 1511 | + sp:subject | ||
| 1512 | + [ sp:varName "productionOperationReport"^^xsd:string | ||
| 1513 | + ] | ||
| 1514 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionOperationReport> ; | ||
| 1515 | + sp:predicate rdf:type ; | ||
| 1516 | + sp:subject | ||
| 1517 | + [ sp:varName "productionOperationReport"^^xsd:string | ||
| 1518 | + ] | ||
| 1519 | + ] [ sp:object | ||
| 1520 | + [ sp:varName "temporalPartOfFacility"^^xsd:string | ||
| 1521 | + ] ; | ||
| 1522 | + sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ; | ||
| 1523 | + sp:subject | ||
| 1524 | + [ sp:varName "productionOperationReport"^^xsd:string | ||
| 1525 | + ] | ||
| 1526 | + ] [ sp:object | ||
| 1527 | + [ sp:varName "productionFacility"^^xsd:string | ||
| 1528 | + ] ; | ||
| 1529 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 1530 | + sp:subject | ||
| 1531 | + [ sp:varName "temporalPartOfFacility"^^xsd:string | ||
| 1532 | + ] | ||
| 1533 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#Field> ; | ||
| 1534 | + sp:predicate rdf:type ; | ||
| 1535 | + sp:subject | ||
| 1536 | + [ sp:varName "productionFacility"^^xsd:string | ||
| 1537 | + ] | ||
| 1538 | + ] [ sp:object | ||
| 1539 | + [ sp:varName "facilityName"^^xsd:string | ||
| 1540 | + ] ; | ||
| 1541 | + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; | ||
| 1542 | + sp:subject | ||
| 1543 | + [ sp:varName "productionFacility"^^xsd:string | ||
| 1544 | + ] | ||
| 1545 | + ] [ sp:object | ||
| 1546 | + [ sp:varName "productionOperationReport"^^xsd:string | ||
| 1547 | + ] ; | ||
| 1548 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; | ||
| 1549 | + sp:subject | ||
| 1550 | + [ sp:varName "productionOperationInstallationReport"^^xsd:string | ||
| 1551 | + ] | ||
| 1552 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionOperationInstallationReport> ; | ||
| 1553 | + sp:predicate rdf:type ; | ||
| 1554 | + sp:subject | ||
| 1555 | + [ sp:varName "productionOperationInstallationReport"^^xsd:string | ||
| 1556 | + ] | ||
| 1557 | + ] [ sp:object | ||
| 1558 | + [ sp:varName "installationPart"^^xsd:string | ||
| 1559 | + ] ; | ||
| 1560 | + sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ; | ||
| 1561 | + sp:subject | ||
| 1562 | + [ sp:varName "productionOperationInstallationReport"^^xsd:string | ||
| 1563 | + ] | ||
| 1564 | + ] [ sp:object | ||
| 1565 | + [ sp:varName "crew"^^xsd:string | ||
| 1566 | + ] ; | ||
| 1567 | + sp:predicate <http://www.reportinghub.no/ep/schema/organization#hasCrew> ; | ||
| 1568 | + sp:subject | ||
| 1569 | + [ sp:varName "installationPart"^^xsd:string | ||
| 1570 | + ] | ||
| 1571 | + ] [ sp:object | ||
| 1572 | + [ sp:varName "crewNumber"^^xsd:string | ||
| 1573 | + ] ; | ||
| 1574 | + sp:predicate <http://www.reportinghub.no/ep/schema/organization#numberInCrew> ; | ||
| 1575 | + sp:subject | ||
| 1576 | + [ sp:varName "crew"^^xsd:string | ||
| 1577 | + ] | ||
| 1578 | + ] [ sp:object | ||
| 1579 | + [ sp:varName "crewType"^^xsd:string | ||
| 1580 | + ] ; | ||
| 1581 | + sp:predicate rdf:type ; | ||
| 1582 | + sp:subject | ||
| 1583 | + [ sp:varName "crew"^^xsd:string | ||
| 1584 | + ] | ||
| 1585 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/organization#CrewType> ; | ||
| 1586 | + sp:predicate rdf:type ; | ||
| 1587 | + sp:subject | ||
| 1588 | + [ sp:varName "crewType"^^xsd:string | ||
| 1589 | + ] | ||
| 1590 | + ] [ sp:object | ||
| 1591 | + [ sp:varName "crewTypename"^^xsd:string | ||
| 1592 | + ] ; | ||
| 1593 | + sp:predicate rdfs:label ; | ||
| 1594 | + sp:subject | ||
| 1595 | + [ sp:varName "crewType"^^xsd:string | ||
| 1596 | + ] | ||
| 1597 | + ]) | ||
| 1598 | + ] ; | ||
| 1599 | + rhspin:tableHeaders ("Facility"^^xsd:string "Crew"^^xsd:string "Crew Type"^^xsd:string) . | ||
| 1600 | + | ||
| 1601 | +dpr-tables:ProductFlows | ||
| 1602 | + rdf:type rhspin:TableTemplate ; | ||
| 1603 | + rdfs:label "Product Flow Details"^^xsd:string ; | ||
| 1604 | + rdfs:subClassOf rhspin:DPRTableTemplates ; | ||
| 1605 | + spin:body | ||
| 1606 | + [ rdf:type sp:Select ; | ||
| 1607 | + sp:orderBy ([ sp:varName "flowInOutFacilityName"^^xsd:string | ||
| 1608 | + ] [ sp:varName "flowPurposeName"^^xsd:string | ||
| 1609 | + ] [ sp:varName "flowDefinitionName"^^xsd:string | ||
| 1610 | + ] [ sp:varName "productMaterialName"^^xsd:string | ||
| 1611 | + ]) ; | ||
| 1612 | + sp:resultVariables ([ sp:varName "containingWholeFacilityName"^^xsd:string | ||
| 1613 | + ] [ sp:varName "flowInOutFacilityName"^^xsd:string | ||
| 1614 | + ] [ sp:varName "flowPurposeName"^^xsd:string | ||
| 1615 | + ] [ sp:varName "flowDefinitionName"^^xsd:string | ||
| 1616 | + ] [ sp:varName "productMaterialName"^^xsd:string | ||
| 1617 | + ] [ sp:varName "densityValue"^^xsd:string | ||
| 1618 | + ] [ sp:varName "temperatureValue"^^xsd:string | ||
| 1619 | + ] [ sp:varName "pressureValue"^^xsd:string | ||
| 1620 | + ]) ; | ||
| 1621 | + sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ; | ||
| 1622 | + sp:predicate rdf:type ; | ||
| 1623 | + sp:subject | ||
| 1624 | + [ sp:varName "report"^^xsd:string | ||
| 1625 | + ] | ||
| 1626 | + ] [ sp:object | ||
| 1627 | + [ sp:varName "report"^^xsd:string | ||
| 1628 | + ] ; | ||
| 1629 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; | ||
| 1630 | + sp:subject | ||
| 1631 | + [ sp:varName "productvolumereport"^^xsd:string | ||
| 1632 | + ] | ||
| 1633 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductVolumeReport> ; | ||
| 1634 | + sp:predicate rdf:type ; | ||
| 1635 | + sp:subject | ||
| 1636 | + [ sp:varName "productvolumereport"^^xsd:string | ||
| 1637 | + ] | ||
| 1638 | + ] [ sp:object | ||
| 1639 | + [ sp:varName "productionflownetwork"^^xsd:string | ||
| 1640 | + ] ; | ||
| 1641 | + sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ; | ||
| 1642 | + sp:subject | ||
| 1643 | + [ sp:varName "productvolumereport"^^xsd:string | ||
| 1644 | + ] | ||
| 1645 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowNetwork> ; | ||
| 1646 | + sp:predicate rdf:type ; | ||
| 1647 | + sp:subject | ||
| 1648 | + [ sp:varName "productionflownetwork"^^xsd:string | ||
| 1649 | + ] | ||
| 1650 | + ] [ sp:object | ||
| 1651 | + [ sp:varName "flow"^^xsd:string | ||
| 1652 | + ] ; | ||
| 1653 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasNetworkPart> ; | ||
| 1654 | + sp:subject | ||
| 1655 | + [ sp:varName "productionflownetwork"^^xsd:string | ||
| 1656 | + ] | ||
| 1657 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlow> ; | ||
| 1658 | + sp:predicate rdf:type ; | ||
| 1659 | + sp:subject | ||
| 1660 | + [ sp:varName "flow"^^xsd:string | ||
| 1661 | + ] | ||
| 1662 | + ] [ sp:object | ||
| 1663 | + [ sp:varName "productionflownetwork"^^xsd:string | ||
| 1664 | + ] ; | ||
| 1665 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ; | ||
| 1666 | + sp:subject | ||
| 1667 | + [ sp:varName "productionflownetworkFacility"^^xsd:string | ||
| 1668 | + ] | ||
| 1669 | + ] [ sp:object | ||
| 1670 | + [ sp:varName "containingWholeFacility"^^xsd:string | ||
| 1671 | + ] ; | ||
| 1672 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 1673 | + sp:subject | ||
| 1674 | + [ sp:varName "productionflownetworkFacility"^^xsd:string | ||
| 1675 | + ] | ||
| 1676 | + ] [ sp:object | ||
| 1677 | + [ sp:varName "containingWholeFacilityName"^^xsd:string | ||
| 1678 | + ] ; | ||
| 1679 | + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; | ||
| 1680 | + sp:subject | ||
| 1681 | + [ sp:varName "containingWholeFacility"^^xsd:string | ||
| 1682 | + ] | ||
| 1683 | + ] [ sp:object | ||
| 1684 | + [ sp:varName "flowWhole"^^xsd:string | ||
| 1685 | + ] ; | ||
| 1686 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 1687 | + sp:subject | ||
| 1688 | + [ sp:varName "flow"^^xsd:string | ||
| 1689 | + ] | ||
| 1690 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#WholeLifeProductionFlow> ; | ||
| 1691 | + sp:predicate rdf:type ; | ||
| 1692 | + sp:subject | ||
| 1693 | + [ sp:varName "flowWhole"^^xsd:string | ||
| 1694 | + ] | ||
| 1695 | + ] [ sp:object | ||
| 1696 | + [ sp:varName "flowInOutFacility"^^xsd:string | ||
| 1697 | + ] ; | ||
| 1698 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf> ; | ||
| 1699 | + sp:subject | ||
| 1700 | + [ sp:varName "flowWhole"^^xsd:string | ||
| 1701 | + ] | ||
| 1702 | + ] [ rdf:type sp:TriplePath ; | ||
| 1703 | + sp:object | ||
| 1704 | + [ sp:varName "flowInOutFacilityName"^^xsd:string | ||
| 1705 | + ] ; | ||
| 1706 | + sp:path [ rdf:type sp:AltPath ; | ||
| 1707 | + sp:path1 <http://www.reportinghub.no/ep/schema/core#name> ; | ||
| 1708 | + sp:path2 <http://www.reportinghub.no/np/schema/npd#name> | ||
| 1709 | + ] ; | ||
| 1710 | + sp:subject | ||
| 1711 | + [ sp:varName "flowInOutFacility"^^xsd:string | ||
| 1712 | + ] | ||
| 1713 | + ] [ sp:object | ||
| 1714 | + [ sp:varName "flowPurpose"^^xsd:string | ||
| 1715 | + ] ; | ||
| 1716 | + sp:predicate rdf:type ; | ||
| 1717 | + sp:subject | ||
| 1718 | + [ sp:varName "flowWhole"^^xsd:string | ||
| 1719 | + ] | ||
| 1720 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowPurposeType> ; | ||
| 1721 | + sp:predicate rdf:type ; | ||
| 1722 | + sp:subject | ||
| 1723 | + [ sp:varName "flowPurpose"^^xsd:string | ||
| 1724 | + ] | ||
| 1725 | + ] [ rdf:type sp:Filter ; | ||
| 1726 | + sp:expression | ||
| 1727 | + [ rdf:type sp:eq ; | ||
| 1728 | + sp:arg1 [ sp:varName "flowPurpose"^^xsd:string | ||
| 1729 | + ] ; | ||
| 1730 | + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Production> | ||
| 1731 | + ] | ||
| 1732 | + ] [ sp:object | ||
| 1733 | + [ sp:varName "flowPurposeName"^^xsd:string | ||
| 1734 | + ] ; | ||
| 1735 | + sp:predicate rdfs:label ; | ||
| 1736 | + sp:subject | ||
| 1737 | + [ sp:varName "flowPurpose"^^xsd:string | ||
| 1738 | + ] | ||
| 1739 | + ] [ sp:object | ||
| 1740 | + [ sp:varName "flowDefinition"^^xsd:string | ||
| 1741 | + ] ; | ||
| 1742 | + sp:predicate rdf:type ; | ||
| 1743 | + sp:subject | ||
| 1744 | + [ sp:varName "flowWhole"^^xsd:string | ||
| 1745 | + ] | ||
| 1746 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowDefinitionType> ; | ||
| 1747 | + sp:predicate rdf:type ; | ||
| 1748 | + sp:subject | ||
| 1749 | + [ sp:varName "flowDefinition"^^xsd:string | ||
| 1750 | + ] | ||
| 1751 | + ] [ sp:object | ||
| 1752 | + [ sp:varName "flowDefinitionName"^^xsd:string | ||
| 1753 | + ] ; | ||
| 1754 | + sp:predicate rdfs:label ; | ||
| 1755 | + sp:subject | ||
| 1756 | + [ sp:varName "flowDefinition"^^xsd:string | ||
| 1757 | + ] | ||
| 1758 | + ] [ rdf:type sp:Optional ; | ||
| 1759 | + sp:elements ([ sp:object | ||
| 1760 | + [ sp:varName "productFlow"^^xsd:string | ||
| 1761 | + ] ; | ||
| 1762 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ; | ||
| 1763 | + sp:subject | ||
| 1764 | + [ sp:varName "flow"^^xsd:string | ||
| 1765 | + ] | ||
| 1766 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductFlow> ; | ||
| 1767 | + sp:predicate rdf:type ; | ||
| 1768 | + sp:subject | ||
| 1769 | + [ sp:varName "productFlow"^^xsd:string | ||
| 1770 | + ] | ||
| 1771 | + ] [ sp:object | ||
| 1772 | + [ sp:varName "productFlowWholeLife"^^xsd:string | ||
| 1773 | + ] ; | ||
| 1774 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 1775 | + sp:subject | ||
| 1776 | + [ sp:varName "productFlow"^^xsd:string | ||
| 1777 | + ] | ||
| 1778 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#WholeLifeProductFlow> ; | ||
| 1779 | + sp:predicate rdf:type ; | ||
| 1780 | + sp:subject | ||
| 1781 | + [ sp:varName "productFlowWholeLife"^^xsd:string | ||
| 1782 | + ] | ||
| 1783 | + ] [ sp:object | ||
| 1784 | + [ sp:varName "productMaterialType"^^xsd:string | ||
| 1785 | + ] ; | ||
| 1786 | + sp:predicate rdf:type ; | ||
| 1787 | + sp:subject | ||
| 1788 | + [ sp:varName "productFlowWholeLife"^^xsd:string | ||
| 1789 | + ] | ||
| 1790 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductMaterialType> ; | ||
| 1791 | + sp:predicate rdf:type ; | ||
| 1792 | + sp:subject | ||
| 1793 | + [ sp:varName "productMaterialType"^^xsd:string | ||
| 1794 | + ] | ||
| 1795 | + ] [ sp:object | ||
| 1796 | + [ sp:varName "productMaterialName"^^xsd:string | ||
| 1797 | + ] ; | ||
| 1798 | + sp:predicate rdfs:label ; | ||
| 1799 | + sp:subject | ||
| 1800 | + [ sp:varName "productMaterialType"^^xsd:string | ||
| 1801 | + ] | ||
| 1802 | + ] [ rdf:type sp:Optional ; | ||
| 1803 | + sp:elements ([ sp:object | ||
| 1804 | + [ sp:varName "pressure"^^xsd:string | ||
| 1805 | + ] ; | ||
| 1806 | + sp:predicate rdf:type ; | ||
| 1807 | + sp:subject | ||
| 1808 | + [ sp:varName "productFlow"^^xsd:string | ||
| 1809 | + ] | ||
| 1810 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ; | ||
| 1811 | + sp:predicate rdf:type ; | ||
| 1812 | + sp:subject | ||
| 1813 | + [ sp:varName "pressure"^^xsd:string | ||
| 1814 | + ] | ||
| 1815 | + ] [ rdf:type sp:Bind ; | ||
| 1816 | + sp:expression | ||
| 1817 | + [ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ; | ||
| 1818 | + sp:arg1 [ sp:varName "pressure"^^xsd:string | ||
| 1819 | + ] | ||
| 1820 | + ] ; | ||
| 1821 | + sp:variable | ||
| 1822 | + [ sp:varName "pressureValue"^^xsd:string | ||
| 1823 | + ] | ||
| 1824 | + ]) | ||
| 1825 | + ] [ rdf:type sp:Optional ; | ||
| 1826 | + sp:elements ([ sp:object | ||
| 1827 | + [ sp:varName "temperature"^^xsd:string | ||
| 1828 | + ] ; | ||
| 1829 | + sp:predicate rdf:type ; | ||
| 1830 | + sp:subject | ||
| 1831 | + [ sp:varName "productFlow"^^xsd:string | ||
| 1832 | + ] | ||
| 1833 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Temperature> ; | ||
| 1834 | + sp:predicate rdf:type ; | ||
| 1835 | + sp:subject | ||
| 1836 | + [ sp:varName "temperature"^^xsd:string | ||
| 1837 | + ] | ||
| 1838 | + ] [ rdf:type sp:Bind ; | ||
| 1839 | + sp:expression | ||
| 1840 | + [ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ; | ||
| 1841 | + sp:arg1 [ sp:varName "temperature"^^xsd:string | ||
| 1842 | + ] | ||
| 1843 | + ] ; | ||
| 1844 | + sp:variable | ||
| 1845 | + [ sp:varName "temperatureValue"^^xsd:string | ||
| 1846 | + ] | ||
| 1847 | + ]) | ||
| 1848 | + ] [ rdf:type sp:Optional ; | ||
| 1849 | + sp:elements ([ sp:object | ||
| 1850 | + [ sp:varName "density"^^xsd:string | ||
| 774 | ] ; | 1851 | ] ; |
| 775 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#definingType> ; | 1852 | + sp:predicate rdf:type ; |
| 776 | sp:subject | 1853 | sp:subject |
| 777 | - [ sp:varName "set"^^xsd:string | 1854 | + [ sp:varName "productFlow"^^xsd:string |
| 778 | ] | 1855 | ] |
| 779 | - ] [ sp:object | 1856 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Density> ; |
| 780 | - [ sp:varName "definingType"^^xsd:string | 1857 | + sp:predicate rdf:type ; |
| 781 | - ] ; | ||
| 782 | - sp:predicate rdfs:label ; | ||
| 783 | sp:subject | 1858 | sp:subject |
| 784 | - [ sp:varName "setDefiningType"^^xsd:string | 1859 | + [ sp:varName "density"^^xsd:string |
| 1860 | + ] | ||
| 1861 | + ] [ rdf:type sp:Bind ; | ||
| 1862 | + sp:expression | ||
| 1863 | + [ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ; | ||
| 1864 | + sp:arg1 [ sp:varName "density"^^xsd:string | ||
| 785 | ] | 1865 | ] |
| 786 | - ] [ sp:object | ||
| 787 | - [ sp:varName "number"^^xsd:string | ||
| 788 | ] ; | 1866 | ] ; |
| 789 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#numberInSet> ; | 1867 | + sp:variable |
| 790 | - sp:subject | 1868 | + [ sp:varName "densityValue"^^xsd:string |
| 791 | - [ sp:varName "set"^^xsd:string | ||
| 792 | ] | 1869 | ] |
| 793 | ]) | 1870 | ]) |
| 1871 | + ]) | ||
| 1872 | + ]) | ||
| 794 | ] ; | 1873 | ] ; |
| 795 | - rhspin:tableHeaders ("Facility"^^xsd:string "Incident Type"^^xsd:string "Count"^^xsd:string) . | 1874 | + rhspin:tableHeaders ("Field"^^xsd:string "Facility Name"^^xsd:string "Flow Purpose"^^xsd:string "Flow Definition"^^xsd:string "Material"^^xsd:string "Flow Density"^^xsd:string "Flow Temperature"^^xsd:string "Flow Pressure"^^xsd:string) . |
| 796 | 1875 | ||
| 797 | -dpr-tables:OtherVolumes | 1876 | +dpr-tables:ProductFlowsExport |
| 798 | rdf:type rhspin:TableTemplate ; | 1877 | rdf:type rhspin:TableTemplate ; |
| 799 | - rdfs:label "Consume, Import, Export, Other Volume List"^^xsd:string ; | 1878 | + rdfs:label "Export Product Flow Details"^^xsd:string ; |
| 800 | rdfs:subClassOf rhspin:DPRTableTemplates ; | 1879 | rdfs:subClassOf rhspin:DPRTableTemplates ; |
| 801 | spin:body | 1880 | spin:body |
| 802 | [ rdf:type sp:Select ; | 1881 | [ rdf:type sp:Select ; |
| 803 | - sp:orderBy ([ sp:varName "flowPurposeName"^^xsd:string | 1882 | + sp:orderBy ([ sp:varName "flowInOutFacilityName"^^xsd:string |
| 804 | - ] [ sp:varName "flowInOutFacilityName"^^xsd:string | 1883 | + ] [ sp:varName "flowPurposeName"^^xsd:string |
| 805 | ] [ sp:varName "flowDefinitionName"^^xsd:string | 1884 | ] [ sp:varName "flowDefinitionName"^^xsd:string |
| 1885 | + ] [ sp:varName "productMaterialName"^^xsd:string | ||
| 806 | ]) ; | 1886 | ]) ; |
| 807 | sp:resultVariables ([ sp:varName "containingWholeFacilityName"^^xsd:string | 1887 | sp:resultVariables ([ sp:varName "containingWholeFacilityName"^^xsd:string |
| 808 | ] [ sp:varName "flowInOutFacilityName"^^xsd:string | 1888 | ] [ sp:varName "flowInOutFacilityName"^^xsd:string |
| 809 | ] [ sp:varName "flowPurposeName"^^xsd:string | 1889 | ] [ sp:varName "flowPurposeName"^^xsd:string |
| 810 | ] [ sp:varName "flowDefinitionName"^^xsd:string | 1890 | ] [ sp:varName "flowDefinitionName"^^xsd:string |
| 1891 | + ] [ sp:varName "productMaterialName"^^xsd:string | ||
| 811 | ] [ sp:varName "densityValue"^^xsd:string | 1892 | ] [ sp:varName "densityValue"^^xsd:string |
| 812 | - ] [ sp:varName "pressureValue"^^xsd:string | ||
| 813 | ] [ sp:varName "temperatureValue"^^xsd:string | 1893 | ] [ sp:varName "temperatureValue"^^xsd:string |
| 1894 | + ] [ sp:varName "pressureValue"^^xsd:string | ||
| 814 | ]) ; | 1895 | ]) ; |
| 815 | sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ; | 1896 | sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ; |
| 816 | sp:predicate rdf:type ; | 1897 | sp:predicate rdf:type ; |
| ... | @@ -918,17 +1999,10 @@ dpr-tables:OtherVolumes | ... | @@ -918,17 +1999,10 @@ dpr-tables:OtherVolumes |
| 918 | ] | 1999 | ] |
| 919 | ] [ rdf:type sp:Filter ; | 2000 | ] [ rdf:type sp:Filter ; |
| 920 | sp:expression | 2001 | sp:expression |
| 921 | - [ rdf:type sp:ne ; | 2002 | + [ rdf:type sp:eq ; |
| 922 | - sp:arg1 [ sp:varName "flowPurpose"^^xsd:string | ||
| 923 | - ] ; | ||
| 924 | - sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Injection> | ||
| 925 | - ] | ||
| 926 | - ] [ rdf:type sp:Filter ; | ||
| 927 | - sp:expression | ||
| 928 | - [ rdf:type sp:ne ; | ||
| 929 | sp:arg1 [ sp:varName "flowPurpose"^^xsd:string | 2003 | sp:arg1 [ sp:varName "flowPurpose"^^xsd:string |
| 930 | ] ; | 2004 | ] ; |
| 931 | - sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Production> | 2005 | + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Export> |
| 932 | ] | 2006 | ] |
| 933 | ] [ sp:object | 2007 | ] [ sp:object |
| 934 | [ sp:varName "flowPurposeName"^^xsd:string | 2008 | [ sp:varName "flowPurposeName"^^xsd:string |
| ... | @@ -958,49 +2032,60 @@ dpr-tables:OtherVolumes | ... | @@ -958,49 +2032,60 @@ dpr-tables:OtherVolumes |
| 958 | ] | 2032 | ] |
| 959 | ] [ rdf:type sp:Optional ; | 2033 | ] [ rdf:type sp:Optional ; |
| 960 | sp:elements ([ sp:object | 2034 | sp:elements ([ sp:object |
| 961 | - [ sp:varName "temperature"^^xsd:string | 2035 | + [ sp:varName "productFlow"^^xsd:string |
| 962 | ] ; | 2036 | ] ; |
| 963 | - sp:predicate rdf:type ; | 2037 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ; |
| 964 | sp:subject | 2038 | sp:subject |
| 965 | [ sp:varName "flow"^^xsd:string | 2039 | [ sp:varName "flow"^^xsd:string |
| 966 | ] | 2040 | ] |
| 967 | - ] [ sp:object | 2041 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductFlow> ; |
| 968 | - [ sp:varName "density"^^xsd:string | ||
| 969 | - ] ; | ||
| 970 | sp:predicate rdf:type ; | 2042 | sp:predicate rdf:type ; |
| 971 | sp:subject | 2043 | sp:subject |
| 972 | - [ sp:varName "flow"^^xsd:string | 2044 | + [ sp:varName "productFlow"^^xsd:string |
| 973 | ] | 2045 | ] |
| 974 | ] [ sp:object | 2046 | ] [ sp:object |
| 975 | - [ sp:varName "pressure"^^xsd:string | 2047 | + [ sp:varName "productFlowWholeLife"^^xsd:string |
| 976 | ] ; | 2048 | ] ; |
| 977 | - sp:predicate rdf:type ; | 2049 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; |
| 978 | sp:subject | 2050 | sp:subject |
| 979 | - [ sp:varName "flow"^^xsd:string | 2051 | + [ sp:varName "productFlow"^^xsd:string |
| 980 | ] | 2052 | ] |
| 981 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ; | 2053 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#WholeLifeProductFlow> ; |
| 982 | sp:predicate rdf:type ; | 2054 | sp:predicate rdf:type ; |
| 983 | sp:subject | 2055 | sp:subject |
| 984 | - [ sp:varName "pressure"^^xsd:string | 2056 | + [ sp:varName "productFlowWholeLife"^^xsd:string |
| 985 | ] | 2057 | ] |
| 986 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Density> ; | 2058 | + ] [ sp:object |
| 2059 | + [ sp:varName "productMaterialType"^^xsd:string | ||
| 2060 | + ] ; | ||
| 987 | sp:predicate rdf:type ; | 2061 | sp:predicate rdf:type ; |
| 988 | sp:subject | 2062 | sp:subject |
| 989 | - [ sp:varName "density"^^xsd:string | 2063 | + [ sp:varName "productFlowWholeLife"^^xsd:string |
| 990 | ] | 2064 | ] |
| 991 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Temperature> ; | 2065 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductMaterialType> ; |
| 992 | sp:predicate rdf:type ; | 2066 | sp:predicate rdf:type ; |
| 993 | sp:subject | 2067 | sp:subject |
| 994 | - [ sp:varName "temperature"^^xsd:string | 2068 | + [ sp:varName "productMaterialType"^^xsd:string |
| 995 | ] | 2069 | ] |
| 996 | - ] [ rdf:type sp:Bind ; | 2070 | + ] [ sp:object |
| 997 | - sp:expression | 2071 | + [ sp:varName "productMaterialName"^^xsd:string |
| 998 | - [ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ; | 2072 | + ] ; |
| 999 | - sp:arg1 [ sp:varName "temperature"^^xsd:string | 2073 | + sp:predicate rdfs:label ; |
| 2074 | + sp:subject | ||
| 2075 | + [ sp:varName "productMaterialType"^^xsd:string | ||
| 1000 | ] | 2076 | ] |
| 2077 | + ] [ rdf:type sp:Optional ; | ||
| 2078 | + sp:elements ([ sp:object | ||
| 2079 | + [ sp:varName "pressure"^^xsd:string | ||
| 1001 | ] ; | 2080 | ] ; |
| 1002 | - sp:variable | 2081 | + sp:predicate rdf:type ; |
| 1003 | - [ sp:varName "temperatureValue"^^xsd:string | 2082 | + sp:subject |
| 2083 | + [ sp:varName "productFlow"^^xsd:string | ||
| 2084 | + ] | ||
| 2085 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Pressure> ; | ||
| 2086 | + sp:predicate rdf:type ; | ||
| 2087 | + sp:subject | ||
| 2088 | + [ sp:varName "pressure"^^xsd:string | ||
| 1004 | ] | 2089 | ] |
| 1005 | ] [ rdf:type sp:Bind ; | 2090 | ] [ rdf:type sp:Bind ; |
| 1006 | sp:expression | 2091 | sp:expression |
| ... | @@ -1011,134 +2096,61 @@ dpr-tables:OtherVolumes | ... | @@ -1011,134 +2096,61 @@ dpr-tables:OtherVolumes |
| 1011 | sp:variable | 2096 | sp:variable |
| 1012 | [ sp:varName "pressureValue"^^xsd:string | 2097 | [ sp:varName "pressureValue"^^xsd:string |
| 1013 | ] | 2098 | ] |
| 1014 | - ] [ rdf:type sp:Bind ; | ||
| 1015 | - sp:expression | ||
| 1016 | - [ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ; | ||
| 1017 | - sp:arg1 [ sp:varName "density"^^xsd:string | ||
| 1018 | - ] | ||
| 1019 | - ] ; | ||
| 1020 | - sp:variable | ||
| 1021 | - [ sp:varName "densityValue"^^xsd:string | ||
| 1022 | - ] | ||
| 1023 | - ]) | ||
| 1024 | ]) | 2099 | ]) |
| 2100 | + ] [ rdf:type sp:Optional ; | ||
| 2101 | + sp:elements ([ sp:object | ||
| 2102 | + [ sp:varName "temperature"^^xsd:string | ||
| 1025 | ] ; | 2103 | ] ; |
| 1026 | - rhspin:tableHeaders ("Field"^^xsd:string "Facility Name"^^xsd:string "Flow Purpose"^^xsd:string "Flow Definition"^^xsd:string "Flow Density"^^xsd:string "Flow Pressure"^^xsd:string "Flow Temperature"^^xsd:string) . | ||
| 1027 | - | ||
| 1028 | -dpr-tables:PersonnelInformation | ||
| 1029 | - rdf:type rhspin:TableTemplate ; | ||
| 1030 | - rdfs:label "Personnel Information"^^xsd:string ; | ||
| 1031 | - rdfs:subClassOf rhspin:DPRTableTemplates ; | ||
| 1032 | - spin:body | ||
| 1033 | - [ rdf:type sp:Select ; | ||
| 1034 | - sp:orderBy ([ sp:varName "facilityName"^^xsd:string | ||
| 1035 | - ]) ; | ||
| 1036 | - sp:resultVariables ([ sp:varName "facilityName"^^xsd:string | ||
| 1037 | - ] [ sp:varName "crewNumber"^^xsd:string | ||
| 1038 | - ] [ sp:varName "crewTypename"^^xsd:string | ||
| 1039 | - ]) ; | ||
| 1040 | - sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ; | ||
| 1041 | sp:predicate rdf:type ; | 2104 | sp:predicate rdf:type ; |
| 1042 | sp:subject | 2105 | sp:subject |
| 1043 | - [ sp:varName "report"^^xsd:string | 2106 | + [ sp:varName "productFlow"^^xsd:string |
| 1044 | - ] | ||
| 1045 | - ] [ sp:object | ||
| 1046 | - [ sp:varName "report"^^xsd:string | ||
| 1047 | - ] ; | ||
| 1048 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; | ||
| 1049 | - sp:subject | ||
| 1050 | - [ sp:varName "productionOperationReport"^^xsd:string | ||
| 1051 | ] | 2107 | ] |
| 1052 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionOperationReport> ; | 2108 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Temperature> ; |
| 1053 | sp:predicate rdf:type ; | 2109 | sp:predicate rdf:type ; |
| 1054 | sp:subject | 2110 | sp:subject |
| 1055 | - [ sp:varName "productionOperationReport"^^xsd:string | 2111 | + [ sp:varName "temperature"^^xsd:string |
| 1056 | - ] | ||
| 1057 | - ] [ sp:object | ||
| 1058 | - [ sp:varName "temporalPartOfFacility"^^xsd:string | ||
| 1059 | - ] ; | ||
| 1060 | - sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ; | ||
| 1061 | - sp:subject | ||
| 1062 | - [ sp:varName "productionOperationReport"^^xsd:string | ||
| 1063 | - ] | ||
| 1064 | - ] [ sp:object | ||
| 1065 | - [ sp:varName "productionFacility"^^xsd:string | ||
| 1066 | - ] ; | ||
| 1067 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 1068 | - sp:subject | ||
| 1069 | - [ sp:varName "temporalPartOfFacility"^^xsd:string | ||
| 1070 | ] | 2112 | ] |
| 1071 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#Field> ; | 2113 | + ] [ rdf:type sp:Bind ; |
| 1072 | - sp:predicate rdf:type ; | 2114 | + sp:expression |
| 1073 | - sp:subject | 2115 | + [ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ; |
| 1074 | - [ sp:varName "productionFacility"^^xsd:string | 2116 | + sp:arg1 [ sp:varName "temperature"^^xsd:string |
| 1075 | ] | 2117 | ] |
| 1076 | - ] [ sp:object | ||
| 1077 | - [ sp:varName "facilityName"^^xsd:string | ||
| 1078 | ] ; | 2118 | ] ; |
| 1079 | - sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; | 2119 | + sp:variable |
| 1080 | - sp:subject | 2120 | + [ sp:varName "temperatureValue"^^xsd:string |
| 1081 | - [ sp:varName "productionFacility"^^xsd:string | ||
| 1082 | ] | 2121 | ] |
| 1083 | - ] [ sp:object | 2122 | + ]) |
| 1084 | - [ sp:varName "productionOperationReport"^^xsd:string | 2123 | + ] [ rdf:type sp:Optional ; |
| 2124 | + sp:elements ([ sp:object | ||
| 2125 | + [ sp:varName "density"^^xsd:string | ||
| 1085 | ] ; | 2126 | ] ; |
| 1086 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; | ||
| 1087 | - sp:subject | ||
| 1088 | - [ sp:varName "productionOperationInstallationReport"^^xsd:string | ||
| 1089 | - ] | ||
| 1090 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionOperationInstallationReport> ; | ||
| 1091 | sp:predicate rdf:type ; | 2127 | sp:predicate rdf:type ; |
| 1092 | sp:subject | 2128 | sp:subject |
| 1093 | - [ sp:varName "productionOperationInstallationReport"^^xsd:string | 2129 | + [ sp:varName "productFlow"^^xsd:string |
| 1094 | - ] | ||
| 1095 | - ] [ sp:object | ||
| 1096 | - [ sp:varName "installationPart"^^xsd:string | ||
| 1097 | - ] ; | ||
| 1098 | - sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ; | ||
| 1099 | - sp:subject | ||
| 1100 | - [ sp:varName "productionOperationInstallationReport"^^xsd:string | ||
| 1101 | - ] | ||
| 1102 | - ] [ sp:object | ||
| 1103 | - [ sp:varName "crew"^^xsd:string | ||
| 1104 | - ] ; | ||
| 1105 | - sp:predicate <http://www.reportinghub.no/ep/schema/organization#hasCrew> ; | ||
| 1106 | - sp:subject | ||
| 1107 | - [ sp:varName "installationPart"^^xsd:string | ||
| 1108 | - ] | ||
| 1109 | - ] [ sp:object | ||
| 1110 | - [ sp:varName "crewNumber"^^xsd:string | ||
| 1111 | - ] ; | ||
| 1112 | - sp:predicate <http://www.reportinghub.no/ep/schema/organization#numberInCrew> ; | ||
| 1113 | - sp:subject | ||
| 1114 | - [ sp:varName "crew"^^xsd:string | ||
| 1115 | ] | 2130 | ] |
| 1116 | - ] [ sp:object | 2131 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Density> ; |
| 1117 | - [ sp:varName "crewType"^^xsd:string | ||
| 1118 | - ] ; | ||
| 1119 | sp:predicate rdf:type ; | 2132 | sp:predicate rdf:type ; |
| 1120 | sp:subject | 2133 | sp:subject |
| 1121 | - [ sp:varName "crew"^^xsd:string | 2134 | + [ sp:varName "density"^^xsd:string |
| 1122 | ] | 2135 | ] |
| 1123 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/organization#CrewType> ; | 2136 | + ] [ rdf:type sp:Bind ; |
| 1124 | - sp:predicate rdf:type ; | 2137 | + sp:expression |
| 1125 | - sp:subject | 2138 | + [ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ; |
| 1126 | - [ sp:varName "crewType"^^xsd:string | 2139 | + sp:arg1 [ sp:varName "density"^^xsd:string |
| 1127 | ] | 2140 | ] |
| 1128 | - ] [ sp:object | ||
| 1129 | - [ sp:varName "crewTypename"^^xsd:string | ||
| 1130 | ] ; | 2141 | ] ; |
| 1131 | - sp:predicate rdfs:label ; | 2142 | + sp:variable |
| 1132 | - sp:subject | 2143 | + [ sp:varName "densityValue"^^xsd:string |
| 1133 | - [ sp:varName "crewType"^^xsd:string | ||
| 1134 | ] | 2144 | ] |
| 1135 | ]) | 2145 | ]) |
| 2146 | + ]) | ||
| 2147 | + ]) | ||
| 1136 | ] ; | 2148 | ] ; |
| 1137 | - rhspin:tableHeaders ("Facility"^^xsd:string "Crew"^^xsd:string "Crew Type"^^xsd:string) . | 2149 | + rhspin:tableHeaders ("Field"^^xsd:string "Facility Name"^^xsd:string "Flow Purpose"^^xsd:string "Flow Definition"^^xsd:string "Material"^^xsd:string "Flow Density"^^xsd:string "Flow Temperature"^^xsd:string "Flow Pressure"^^xsd:string) . |
| 1138 | 2150 | ||
| 1139 | -dpr-tables:ProductFlows | 2151 | +dpr-tables:ProductFlowsImport |
| 1140 | rdf:type rhspin:TableTemplate ; | 2152 | rdf:type rhspin:TableTemplate ; |
| 1141 | - rdfs:label "Product Flow Details"^^xsd:string ; | 2153 | + rdfs:label "Import Product Flow Details"^^xsd:string ; |
| 1142 | rdfs:subClassOf rhspin:DPRTableTemplates ; | 2154 | rdfs:subClassOf rhspin:DPRTableTemplates ; |
| 1143 | spin:body | 2155 | spin:body |
| 1144 | [ rdf:type sp:Select ; | 2156 | [ rdf:type sp:Select ; |
| ... | @@ -1265,7 +2277,7 @@ dpr-tables:ProductFlows | ... | @@ -1265,7 +2277,7 @@ dpr-tables:ProductFlows |
| 1265 | [ rdf:type sp:eq ; | 2277 | [ rdf:type sp:eq ; |
| 1266 | sp:arg1 [ sp:varName "flowPurpose"^^xsd:string | 2278 | sp:arg1 [ sp:varName "flowPurpose"^^xsd:string |
| 1267 | ] ; | 2279 | ] ; |
| 1268 | - sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Production> | 2280 | + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Import> |
| 1269 | ] | 2281 | ] |
| 1270 | ] [ sp:object | 2282 | ] [ sp:object |
| 1271 | [ sp:varName "flowPurposeName"^^xsd:string | 2283 | [ sp:varName "flowPurposeName"^^xsd:string |
| ... | @@ -1688,7 +2700,7 @@ dpr-tables:ProductFlowsInjection | ... | @@ -1688,7 +2700,7 @@ dpr-tables:ProductFlowsInjection |
| 1688 | 2700 | ||
| 1689 | dpr-tables:ProductFlowsOther | 2701 | dpr-tables:ProductFlowsOther |
| 1690 | rdf:type rhspin:TableTemplate ; | 2702 | rdf:type rhspin:TableTemplate ; |
| 1691 | - rdfs:label "Import, Export, Consumet and Other Product Flow Details"^^xsd:string ; | 2703 | + rdfs:label "Consume and Other Product Flow Details"^^xsd:string ; |
| 1692 | rdfs:subClassOf rhspin:DPRTableTemplates ; | 2704 | rdfs:subClassOf rhspin:DPRTableTemplates ; |
| 1693 | spin:body | 2705 | spin:body |
| 1694 | [ rdf:type sp:Select ; | 2706 | [ rdf:type sp:Select ; |
| ... | @@ -1812,18 +2824,32 @@ dpr-tables:ProductFlowsOther | ... | @@ -1812,18 +2824,32 @@ dpr-tables:ProductFlowsOther |
| 1812 | ] | 2824 | ] |
| 1813 | ] [ rdf:type sp:Filter ; | 2825 | ] [ rdf:type sp:Filter ; |
| 1814 | sp:expression | 2826 | sp:expression |
| 1815 | - [ rdf:type sp:eq ; | 2827 | + [ rdf:type sp:ne ; |
| 1816 | sp:arg1 [ sp:varName "flowPurpose"^^xsd:string | 2828 | sp:arg1 [ sp:varName "flowPurpose"^^xsd:string |
| 1817 | ] ; | 2829 | ] ; |
| 1818 | sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Injection> | 2830 | sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Injection> |
| 1819 | ] | 2831 | ] |
| 1820 | ] [ rdf:type sp:Filter ; | 2832 | ] [ rdf:type sp:Filter ; |
| 1821 | sp:expression | 2833 | sp:expression |
| 1822 | - [ rdf:type sp:eq ; | 2834 | + [ rdf:type sp:ne ; |
| 1823 | sp:arg1 [ sp:varName "flowPurpose"^^xsd:string | 2835 | sp:arg1 [ sp:varName "flowPurpose"^^xsd:string |
| 1824 | ] ; | 2836 | ] ; |
| 1825 | sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Production> | 2837 | sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Production> |
| 1826 | ] | 2838 | ] |
| 2839 | + ] [ rdf:type sp:Filter ; | ||
| 2840 | + sp:expression | ||
| 2841 | + [ rdf:type sp:ne ; | ||
| 2842 | + sp:arg1 [ sp:varName "flowPurpose"^^xsd:string | ||
| 2843 | + ] ; | ||
| 2844 | + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Import> | ||
| 2845 | + ] | ||
| 2846 | + ] [ rdf:type sp:Filter ; | ||
| 2847 | + sp:expression | ||
| 2848 | + [ rdf:type sp:ne ; | ||
| 2849 | + sp:arg1 [ sp:varName "flowPurpose"^^xsd:string | ||
| 2850 | + ] ; | ||
| 2851 | + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Export> | ||
| 2852 | + ] | ||
| 1827 | ] [ sp:object | 2853 | ] [ sp:object |
| 1828 | [ sp:varName "flowPurposeName"^^xsd:string | 2854 | [ sp:varName "flowPurposeName"^^xsd:string |
| 1829 | ] ; | 2855 | ] ; |
| ... | @@ -2126,8 +3152,8 @@ dpr-tables:ProductionVolumes | ... | @@ -2126,8 +3152,8 @@ dpr-tables:ProductionVolumes |
| 2126 | rdfs:subClassOf rhspin:DPRTableTemplates ; | 3152 | rdfs:subClassOf rhspin:DPRTableTemplates ; |
| 2127 | spin:body | 3153 | spin:body |
| 2128 | [ rdf:type sp:Select ; | 3154 | [ rdf:type sp:Select ; |
| 2129 | - sp:orderBy ([ sp:varName "flowPurposeName"^^xsd:string | 3155 | + sp:orderBy ([ sp:varName "flowInOutFacilityName"^^xsd:string |
| 2130 | - ] [ sp:varName "flowInOutFacilityName"^^xsd:string | 3156 | + ] [ sp:varName "flowPurposeName"^^xsd:string |
| 2131 | ] [ sp:varName "flowDefinitionName"^^xsd:string | 3157 | ] [ sp:varName "flowDefinitionName"^^xsd:string |
| 2132 | ]) ; | 3158 | ]) ; |
| 2133 | sp:resultVariables ([ sp:varName "containingWholeFacilityName"^^xsd:string | 3159 | sp:resultVariables ([ sp:varName "containingWholeFacilityName"^^xsd:string | ... | ... |
| ... | @@ -56,9 +56,15 @@ WHERE { | ... | @@ -56,9 +56,15 @@ WHERE { |
| 56 | 56 | ||
| 57 | <dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ProductionVolumes" /> | 57 | <dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ProductionVolumes" /> |
| 58 | <dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ProductFlows" /> | 58 | <dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ProductFlows" /> |
| 59 | + | ||
| 59 | <dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:InjectionVolumes" /> | 60 | <dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:InjectionVolumes" /> |
| 60 | <dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ProductFlowsInjection" /> | 61 | <dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ProductFlowsInjection" /> |
| 61 | 62 | ||
| 63 | + <dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ImportVolumes" /> | ||
| 64 | + <dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ProductFlowsImport" /> | ||
| 65 | + | ||
| 66 | + <dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ExportVolumes" /> | ||
| 67 | + <dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ProductFlowsExport" /> | ||
| 62 | 68 | ||
| 63 | <dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:OtherVolumes" /> | 69 | <dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:OtherVolumes" /> |
| 64 | <dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ProductFlowsOther" /> | 70 | <dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:ProductFlowsOther" /> | ... | ... |
-
Please register or login to post a comment