Showing
1 changed file
with
53 additions
and
1 deletions
... | @@ -19,7 +19,7 @@ | ... | @@ -19,7 +19,7 @@ |
19 | 19 | ||
20 | <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> | 20 | <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> |
21 | rdf:type owl:Ontology ; | 21 | rdf:type owl:Ontology ; |
22 | - owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://www.witsml.org/schemas/131/addendum/combo> ; | 22 | + owl:imports <http://www.witsml.org/schemas/131/addendum/combo> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://spinrdf.org/spin> ; |
23 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 23 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
24 | 24 | ||
25 | ep-dpr-spin-lib:BuildDailyProductionReportURI | 25 | ep-dpr-spin-lib:BuildDailyProductionReportURI |
... | @@ -2952,6 +2952,58 @@ ep-dpr-spin-lib:selectVolumeScale | ... | @@ -2952,6 +2952,58 @@ ep-dpr-spin-lib:selectVolumeScale |
2952 | ]) | 2952 | ]) |
2953 | ] . | 2953 | ] . |
2954 | 2954 | ||
2955 | +ep-dpr-spin-lib:selectWellTestReasonType | ||
2956 | + rdf:type spin:Function ; | ||
2957 | + rdfs:label "select WellTestReasonType"^^xsd:string ; | ||
2958 | + rdfs:subClassOf ep-dpr-spin-lib:Function ; | ||
2959 | + spin:body | ||
2960 | + [ rdf:type sp:Select ; | ||
2961 | + sp:resultVariables ([ sp:varName "wellTestReasonType"^^xsd:string | ||
2962 | + ]) ; | ||
2963 | + sp:where ([ rdf:type sp:Bind ; | ||
2964 | + sp:expression | ||
2965 | + [ rdf:type sp:if ; | ||
2966 | + sp:arg1 [ rdf:type sp:eq ; | ||
2967 | + sp:arg1 spin:_arg1 ; | ||
2968 | + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#TR_initial> | ||
2969 | + ] ; | ||
2970 | + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#InitialWellTest> ; | ||
2971 | + sp:arg3 [ rdf:type sp:if ; | ||
2972 | + sp:arg1 [ rdf:type sp:eq ; | ||
2973 | + sp:arg1 spin:_arg1 ; | ||
2974 | + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#TR_periodic> | ||
2975 | + ] ; | ||
2976 | + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#PeriodicWellTest> ; | ||
2977 | + sp:arg3 [ rdf:type sp:if ; | ||
2978 | + sp:arg1 [ rdf:type sp:eq ; | ||
2979 | + sp:arg1 spin:_arg1 ; | ||
2980 | + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#TR_revision> | ||
2981 | + ] ; | ||
2982 | + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#RevisionWellTest> ; | ||
2983 | + sp:arg3 [ rdf:type sp:if ; | ||
2984 | + sp:arg1 [ rdf:type sp:eq ; | ||
2985 | + sp:arg1 spin:_arg1 ; | ||
2986 | + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#TR_unknown> | ||
2987 | + ] ; | ||
2988 | + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#UnknownReasonWellTest> ; | ||
2989 | + sp:arg3 [ rdf:type sp:if ; | ||
2990 | + sp:arg1 [ rdf:type sp:eq ; | ||
2991 | + sp:arg1 spin:_arg1 ; | ||
2992 | + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#TR_other> | ||
2993 | + ] ; | ||
2994 | + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#OtherReasonWellTest> ; | ||
2995 | + sp:arg3 <http://www.reportinghub.no/ep/schema/activity#WellTest> | ||
2996 | + ] | ||
2997 | + ] | ||
2998 | + ] | ||
2999 | + ] | ||
3000 | + ] ; | ||
3001 | + sp:variable | ||
3002 | + [ sp:varName "wellTestReasonType"^^xsd:string | ||
3003 | + ] | ||
3004 | + ]) | ||
3005 | + ] . | ||
3006 | + | ||
2955 | _:b1 sp:varName "uri"^^xsd:string . | 3007 | _:b1 sp:varName "uri"^^xsd:string . |
2956 | 3008 | ||
2957 | _:b2 sp:varName "uri"^^xsd:string . | 3009 | _:b2 sp:varName "uri"^^xsd:string . | ... | ... |
-
Please register or login to post a comment