Adapted DPR UoM Functions for MPR
MPR introduces some new UoMs though…will do those tomorrow
Showing
2 changed files
with
70 additions
and
70 deletions
... | @@ -20,7 +20,7 @@ | ... | @@ -20,7 +20,7 @@ |
20 | 20 | ||
21 | <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> | 21 | <http://www.reportinghub.no/ep/dpr/spin/1.1/lib> |
22 | rdf:type owl:Ontology ; | 22 | rdf:type owl:Ontology ; |
23 | - owl:imports <http://www.reportinghub.no/ep/schema/1.0/production-core> , <http://www.witsml.org/schemas/131/addendum/combo> , <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.witsml.org/schemas/131/addendum/combo> , <http://www.reportinghub.no/ep/schema/1.0/production-core> ; |
24 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 24 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
25 | 25 | ||
26 | ep-dpr-spin-lib:BuildDailyProductionReportURI | 26 | ep-dpr-spin-lib:BuildDailyProductionReportURI |
... | @@ -5352,6 +5352,22 @@ ep-dpr-spin-lib:selectSpecificVolumeScale_MASS_CONCENTRATION | ... | @@ -5352,6 +5352,22 @@ ep-dpr-spin-lib:selectSpecificVolumeScale_MASS_CONCENTRATION |
5352 | rdfs:subClassOf ep-dpr-spin-lib:Function ; | 5352 | rdfs:subClassOf ep-dpr-spin-lib:Function ; |
5353 | spin:body | 5353 | spin:body |
5354 | [ rdf:type sp:Select ; | 5354 | [ rdf:type sp:Select ; |
5355 | + sp:resultVariables (_:b29) ; | ||
5356 | + sp:where ([ rdf:type sp:Bind ; | ||
5357 | + sp:expression | ||
5358 | + [ rdf:type sp:if ; | ||
5359 | + sp:arg1 [ rdf:type sp:eq ; | ||
5360 | + sp:arg1 spin:_arg1 ; | ||
5361 | + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#VPVU_m3m3> | ||
5362 | + ] ; | ||
5363 | + sp:arg2 <http://www.reportinghub.no/ep/schema/core#fractionByVolume> ; | ||
5364 | + sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale> | ||
5365 | + ] ; | ||
5366 | + sp:variable _:b29 | ||
5367 | + ]) | ||
5368 | + ] ; | ||
5369 | + spin:body | ||
5370 | + [ rdf:type sp:Select ; | ||
5355 | sp:resultVariables ([ sp:varName "myVar"^^xsd:string | 5371 | sp:resultVariables ([ sp:varName "myVar"^^xsd:string |
5356 | ]) ; | 5372 | ]) ; |
5357 | sp:where ([ rdf:type sp:Bind ; | 5373 | sp:where ([ rdf:type sp:Bind ; |
... | @@ -5431,22 +5447,6 @@ ep-dpr-spin-lib:selectSpecificVolumeScale_MASS_CONCENTRATION | ... | @@ -5431,22 +5447,6 @@ ep-dpr-spin-lib:selectSpecificVolumeScale_MASS_CONCENTRATION |
5431 | [ sp:varName "myVar"^^xsd:string | 5447 | [ sp:varName "myVar"^^xsd:string |
5432 | ] | 5448 | ] |
5433 | ]) | 5449 | ]) |
5434 | - ] ; | ||
5435 | - spin:body | ||
5436 | - [ rdf:type sp:Select ; | ||
5437 | - sp:resultVariables (_:b29) ; | ||
5438 | - sp:where ([ rdf:type sp:Bind ; | ||
5439 | - sp:expression | ||
5440 | - [ rdf:type sp:if ; | ||
5441 | - sp:arg1 [ rdf:type sp:eq ; | ||
5442 | - sp:arg1 spin:_arg1 ; | ||
5443 | - sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#VPVU_m3m3> | ||
5444 | - ] ; | ||
5445 | - sp:arg2 <http://www.reportinghub.no/ep/schema/core#fractionByVolume> ; | ||
5446 | - sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale> | ||
5447 | - ] ; | ||
5448 | - sp:variable _:b29 | ||
5449 | - ]) | ||
5450 | ] . | 5450 | ] . |
5451 | 5451 | ||
5452 | ep-dpr-spin-lib:selectTemperatureScale | 5452 | ep-dpr-spin-lib:selectTemperatureScale |
... | @@ -6703,7 +6703,59 @@ ep-dpr-spin-lib:selectVolumeScale | ... | @@ -6703,7 +6703,59 @@ ep-dpr-spin-lib:selectVolumeScale |
6703 | ]) | 6703 | ]) |
6704 | ] . | 6704 | ] . |
6705 | 6705 | ||
6706 | -ep-dpr-spin-lib:selectVolumeScale_1 | 6706 | +ep-dpr-spin-lib:selectWellTestReasonType |
6707 | + rdf:type spin:Function ; | ||
6708 | + rdfs:label "select WellTestReasonType"^^xsd:string ; | ||
6709 | + rdfs:subClassOf ep-dpr-spin-lib:Function ; | ||
6710 | + spin:body | ||
6711 | + [ rdf:type sp:Select ; | ||
6712 | + sp:resultVariables ([ sp:varName "wellTestReasonType"^^xsd:string | ||
6713 | + ]) ; | ||
6714 | + sp:where ([ rdf:type sp:Bind ; | ||
6715 | + sp:expression | ||
6716 | + [ rdf:type sp:if ; | ||
6717 | + sp:arg1 [ rdf:type sp:eq ; | ||
6718 | + sp:arg1 spin:_arg1 ; | ||
6719 | + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#TR_initial> | ||
6720 | + ] ; | ||
6721 | + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#InitialWellTest> ; | ||
6722 | + sp:arg3 [ rdf:type sp:if ; | ||
6723 | + sp:arg1 [ rdf:type sp:eq ; | ||
6724 | + sp:arg1 spin:_arg1 ; | ||
6725 | + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#TR_periodic> | ||
6726 | + ] ; | ||
6727 | + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#PeriodicWellTest> ; | ||
6728 | + sp:arg3 [ rdf:type sp:if ; | ||
6729 | + sp:arg1 [ rdf:type sp:eq ; | ||
6730 | + sp:arg1 spin:_arg1 ; | ||
6731 | + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#TR_revision> | ||
6732 | + ] ; | ||
6733 | + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#RevisionWellTest> ; | ||
6734 | + sp:arg3 [ rdf:type sp:if ; | ||
6735 | + sp:arg1 [ rdf:type sp:eq ; | ||
6736 | + sp:arg1 spin:_arg1 ; | ||
6737 | + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#TR_unknown> | ||
6738 | + ] ; | ||
6739 | + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#UnknownReasonWellTest> ; | ||
6740 | + sp:arg3 [ rdf:type sp:if ; | ||
6741 | + sp:arg1 [ rdf:type sp:eq ; | ||
6742 | + sp:arg1 spin:_arg1 ; | ||
6743 | + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#TR_other> | ||
6744 | + ] ; | ||
6745 | + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#OtherReasonWellTest> ; | ||
6746 | + sp:arg3 <http://www.reportinghub.no/ep/schema/activity#WellTest> | ||
6747 | + ] | ||
6748 | + ] | ||
6749 | + ] | ||
6750 | + ] | ||
6751 | + ] ; | ||
6752 | + sp:variable | ||
6753 | + [ sp:varName "wellTestReasonType"^^xsd:string | ||
6754 | + ] | ||
6755 | + ]) | ||
6756 | + ] . | ||
6757 | + | ||
6758 | +ep-dpr-spin-lib:selectWorkScale | ||
6707 | rdf:type spin:Function ; | 6759 | rdf:type spin:Function ; |
6708 | rdfs:label "select Work (energy) Scale"^^xsd:string ; | 6760 | rdfs:label "select Work (energy) Scale"^^xsd:string ; |
6709 | rdfs:subClassOf ep-dpr-spin-lib:Function ; | 6761 | rdfs:subClassOf ep-dpr-spin-lib:Function ; |
... | @@ -6923,58 +6975,6 @@ ep-dpr-spin-lib:selectVolumeScale_1 | ... | @@ -6923,58 +6975,6 @@ ep-dpr-spin-lib:selectVolumeScale_1 |
6923 | ]) | 6975 | ]) |
6924 | ] . | 6976 | ] . |
6925 | 6977 | ||
6926 | -ep-dpr-spin-lib:selectWellTestReasonType | ||
6927 | - rdf:type spin:Function ; | ||
6928 | - rdfs:label "select WellTestReasonType"^^xsd:string ; | ||
6929 | - rdfs:subClassOf ep-dpr-spin-lib:Function ; | ||
6930 | - spin:body | ||
6931 | - [ rdf:type sp:Select ; | ||
6932 | - sp:resultVariables ([ sp:varName "wellTestReasonType"^^xsd:string | ||
6933 | - ]) ; | ||
6934 | - sp:where ([ rdf:type sp:Bind ; | ||
6935 | - sp:expression | ||
6936 | - [ rdf:type sp:if ; | ||
6937 | - sp:arg1 [ rdf:type sp:eq ; | ||
6938 | - sp:arg1 spin:_arg1 ; | ||
6939 | - sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#TR_initial> | ||
6940 | - ] ; | ||
6941 | - sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#InitialWellTest> ; | ||
6942 | - sp:arg3 [ rdf:type sp:if ; | ||
6943 | - sp:arg1 [ rdf:type sp:eq ; | ||
6944 | - sp:arg1 spin:_arg1 ; | ||
6945 | - sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#TR_periodic> | ||
6946 | - ] ; | ||
6947 | - sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#PeriodicWellTest> ; | ||
6948 | - sp:arg3 [ rdf:type sp:if ; | ||
6949 | - sp:arg1 [ rdf:type sp:eq ; | ||
6950 | - sp:arg1 spin:_arg1 ; | ||
6951 | - sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#TR_revision> | ||
6952 | - ] ; | ||
6953 | - sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#RevisionWellTest> ; | ||
6954 | - sp:arg3 [ rdf:type sp:if ; | ||
6955 | - sp:arg1 [ rdf:type sp:eq ; | ||
6956 | - sp:arg1 spin:_arg1 ; | ||
6957 | - sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#TR_unknown> | ||
6958 | - ] ; | ||
6959 | - sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#UnknownReasonWellTest> ; | ||
6960 | - sp:arg3 [ rdf:type sp:if ; | ||
6961 | - sp:arg1 [ rdf:type sp:eq ; | ||
6962 | - sp:arg1 spin:_arg1 ; | ||
6963 | - sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#TR_other> | ||
6964 | - ] ; | ||
6965 | - sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#OtherReasonWellTest> ; | ||
6966 | - sp:arg3 <http://www.reportinghub.no/ep/schema/activity#WellTest> | ||
6967 | - ] | ||
6968 | - ] | ||
6969 | - ] | ||
6970 | - ] | ||
6971 | - ] ; | ||
6972 | - sp:variable | ||
6973 | - [ sp:varName "wellTestReasonType"^^xsd:string | ||
6974 | - ] | ||
6975 | - ]) | ||
6976 | - ] . | ||
6977 | - | ||
6978 | _:b1 sp:varName "uri"^^xsd:string . | 6978 | _:b1 sp:varName "uri"^^xsd:string . |
6979 | 6979 | ||
6980 | _:b2 sp:varName "uri"^^xsd:string . | 6980 | _:b2 sp:varName "uri"^^xsd:string . | ... | ... |
This diff could not be displayed because it is too large.
-
Please register or login to post a comment