Showing
3 changed files
with
280 additions
and
179 deletions
This diff could not be displayed because it is too large.
1 | -# Saved by TopBraid on Wed Nov 02 15:54:15 GMT 2011 | ||
2 | # baseURI: http://www.reportinghub.no/ep/spin/1.1/lib | 1 | # baseURI: http://www.reportinghub.no/ep/spin/1.1/lib |
3 | -# imports: http://www.reportinghub.no/ep/schema/1.0/drilling-equipment-type | 2 | +# imports: http://spinrdf.org/spin |
4 | -# imports: http://www.reportinghub.no/ep/schema/1.0/report | 3 | +# imports: http://www.reportinghub.no/ep/schema/1.0/activity |
5 | -# imports: http://www.witsml.org/schemas/1series | ||
6 | -# imports: http://www.reportinghub.no/ep/schema/1.0/core | ||
7 | -# imports: http://www.reportinghub.no/ep/schema/1.0/well | ||
8 | # imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose | 4 | # imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose |
5 | +# imports: http://www.reportinghub.no/ep/schema/1.0/core | ||
6 | +# imports: http://www.reportinghub.no/ep/schema/1.0/drilling-equipment-type | ||
9 | # imports: http://www.reportinghub.no/ep/schema/1.0/equipment | 7 | # imports: http://www.reportinghub.no/ep/schema/1.0/equipment |
10 | # imports: http://www.reportinghub.no/ep/schema/1.0/facility | 8 | # imports: http://www.reportinghub.no/ep/schema/1.0/facility |
11 | -# imports: http://www.reportinghub.no/ep/schema/1.0/activity | 9 | +# imports: http://www.reportinghub.no/ep/schema/1.0/report |
12 | -# imports: http://spinrdf.org/spin | 10 | +# imports: http://www.reportinghub.no/ep/schema/1.0/well |
13 | # imports: http://www.reportinghub.no/spin/rh | 11 | # imports: http://www.reportinghub.no/spin/rh |
12 | +# imports: http://www.witsml.org/schemas/1series | ||
14 | 13 | ||
15 | @prefix activity-purpose: <http://www.reportinghub.no/ep/schema/1.0/activity-purpose#> . | 14 | @prefix activity-purpose: <http://www.reportinghub.no/ep/schema/1.0/activity-purpose#> . |
16 | @prefix afn: <http://jena.hpl.hp.com/ARQ/function#> . | 15 | @prefix afn: <http://jena.hpl.hp.com/ARQ/function#> . |
... | @@ -32,7 +31,7 @@ | ... | @@ -32,7 +31,7 @@ |
32 | 31 | ||
33 | <http://www.reportinghub.no/ep/spin/1.1/lib> | 32 | <http://www.reportinghub.no/ep/spin/1.1/lib> |
34 | rdf:type owl:Ontology ; | 33 | rdf:type owl:Ontology ; |
35 | - owl:imports <http://www.reportinghub.no/spin/rh> , <http://www.reportinghub.no/ep/schema/1.0/drilling-equipment-type> , <http://www.reportinghub.no/ep/schema/1.0/report> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://spinrdf.org/spin> , <http://www.witsml.org/schemas/1series> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> ; | 34 | + owl:imports <http://www.reportinghub.no/spin/rh> , <http://www.reportinghub.no/ep/schema/1.0/drilling-equipment-type> , <http://www.reportinghub.no/ep/schema/1.0/report> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://spinrdf.org/spin> , <http://www.witsml.org/schemas/1series> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://www.reportinghub.no/ep/schema/1.0/facility> ; |
36 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 35 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
37 | 36 | ||
38 | ep-spin-lib:Function | 37 | ep-spin-lib:Function |
... | @@ -629,12 +628,12 @@ ep-spin-lib:buildURI | ... | @@ -629,12 +628,12 @@ ep-spin-lib:buildURI |
629 | ] ; | 628 | ] ; |
630 | spin:constraint | 629 | spin:constraint |
631 | [ rdf:type spl:Argument ; | 630 | [ rdf:type spl:Argument ; |
632 | - spl:predicate sp:arg1 ; | 631 | + spl:predicate sp:arg2 ; |
633 | spl:valueType xsd:string | 632 | spl:valueType xsd:string |
634 | ] ; | 633 | ] ; |
635 | spin:constraint | 634 | spin:constraint |
636 | [ rdf:type spl:Argument ; | 635 | [ rdf:type spl:Argument ; |
637 | - spl:predicate sp:arg2 ; | 636 | + spl:predicate sp:arg1 ; |
638 | spl:valueType xsd:string | 637 | spl:valueType xsd:string |
639 | ] . | 638 | ] . |
640 | 639 | ||
... | @@ -984,6 +983,73 @@ ep-spin-lib:nameWellbore | ... | @@ -984,6 +983,73 @@ ep-spin-lib:nameWellbore |
984 | ] ; | 983 | ] ; |
985 | spin:returnType xsd:string . | 984 | spin:returnType xsd:string . |
986 | 985 | ||
986 | +ep-spin-lib:normalizeDateTime | ||
987 | + rdf:type spin:Function ; | ||
988 | + rdfs:label "normalize an xsd:date for printing"^^xsd:string ; | ||
989 | + rdfs:subClassOf ep-spin-lib:Function ; | ||
990 | + spin:body | ||
991 | + [ rdf:type sp:Select ; | ||
992 | + sp:resultVariables ([ sp:varName "normalizedDateTime"^^xsd:string | ||
993 | + ]) ; | ||
994 | + sp:where ([ rdf:type sp:Bind ; | ||
995 | + sp:expression | ||
996 | + [ rdf:type xsd:string ; | ||
997 | + sp:arg1 spin:_arg1 | ||
998 | + ] ; | ||
999 | + sp:variable | ||
1000 | + [ sp:varName "arg1str"^^xsd:string | ||
1001 | + ] | ||
1002 | + ] [ rdf:type sp:Bind ; | ||
1003 | + sp:expression | ||
1004 | + [ rdf:type spif:dateFormat ; | ||
1005 | + arg:date spin:_arg1 ; | ||
1006 | + arg:pattern "yyyy-MMM-dd HH:mm" | ||
1007 | + ] ; | ||
1008 | + sp:variable | ||
1009 | + [ sp:varName "formatstr"^^xsd:string | ||
1010 | + ] | ||
1011 | + ] [ rdf:type sp:Bind ; | ||
1012 | + sp:expression | ||
1013 | + [ rdf:type afn:substr ; | ||
1014 | + sp:arg1 [ sp:varName "formatstr"^^xsd:string | ||
1015 | + ] ; | ||
1016 | + sp:arg2 0 ; | ||
1017 | + sp:arg3 12 | ||
1018 | + ] ; | ||
1019 | + sp:variable | ||
1020 | + [ sp:varName "day"^^xsd:string | ||
1021 | + ] | ||
1022 | + ] [ rdf:type sp:Bind ; | ||
1023 | + sp:expression | ||
1024 | + [ rdf:type afn:substr ; | ||
1025 | + sp:arg1 [ sp:varName "arg1str"^^xsd:string | ||
1026 | + ] ; | ||
1027 | + sp:arg2 11 ; | ||
1028 | + sp:arg3 16 | ||
1029 | + ] ; | ||
1030 | + sp:variable | ||
1031 | + [ sp:varName "time"^^xsd:string | ||
1032 | + ] | ||
1033 | + ] [ rdf:type sp:Bind ; | ||
1034 | + sp:expression | ||
1035 | + [ rdf:type fn:concat ; | ||
1036 | + sp:arg1 [ sp:varName "day"^^xsd:string | ||
1037 | + ] ; | ||
1038 | + sp:arg2 ", " ; | ||
1039 | + sp:arg3 [ sp:varName "time"^^xsd:string | ||
1040 | + ] | ||
1041 | + ] ; | ||
1042 | + sp:variable | ||
1043 | + [ sp:varName "normalizedDateTime"^^xsd:string | ||
1044 | + ] | ||
1045 | + ]) | ||
1046 | + ] ; | ||
1047 | + spin:constraint | ||
1048 | + [ rdf:type spl:Argument ; | ||
1049 | + spl:predicate sp:arg1 ; | ||
1050 | + spl:valueType xsd:dateTime | ||
1051 | + ] . | ||
1052 | + | ||
987 | ep-spin-lib:normalizeDoubleName | 1053 | ep-spin-lib:normalizeDoubleName |
988 | rdf:type spin:Function ; | 1054 | rdf:type spin:Function ; |
989 | rdfs:label "normalize an xsd:double to a rounded name string"^^xsd:string ; | 1055 | rdfs:label "normalize an xsd:double to a rounded name string"^^xsd:string ; |
... | @@ -1122,6 +1188,41 @@ ep-spin-lib:normalizeString | ... | @@ -1122,6 +1188,41 @@ ep-spin-lib:normalizeString |
1122 | spl:valueType xsd:string | 1188 | spl:valueType xsd:string |
1123 | ] . | 1189 | ] . |
1124 | 1190 | ||
1191 | +ep-spin-lib:normalizeTimeFromDateTime | ||
1192 | + rdf:type spin:Function ; | ||
1193 | + rdfs:label "normalize a time for pringing from an xsd:datetime"^^xsd:string ; | ||
1194 | + rdfs:subClassOf ep-spin-lib:Function ; | ||
1195 | + spin:body | ||
1196 | + [ rdf:type sp:Select ; | ||
1197 | + sp:resultVariables ([ sp:varName "normalizedTime"^^xsd:string | ||
1198 | + ]) ; | ||
1199 | + sp:where ([ rdf:type sp:Bind ; | ||
1200 | + sp:expression | ||
1201 | + [ rdf:type xsd:string ; | ||
1202 | + sp:arg1 spin:_arg1 | ||
1203 | + ] ; | ||
1204 | + sp:variable | ||
1205 | + [ sp:varName "arg1str"^^xsd:string | ||
1206 | + ] | ||
1207 | + ] [ rdf:type sp:Bind ; | ||
1208 | + sp:expression | ||
1209 | + [ rdf:type afn:substr ; | ||
1210 | + sp:arg1 [ sp:varName "arg1str"^^xsd:string | ||
1211 | + ] ; | ||
1212 | + sp:arg2 11 ; | ||
1213 | + sp:arg3 16 | ||
1214 | + ] ; | ||
1215 | + sp:variable | ||
1216 | + [ sp:varName "normalizedTime"^^xsd:string | ||
1217 | + ] | ||
1218 | + ]) | ||
1219 | + ] ; | ||
1220 | + spin:constraint | ||
1221 | + [ rdf:type spl:Argument ; | ||
1222 | + spl:predicate sp:arg1 ; | ||
1223 | + spl:valueType xsd:dateTime | ||
1224 | + ] . | ||
1225 | + | ||
1125 | ep-spin-lib:selectActivitySuccessType | 1226 | ep-spin-lib:selectActivitySuccessType |
1126 | rdf:type spin:Function ; | 1227 | rdf:type spin:Function ; |
1127 | rdfs:label "select ActivitySuccessType"^^xsd:string ; | 1228 | rdfs:label "select ActivitySuccessType"^^xsd:string ; |
... | @@ -3853,251 +3954,251 @@ ddr:TTUC_Enumeration_1 | ... | @@ -3853,251 +3954,251 @@ ddr:TTUC_Enumeration_1 |
3853 | rdfs:label "Enumeration"^^xsd:string ; | 3954 | rdfs:label "Enumeration"^^xsd:string ; |
3854 | dtype:value ddr:TTUC_degC . | 3955 | dtype:value ddr:TTUC_degC . |
3855 | 3956 | ||
3856 | -_:b86 | 3957 | +_:b1 sp:varName "uri"^^xsd:string . |
3857 | - sp:varName "yieldPointScale"^^xsd:string . | ||
3858 | - | ||
3859 | -_:b85 | ||
3860 | - sp:varName "wirelineFormationTestGoodnessOfSealType"^^xsd:string . | ||
3861 | 3958 | ||
3862 | -_:b84 | 3959 | +_:b2 sp:varName "uri"^^xsd:string . |
3863 | - sp:varName "wellTestType"^^xsd:string . | ||
3864 | 3960 | ||
3865 | -_:b83 | 3961 | +_:b3 sp:varName "uri"^^xsd:string . |
3866 | - sp:varName "wellKillingType"^^xsd:string . | ||
3867 | 3962 | ||
3868 | -_:b82 | 3963 | +_:b4 sp:varName "uri"^^xsd:string . |
3869 | - sp:varName "wellControlIncidentType"^^xsd:string . | ||
3870 | 3964 | ||
3871 | -_:b81 | 3965 | +_:b5 sp:varName "uri"^^xsd:string . |
3872 | - sp:varName "wellCementJobType"^^xsd:string . | ||
3873 | 3966 | ||
3874 | -_:b80 | 3967 | +_:b6 sp:varName "uri"^^xsd:string . |
3875 | - sp:varName "wellCementJobTopPlugType"^^xsd:string . | ||
3876 | 3968 | ||
3877 | -_:b79 | 3969 | +_:b7 sp:varName "uri"^^xsd:string . |
3878 | - sp:varName "wellCementJobPlugBumpingType"^^xsd:string . | ||
3879 | 3970 | ||
3880 | -_:b78 | 3971 | +_:b8 sp:varName "uri"^^xsd:string . |
3881 | - sp:varName "wellCementJobFloatHoldingType"^^xsd:string . | ||
3882 | 3972 | ||
3883 | -_:b77 | 3973 | +_:b9 sp:varName "uri"^^xsd:string . |
3884 | - sp:varName "wellCementJobCasingRotationType"^^xsd:string . | ||
3885 | 3974 | ||
3886 | -_:b76 | 3975 | +_:b10 |
3887 | - sp:varName "wellCementJobCasingReciprocationType"^^xsd:string . | 3976 | + sp:varName "uri"^^xsd:string . |
3888 | 3977 | ||
3889 | -_:b75 | 3978 | +_:b11 |
3890 | - sp:varName "wellCementJobBottomPlugType"^^xsd:string . | 3979 | + sp:varName "uri"^^xsd:string . |
3891 | 3980 | ||
3892 | -_:b74 | 3981 | +_:b12 |
3893 | - sp:varName "wellBoreTightnessType"^^xsd:string . | 3982 | + sp:varName "uri"^^xsd:string . |
3894 | 3983 | ||
3895 | -_:b73 | 3984 | +_:b13 |
3896 | - sp:varName "wellBoreHphtType"^^xsd:string . | 3985 | + sp:varName "uri"^^xsd:string . |
3897 | 3986 | ||
3898 | -_:b72 | 3987 | +_:b14 |
3899 | - sp:varName "wellBoreDrillingType"^^xsd:string . | 3988 | + sp:varName "uri"^^xsd:string . |
3900 | 3989 | ||
3901 | -_:b71 | 3990 | +_:b15 |
3902 | - sp:varName "volumetricFlowRateScale"^^xsd:string . | 3991 | + sp:varName "uri"^^xsd:string . |
3903 | 3992 | ||
3904 | -_:b70 | 3993 | +_:b16 |
3905 | - sp:varName "volumeScale"^^xsd:string . | 3994 | + sp:varName "uri"^^xsd:string . |
3906 | 3995 | ||
3907 | -_:b69 | 3996 | +_:b17 |
3908 | - sp:varName "durationScale"^^xsd:string . | 3997 | + sp:varName "uri"^^xsd:string . |
3909 | 3998 | ||
3910 | -_:b68 | 3999 | +_:b18 |
3911 | - sp:varName "temperatureScale"^^xsd:string . | 4000 | + sp:varName "uri"^^xsd:string . |
3912 | 4001 | ||
3913 | -_:b67 | 4002 | +_:b19 |
3914 | - sp:varName "strengthScale"^^xsd:string . | 4003 | + sp:varName "uri"^^xsd:string . |
3915 | 4004 | ||
3916 | -_:b66 | 4005 | +_:b20 |
3917 | - sp:varName "speedScale"^^xsd:string . | 4006 | + sp:varName "uri"^^xsd:string . |
3918 | 4007 | ||
3919 | -_:b65 | 4008 | +_:b21 |
3920 | - sp:varName "specificVolumeScale"^^xsd:string . | 4009 | + sp:varName "uri"^^xsd:string . |
3921 | 4010 | ||
3922 | -_:b64 | 4011 | +_:b22 |
3923 | - sp:varName "specificMassScale"^^xsd:string . | 4012 | + sp:varName "uri"^^xsd:string . |
3924 | 4013 | ||
3925 | -_:b63 | 4014 | +_:b23 |
3926 | - sp:varName "pressureTestType"^^xsd:string . | 4015 | + sp:varName "uri"^^xsd:string . |
3927 | 4016 | ||
3928 | -_:b62 | 4017 | +_:b24 |
3929 | - sp:varName "pressureScale"^^xsd:string . | 4018 | + sp:varName "uri"^^xsd:string . |
3930 | 4019 | ||
3931 | -_:b61 | 4020 | +_:b25 |
3932 | - sp:varName "porePressureDeterminationType"^^xsd:string . | 4021 | + sp:varName "uri"^^xsd:string . |
3933 | 4022 | ||
3934 | -_:b60 | 4023 | +_:b26 |
3935 | - sp:varName "plasticViscosityScale"^^xsd:string . | 4024 | + sp:varName "uri"^^xsd:string . |
3936 | 4025 | ||
3937 | -_:b59 | 4026 | +_:b27 |
3938 | - sp:varName "angleScale"^^xsd:string . | 4027 | + sp:varName "uri"^^xsd:string . |
3939 | 4028 | ||
3940 | -_:b58 | 4029 | +_:b28 |
3941 | - sp:varName "mudClass"^^xsd:string . | 4030 | + sp:varName "uri"^^xsd:string . |
3942 | 4031 | ||
3943 | -_:b57 | 4032 | +_:b29 |
3944 | - sp:varName "massPerUnitLengthScale"^^xsd:string . | 4033 | + sp:varName "uri"^^xsd:string . |
3945 | 4034 | ||
3946 | -_:b56 | 4035 | +_:b30 |
3947 | - sp:varName "lengthScale"^^xsd:string . | 4036 | + sp:varName "uri"^^xsd:string . |
3948 | 4037 | ||
3949 | -_:b55 | 4038 | +_:b31 |
3950 | - sp:varName "dailyDrillingReportType"^^xsd:string . | 4039 | + sp:varName "normalizedStr"^^xsd:string . |
3951 | 4040 | ||
3952 | -_:b54 | 4041 | +_:b32 |
3953 | - sp:varName "innerBarrelType"^^xsd:string . | 4042 | + sp:varName "s1"^^xsd:string . |
3954 | 4043 | ||
3955 | -_:b53 | 4044 | +_:b33 |
3956 | - sp:varName "gasReadingType"^^xsd:string . | 4045 | + sp:varName "s2"^^xsd:string . |
3957 | 4046 | ||
3958 | -_:b52 | 4047 | +_:b34 |
3959 | - sp:varName "fluidType"^^xsd:string . | 4048 | + sp:varName "t0a"^^xsd:string . |
3960 | 4049 | ||
3961 | -_:b51 | 4050 | +_:b35 |
3962 | - sp:varName "fixedOrMoveableRigType"^^xsd:string . | 4051 | + sp:varName "t0b"^^xsd:string . |
3963 | 4052 | ||
3964 | -_:b50 | 4053 | +_:b36 |
3965 | - sp:varName "drillingEquipmentType"^^xsd:string . | 4054 | + sp:varName "t1"^^xsd:string . |
3966 | 4055 | ||
3967 | -_:b49 | 4056 | +_:b37 |
3968 | - sp:varName "drillingActivityTypeAccordingToEquipmentType"^^xsd:string . | 4057 | + sp:varName "t2"^^xsd:string . |
3969 | 4058 | ||
3970 | -_:b48 | 4059 | +_:b38 |
3971 | - sp:varName "drillingActivityPurposeType"^^xsd:string . | 4060 | + sp:varName "t3"^^xsd:string . |
3972 | 4061 | ||
3973 | -_:b47 | 4062 | +_:b39 |
3974 | - sp:varName "drillingActivityOutcomeType"^^xsd:string . | 4063 | + sp:varName "t4"^^xsd:string . |
3975 | 4064 | ||
3976 | -_:b46 | 4065 | +_:b40 |
3977 | - sp:varName "densityScale"^^xsd:string . | 4066 | + sp:varName "activitySuccessType"^^xsd:string . |
3978 | 4067 | ||
3979 | -_:b45 | 4068 | +_:b41 |
3980 | - sp:varName "dailyDrillingReportType"^^xsd:string . | 4069 | + sp:varName "casingRoleType"^^xsd:string . |
3981 | 4070 | ||
3982 | -_:b44 | 4071 | +_:b42 |
3983 | - sp:varName "componentType"^^xsd:string . | 4072 | + sp:varName "cementingFluidReturnType"^^xsd:string . |
3984 | 4073 | ||
3985 | _:b43 | 4074 | _:b43 |
3986 | sp:varName "classOfWellDatumObject"^^xsd:string . | 4075 | sp:varName "classOfWellDatumObject"^^xsd:string . |
3987 | 4076 | ||
3988 | -_:b42 | 4077 | +_:b44 |
3989 | - sp:varName "cementingFluidReturnType"^^xsd:string . | 4078 | + sp:varName "componentType"^^xsd:string . |
3990 | 4079 | ||
3991 | -_:b41 | 4080 | +_:b45 |
3992 | - sp:varName "casingRoleType"^^xsd:string . | 4081 | + sp:varName "dailyDrillingReportType"^^xsd:string . |
3993 | 4082 | ||
3994 | -_:b40 | 4083 | +_:b46 |
3995 | - sp:varName "activitySuccessType"^^xsd:string . | 4084 | + sp:varName "densityScale"^^xsd:string . |
3996 | 4085 | ||
3997 | -_:b39 | 4086 | +_:b47 |
3998 | - sp:varName "t4"^^xsd:string . | 4087 | + sp:varName "drillingActivityOutcomeType"^^xsd:string . |
3999 | 4088 | ||
4000 | -_:b38 | 4089 | +_:b48 |
4001 | - sp:varName "t3"^^xsd:string . | 4090 | + sp:varName "drillingActivityPurposeType"^^xsd:string . |
4002 | 4091 | ||
4003 | -_:b37 | 4092 | +_:b49 |
4004 | - sp:varName "t2"^^xsd:string . | 4093 | + sp:varName "drillingActivityTypeAccordingToEquipmentType"^^xsd:string . |
4005 | 4094 | ||
4006 | -_:b36 | 4095 | +_:b50 |
4007 | - sp:varName "t1"^^xsd:string . | 4096 | + sp:varName "drillingEquipmentType"^^xsd:string . |
4008 | 4097 | ||
4009 | -_:b35 | 4098 | +_:b51 |
4010 | - sp:varName "t0b"^^xsd:string . | 4099 | + sp:varName "fixedOrMoveableRigType"^^xsd:string . |
4011 | 4100 | ||
4012 | -_:b34 | 4101 | +_:b52 |
4013 | - sp:varName "t0a"^^xsd:string . | 4102 | + sp:varName "fluidType"^^xsd:string . |
4014 | 4103 | ||
4015 | -_:b33 | 4104 | +_:b53 |
4016 | - sp:varName "s2"^^xsd:string . | 4105 | + sp:varName "gasReadingType"^^xsd:string . |
4017 | 4106 | ||
4018 | -_:b32 | 4107 | +_:b54 |
4019 | - sp:varName "s1"^^xsd:string . | 4108 | + sp:varName "innerBarrelType"^^xsd:string . |
4020 | 4109 | ||
4021 | -_:b31 | 4110 | +_:b55 |
4022 | - sp:varName "normalizedStr"^^xsd:string . | 4111 | + sp:varName "dailyDrillingReportType"^^xsd:string . |
4023 | 4112 | ||
4024 | -_:b30 | 4113 | +_:b56 |
4025 | - sp:varName "uri"^^xsd:string . | 4114 | + sp:varName "lengthScale"^^xsd:string . |
4026 | 4115 | ||
4027 | -_:b29 | 4116 | +_:b57 |
4028 | - sp:varName "uri"^^xsd:string . | 4117 | + sp:varName "massPerUnitLengthScale"^^xsd:string . |
4029 | 4118 | ||
4030 | -_:b28 | 4119 | +_:b58 |
4031 | - sp:varName "uri"^^xsd:string . | 4120 | + sp:varName "mudClass"^^xsd:string . |
4032 | 4121 | ||
4033 | -_:b27 | 4122 | +_:b59 |
4034 | - sp:varName "uri"^^xsd:string . | 4123 | + sp:varName "angleScale"^^xsd:string . |
4035 | 4124 | ||
4036 | -_:b26 | 4125 | +_:b60 |
4037 | - sp:varName "uri"^^xsd:string . | 4126 | + sp:varName "plasticViscosityScale"^^xsd:string . |
4038 | 4127 | ||
4039 | -_:b25 | 4128 | +_:b61 |
4040 | - sp:varName "uri"^^xsd:string . | 4129 | + sp:varName "porePressureDeterminationType"^^xsd:string . |
4041 | 4130 | ||
4042 | -_:b24 | 4131 | +_:b62 |
4043 | - sp:varName "uri"^^xsd:string . | 4132 | + sp:varName "pressureScale"^^xsd:string . |
4044 | 4133 | ||
4045 | -_:b23 | 4134 | +_:b63 |
4046 | - sp:varName "uri"^^xsd:string . | 4135 | + sp:varName "pressureTestType"^^xsd:string . |
4047 | 4136 | ||
4048 | -_:b22 | 4137 | +_:b64 |
4049 | - sp:varName "uri"^^xsd:string . | 4138 | + sp:varName "specificMassScale"^^xsd:string . |
4050 | 4139 | ||
4051 | -_:b21 | 4140 | +_:b65 |
4052 | - sp:varName "uri"^^xsd:string . | 4141 | + sp:varName "specificVolumeScale"^^xsd:string . |
4053 | 4142 | ||
4054 | -_:b20 | 4143 | +_:b66 |
4055 | - sp:varName "uri"^^xsd:string . | 4144 | + sp:varName "speedScale"^^xsd:string . |
4056 | 4145 | ||
4057 | -_:b19 | 4146 | +_:b67 |
4058 | - sp:varName "uri"^^xsd:string . | 4147 | + sp:varName "strengthScale"^^xsd:string . |
4059 | 4148 | ||
4060 | -_:b18 | 4149 | +_:b68 |
4061 | - sp:varName "uri"^^xsd:string . | 4150 | + sp:varName "temperatureScale"^^xsd:string . |
4062 | 4151 | ||
4063 | -_:b17 | 4152 | +_:b69 |
4064 | - sp:varName "uri"^^xsd:string . | 4153 | + sp:varName "durationScale"^^xsd:string . |
4065 | 4154 | ||
4066 | -_:b16 | 4155 | +_:b70 |
4067 | - sp:varName "uri"^^xsd:string . | 4156 | + sp:varName "volumeScale"^^xsd:string . |
4068 | 4157 | ||
4069 | -_:b15 | 4158 | +_:b71 |
4070 | - sp:varName "uri"^^xsd:string . | 4159 | + sp:varName "volumetricFlowRateScale"^^xsd:string . |
4071 | 4160 | ||
4072 | -_:b14 | 4161 | +_:b72 |
4073 | - sp:varName "uri"^^xsd:string . | 4162 | + sp:varName "wellBoreDrillingType"^^xsd:string . |
4074 | 4163 | ||
4075 | -_:b12 | 4164 | +_:b73 |
4076 | - sp:varName "uri"^^xsd:string . | 4165 | + sp:varName "wellBoreHphtType"^^xsd:string . |
4077 | 4166 | ||
4078 | -_:b11 | 4167 | +_:b74 |
4079 | - sp:varName "uri"^^xsd:string . | 4168 | + sp:varName "wellBoreTightnessType"^^xsd:string . |
4080 | 4169 | ||
4081 | -_:b10 | 4170 | +_:b75 |
4082 | - sp:varName "uri"^^xsd:string . | 4171 | + sp:varName "wellCementJobBottomPlugType"^^xsd:string . |
4083 | 4172 | ||
4084 | -_:b9 sp:varName "uri"^^xsd:string . | 4173 | +_:b76 |
4174 | + sp:varName "wellCementJobCasingReciprocationType"^^xsd:string . | ||
4085 | 4175 | ||
4086 | -_:b8 sp:varName "uri"^^xsd:string . | 4176 | +_:b77 |
4177 | + sp:varName "wellCementJobCasingRotationType"^^xsd:string . | ||
4087 | 4178 | ||
4088 | -_:b7 sp:varName "uri"^^xsd:string . | 4179 | +_:b78 |
4180 | + sp:varName "wellCementJobFloatHoldingType"^^xsd:string . | ||
4089 | 4181 | ||
4090 | -_:b6 sp:varName "uri"^^xsd:string . | 4182 | +_:b79 |
4183 | + sp:varName "wellCementJobPlugBumpingType"^^xsd:string . | ||
4091 | 4184 | ||
4092 | -_:b5 sp:varName "uri"^^xsd:string . | 4185 | +_:b80 |
4186 | + sp:varName "wellCementJobTopPlugType"^^xsd:string . | ||
4093 | 4187 | ||
4094 | -_:b4 sp:varName "uri"^^xsd:string . | 4188 | +_:b81 |
4189 | + sp:varName "wellCementJobType"^^xsd:string . | ||
4095 | 4190 | ||
4096 | -_:b3 sp:varName "uri"^^xsd:string . | 4191 | +_:b82 |
4192 | + sp:varName "wellControlIncidentType"^^xsd:string . | ||
4097 | 4193 | ||
4098 | -_:b2 sp:varName "uri"^^xsd:string . | 4194 | +_:b83 |
4195 | + sp:varName "wellKillingType"^^xsd:string . | ||
4099 | 4196 | ||
4100 | -_:b1 sp:varName "uri"^^xsd:string . | 4197 | +_:b84 |
4198 | + sp:varName "wellTestType"^^xsd:string . | ||
4101 | 4199 | ||
4102 | -_:b13 | 4200 | +_:b85 |
4103 | - sp:varName "uri"^^xsd:string . | 4201 | + sp:varName "wirelineFormationTestGoodnessOfSealType"^^xsd:string . |
4202 | + | ||
4203 | +_:b86 | ||
4204 | + sp:varName "yieldPointScale"^^xsd:string . | ... | ... |
... | @@ -17,7 +17,9 @@ | ... | @@ -17,7 +17,9 @@ |
17 | > | 17 | > |
18 | 18 | ||
19 | <h1>Summary report Wellbore: {= rhspin:npdName(?wb) }</h1> | 19 | <h1>Summary report Wellbore: {= rhspin:npdName(?wb) }</h1> |
20 | - <div>End time: {= ?activityEnd}</div> | 20 | + |
21 | + <div>Period: {= fn:concat(ep-spin-lib:normalizeDateTime(?activityStart), ' - ', ep-spin-lib:normalizeDateTime(?activityEnd)) } </div> | ||
22 | + | ||
21 | <hr /> | 23 | <hr /> |
22 | 24 | ||
23 | 25 | ||
... | @@ -30,7 +32,7 @@ | ... | @@ -30,7 +32,7 @@ |
30 | <rhswp:NameValuePair arg:name="Status:" arg:value="{# SELECT ?repTypeName WHERE {?report a ?repType . ?repType a ep-report:DailyDrillingReportFinalisationType . ?repType rdfs:label ?repTypeName}}" /> | 32 | <rhswp:NameValuePair arg:name="Status:" arg:value="{# SELECT ?repTypeName WHERE {?report a ?repType . ?repType a ep-report:DailyDrillingReportFinalisationType . ?repType rdfs:label ?repTypeName}}" /> |
31 | <rhswp:NameValuePair arg:name="Operator:" arg:value="{# SELECT ?operatorName WHERE {?activity ep-activity:drillingOperator ?operator . ?operator ep-core:name ?operatorName }}" /> | 33 | <rhswp:NameValuePair arg:name="Operator:" arg:value="{# SELECT ?operatorName WHERE {?activity ep-activity:drillingOperator ?operator . ?operator ep-core:name ?operatorName }}" /> |
32 | <rhswp:NameValuePair arg:name="Rig name:" arg:value="{= rhspin:npdName(?rig) }" /> | 34 | <rhswp:NameValuePair arg:name="Rig name:" arg:value="{= rhspin:npdName(?rig) }" /> |
33 | - <rhswp:NameValuePair arg:name="Spud date:" arg:value="{= IF(bound(?spudDate), spif:dateFormat(?spudDate, 'yyyy-MM-dd'), ?unbound) }" /> | 35 | + <rhswp:NameValuePair arg:name="Spud date:" arg:value="{= IF(bound(?spudDate), spif:dateFormat(?spudDate, 'yyyy-MMM-dd'), ?unbound) }" /> |
34 | <rhswp:NameValuePair arg:name="Elevation RKB-MSL m:" arg:value="{# SELECT ?kellyElevMeas WHERE {?activity ep-activity:onRig ?rigState . ?rigState ep-core:hasPart ?kellyBushing . ?kellyBushing a ep-eqt:KellyBushing . ?kellyBushing ep-eqt:elevationOfKellyBushing ?kellyElev . ?kellyElev ep-core:metre ?kellyElevMeas}}" /> | 36 | <rhswp:NameValuePair arg:name="Elevation RKB-MSL m:" arg:value="{# SELECT ?kellyElevMeas WHERE {?activity ep-activity:onRig ?rigState . ?rigState ep-core:hasPart ?kellyBushing . ?kellyBushing a ep-eqt:KellyBushing . ?kellyBushing ep-eqt:elevationOfKellyBushing ?kellyElev . ?kellyElev ep-core:metre ?kellyElevMeas}}" /> |
35 | <rhswp:NameValuePair arg:name="Tight well:" arg:value="{# SELECT ?wbTightTypeLabel WHERE { ?statusActivityWb a ?wbTightType . ?wbTightType a ep-well:WellBoreTightnessType . ?wbTightType rdfs:label ?wbTightTypeLabel} }" /> | 37 | <rhswp:NameValuePair arg:name="Tight well:" arg:value="{# SELECT ?wbTightTypeLabel WHERE { ?statusActivityWb a ?wbTightType . ?wbTightType a ep-well:WellBoreTightnessType . ?wbTightType rdfs:label ?wbTightTypeLabel} }" /> |
36 | <rhswp:NameValuePair arg:name="Pressure psig:" arg:value="{# SELECT ?buttHolePresVal WHERE {?statusActivityWb ep-well:averageBottomHolePressure ?buttHolePres . ?buttHolePres ep-core:psig ?buttHolePresVal}}" /> | 38 | <rhswp:NameValuePair arg:name="Pressure psig:" arg:value="{# SELECT ?buttHolePresVal WHERE {?statusActivityWb ep-well:averageBottomHolePressure ?buttHolePres . ?buttHolePres ep-core:psig ?buttHolePresVal}}" /> |
... | @@ -45,14 +47,12 @@ | ... | @@ -45,14 +47,12 @@ |
45 | </td> | 47 | </td> |
46 | <td class="ddrSummaryRight"> | 48 | <td class="ddrSummaryRight"> |
47 | 49 | ||
48 | - <rhswp:NameValuePair arg:name="Period:" arg:value="{= fn:concat(?activityStart, ' - ', ?activityEnd) }" /> | ||
49 | - | ||
50 | 50 | ||
51 | <rhswp:NameValuePair arg:name="Wellbore Id:" arg:value="{= rhspin:npdId(?wb) }" /> | 51 | <rhswp:NameValuePair arg:name="Wellbore Id:" arg:value="{= rhspin:npdId(?wb) }" /> |
52 | - <rhswp:NameValuePair arg:name="Created date:" arg:value="{= ?createdAt }" /> | 52 | + <rhswp:NameValuePair arg:name="Created time:" arg:value="{= ep-spin-lib:normalizeDateTime(?createdAt) }" /> |
53 | <rhswp:NameValuePair arg:name="Drilling contractor:" arg:value="{# SELECT ?contractorName WHERE {?activity ep-activity:drillingContractor ?contractor . ?contractor ep-core:name ?contractorName}}" /> | 53 | <rhswp:NameValuePair arg:name="Drilling contractor:" arg:value="{# SELECT ?contractorName WHERE {?activity ep-activity:drillingContractor ?contractor . ?contractor ep-core:name ?contractorName}}" /> |
54 | <rhswp:NameValuePair arg:name="NPD Rig Id:" arg:value="{= rhspin:npdId(?rig) }" /> | 54 | <rhswp:NameValuePair arg:name="NPD Rig Id:" arg:value="{= rhspin:npdId(?rig) }" /> |
55 | - <rhswp:NameValuePair arg:name="Date Well Complete:" arg:value="{= IF(bound(?completeDate), spif:dateFormat(?completeDate, 'yyyy-MM-dd'), ?unbound) }" /> | 55 | + <rhswp:NameValuePair arg:name="Date Well Complete:" arg:value="{= IF(bound(?completeDate), spif:dateFormat(?completeDate, 'yyyy-MMM-dd'), ?unbound) }" /> |
56 | <rhswp:NameValuePair arg:name="Water depth MSL m:" arg:value="{# SELECT ?waterDepthVal WHERE {?activity ep-activity:onRig ?rigState . ?rigState a ep-fac:TemporalPartOfARig . ?rigState ep-core:hasPart ?water . ?water a ep-fac:SurroundingWater . ?water ep-fac:depthOfSurroundingWater ?waterDepth . ?waterDepth ep-core:metre ?waterDepthVal}}" /> | 56 | <rhswp:NameValuePair arg:name="Water depth MSL m:" arg:value="{# SELECT ?waterDepthVal WHERE {?activity ep-activity:onRig ?rigState . ?rigState a ep-fac:TemporalPartOfARig . ?rigState ep-core:hasPart ?water . ?water a ep-fac:SurroundingWater . ?water ep-fac:depthOfSurroundingWater ?waterDepth . ?waterDepth ep-core:metre ?waterDepthVal}}" /> |
57 | <rhswp:NameValuePair arg:name="High pressure - High temperature:" arg:value="{# SELECT ?wbPTTypeLabel WHERE { ?statusActivityWb a ?wbPTType . ?wbPTType a ep-well:WellBoreHphtType . ?wbPTType rdfs:label ?wbPTTypeLabel} }" /> | 57 | <rhswp:NameValuePair arg:name="High pressure - High temperature:" arg:value="{# SELECT ?wbPTTypeLabel WHERE { ?statusActivityWb a ?wbPTType . ?wbPTType a ep-well:WellBoreHphtType . ?wbPTType rdfs:label ?wbPTTypeLabel} }" /> |
58 | <rhswp:NameValuePair arg:name="Temperature degC:" arg:value="{# SELECT ?buttHoleTempVal WHERE {?statusActivityWb ep-well:averageBottomHoleTemperature ?buttHoleTemp . ?buttHoleTemp ep-core:celsius ?buttHoleTempVal}}" /> | 58 | <rhswp:NameValuePair arg:name="Temperature degC:" arg:value="{# SELECT ?buttHoleTempVal WHERE {?statusActivityWb ep-well:averageBottomHoleTemperature ?buttHoleTemp . ?buttHoleTemp ep-core:celsius ?buttHoleTempVal}}" /> | ... | ... |
-
Please register or login to post a comment