Showing
2 changed files
with
1095 additions
and
63 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 |
| ... | @@ -796,12 +1244,12 @@ dpr-tables:OperationInformation | ... | @@ -796,12 +1244,12 @@ dpr-tables:OperationInformation |
| 796 | 1244 | ||
| 797 | dpr-tables:OtherVolumes | 1245 | dpr-tables:OtherVolumes |
| 798 | rdf:type rhspin:TableTemplate ; | 1246 | rdf:type rhspin:TableTemplate ; |
| 799 | - rdfs:label "Consume, Import, Export, Other Volume List"^^xsd:string ; | 1247 | + rdfs:label "Consume and Other Volume List"^^xsd:string ; |
| 800 | rdfs:subClassOf rhspin:DPRTableTemplates ; | 1248 | rdfs:subClassOf rhspin:DPRTableTemplates ; |
| 801 | spin:body | 1249 | spin:body |
| 802 | [ rdf:type sp:Select ; | 1250 | [ rdf:type sp:Select ; |
| 803 | - sp:orderBy ([ sp:varName "flowPurposeName"^^xsd:string | 1251 | + sp:orderBy ([ sp:varName "flowInOutFacilityName"^^xsd:string |
| 804 | - ] [ sp:varName "flowInOutFacilityName"^^xsd:string | 1252 | + ] [ sp:varName "flowPurposeName"^^xsd:string |
| 805 | ] [ sp:varName "flowDefinitionName"^^xsd:string | 1253 | ] [ sp:varName "flowDefinitionName"^^xsd:string |
| 806 | ]) ; | 1254 | ]) ; |
| 807 | sp:resultVariables ([ sp:varName "containingWholeFacilityName"^^xsd:string | 1255 | sp:resultVariables ([ sp:varName "containingWholeFacilityName"^^xsd:string |
| ... | @@ -930,6 +1378,20 @@ dpr-tables:OtherVolumes | ... | @@ -930,6 +1378,20 @@ dpr-tables:OtherVolumes |
| 930 | ] ; | 1378 | ] ; |
| 931 | sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Production> | 1379 | sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Production> |
| 932 | ] | 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 | + ] | ||
| 933 | ] [ sp:object | 1395 | ] [ sp:object |
| 934 | [ sp:varName "flowPurposeName"^^xsd:string | 1396 | [ sp:varName "flowPurposeName"^^xsd:string |
| 935 | ] ; | 1397 | ] ; |
| ... | @@ -1033,9 +1495,403 @@ dpr-tables:PersonnelInformation | ... | @@ -1033,9 +1495,403 @@ dpr-tables:PersonnelInformation |
| 1033 | [ rdf:type sp:Select ; | 1495 | [ rdf:type sp:Select ; |
| 1034 | sp:orderBy ([ sp:varName "facilityName"^^xsd:string | 1496 | sp:orderBy ([ sp:varName "facilityName"^^xsd:string |
| 1035 | ]) ; | 1497 | ]) ; |
| 1036 | - sp:resultVariables ([ sp:varName "facilityName"^^xsd:string | 1498 | + sp:resultVariables ([ sp:varName "facilityName"^^xsd:string |
| 1037 | - ] [ sp:varName "crewNumber"^^xsd:string | 1499 | + ] [ sp:varName "crewNumber"^^xsd:string |
| 1038 | - ] [ sp:varName "crewTypename"^^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 | ||
| 1851 | + ] ; | ||
| 1852 | + sp:predicate rdf:type ; | ||
| 1853 | + sp:subject | ||
| 1854 | + [ sp:varName "productFlow"^^xsd:string | ||
| 1855 | + ] | ||
| 1856 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Density> ; | ||
| 1857 | + sp:predicate rdf:type ; | ||
| 1858 | + sp:subject | ||
| 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 | ||
| 1865 | + ] | ||
| 1866 | + ] ; | ||
| 1867 | + sp:variable | ||
| 1868 | + [ sp:varName "densityValue"^^xsd:string | ||
| 1869 | + ] | ||
| 1870 | + ]) | ||
| 1871 | + ]) | ||
| 1872 | + ]) | ||
| 1873 | + ] ; | ||
| 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) . | ||
| 1875 | + | ||
| 1876 | +dpr-tables:ProductFlowsExport | ||
| 1877 | + rdf:type rhspin:TableTemplate ; | ||
| 1878 | + rdfs:label "Export Product Flow Details"^^xsd:string ; | ||
| 1879 | + rdfs:subClassOf rhspin:DPRTableTemplates ; | ||
| 1880 | + spin:body | ||
| 1881 | + [ rdf:type sp:Select ; | ||
| 1882 | + sp:orderBy ([ sp:varName "flowInOutFacilityName"^^xsd:string | ||
| 1883 | + ] [ sp:varName "flowPurposeName"^^xsd:string | ||
| 1884 | + ] [ sp:varName "flowDefinitionName"^^xsd:string | ||
| 1885 | + ] [ sp:varName "productMaterialName"^^xsd:string | ||
| 1886 | + ]) ; | ||
| 1887 | + sp:resultVariables ([ sp:varName "containingWholeFacilityName"^^xsd:string | ||
| 1888 | + ] [ sp:varName "flowInOutFacilityName"^^xsd:string | ||
| 1889 | + ] [ sp:varName "flowPurposeName"^^xsd:string | ||
| 1890 | + ] [ sp:varName "flowDefinitionName"^^xsd:string | ||
| 1891 | + ] [ sp:varName "productMaterialName"^^xsd:string | ||
| 1892 | + ] [ sp:varName "densityValue"^^xsd:string | ||
| 1893 | + ] [ sp:varName "temperatureValue"^^xsd:string | ||
| 1894 | + ] [ sp:varName "pressureValue"^^xsd:string | ||
| 1039 | ]) ; | 1895 | ]) ; |
| 1040 | 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> ; |
| 1041 | sp:predicate rdf:type ; | 1897 | sp:predicate rdf:type ; |
| ... | @@ -1047,98 +1903,254 @@ dpr-tables:PersonnelInformation | ... | @@ -1047,98 +1903,254 @@ dpr-tables:PersonnelInformation |
| 1047 | ] ; | 1903 | ] ; |
| 1048 | sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; | 1904 | sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; |
| 1049 | sp:subject | 1905 | sp:subject |
| 1050 | - [ sp:varName "productionOperationReport"^^xsd:string | 1906 | + [ sp:varName "productvolumereport"^^xsd:string |
| 1051 | ] | 1907 | ] |
| 1052 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionOperationReport> ; | 1908 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductVolumeReport> ; |
| 1053 | sp:predicate rdf:type ; | 1909 | sp:predicate rdf:type ; |
| 1054 | sp:subject | 1910 | sp:subject |
| 1055 | - [ sp:varName "productionOperationReport"^^xsd:string | 1911 | + [ sp:varName "productvolumereport"^^xsd:string |
| 1056 | ] | 1912 | ] |
| 1057 | ] [ sp:object | 1913 | ] [ sp:object |
| 1058 | - [ sp:varName "temporalPartOfFacility"^^xsd:string | 1914 | + [ sp:varName "productionflownetwork"^^xsd:string |
| 1059 | ] ; | 1915 | ] ; |
| 1060 | sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ; | 1916 | sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ; |
| 1061 | sp:subject | 1917 | sp:subject |
| 1062 | - [ sp:varName "productionOperationReport"^^xsd:string | 1918 | + [ sp:varName "productvolumereport"^^xsd:string |
| 1919 | + ] | ||
| 1920 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowNetwork> ; | ||
| 1921 | + sp:predicate rdf:type ; | ||
| 1922 | + sp:subject | ||
| 1923 | + [ sp:varName "productionflownetwork"^^xsd:string | ||
| 1063 | ] | 1924 | ] |
| 1064 | ] [ sp:object | 1925 | ] [ sp:object |
| 1065 | - [ sp:varName "productionFacility"^^xsd:string | 1926 | + [ sp:varName "flow"^^xsd:string |
| 1066 | ] ; | 1927 | ] ; |
| 1067 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | 1928 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasNetworkPart> ; |
| 1068 | sp:subject | 1929 | sp:subject |
| 1069 | - [ sp:varName "temporalPartOfFacility"^^xsd:string | 1930 | + [ sp:varName "productionflownetwork"^^xsd:string |
| 1070 | ] | 1931 | ] |
| 1071 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#Field> ; | 1932 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlow> ; |
| 1072 | sp:predicate rdf:type ; | 1933 | sp:predicate rdf:type ; |
| 1073 | sp:subject | 1934 | sp:subject |
| 1074 | - [ sp:varName "productionFacility"^^xsd:string | 1935 | + [ sp:varName "flow"^^xsd:string |
| 1075 | ] | 1936 | ] |
| 1076 | ] [ sp:object | 1937 | ] [ sp:object |
| 1077 | - [ sp:varName "facilityName"^^xsd:string | 1938 | + [ sp:varName "productionflownetwork"^^xsd:string |
| 1939 | + ] ; | ||
| 1940 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#facilityContainsFlow> ; | ||
| 1941 | + sp:subject | ||
| 1942 | + [ sp:varName "productionflownetworkFacility"^^xsd:string | ||
| 1943 | + ] | ||
| 1944 | + ] [ sp:object | ||
| 1945 | + [ sp:varName "containingWholeFacility"^^xsd:string | ||
| 1946 | + ] ; | ||
| 1947 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 1948 | + sp:subject | ||
| 1949 | + [ sp:varName "productionflownetworkFacility"^^xsd:string | ||
| 1950 | + ] | ||
| 1951 | + ] [ sp:object | ||
| 1952 | + [ sp:varName "containingWholeFacilityName"^^xsd:string | ||
| 1078 | ] ; | 1953 | ] ; |
| 1079 | sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; | 1954 | sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; |
| 1080 | sp:subject | 1955 | sp:subject |
| 1081 | - [ sp:varName "productionFacility"^^xsd:string | 1956 | + [ sp:varName "containingWholeFacility"^^xsd:string |
| 1082 | ] | 1957 | ] |
| 1083 | ] [ sp:object | 1958 | ] [ sp:object |
| 1084 | - [ sp:varName "productionOperationReport"^^xsd:string | 1959 | + [ sp:varName "flowWhole"^^xsd:string |
| 1085 | ] ; | 1960 | ] ; |
| 1086 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ; | 1961 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; |
| 1087 | sp:subject | 1962 | sp:subject |
| 1088 | - [ sp:varName "productionOperationInstallationReport"^^xsd:string | 1963 | + [ sp:varName "flow"^^xsd:string |
| 1089 | ] | 1964 | ] |
| 1090 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionOperationInstallationReport> ; | 1965 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#WholeLifeProductionFlow> ; |
| 1091 | sp:predicate rdf:type ; | 1966 | sp:predicate rdf:type ; |
| 1092 | sp:subject | 1967 | sp:subject |
| 1093 | - [ sp:varName "productionOperationInstallationReport"^^xsd:string | 1968 | + [ sp:varName "flowWhole"^^xsd:string |
| 1094 | ] | 1969 | ] |
| 1095 | ] [ sp:object | 1970 | ] [ sp:object |
| 1096 | - [ sp:varName "installationPart"^^xsd:string | 1971 | + [ sp:varName "flowInOutFacility"^^xsd:string |
| 1097 | ] ; | 1972 | ] ; |
| 1098 | - sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ; | 1973 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#flowIntoOrOutOf> ; |
| 1099 | sp:subject | 1974 | sp:subject |
| 1100 | - [ sp:varName "productionOperationInstallationReport"^^xsd:string | 1975 | + [ sp:varName "flowWhole"^^xsd:string |
| 1976 | + ] | ||
| 1977 | + ] [ rdf:type sp:TriplePath ; | ||
| 1978 | + sp:object | ||
| 1979 | + [ sp:varName "flowInOutFacilityName"^^xsd:string | ||
| 1980 | + ] ; | ||
| 1981 | + sp:path [ rdf:type sp:AltPath ; | ||
| 1982 | + sp:path1 <http://www.reportinghub.no/ep/schema/core#name> ; | ||
| 1983 | + sp:path2 <http://www.reportinghub.no/np/schema/npd#name> | ||
| 1984 | + ] ; | ||
| 1985 | + sp:subject | ||
| 1986 | + [ sp:varName "flowInOutFacility"^^xsd:string | ||
| 1101 | ] | 1987 | ] |
| 1102 | ] [ sp:object | 1988 | ] [ sp:object |
| 1103 | - [ sp:varName "crew"^^xsd:string | 1989 | + [ sp:varName "flowPurpose"^^xsd:string |
| 1104 | ] ; | 1990 | ] ; |
| 1105 | - sp:predicate <http://www.reportinghub.no/ep/schema/organization#hasCrew> ; | 1991 | + sp:predicate rdf:type ; |
| 1106 | sp:subject | 1992 | sp:subject |
| 1107 | - [ sp:varName "installationPart"^^xsd:string | 1993 | + [ sp:varName "flowWhole"^^xsd:string |
| 1994 | + ] | ||
| 1995 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowPurposeType> ; | ||
| 1996 | + sp:predicate rdf:type ; | ||
| 1997 | + sp:subject | ||
| 1998 | + [ sp:varName "flowPurpose"^^xsd:string | ||
| 1999 | + ] | ||
| 2000 | + ] [ rdf:type sp:Filter ; | ||
| 2001 | + sp:expression | ||
| 2002 | + [ rdf:type sp:eq ; | ||
| 2003 | + sp:arg1 [ sp:varName "flowPurpose"^^xsd:string | ||
| 2004 | + ] ; | ||
| 2005 | + sp:arg2 <http://www.reportinghub.no/ep/schema/flow#Export> | ||
| 1108 | ] | 2006 | ] |
| 1109 | ] [ sp:object | 2007 | ] [ sp:object |
| 1110 | - [ sp:varName "crewNumber"^^xsd:string | 2008 | + [ sp:varName "flowPurposeName"^^xsd:string |
| 1111 | ] ; | 2009 | ] ; |
| 1112 | - sp:predicate <http://www.reportinghub.no/ep/schema/organization#numberInCrew> ; | 2010 | + sp:predicate rdfs:label ; |
| 1113 | sp:subject | 2011 | sp:subject |
| 1114 | - [ sp:varName "crew"^^xsd:string | 2012 | + [ sp:varName "flowPurpose"^^xsd:string |
| 1115 | ] | 2013 | ] |
| 1116 | ] [ sp:object | 2014 | ] [ sp:object |
| 1117 | - [ sp:varName "crewType"^^xsd:string | 2015 | + [ sp:varName "flowDefinition"^^xsd:string |
| 1118 | ] ; | 2016 | ] ; |
| 1119 | sp:predicate rdf:type ; | 2017 | sp:predicate rdf:type ; |
| 1120 | sp:subject | 2018 | sp:subject |
| 1121 | - [ sp:varName "crew"^^xsd:string | 2019 | + [ sp:varName "flowWhole"^^xsd:string |
| 1122 | ] | 2020 | ] |
| 1123 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/organization#CrewType> ; | 2021 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductionFlowDefinitionType> ; |
| 1124 | sp:predicate rdf:type ; | 2022 | sp:predicate rdf:type ; |
| 1125 | sp:subject | 2023 | sp:subject |
| 1126 | - [ sp:varName "crewType"^^xsd:string | 2024 | + [ sp:varName "flowDefinition"^^xsd:string |
| 1127 | ] | 2025 | ] |
| 1128 | ] [ sp:object | 2026 | ] [ sp:object |
| 1129 | - [ sp:varName "crewTypename"^^xsd:string | 2027 | + [ sp:varName "flowDefinitionName"^^xsd:string |
| 1130 | ] ; | 2028 | ] ; |
| 1131 | sp:predicate rdfs:label ; | 2029 | sp:predicate rdfs:label ; |
| 1132 | sp:subject | 2030 | sp:subject |
| 1133 | - [ sp:varName "crewType"^^xsd:string | 2031 | + [ sp:varName "flowDefinition"^^xsd:string |
| 1134 | ] | 2032 | ] |
| 2033 | + ] [ rdf:type sp:Optional ; | ||
| 2034 | + sp:elements ([ sp:object | ||
| 2035 | + [ sp:varName "productFlow"^^xsd:string | ||
| 2036 | + ] ; | ||
| 2037 | + sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ; | ||
| 2038 | + sp:subject | ||
| 2039 | + [ sp:varName "flow"^^xsd:string | ||
| 2040 | + ] | ||
| 2041 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductFlow> ; | ||
| 2042 | + sp:predicate rdf:type ; | ||
| 2043 | + sp:subject | ||
| 2044 | + [ sp:varName "productFlow"^^xsd:string | ||
| 2045 | + ] | ||
| 2046 | + ] [ sp:object | ||
| 2047 | + [ sp:varName "productFlowWholeLife"^^xsd:string | ||
| 2048 | + ] ; | ||
| 2049 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
| 2050 | + sp:subject | ||
| 2051 | + [ sp:varName "productFlow"^^xsd:string | ||
| 2052 | + ] | ||
| 2053 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#WholeLifeProductFlow> ; | ||
| 2054 | + sp:predicate rdf:type ; | ||
| 2055 | + sp:subject | ||
| 2056 | + [ sp:varName "productFlowWholeLife"^^xsd:string | ||
| 2057 | + ] | ||
| 2058 | + ] [ sp:object | ||
| 2059 | + [ sp:varName "productMaterialType"^^xsd:string | ||
| 2060 | + ] ; | ||
| 2061 | + sp:predicate rdf:type ; | ||
| 2062 | + sp:subject | ||
| 2063 | + [ sp:varName "productFlowWholeLife"^^xsd:string | ||
| 2064 | + ] | ||
| 2065 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#ProductMaterialType> ; | ||
| 2066 | + sp:predicate rdf:type ; | ||
| 2067 | + sp:subject | ||
| 2068 | + [ sp:varName "productMaterialType"^^xsd:string | ||
| 2069 | + ] | ||
| 2070 | + ] [ sp:object | ||
| 2071 | + [ sp:varName "productMaterialName"^^xsd:string | ||
| 2072 | + ] ; | ||
| 2073 | + sp:predicate rdfs:label ; | ||
| 2074 | + sp:subject | ||
| 2075 | + [ sp:varName "productMaterialType"^^xsd:string | ||
| 2076 | + ] | ||
| 2077 | + ] [ rdf:type sp:Optional ; | ||
| 2078 | + sp:elements ([ sp:object | ||
| 2079 | + [ sp:varName "pressure"^^xsd:string | ||
| 2080 | + ] ; | ||
| 2081 | + sp:predicate rdf:type ; | ||
| 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 | ||
| 2089 | + ] | ||
| 2090 | + ] [ rdf:type sp:Bind ; | ||
| 2091 | + sp:expression | ||
| 2092 | + [ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ; | ||
| 2093 | + sp:arg1 [ sp:varName "pressure"^^xsd:string | ||
| 2094 | + ] | ||
| 2095 | + ] ; | ||
| 2096 | + sp:variable | ||
| 2097 | + [ sp:varName "pressureValue"^^xsd:string | ||
| 2098 | + ] | ||
| 2099 | + ]) | ||
| 2100 | + ] [ rdf:type sp:Optional ; | ||
| 2101 | + sp:elements ([ sp:object | ||
| 2102 | + [ sp:varName "temperature"^^xsd:string | ||
| 2103 | + ] ; | ||
| 2104 | + sp:predicate rdf:type ; | ||
| 2105 | + sp:subject | ||
| 2106 | + [ sp:varName "productFlow"^^xsd:string | ||
| 2107 | + ] | ||
| 2108 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Temperature> ; | ||
| 2109 | + sp:predicate rdf:type ; | ||
| 2110 | + sp:subject | ||
| 2111 | + [ sp:varName "temperature"^^xsd:string | ||
| 2112 | + ] | ||
| 2113 | + ] [ rdf:type sp:Bind ; | ||
| 2114 | + sp:expression | ||
| 2115 | + [ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ; | ||
| 2116 | + sp:arg1 [ sp:varName "temperature"^^xsd:string | ||
| 2117 | + ] | ||
| 2118 | + ] ; | ||
| 2119 | + sp:variable | ||
| 2120 | + [ sp:varName "temperatureValue"^^xsd:string | ||
| 2121 | + ] | ||
| 2122 | + ]) | ||
| 2123 | + ] [ rdf:type sp:Optional ; | ||
| 2124 | + sp:elements ([ sp:object | ||
| 2125 | + [ sp:varName "density"^^xsd:string | ||
| 2126 | + ] ; | ||
| 2127 | + sp:predicate rdf:type ; | ||
| 2128 | + sp:subject | ||
| 2129 | + [ sp:varName "productFlow"^^xsd:string | ||
| 2130 | + ] | ||
| 2131 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Density> ; | ||
| 2132 | + sp:predicate rdf:type ; | ||
| 2133 | + sp:subject | ||
| 2134 | + [ sp:varName "density"^^xsd:string | ||
| 2135 | + ] | ||
| 2136 | + ] [ rdf:type sp:Bind ; | ||
| 2137 | + sp:expression | ||
| 2138 | + [ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ; | ||
| 2139 | + sp:arg1 [ sp:varName "density"^^xsd:string | ||
| 2140 | + ] | ||
| 2141 | + ] ; | ||
| 2142 | + sp:variable | ||
| 2143 | + [ sp:varName "densityValue"^^xsd:string | ||
| 2144 | + ] | ||
| 2145 | + ]) | ||
| 2146 | + ]) | ||
| 1135 | ]) | 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