David Price

Added fluid and well test clones of dpr tables to mprp

...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
20 20
21 <http://www.reportinghub.no/ep/spin/mpr-tables> 21 <http://www.reportinghub.no/ep/spin/mpr-tables>
22 rdf:type owl:Ontology ; 22 rdf:type owl:Ontology ;
23 - owl:imports <http://www.reportinghub.no/ep/transform/transform-helper-schema> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://spinrdf.org/spin> ; 23 + 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/ep/transform/transform-helper-schema> ;
24 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 24 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
25 25
26 mpr-tables:Cargo 26 mpr-tables:Cargo
...@@ -789,6 +789,363 @@ mpr-tables:CargoOwnership ...@@ -789,6 +789,363 @@ mpr-tables:CargoOwnership
789 ] ; 789 ] ;
790 rhspin:tableHeaders ("Facility"^^xsd:string "Cargo Number"^^xsd:string "Cargo Batch"^^xsd:string "Owner"^^xsd:string "Share"^^xsd:string) . 790 rhspin:tableHeaders ("Facility"^^xsd:string "Cargo Number"^^xsd:string "Cargo Batch"^^xsd:string "Owner"^^xsd:string "Share"^^xsd:string) .
791 791
792 +mpr-tables:FluidSampleAnalysisResults
793 + rdf:type rhspin:TableTemplate ;
794 + rdfs:label "Fluid Sample Analysis Results"^^xsd:string ;
795 + rdfs:subClassOf rhspin:MPRGTableTemplates ;
796 + spin:body
797 + [ rdf:type sp:Select ;
798 + sp:distinct "true"^^xsd:boolean ;
799 + sp:orderBy ([ sp:varName "sampledFluidName"^^xsd:string
800 + ]) ;
801 + sp:resultVariables ([ sp:varName "sampledFluidName"^^xsd:string
802 + ] [ sp:varName "componentName"^^xsd:string
803 + ] [ sp:varName "moleRatioPercent"^^xsd:string
804 + ] [ sp:varName "massRatioPercent"^^xsd:string
805 + ] [ sp:varName "isPrimary"^^xsd:string
806 + ]) ;
807 + sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
808 + sp:predicate rdf:type ;
809 + sp:subject
810 + [ sp:varName "report"^^xsd:string
811 + ]
812 + ] [ sp:object
813 + [ sp:varName "report"^^xsd:string
814 + ] ;
815 + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
816 + sp:subject
817 + [ sp:varName "fluidSampleReport"^^xsd:string
818 + ]
819 + ] [ sp:object <http://www.reportinghub.no/ep/schema/report#FluidSampleReport> ;
820 + sp:predicate rdf:type ;
821 + sp:subject
822 + [ sp:varName "fluidSampleReport"^^xsd:string
823 + ]
824 + ] [ sp:object
825 + [ sp:varName "fluidsamplingandanalysis"^^xsd:string
826 + ] ;
827 + sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
828 + sp:subject
829 + [ sp:varName "fluidSampleReport"^^xsd:string
830 + ]
831 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#FluidSamplingAndAnalysis> ;
832 + sp:predicate rdf:type ;
833 + sp:subject
834 + [ sp:varName "fluidsamplingandanalysis"^^xsd:string
835 + ]
836 + ] [ sp:object
837 + [ sp:varName "sampledFluid"^^xsd:string
838 + ] ;
839 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#sampledFluid> ;
840 + sp:subject
841 + [ sp:varName "fluidsamplingandanalysis"^^xsd:string
842 + ]
843 + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#Fluid> ;
844 + sp:predicate rdf:type ;
845 + sp:subject
846 + [ sp:varName "sampledFluid"^^xsd:string
847 + ]
848 + ] [ sp:object
849 + [ sp:varName "sampledFluidName"^^xsd:string
850 + ] ;
851 + sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
852 + sp:subject
853 + [ sp:varName "sampledFluid"^^xsd:string
854 + ]
855 + ] [ rdf:type sp:TriplePath ;
856 + sp:object
857 + [ sp:varName "component"^^xsd:string
858 + ] ;
859 + sp:path [ rdf:type sp:AltPath ;
860 + sp:path1 <http://www.reportinghub.no/ep/schema/material#hasPrimaryComponent> ;
861 + sp:path2 <http://www.reportinghub.no/ep/schema/material#hasNonPrimaryComponent>
862 + ] ;
863 + sp:subject
864 + [ sp:varName "sampledFluid"^^xsd:string
865 + ]
866 + ] [ rdf:type sp:Optional ;
867 + sp:elements ([ sp:object
868 + [ sp:varName "firstOfPair"^^xsd:string
869 + ] ;
870 + sp:predicate rdf:type ;
871 + sp:subject
872 + [ sp:varName "component"^^xsd:string
873 + ]
874 + ] [ sp:object
875 + [ sp:varName "firstOfPair"^^xsd:string
876 + ] ;
877 + sp:predicate <http://www.reportinghub.no/ep/schema/core#firstOfPair> ;
878 + sp:subject
879 + [ sp:varName "molePair"^^xsd:string
880 + ]
881 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#MolePair> ;
882 + sp:predicate rdf:type ;
883 + sp:subject
884 + [ sp:varName "molePair"^^xsd:string
885 + ]
886 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Mole> ;
887 + sp:predicate rdf:type ;
888 + sp:subject
889 + [ sp:varName "firstOfPair"^^xsd:string
890 + ]
891 + ] [ sp:object
892 + [ sp:varName "secondOfPair"^^xsd:string
893 + ] ;
894 + sp:predicate <http://www.reportinghub.no/ep/schema/core#secondOfPair> ;
895 + sp:subject
896 + [ sp:varName "molePair"^^xsd:string
897 + ]
898 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Mole> ;
899 + sp:predicate rdf:type ;
900 + sp:subject
901 + [ sp:varName "secondOfPair"^^xsd:string
902 + ]
903 + ] [ sp:object
904 + [ sp:varName "ratio"^^xsd:string
905 + ] ;
906 + sp:predicate <http://www.reportinghub.no/ep/schema/core#divide> ;
907 + sp:subject
908 + [ sp:varName "molePair"^^xsd:string
909 + ]
910 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Ratio> ;
911 + sp:predicate rdf:type ;
912 + sp:subject
913 + [ sp:varName "ratio"^^xsd:string
914 + ]
915 + ] [ rdf:type sp:Bind ;
916 + sp:expression
917 + [ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ;
918 + sp:arg1 [ sp:varName "ratio"^^xsd:string
919 + ]
920 + ] ;
921 + sp:variable
922 + [ sp:varName "moleRatioPercent"^^xsd:string
923 + ]
924 + ])
925 + ] [ rdf:type sp:Optional ;
926 + sp:elements ([ sp:object
927 + [ sp:varName "firstOfPairMass"^^xsd:string
928 + ] ;
929 + sp:predicate rdf:type ;
930 + sp:subject
931 + [ sp:varName "component"^^xsd:string
932 + ]
933 + ] [ sp:object
934 + [ sp:varName "firstOfPairMass"^^xsd:string
935 + ] ;
936 + sp:predicate <http://www.reportinghub.no/ep/schema/core#firstOfPair> ;
937 + sp:subject
938 + [ sp:varName "massPair"^^xsd:string
939 + ]
940 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#MassPair> ;
941 + sp:predicate rdf:type ;
942 + sp:subject
943 + [ sp:varName "massPair"^^xsd:string
944 + ]
945 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Mass> ;
946 + sp:predicate rdf:type ;
947 + sp:subject
948 + [ sp:varName "firstOfPairMass"^^xsd:string
949 + ]
950 + ] [ sp:object
951 + [ sp:varName "secondOfPairMass"^^xsd:string
952 + ] ;
953 + sp:predicate <http://www.reportinghub.no/ep/schema/core#secondOfPair> ;
954 + sp:subject
955 + [ sp:varName "massPair"^^xsd:string
956 + ]
957 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Mass> ;
958 + sp:predicate rdf:type ;
959 + sp:subject
960 + [ sp:varName "secondOfPairMass"^^xsd:string
961 + ]
962 + ] [ sp:object
963 + [ sp:varName "ratioMass"^^xsd:string
964 + ] ;
965 + sp:predicate <http://www.reportinghub.no/ep/schema/core#divide> ;
966 + sp:subject
967 + [ sp:varName "massPair"^^xsd:string
968 + ]
969 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Ratio> ;
970 + sp:predicate rdf:type ;
971 + sp:subject
972 + [ sp:varName "ratioMass"^^xsd:string
973 + ]
974 + ] [ rdf:type sp:Bind ;
975 + sp:expression
976 + [ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ;
977 + sp:arg1 [ sp:varName "ratioMass"^^xsd:string
978 + ]
979 + ] ;
980 + sp:variable
981 + [ sp:varName "massRatioPercent"^^xsd:string
982 + ]
983 + ])
984 + ] [ rdf:type sp:Optional ;
985 + sp:elements ([ sp:object
986 + [ sp:varName "componentType"^^xsd:string
987 + ] ;
988 + sp:predicate rdf:type ;
989 + sp:subject
990 + [ sp:varName "component"^^xsd:string
991 + ]
992 + ] [ rdf:type sp:Filter ;
993 + sp:expression
994 + [ rdf:type sp:ne ;
995 + sp:arg1 [ sp:varName "componentType"^^xsd:string
996 + ] ;
997 + sp:arg2 <http://www.reportinghub.no/ep/schema/material#Fluid>
998 + ]
999 + ] [ rdf:type sp:Filter ;
1000 + sp:expression
1001 + [ rdf:type sp:ne ;
1002 + sp:arg1 [ sp:varName "componentType"^^xsd:string
1003 + ] ;
1004 + sp:arg2 <http://www.reportinghub.no/ep/schema/material#FluidFraction>
1005 + ]
1006 + ] [ sp:object
1007 + [ sp:varName "componentName"^^xsd:string
1008 + ] ;
1009 + sp:predicate rdfs:label ;
1010 + sp:subject
1011 + [ sp:varName "componentType"^^xsd:string
1012 + ]
1013 + ])
1014 + ] [ rdf:type sp:Optional ;
1015 + sp:elements ([ sp:object
1016 + [ sp:varName "component"^^xsd:string
1017 + ] ;
1018 + sp:predicate <http://www.reportinghub.no/ep/schema/material#hasPrimaryComponent> ;
1019 + sp:subject
1020 + [ sp:varName "sampledFluid"^^xsd:string
1021 + ]
1022 + ] [ rdf:type sp:Bind ;
1023 + sp:expression "True" ;
1024 + sp:variable
1025 + [ sp:varName "isPrimary"^^xsd:string
1026 + ]
1027 + ])
1028 + ])
1029 + ] ;
1030 + rhspin:tableHeaders ("Fluid Sample Name"^^xsd:string "Component"^^xsd:string "Mole Ratio"^^xsd:string "Mass Ratio"^^xsd:string "Is Primary"^^xsd:string) .
1031 +
1032 +mpr-tables:FluidSamples
1033 + rdf:type rhspin:TableTemplate ;
1034 + rdfs:label "Fluid Sample Report"^^xsd:string ;
1035 + rdfs:subClassOf rhspin:MPRGTableTemplates ;
1036 + spin:body
1037 + [ rdf:type sp:Select ;
1038 + sp:orderBy ([ sp:varName "sampledFluidName"^^xsd:string
1039 + ]) ;
1040 + sp:resultVariables ([ sp:varName "fluidSamplingType"^^xsd:string
1041 + ] [ sp:varName "sampleDate"^^xsd:string
1042 + ] [ sp:varName "samplePerformedAt"^^xsd:string
1043 + ] [ sp:varName "sampledFluidName"^^xsd:string
1044 + ]) ;
1045 + sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
1046 + sp:predicate rdf:type ;
1047 + sp:subject
1048 + [ sp:varName "report"^^xsd:string
1049 + ]
1050 + ] [ sp:object
1051 + [ sp:varName "report"^^xsd:string
1052 + ] ;
1053 + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
1054 + sp:subject
1055 + [ sp:varName "fluidSampleReport"^^xsd:string
1056 + ]
1057 + ] [ sp:object <http://www.reportinghub.no/ep/schema/report#FluidSampleReport> ;
1058 + sp:predicate rdf:type ;
1059 + sp:subject
1060 + [ sp:varName "fluidSampleReport"^^xsd:string
1061 + ]
1062 + ] [ sp:object
1063 + [ sp:varName "fluidsamplingandanalysis"^^xsd:string
1064 + ] ;
1065 + sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
1066 + sp:subject
1067 + [ sp:varName "fluidSampleReport"^^xsd:string
1068 + ]
1069 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#FluidSamplingAndAnalysis> ;
1070 + sp:predicate rdf:type ;
1071 + sp:subject
1072 + [ sp:varName "fluidsamplingandanalysis"^^xsd:string
1073 + ]
1074 + ] [ sp:object
1075 + [ sp:varName "fluidsamplingandanalysisType"^^xsd:string
1076 + ] ;
1077 + sp:predicate rdf:type ;
1078 + sp:subject
1079 + [ sp:varName "fluidsamplingandanalysis"^^xsd:string
1080 + ]
1081 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#FluidSamplingType> ;
1082 + sp:predicate rdf:type ;
1083 + sp:subject
1084 + [ sp:varName "fluidsamplingandanalysisType"^^xsd:string
1085 + ]
1086 + ] [ sp:object
1087 + [ sp:varName "fluidSamplingType"^^xsd:string
1088 + ] ;
1089 + sp:predicate rdfs:label ;
1090 + sp:subject
1091 + [ sp:varName "fluidsamplingandanalysisType"^^xsd:string
1092 + ]
1093 + ] [ sp:object
1094 + [ sp:varName "sampleDate"^^xsd:string
1095 + ] ;
1096 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
1097 + sp:subject
1098 + [ sp:varName "fluidsamplingandanalysis"^^xsd:string
1099 + ]
1100 + ] [ sp:object
1101 + [ sp:varName "sampledFluid"^^xsd:string
1102 + ] ;
1103 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#sampledFluid> ;
1104 + sp:subject
1105 + [ sp:varName "fluidsamplingandanalysis"^^xsd:string
1106 + ]
1107 + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#Fluid> ;
1108 + sp:predicate rdf:type ;
1109 + sp:subject
1110 + [ sp:varName "sampledFluid"^^xsd:string
1111 + ]
1112 + ] [ sp:object
1113 + [ sp:varName "sampledFluidName"^^xsd:string
1114 + ] ;
1115 + sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
1116 + sp:subject
1117 + [ sp:varName "sampledFluid"^^xsd:string
1118 + ]
1119 + ] [ sp:object
1120 + [ sp:varName "temporalpartofaproductionfacility"^^xsd:string
1121 + ] ;
1122 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#samplingPerformedAt> ;
1123 + sp:subject
1124 + [ sp:varName "fluidsamplingandanalysis"^^xsd:string
1125 + ]
1126 + ] [ sp:object
1127 + [ sp:varName "productionfacility"^^xsd:string
1128 + ] ;
1129 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
1130 + sp:subject
1131 + [ sp:varName "temporalpartofaproductionfacility"^^xsd:string
1132 + ]
1133 + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ;
1134 + sp:predicate rdf:type ;
1135 + sp:subject
1136 + [ sp:varName "temporalpartofaproductionfacility"^^xsd:string
1137 + ]
1138 + ] [ sp:object
1139 + [ sp:varName "samplePerformedAt"^^xsd:string
1140 + ] ;
1141 + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
1142 + sp:subject
1143 + [ sp:varName "productionfacility"^^xsd:string
1144 + ]
1145 + ])
1146 + ] ;
1147 + rhspin:tableHeaders ("Sample Type"^^xsd:string "Aquisition Date"^^xsd:string "Sampling Facility"^^xsd:string "Fluid Sample Name"^^xsd:string) .
1148 +
792 mpr-tables:GasSales 1149 mpr-tables:GasSales
793 rdf:type rhspin:TableTemplate ; 1150 rdf:type rhspin:TableTemplate ;
794 rdfs:label "Gas Sales"^^xsd:string ; 1151 rdfs:label "Gas Sales"^^xsd:string ;
...@@ -2701,17 +3058,737 @@ mpr-tables:ProductionSales ...@@ -2701,17 +3058,737 @@ mpr-tables:ProductionSales
2701 ] ; 3058 ] ;
2702 rhspin:tableHeaders ("Facility"^^xsd:string "Purpose"^^xsd:string "Material"^^xsd:string "Mass"^^xsd:string "Volume"^^xsd:string "Density"^^xsd:string "Flow type"^^xsd:string "Flow subtype"^^xsd:string "Gross/Net"^^xsd:string) . 3059 rhspin:tableHeaders ("Facility"^^xsd:string "Purpose"^^xsd:string "Material"^^xsd:string "Mass"^^xsd:string "Volume"^^xsd:string "Density"^^xsd:string "Flow type"^^xsd:string "Flow subtype"^^xsd:string "Gross/Net"^^xsd:string) .
2703 3060
2704 -mpr-tables:WellProductionFlows 3061 +mpr-tables:WellInjectionTest
2705 rdf:type rhspin:TableTemplate ; 3062 rdf:type rhspin:TableTemplate ;
2706 - rdfs:label "Well Production"^^xsd:string ; 3063 + rdfs:label "Well Injection Tests"^^xsd:string ;
2707 rdfs:subClassOf rhspin:MPRGTableTemplates ; 3064 rdfs:subClassOf rhspin:MPRGTableTemplates ;
2708 spin:body 3065 spin:body
2709 [ rdf:type sp:Select ; 3066 [ rdf:type sp:Select ;
2710 - sp:orderBy ([ sp:varName "facilityName"^^xsd:string 3067 + sp:orderBy ([ sp:varName "welName"^^xsd:string
2711 - ] [ sp:varName "purposeTypeName"^^xsd:string 3068 + ] [ sp:varName "activityStart"^^xsd:string
2712 - ] [ sp:varName "materialTypeName"^^xsd:string
2713 ]) ; 3069 ]) ;
2714 - sp:resultVariables ([ sp:varName "facilityName"^^xsd:string 3070 + sp:resultVariables ([ sp:varName "wellName"^^xsd:string
3071 + ] [ sp:varName "wellTestTypeName"^^xsd:string
3072 + ] [ sp:varName "activityStart"^^xsd:string
3073 + ] [ sp:varName "duration"^^xsd:string
3074 + ] [ sp:varName "injectionFluidName"^^xsd:string
3075 + ] [ sp:varName "wellTestReasonTypeName"^^xsd:string
3076 + ] [ sp:varName "minAnnularPresValue"^^xsd:string
3077 + ] [ sp:varName "maxAnnularPresValue"^^xsd:string
3078 + ] [ sp:varName "wellheadFlowingPresValue"^^xsd:string
3079 + ] [ sp:varName "wellheadMaxPresValue"^^xsd:string
3080 + ] [ sp:varName "chokeOrificeSizeValue"^^xsd:string
3081 + ]) ;
3082 + sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
3083 + sp:predicate rdf:type ;
3084 + sp:subject
3085 + [ sp:varName "report"^^xsd:string
3086 + ]
3087 + ] [ sp:object
3088 + [ sp:varName "report"^^xsd:string
3089 + ] ;
3090 + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
3091 + sp:subject
3092 + [ sp:varName "wellTestReport"^^xsd:string
3093 + ]
3094 + ] [ sp:object <http://www.reportinghub.no/ep/schema/report#WellTestReport> ;
3095 + sp:predicate rdf:type ;
3096 + sp:subject
3097 + [ sp:varName "wellTestReport"^^xsd:string
3098 + ]
3099 + ] [ sp:object
3100 + [ sp:varName "wellTest"^^xsd:string
3101 + ] ;
3102 + sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
3103 + sp:subject
3104 + [ sp:varName "wellTestReport"^^xsd:string
3105 + ]
3106 + ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#WellTest> ;
3107 + sp:predicate rdf:type ;
3108 + sp:subject
3109 + [ sp:varName "wellTest"^^xsd:string
3110 + ]
3111 + ] [ sp:object
3112 + [ sp:varName "wellPart"^^xsd:string
3113 + ] ;
3114 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWell> ;
3115 + sp:subject
3116 + [ sp:varName "wellTest"^^xsd:string
3117 + ]
3118 + ] [ sp:object
3119 + [ sp:varName "well"^^xsd:string
3120 + ] ;
3121 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
3122 + sp:subject
3123 + [ sp:varName "wellPart"^^xsd:string
3124 + ]
3125 + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#Well> ;
3126 + sp:predicate rdf:type ;
3127 + sp:subject
3128 + [ sp:varName "well"^^xsd:string
3129 + ]
3130 + ] [ sp:object
3131 + [ sp:varName "wellName"^^xsd:string
3132 + ] ;
3133 + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
3134 + sp:subject
3135 + [ sp:varName "well"^^xsd:string
3136 + ]
3137 + ] [ sp:object
3138 + [ sp:varName "wellTestType"^^xsd:string
3139 + ] ;
3140 + sp:predicate rdf:type ;
3141 + sp:subject
3142 + [ sp:varName "wellTest"^^xsd:string
3143 + ]
3144 + ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#WellTestType> ;
3145 + sp:predicate rdf:type ;
3146 + sp:subject
3147 + [ sp:varName "wellTestType"^^xsd:string
3148 + ]
3149 + ] [ sp:object
3150 + [ sp:varName "wellTestTypeName"^^xsd:string
3151 + ] ;
3152 + sp:predicate rdfs:label ;
3153 + sp:subject
3154 + [ sp:varName "wellTestType"^^xsd:string
3155 + ]
3156 + ] [ sp:object
3157 + [ sp:varName "injectionWellTest"^^xsd:string
3158 + ] ;
3159 + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
3160 + sp:subject
3161 + [ sp:varName "wellTest"^^xsd:string
3162 + ]
3163 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#InjectionWellTest> ;
3164 + sp:predicate rdf:type ;
3165 + sp:subject
3166 + [ sp:varName "injectionWellTest"^^xsd:string
3167 + ]
3168 + ] [ rdf:type sp:Optional ;
3169 + sp:elements ([ sp:object
3170 + [ sp:varName "timeDuration"^^xsd:string
3171 + ] ;
3172 + sp:predicate rdf:type ;
3173 + sp:subject
3174 + [ sp:varName "injectionWellTest"^^xsd:string
3175 + ]
3176 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ;
3177 + sp:predicate rdf:type ;
3178 + sp:subject
3179 + [ sp:varName "timeDuration"^^xsd:string
3180 + ]
3181 + ] [ rdf:type sp:Bind ;
3182 + sp:expression
3183 + [ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ;
3184 + sp:arg1 [ sp:varName "timeDuration"^^xsd:string
3185 + ]
3186 + ] ;
3187 + sp:variable
3188 + [ sp:varName "duration"^^xsd:string
3189 + ]
3190 + ])
3191 + ] [ rdf:type sp:Optional ;
3192 + sp:elements ([ sp:object
3193 + [ sp:varName "injectionWellTestFlow"^^xsd:string
3194 + ] ;
3195 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#hasFlow> ;
3196 + sp:subject
3197 + [ sp:varName "injectionWellTest"^^xsd:string
3198 + ]
3199 + ] [ sp:object
3200 + [ sp:varName "injectionFluidType"^^xsd:string
3201 + ] ;
3202 + sp:predicate rdf:type ;
3203 + sp:subject
3204 + [ sp:varName "injectionWellTestFlow"^^xsd:string
3205 + ]
3206 + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#FluidComponentType> ;
3207 + sp:predicate rdf:type ;
3208 + sp:subject
3209 + [ sp:varName "injectionFluidType"^^xsd:string
3210 + ]
3211 + ] [ sp:object
3212 + [ sp:varName "injectionFluidName"^^xsd:string
3213 + ] ;
3214 + sp:predicate rdfs:label ;
3215 + sp:subject
3216 + [ sp:varName "injectionFluidType"^^xsd:string
3217 + ]
3218 + ])
3219 + ] [ rdf:type sp:Optional ;
3220 + sp:elements ([ sp:object
3221 + [ sp:varName "minAnnularPres"^^xsd:string
3222 + ] ;
3223 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#injectionWellTestMinimumAnnularPressure> ;
3224 + sp:subject
3225 + [ sp:varName "injectionWellTest"^^xsd:string
3226 + ]
3227 + ] [ rdf:type sp:Bind ;
3228 + sp:expression
3229 + [ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ;
3230 + sp:arg1 [ sp:varName "minAnnularPres"^^xsd:string
3231 + ]
3232 + ] ;
3233 + sp:variable
3234 + [ sp:varName "minAnnularPresValue"^^xsd:string
3235 + ]
3236 + ])
3237 + ] [ rdf:type sp:Optional ;
3238 + sp:elements ([ sp:object
3239 + [ sp:varName "maxAnnularPres"^^xsd:string
3240 + ] ;
3241 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#injectionWellTestMaximumAnnularPressure> ;
3242 + sp:subject
3243 + [ sp:varName "injectionWellTest"^^xsd:string
3244 + ]
3245 + ] [ rdf:type sp:Bind ;
3246 + sp:expression
3247 + [ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ;
3248 + sp:arg1 [ sp:varName "maxAnnularPres"^^xsd:string
3249 + ]
3250 + ] ;
3251 + sp:variable
3252 + [ sp:varName "maxAnnularPresValue"^^xsd:string
3253 + ]
3254 + ])
3255 + ] [ rdf:type sp:Optional ;
3256 + sp:elements ([ sp:object
3257 + [ sp:varName "wellheadFlowingPres"^^xsd:string
3258 + ] ;
3259 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#injectionWellTestWellheadFlowingPressure> ;
3260 + sp:subject
3261 + [ sp:varName "injectionWellTest"^^xsd:string
3262 + ]
3263 + ] [ rdf:type sp:Bind ;
3264 + sp:expression
3265 + [ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ;
3266 + sp:arg1 [ sp:varName "wellheadFlowingPres"^^xsd:string
3267 + ]
3268 + ] ;
3269 + sp:variable
3270 + [ sp:varName "wellheadFlowingPresValue"^^xsd:string
3271 + ]
3272 + ])
3273 + ] [ rdf:type sp:Optional ;
3274 + sp:elements ([ sp:object
3275 + [ sp:varName "wellheadMaxPres"^^xsd:string
3276 + ] ;
3277 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#injectionWellTestWellheadMaximumPressure> ;
3278 + sp:subject
3279 + [ sp:varName "injectionWellTest"^^xsd:string
3280 + ]
3281 + ] [ rdf:type sp:Bind ;
3282 + sp:expression
3283 + [ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ;
3284 + sp:arg1 [ sp:varName "wellheadMaxPres"^^xsd:string
3285 + ]
3286 + ] ;
3287 + sp:variable
3288 + [ sp:varName "wellheadMaxPresValue"^^xsd:string
3289 + ]
3290 + ])
3291 + ] [ rdf:type sp:Optional ;
3292 + sp:elements ([ sp:object
3293 + [ sp:varName "wellTestChoke"^^xsd:string
3294 + ] ;
3295 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#hasWellTestChoke> ;
3296 + sp:subject
3297 + [ sp:varName "injectionWellTest"^^xsd:string
3298 + ]
3299 + ] [ sp:object
3300 + [ sp:varName "chokeOrificeSize"^^xsd:string
3301 + ] ;
3302 + sp:predicate <http://www.reportinghub.no/ep/schema/equipment#chokeOrificeSize> ;
3303 + sp:subject
3304 + [ sp:varName "wellTestChoke"^^xsd:string
3305 + ]
3306 + ] [ rdf:type sp:Bind ;
3307 + sp:expression
3308 + [ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ;
3309 + sp:arg1 [ sp:varName "chokeOrificeSize"^^xsd:string
3310 + ]
3311 + ] ;
3312 + sp:variable
3313 + [ sp:varName "chokeOrificeSizeValue"^^xsd:string
3314 + ]
3315 + ])
3316 + ] [ rdf:type sp:Optional ;
3317 + sp:elements ([ sp:object
3318 + [ sp:varName "wellTestReasonType"^^xsd:string
3319 + ] ;
3320 + sp:predicate rdf:type ;
3321 + sp:subject
3322 + [ sp:varName "wellTest"^^xsd:string
3323 + ]
3324 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#WellTestReasonType> ;
3325 + sp:predicate rdf:type ;
3326 + sp:subject
3327 + [ sp:varName "wellTestReasonType"^^xsd:string
3328 + ]
3329 + ] [ sp:object
3330 + [ sp:varName "wellTestReasonTypeName"^^xsd:string
3331 + ] ;
3332 + sp:predicate rdfs:label ;
3333 + sp:subject
3334 + [ sp:varName "wellTestReasonType"^^xsd:string
3335 + ]
3336 + ])
3337 + ] [ rdf:type sp:Optional ;
3338 + sp:elements ([ sp:object
3339 + [ sp:varName "activityStart"^^xsd:string
3340 + ] ;
3341 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
3342 + sp:subject
3343 + [ sp:varName "wellTest"^^xsd:string
3344 + ]
3345 + ])
3346 + ])
3347 + ] ;
3348 + rhspin:tableHeaders ("Well"^^xsd:string "Test Type"^^xsd:string "Nominally At"^^xsd:string "Duration"^^xsd:string """Injected
3349 +Fluid"""^^xsd:string "Reason"^^xsd:string """Min
3350 +Annular
3351 +Pressure"""^^xsd:string """Max
3352 +Annular
3353 +Pressure"""^^xsd:string """Wellhead
3354 +Flowing
3355 +Pressure"""^^xsd:string """Wellhead
3356 +Max
3357 +Pressure"""^^xsd:string "Choke"^^xsd:string) .
3358 +
3359 +mpr-tables:WellInjectionTestResults
3360 + rdf:type rhspin:TableTemplate ;
3361 + rdfs:label "Well Injection Test Results"^^xsd:string ;
3362 + rdfs:subClassOf rhspin:MPRGTableTemplates ;
3363 + spin:body
3364 + [ rdf:type sp:Select ;
3365 + sp:orderBy ([ sp:varName "wellName"^^xsd:string
3366 + ] [ sp:varName "activityStart"^^xsd:string
3367 + ]) ;
3368 + sp:resultVariables ([ sp:varName "wellName"^^xsd:string
3369 + ] [ sp:varName "wellTestTypeName"^^xsd:string
3370 + ] [ sp:varName "activityStart"^^xsd:string
3371 + ] [ sp:varName "oilRate"^^xsd:string
3372 + ] [ sp:varName "oilVolume"^^xsd:string
3373 + ] [ sp:varName "oilDensity"^^xsd:string
3374 + ] [ sp:varName "gasRate"^^xsd:string
3375 + ] [ sp:varName "gasVolume"^^xsd:string
3376 + ] [ sp:varName "gasDensity"^^xsd:string
3377 + ] [ sp:varName "waterRate"^^xsd:string
3378 + ] [ sp:varName "waterVolume"^^xsd:string
3379 + ]) ;
3380 + sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
3381 + sp:predicate rdf:type ;
3382 + sp:subject
3383 + [ sp:varName "report"^^xsd:string
3384 + ]
3385 + ] [ sp:object
3386 + [ sp:varName "report"^^xsd:string
3387 + ] ;
3388 + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
3389 + sp:subject
3390 + [ sp:varName "wellTestReport"^^xsd:string
3391 + ]
3392 + ] [ sp:object <http://www.reportinghub.no/ep/schema/report#WellTestReport> ;
3393 + sp:predicate rdf:type ;
3394 + sp:subject
3395 + [ sp:varName "wellTestReport"^^xsd:string
3396 + ]
3397 + ] [ sp:object
3398 + [ sp:varName "wellTest"^^xsd:string
3399 + ] ;
3400 + sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
3401 + sp:subject
3402 + [ sp:varName "wellTestReport"^^xsd:string
3403 + ]
3404 + ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#WellTest> ;
3405 + sp:predicate rdf:type ;
3406 + sp:subject
3407 + [ sp:varName "wellTest"^^xsd:string
3408 + ]
3409 + ] [ sp:object
3410 + [ sp:varName "wellPart"^^xsd:string
3411 + ] ;
3412 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWell> ;
3413 + sp:subject
3414 + [ sp:varName "wellTest"^^xsd:string
3415 + ]
3416 + ] [ sp:object
3417 + [ sp:varName "well"^^xsd:string
3418 + ] ;
3419 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
3420 + sp:subject
3421 + [ sp:varName "wellPart"^^xsd:string
3422 + ]
3423 + ] [ sp:object <http://www.reportinghub.no/ep/schema/well#Well> ;
3424 + sp:predicate rdf:type ;
3425 + sp:subject
3426 + [ sp:varName "well"^^xsd:string
3427 + ]
3428 + ] [ sp:object
3429 + [ sp:varName "wellName"^^xsd:string
3430 + ] ;
3431 + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
3432 + sp:subject
3433 + [ sp:varName "well"^^xsd:string
3434 + ]
3435 + ] [ sp:object
3436 + [ sp:varName "wellTestType"^^xsd:string
3437 + ] ;
3438 + sp:predicate rdf:type ;
3439 + sp:subject
3440 + [ sp:varName "wellTest"^^xsd:string
3441 + ]
3442 + ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#WellTestType> ;
3443 + sp:predicate rdf:type ;
3444 + sp:subject
3445 + [ sp:varName "wellTestType"^^xsd:string
3446 + ]
3447 + ] [ sp:object
3448 + [ sp:varName "wellTestTypeName"^^xsd:string
3449 + ] ;
3450 + sp:predicate rdfs:label ;
3451 + sp:subject
3452 + [ sp:varName "wellTestType"^^xsd:string
3453 + ]
3454 + ] [ sp:object
3455 + [ sp:varName "injectionWellTest"^^xsd:string
3456 + ] ;
3457 + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
3458 + sp:subject
3459 + [ sp:varName "wellTest"^^xsd:string
3460 + ]
3461 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#InjectionWellTest> ;
3462 + sp:predicate rdf:type ;
3463 + sp:subject
3464 + [ sp:varName "injectionWellTest"^^xsd:string
3465 + ]
3466 + ] [ rdf:type sp:Optional ;
3467 + sp:elements ([ sp:object
3468 + [ sp:varName "activityStart"^^xsd:string
3469 + ] ;
3470 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
3471 + sp:subject
3472 + [ sp:varName "wellTest"^^xsd:string
3473 + ]
3474 + ])
3475 + ] [ rdf:type sp:Optional ;
3476 + sp:elements ([ sp:object
3477 + [ sp:varName "flow"^^xsd:string
3478 + ] ;
3479 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#hasFlow> ;
3480 + sp:subject
3481 + [ sp:varName "injectionWellTest"^^xsd:string
3482 + ]
3483 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Flow> ;
3484 + sp:predicate rdf:type ;
3485 + sp:subject
3486 + [ sp:varName "flow"^^xsd:string
3487 + ]
3488 + ] [ rdf:type sp:Optional ;
3489 + sp:elements ([ sp:object
3490 + [ sp:varName "oilPart"^^xsd:string
3491 + ] ;
3492 + sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ;
3493 + sp:subject
3494 + [ sp:varName "flow"^^xsd:string
3495 + ]
3496 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Flow> ;
3497 + sp:predicate rdf:type ;
3498 + sp:subject
3499 + [ sp:varName "oilPart"^^xsd:string
3500 + ]
3501 + ] [ sp:object
3502 + [ sp:varName "oil"^^xsd:string
3503 + ] ;
3504 + sp:predicate <http://www.reportinghub.no/ep/schema/flow#materialThatFlows> ;
3505 + sp:subject
3506 + [ sp:varName "oilPart"^^xsd:string
3507 + ]
3508 + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#Oil> ;
3509 + sp:predicate rdf:type ;
3510 + sp:subject
3511 + [ sp:varName "oil"^^xsd:string
3512 + ]
3513 + ] [ sp:object
3514 + [ sp:varName "oilPart"^^xsd:string
3515 + ] ;
3516 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
3517 + sp:subject
3518 + [ sp:varName "oilflowinastandardstate"^^xsd:string
3519 + ]
3520 + ] [ sp:object
3521 + [ sp:varName "oilvolumetricflowrate"^^xsd:string
3522 + ] ;
3523 + sp:predicate rdf:type ;
3524 + sp:subject
3525 + [ sp:varName "oilflowinastandardstate"^^xsd:string
3526 + ]
3527 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#VolumetricFlowRate> ;
3528 + sp:predicate rdf:type ;
3529 + sp:subject
3530 + [ sp:varName "oilvolumetricflowrate"^^xsd:string
3531 + ]
3532 + ] [ rdf:type sp:Bind ;
3533 + sp:expression
3534 + [ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ;
3535 + sp:arg1 [ sp:varName "oilvolumetricflowrate"^^xsd:string
3536 + ]
3537 + ] ;
3538 + sp:variable
3539 + [ sp:varName "oilRate"^^xsd:string
3540 + ]
3541 + ] [ sp:object
3542 + [ sp:varName "oil"^^xsd:string
3543 + ] ;
3544 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
3545 + sp:subject
3546 + [ sp:varName "partOfOil"^^xsd:string
3547 + ]
3548 + ] [ sp:object
3549 + [ sp:varName "odensity"^^xsd:string
3550 + ] ;
3551 + sp:predicate rdf:type ;
3552 + sp:subject
3553 + [ sp:varName "partOfOil"^^xsd:string
3554 + ]
3555 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Density> ;
3556 + sp:predicate rdf:type ;
3557 + sp:subject
3558 + [ sp:varName "odensity"^^xsd:string
3559 + ]
3560 + ] [ rdf:type sp:Bind ;
3561 + sp:expression
3562 + [ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ;
3563 + sp:arg1 [ sp:varName "odensity"^^xsd:string
3564 + ]
3565 + ] ;
3566 + sp:variable
3567 + [ sp:varName "oilDensity"^^xsd:string
3568 + ]
3569 + ] [ sp:object
3570 + [ sp:varName "ovolume"^^xsd:string
3571 + ] ;
3572 + sp:predicate rdf:type ;
3573 + sp:subject
3574 + [ sp:varName "partOfOil"^^xsd:string
3575 + ]
3576 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ;
3577 + sp:predicate rdf:type ;
3578 + sp:subject
3579 + [ sp:varName "ovolume"^^xsd:string
3580 + ]
3581 + ] [ rdf:type sp:Bind ;
3582 + sp:expression
3583 + [ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ;
3584 + sp:arg1 [ sp:varName "ovolume"^^xsd:string
3585 + ]
3586 + ] ;
3587 + sp:variable
3588 + [ sp:varName "oilVolume"^^xsd:string
3589 + ]
3590 + ])
3591 + ] [ rdf:type sp:Optional ;
3592 + sp:elements ([ sp:object
3593 + [ sp:varName "waterPart"^^xsd:string
3594 + ] ;
3595 + sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ;
3596 + sp:subject
3597 + [ sp:varName "flow"^^xsd:string
3598 + ]
3599 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Flow> ;
3600 + sp:predicate rdf:type ;
3601 + sp:subject
3602 + [ sp:varName "waterPart"^^xsd:string
3603 + ]
3604 + ] [ sp:object
3605 + [ sp:varName "water"^^xsd:string
3606 + ] ;
3607 + sp:predicate <http://www.reportinghub.no/ep/schema/flow#materialThatFlows> ;
3608 + sp:subject
3609 + [ sp:varName "waterPart"^^xsd:string
3610 + ]
3611 + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#Water> ;
3612 + sp:predicate rdf:type ;
3613 + sp:subject
3614 + [ sp:varName "water"^^xsd:string
3615 + ]
3616 + ] [ sp:object
3617 + [ sp:varName "waterPart"^^xsd:string
3618 + ] ;
3619 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
3620 + sp:subject
3621 + [ sp:varName "waterflowinastandardstate"^^xsd:string
3622 + ]
3623 + ] [ sp:object
3624 + [ sp:varName "watervolumetricflowrate"^^xsd:string
3625 + ] ;
3626 + sp:predicate rdf:type ;
3627 + sp:subject
3628 + [ sp:varName "waterflowinastandardstate"^^xsd:string
3629 + ]
3630 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#VolumetricFlowRate> ;
3631 + sp:predicate rdf:type ;
3632 + sp:subject
3633 + [ sp:varName "watervolumetricflowrate"^^xsd:string
3634 + ]
3635 + ] [ rdf:type sp:Bind ;
3636 + sp:expression
3637 + [ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ;
3638 + sp:arg1 [ sp:varName "watervolumetricflowrate"^^xsd:string
3639 + ]
3640 + ] ;
3641 + sp:variable
3642 + [ sp:varName "waterRate"^^xsd:string
3643 + ]
3644 + ] [ sp:object
3645 + [ sp:varName "water"^^xsd:string
3646 + ] ;
3647 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
3648 + sp:subject
3649 + [ sp:varName "partOfWater"^^xsd:string
3650 + ]
3651 + ] [ sp:object
3652 + [ sp:varName "wvolume"^^xsd:string
3653 + ] ;
3654 + sp:predicate rdf:type ;
3655 + sp:subject
3656 + [ sp:varName "partOfWater"^^xsd:string
3657 + ]
3658 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ;
3659 + sp:predicate rdf:type ;
3660 + sp:subject
3661 + [ sp:varName "wvolume"^^xsd:string
3662 + ]
3663 + ] [ rdf:type sp:Bind ;
3664 + sp:expression
3665 + [ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ;
3666 + sp:arg1 [ sp:varName "wvolume"^^xsd:string
3667 + ]
3668 + ] ;
3669 + sp:variable
3670 + [ sp:varName "waterVolume"^^xsd:string
3671 + ]
3672 + ])
3673 + ] [ rdf:type sp:Optional ;
3674 + sp:elements ([ sp:object
3675 + [ sp:varName "gasPart"^^xsd:string
3676 + ] ;
3677 + sp:predicate <http://www.reportinghub.no/ep/schema/flow#hasMixedPart> ;
3678 + sp:subject
3679 + [ sp:varName "flow"^^xsd:string
3680 + ]
3681 + ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#Flow> ;
3682 + sp:predicate rdf:type ;
3683 + sp:subject
3684 + [ sp:varName "gasPart"^^xsd:string
3685 + ]
3686 + ] [ sp:object
3687 + [ sp:varName "gas"^^xsd:string
3688 + ] ;
3689 + sp:predicate <http://www.reportinghub.no/ep/schema/flow#materialThatFlows> ;
3690 + sp:subject
3691 + [ sp:varName "gasPart"^^xsd:string
3692 + ]
3693 + ] [ sp:object <http://www.reportinghub.no/ep/schema/material#Gas> ;
3694 + sp:predicate rdf:type ;
3695 + sp:subject
3696 + [ sp:varName "gas"^^xsd:string
3697 + ]
3698 + ] [ sp:object
3699 + [ sp:varName "gasPart"^^xsd:string
3700 + ] ;
3701 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
3702 + sp:subject
3703 + [ sp:varName "gasflowinastandardstate"^^xsd:string
3704 + ]
3705 + ] [ sp:object
3706 + [ sp:varName "gasvolumetricflowrate"^^xsd:string
3707 + ] ;
3708 + sp:predicate rdf:type ;
3709 + sp:subject
3710 + [ sp:varName "gasflowinastandardstate"^^xsd:string
3711 + ]
3712 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#VolumetricFlowRate> ;
3713 + sp:predicate rdf:type ;
3714 + sp:subject
3715 + [ sp:varName "gasvolumetricflowrate"^^xsd:string
3716 + ]
3717 + ] [ rdf:type sp:Bind ;
3718 + sp:expression
3719 + [ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ;
3720 + sp:arg1 [ sp:varName "gasvolumetricflowrate"^^xsd:string
3721 + ]
3722 + ] ;
3723 + sp:variable
3724 + [ sp:varName "gasRate"^^xsd:string
3725 + ]
3726 + ] [ sp:object
3727 + [ sp:varName "gas"^^xsd:string
3728 + ] ;
3729 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
3730 + sp:subject
3731 + [ sp:varName "partOfGas"^^xsd:string
3732 + ]
3733 + ] [ sp:object
3734 + [ sp:varName "gdensity"^^xsd:string
3735 + ] ;
3736 + sp:predicate rdf:type ;
3737 + sp:subject
3738 + [ sp:varName "partOfGas"^^xsd:string
3739 + ]
3740 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Density> ;
3741 + sp:predicate rdf:type ;
3742 + sp:subject
3743 + [ sp:varName "gdensity"^^xsd:string
3744 + ]
3745 + ] [ rdf:type sp:Bind ;
3746 + sp:expression
3747 + [ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ;
3748 + sp:arg1 [ sp:varName "gdensity"^^xsd:string
3749 + ]
3750 + ] ;
3751 + sp:variable
3752 + [ sp:varName "gasDensity"^^xsd:string
3753 + ]
3754 + ] [ sp:object
3755 + [ sp:varName "gvolume"^^xsd:string
3756 + ] ;
3757 + sp:predicate rdf:type ;
3758 + sp:subject
3759 + [ sp:varName "partOfGas"^^xsd:string
3760 + ]
3761 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Volume> ;
3762 + sp:predicate rdf:type ;
3763 + sp:subject
3764 + [ sp:varName "gvolume"^^xsd:string
3765 + ]
3766 + ] [ rdf:type sp:Bind ;
3767 + sp:expression
3768 + [ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ;
3769 + sp:arg1 [ sp:varName "gvolume"^^xsd:string
3770 + ]
3771 + ] ;
3772 + sp:variable
3773 + [ sp:varName "gasVolume"^^xsd:string
3774 + ]
3775 + ])
3776 + ])
3777 + ])
3778 + ] ;
3779 + rhspin:tableHeaders ("Well"^^xsd:string "Test Type"^^xsd:string "Nominally At"^^xsd:string "Oil Rate"^^xsd:string "Oil Volume"^^xsd:string "Oil Density"^^xsd:string "Gas Rate"^^xsd:string "Gas Volume"^^xsd:string "Gas Density"^^xsd:string "Water Rate"^^xsd:string "Water Volume"^^xsd:string) .
3780 +
3781 +mpr-tables:WellProductionFlows
3782 + rdf:type rhspin:TableTemplate ;
3783 + rdfs:label "Well Production"^^xsd:string ;
3784 + rdfs:subClassOf rhspin:MPRGTableTemplates ;
3785 + spin:body
3786 + [ rdf:type sp:Select ;
3787 + sp:orderBy ([ sp:varName "facilityName"^^xsd:string
3788 + ] [ sp:varName "purposeTypeName"^^xsd:string
3789 + ] [ sp:varName "materialTypeName"^^xsd:string
3790 + ]) ;
3791 + sp:resultVariables ([ sp:varName "facilityName"^^xsd:string
2715 ] [ sp:varName "wellStatus"^^xsd:string 3792 ] [ sp:varName "wellStatus"^^xsd:string
2716 ] [ sp:varName "purposeTypeName"^^xsd:string 3793 ] [ sp:varName "purposeTypeName"^^xsd:string
2717 ] [ sp:varName "materialTypeName"^^xsd:string 3794 ] [ sp:varName "materialTypeName"^^xsd:string
...@@ -3042,3 +4119,219 @@ mpr-tables:WellProductionFlows ...@@ -3042,3 +4119,219 @@ mpr-tables:WellProductionFlows
3042 ]) 4119 ])
3043 ] ; 4120 ] ;
3044 rhspin:tableHeaders ("Wellbore"^^xsd:string "Status"^^xsd:string "Purpose"^^xsd:string "Material"^^xsd:string "Volume"^^xsd:string "Days"^^xsd:string "Flow type"^^xsd:string "Flow subtype"^^xsd:string "Gross/Net"^^xsd:string) . 4121 rhspin:tableHeaders ("Wellbore"^^xsd:string "Status"^^xsd:string "Purpose"^^xsd:string "Material"^^xsd:string "Volume"^^xsd:string "Days"^^xsd:string "Flow type"^^xsd:string "Flow subtype"^^xsd:string "Gross/Net"^^xsd:string) .
4122 +
4123 +mpr-tables:WellTest
4124 + rdf:type rhspin:TableTemplate ;
4125 + rdfs:label "Well Test Report Summary"^^xsd:string ;
4126 + rdfs:subClassOf rhspin:MPRGTableTemplates ;
4127 + spin:body
4128 + [ rdf:type sp:Select ;
4129 + sp:orderBy ([ sp:varName "wellboreName"^^xsd:string
4130 + ] [ sp:varName "activityStart"^^xsd:string
4131 + ]) ;
4132 + sp:resultVariables ([ sp:varName "wellboreName"^^xsd:string
4133 + ] [ sp:varName "wellTestTypeName"^^xsd:string
4134 + ] [ sp:varName "wellTestPartActiivityName"^^xsd:string
4135 + ] [ sp:varName "wellTestReasonTypeName"^^xsd:string
4136 + ] [ sp:varName "activityStart"^^xsd:string
4137 + ] [ sp:varName "durationValue"^^xsd:string
4138 + ] [ sp:varName "wellTestName"^^xsd:string
4139 + ] [ sp:varName "predecessorAt"^^xsd:string
4140 + ] [ sp:varName "validPredecessorAt"^^xsd:string
4141 + ]) ;
4142 + sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/report#ProductionReport> ;
4143 + sp:predicate rdf:type ;
4144 + sp:subject
4145 + [ sp:varName "productionReport"^^xsd:string
4146 + ]
4147 + ] [ sp:object
4148 + [ sp:varName "productionReport"^^xsd:string
4149 + ] ;
4150 + sp:predicate <http://www.reportinghub.no/ep/schema/core#partOf> ;
4151 + sp:subject
4152 + [ sp:varName "wellTestReport"^^xsd:string
4153 + ]
4154 + ] [ sp:object <http://www.reportinghub.no/ep/schema/report#WellTestReport> ;
4155 + sp:predicate rdf:type ;
4156 + sp:subject
4157 + [ sp:varName "wellTestReport"^^xsd:string
4158 + ]
4159 + ] [ sp:object
4160 + [ sp:varName "wellTest"^^xsd:string
4161 + ] ;
4162 + sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ;
4163 + sp:subject
4164 + [ sp:varName "wellTestReport"^^xsd:string
4165 + ]
4166 + ] [ rdf:type sp:Optional ;
4167 + sp:elements ([ sp:object
4168 + [ sp:varName "wellTestName"^^xsd:string
4169 + ] ;
4170 + sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
4171 + sp:subject
4172 + [ sp:varName "wellTest"^^xsd:string
4173 + ]
4174 + ])
4175 + ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#WellTest> ;
4176 + sp:predicate rdf:type ;
4177 + sp:subject
4178 + [ sp:varName "wellTest"^^xsd:string
4179 + ]
4180 + ] [ sp:object
4181 + [ sp:varName "wellborePart"^^xsd:string
4182 + ] ;
4183 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWell> ;
4184 + sp:subject
4185 + [ sp:varName "wellTest"^^xsd:string
4186 + ]
4187 + ] [ sp:object
4188 + [ sp:varName "wellbore"^^xsd:string
4189 + ] ;
4190 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
4191 + sp:subject
4192 + [ sp:varName "wellborePart"^^xsd:string
4193 + ]
4194 + ] [ sp:object
4195 + [ sp:varName "wellboreName"^^xsd:string
4196 + ] ;
4197 + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ;
4198 + sp:subject
4199 + [ sp:varName "wellbore"^^xsd:string
4200 + ]
4201 + ] [ rdf:type sp:Optional ;
4202 + sp:elements ([ sp:object
4203 + [ sp:varName "wellTestPart"^^xsd:string
4204 + ] ;
4205 + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ;
4206 + sp:subject
4207 + [ sp:varName "wellTest"^^xsd:string
4208 + ]
4209 + ] [ rdf:type sp:Optional ;
4210 + sp:elements ([ sp:object
4211 + [ sp:varName "duration"^^xsd:string
4212 + ] ;
4213 + sp:predicate rdf:type ;
4214 + sp:subject
4215 + [ sp:varName "wellTestPart"^^xsd:string
4216 + ]
4217 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#TimeDuration> ;
4218 + sp:predicate rdf:type ;
4219 + sp:subject
4220 + [ sp:varName "duration"^^xsd:string
4221 + ]
4222 + ] [ rdf:type sp:Bind ;
4223 + sp:expression
4224 + [ rdf:type ep-spin-lib:normalizePropertyUnitAndValue ;
4225 + sp:arg1 [ sp:varName "duration"^^xsd:string
4226 + ]
4227 + ] ;
4228 + sp:variable
4229 + [ sp:varName "durationValue"^^xsd:string
4230 + ]
4231 + ])
4232 + ] [ rdf:type sp:Optional ;
4233 + sp:elements ([ sp:object
4234 + [ sp:varName "productionActivity"^^xsd:string
4235 + ] ;
4236 + sp:predicate rdf:type ;
4237 + sp:subject
4238 + [ sp:varName "wellTestPart"^^xsd:string
4239 + ]
4240 + ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ;
4241 + sp:predicate rdfs:subClassOf ;
4242 + sp:subject
4243 + [ sp:varName "productionActivity"^^xsd:string
4244 + ]
4245 + ] [ sp:object
4246 + [ sp:varName "wellTestPartActiivityName"^^xsd:string
4247 + ] ;
4248 + sp:predicate rdfs:label ;
4249 + sp:subject
4250 + [ sp:varName "productionActivity"^^xsd:string
4251 + ]
4252 + ])
4253 + ])
4254 + ] [ rdf:type sp:Optional ;
4255 + sp:elements ([ sp:object
4256 + [ sp:varName "activityStart"^^xsd:string
4257 + ] ;
4258 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
4259 + sp:subject
4260 + [ sp:varName "wellTest"^^xsd:string
4261 + ]
4262 + ])
4263 + ] [ sp:object
4264 + [ sp:varName "wellTestType"^^xsd:string
4265 + ] ;
4266 + sp:predicate rdf:type ;
4267 + sp:subject
4268 + [ sp:varName "wellTest"^^xsd:string
4269 + ]
4270 + ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#WellTestType> ;
4271 + sp:predicate rdf:type ;
4272 + sp:subject
4273 + [ sp:varName "wellTestType"^^xsd:string
4274 + ]
4275 + ] [ sp:object
4276 + [ sp:varName "wellTestTypeName"^^xsd:string
4277 + ] ;
4278 + sp:predicate rdfs:label ;
4279 + sp:subject
4280 + [ sp:varName "wellTestType"^^xsd:string
4281 + ]
4282 + ] [ rdf:type sp:Optional ;
4283 + sp:elements ([ sp:object
4284 + [ sp:varName "wellTestReasonType"^^xsd:string
4285 + ] ;
4286 + sp:predicate rdf:type ;
4287 + sp:subject
4288 + [ sp:varName "wellTest"^^xsd:string
4289 + ]
4290 + ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#WellTestReasonType> ;
4291 + sp:predicate rdf:type ;
4292 + sp:subject
4293 + [ sp:varName "wellTestReasonType"^^xsd:string
4294 + ]
4295 + ] [ sp:object
4296 + [ sp:varName "wellTestReasonTypeName"^^xsd:string
4297 + ] ;
4298 + sp:predicate rdfs:label ;
4299 + sp:subject
4300 + [ sp:varName "wellTestReasonType"^^xsd:string
4301 + ]
4302 + ])
4303 + ] [ rdf:type sp:Optional ;
4304 + sp:elements ([ sp:object
4305 + [ sp:varName "predecessor"^^xsd:string
4306 + ] ;
4307 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#hasPredecessor> ;
4308 + sp:subject
4309 + [ sp:varName "wellTest"^^xsd:string
4310 + ]
4311 + ] [ sp:object
4312 + [ sp:varName "predecessorAt"^^xsd:string
4313 + ] ;
4314 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
4315 + sp:subject
4316 + [ sp:varName "predecessor"^^xsd:string
4317 + ]
4318 + ])
4319 + ] [ rdf:type sp:Optional ;
4320 + sp:elements ([ sp:object
4321 + [ sp:varName "validPredecessor"^^xsd:string
4322 + ] ;
4323 + sp:predicate <http://www.reportinghub.no/ep/schema/production-activity#hasValidPredecessor> ;
4324 + sp:subject
4325 + [ sp:varName "wellTest"^^xsd:string
4326 + ]
4327 + ] [ sp:object
4328 + [ sp:varName "validPredecessorAt"^^xsd:string
4329 + ] ;
4330 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#nominallyAt> ;
4331 + sp:subject
4332 + [ sp:varName "validPredecessor"^^xsd:string
4333 + ]
4334 + ])
4335 + ])
4336 + ] ;
4337 + rhspin:tableHeaders ("Well"^^xsd:string "Test Type"^^xsd:string "Activity"^^xsd:string "Reason"^^xsd:string "Started or Nominally At"^^xsd:string "Duration"^^xsd:string "Description "^^xsd:string "Predecessor At"^^xsd:string "Last Valid At"^^xsd:string) .
......
...@@ -40,9 +40,6 @@ WHERE { ...@@ -40,9 +40,6 @@ WHERE {
40 <dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:PersonnelInformation" /> 40 <dprswp:Table arg:report="{= ?report }" arg:template="dpr-tables:PersonnelInformation" />
41 41
42 42
43 -
44 -
45 -
46 <table> 43 <table>
47 44
48 <ui:forEach ui:resultSet="{# SELECT ?facilityName ?beds 45 <ui:forEach ui:resultSet="{# SELECT ?facilityName ?beds
......
...@@ -18,37 +18,48 @@ WHERE { ...@@ -18,37 +18,48 @@ WHERE {
18 18
19 <h1>Monthly Partner Report : {= ?reportedFieldName } Field, Month Ending {= ?activityEnd}</h1> 19 <h1>Monthly Partner Report : {= ?reportedFieldName } Field, Month Ending {= ?activityEnd}</h1>
20 <h2>Report title : {# SELECT ?title WHERE { ?report a ep-report:MonthlyProductionReportPartner . ?report ep-core:name ?title . } }</h2> 20 <h2>Report title : {# SELECT ?title WHERE { ?report a ep-report:MonthlyProductionReportPartner . ?report ep-core:name ?title . } }</h2>
21 +<h2>Report Status : {# SELECT ?reportStatusLabel
22 +WHERE {
23 + ?report rdf:type ep-report:ProductionReport .
24 + ?report a ?reportStatus .
25 + ?reportStatus a ep-report:ReportVersionStatus .
26 + ?reportStatus rdfs:label ?reportStatusLabel .
27 +}}</h2>
21 <h2>Submitted by : {# SELECT ?submittingFieldName WHERE 28 <h2>Submitted by : {# SELECT ?submittingFieldName WHERE
22 { 29 {
23 30
24 -?report a ep-report:MonthlyProductionReportPartner . 31 +?report a ep-report:ProductionReport .
25 -?report ep-report:reportSubmittedFrom ?submittingFieldState . 32 +?reportIssueActivity ep-report:issuedReport ?report .
33 +?reportIssueActivity ep-activity:issuedFrom ?submittingFieldState .
26 ?submittingFieldState ep-core:temporalPartOf ?submittingField . 34 ?submittingFieldState ep-core:temporalPartOf ?submittingField .
27 ?submittingField npd:name ?submittingFieldName . 35 ?submittingField npd:name ?submittingFieldName .
28 36
29 } }</h2> 37 } }</h2>
30 38
39 + <mprpswp:Table arg:report="{= ?report }" arg:template="mpr-tables:GasSales" />
31 40
41 + <mprpswp:Table arg:report="{= ?report }" arg:template="mpr-tables:WellProductionFlows" />
32 42
43 + <mprpswp:Table arg:report="{= ?report }" arg:template="mpr-tables:Cargo" />
33 44
34 - <mprgswp:Table arg:report="{= ?report }" arg:template="mpr-tables:GasSales" /> 45 + <mprpswp:Table arg:report="{= ?report }" arg:template="mpr-tables:CargoOwnership" />
35 -
36 - <mprgswp:Table arg:report="{= ?report }" arg:template="mpr-tables:WellProductionFlows" />
37 -
38 - <mprgswp:Table arg:report="{= ?report }" arg:template="mpr-tables:Cargo" />
39 46
40 - <mprgswp:Table arg:report="{= ?report }" arg:template="mpr-tables:CargoOwnership" /> 47 + <mprpswp:Table arg:report="{= ?report }" arg:template="mpr-tables:ProductionSales" />
41 48
42 - <mprgswp:Table arg:report="{= ?report }" arg:template="mpr-tables:ProductionSales" /> 49 + <mprpswp:Table arg:report="{= ?report }" arg:template="mpr-tables:ProductionFlowsAll" />
43 50
44 - <mprgswp:Table arg:report="{= ?report }" arg:template="mpr-tables:ProductionFlowsAll" /> 51 + <mprpswp:Table arg:report="{= ?report }" arg:template="mpr-tables:ProductionInventory" />
45 52
46 - <mprgswp:Table arg:report="{= ?report }" arg:template="mpr-tables:ProductionInventory" /> 53 + <mprpswp:Table arg:report="{= ?report }" arg:template="mpr-tables:ProductionInventoryOwnership" />
47 54
48 - <mprgswp:Table arg:report="{= ?report }" arg:template="mpr-tables:ProductionInventoryOwnership" /> 55 +<mprpswp:Table arg:report="{= ?report }" arg:template="mpr-tables:FluidSamples" />
49 56
57 +<mprpswp:Table arg:report="{= ?report }" arg:template="mpr-tables:FluidSampleAnalysisResults" />
50 58
59 + <mprpswp:Table arg:report="{= ?report }" arg:template="mpr-tables:WellTest" />
51 60
61 + <mprpswp:Table arg:report="{= ?report }" arg:template="mpr-tables:WellInjectionTest" />
62 + <mprpswp:Table arg:report="{= ?report }" arg:template="mpr-tables:WellInjectionTestResults" />
52 63
53 </ui:group> 64 </ui:group>
54 65
...\ No newline at end of file ...\ No newline at end of file
......