Merge branch 'master' of github.com:TopQuadrant/EPIM-Ontologies
Showing
5 changed files
with
52 additions
and
1 deletions
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
... | @@ -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://www.witsml.org/schemas/131/addendum/combo> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://spinrdf.org/spin> ; | 22 | + owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://www.witsml.org/schemas/131/addendum/combo> ; |
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 |
... | @@ -2763,6 +2763,57 @@ ep-dpr-spin-lib:selectVolumeScale | ... | @@ -2763,6 +2763,57 @@ ep-dpr-spin-lib:selectVolumeScale |
2763 | ]) | 2763 | ]) |
2764 | ] . | 2764 | ] . |
2765 | 2765 | ||
2766 | +ep-dpr-spin-lib:selectWellTestReasonType | ||
2767 | + rdf:type spin:Function ; | ||
2768 | + rdfs:subClassOf ep-dpr-spin-lib:Function ; | ||
2769 | + spin:body | ||
2770 | + [ rdf:type sp:Select ; | ||
2771 | + sp:resultVariables ([ sp:varName "wellTestReasonType"^^xsd:string | ||
2772 | + ]) ; | ||
2773 | + sp:where ([ rdf:type sp:Bind ; | ||
2774 | + sp:expression | ||
2775 | + [ rdf:type sp:if ; | ||
2776 | + sp:arg1 [ rdf:type sp:eq ; | ||
2777 | + sp:arg1 spin:_arg1 ; | ||
2778 | + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#TR_initial> | ||
2779 | + ] ; | ||
2780 | + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#InitialWellTest> ; | ||
2781 | + sp:arg3 [ rdf:type sp:if ; | ||
2782 | + sp:arg1 [ rdf:type sp:eq ; | ||
2783 | + sp:arg1 spin:_arg1 ; | ||
2784 | + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#TR_periodic> | ||
2785 | + ] ; | ||
2786 | + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#PeriodicWellTest> ; | ||
2787 | + sp:arg3 [ rdf:type sp:if ; | ||
2788 | + sp:arg1 [ rdf:type sp:eq ; | ||
2789 | + sp:arg1 spin:_arg1 ; | ||
2790 | + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#TR_revision> | ||
2791 | + ] ; | ||
2792 | + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#RevisionWellTest> ; | ||
2793 | + sp:arg3 [ rdf:type sp:if ; | ||
2794 | + sp:arg1 [ rdf:type sp:eq ; | ||
2795 | + sp:arg1 spin:_arg1 ; | ||
2796 | + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#TR_unknown> | ||
2797 | + ] ; | ||
2798 | + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#UnknownReasonWellTest> ; | ||
2799 | + sp:arg3 [ rdf:type sp:if ; | ||
2800 | + sp:arg1 [ rdf:type sp:eq ; | ||
2801 | + sp:arg1 spin:_arg1 ; | ||
2802 | + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#TR_other> | ||
2803 | + ] ; | ||
2804 | + sp:arg2 <http://www.reportinghub.no/ep/schema/production-activity#OtherReasonWellTest> ; | ||
2805 | + sp:arg3 <http://www.reportinghub.no/ep/schema/activity#WellTest> | ||
2806 | + ] | ||
2807 | + ] | ||
2808 | + ] | ||
2809 | + ] | ||
2810 | + ] ; | ||
2811 | + sp:variable | ||
2812 | + [ sp:varName "wellTestReasonType"^^xsd:string | ||
2813 | + ] | ||
2814 | + ]) | ||
2815 | + ] . | ||
2816 | + | ||
2766 | _:b40 | 2817 | _:b40 |
2767 | sp:varName "volumeScale"^^xsd:string . | 2818 | sp:varName "volumeScale"^^xsd:string . |
2768 | 2819 | ... | ... |
This diff could not be displayed because it is too large.
This diff is collapsed. Click to expand it.
-
Please register or login to post a comment