Showing
5 changed files
with
122 additions
and
82 deletions
This diff is collapsed. Click to expand it.
| 1 | -# Saved by TopBraid on Sat Oct 08 14:19:39 BST 2011 | ||
| 2 | # baseURI: http://www.reportinghub.no/ep/schema/1.0/production-equipment | 1 | # baseURI: http://www.reportinghub.no/ep/schema/1.0/production-equipment |
| 3 | # imports: http://www.reportinghub.no/ep/schema/1.0/equipment | 2 | # imports: http://www.reportinghub.no/ep/schema/1.0/equipment |
| 3 | +# imports: http://www.reportinghub.no/ep/schema/1.0/production-organization | ||
| 4 | 4 | ||
| 5 | @prefix ep-prodeqt: <http://www.reportinghub.no/ep/schema/production-equipment#> . | 5 | @prefix ep-prodeqt: <http://www.reportinghub.no/ep/schema/production-equipment#> . |
| 6 | @prefix owl: <http://www.w3.org/2002/07/owl#> . | 6 | @prefix owl: <http://www.w3.org/2002/07/owl#> . |
| ... | @@ -10,5 +10,21 @@ | ... | @@ -10,5 +10,21 @@ |
| 10 | 10 | ||
| 11 | <http://www.reportinghub.no/ep/schema/1.0/production-equipment> | 11 | <http://www.reportinghub.no/ep/schema/1.0/production-equipment> |
| 12 | rdf:type owl:Ontology ; | 12 | rdf:type owl:Ontology ; |
| 13 | - owl:imports <http://www.reportinghub.no/ep/schema/1.0/equipment> ; | 13 | + owl:imports <http://www.reportinghub.no/ep/schema/1.0/production-organization> , <http://www.reportinghub.no/ep/schema/1.0/equipment> ; |
| 14 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 14 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
| 15 | + | ||
| 16 | +ep-prodeqt:CargoShip | ||
| 17 | + rdf:type owl:Class ; | ||
| 18 | + rdfs:label "cargo ship"^^xsd:string ; | ||
| 19 | + rdfs:subClassOf ep-prodeqt:Vessel . | ||
| 20 | + | ||
| 21 | +ep-prodeqt:Vessel | ||
| 22 | + rdf:type owl:Class ; | ||
| 23 | + rdfs:label "vessel"^^xsd:string ; | ||
| 24 | + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/equipment#Equipment> . | ||
| 25 | + | ||
| 26 | +ep-prodeqt:hasCaptain | ||
| 27 | + rdf:type owl:ObjectProperty , owl:FunctionalProperty ; | ||
| 28 | + rdfs:domain ep-prodeqt:Vessel ; | ||
| 29 | + rdfs:label "has captain"^^xsd:string ; | ||
| 30 | + rdfs:range <http://www.reportinghub.no/ep/schema/production-organization#Person> . | ... | ... |
| ... | @@ -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 |
| ... | @@ -5079,6 +5079,22 @@ ep-dpr-spin-lib:selectSpecificVolumeScale_MASS_CONCENTRATION | ... | @@ -5079,6 +5079,22 @@ ep-dpr-spin-lib:selectSpecificVolumeScale_MASS_CONCENTRATION |
| 5079 | rdfs:subClassOf ep-dpr-spin-lib:Function ; | 5079 | rdfs:subClassOf ep-dpr-spin-lib:Function ; |
| 5080 | spin:body | 5080 | spin:body |
| 5081 | [ rdf:type sp:Select ; | 5081 | [ rdf:type sp:Select ; |
| 5082 | + sp:resultVariables (_:b30) ; | ||
| 5083 | + sp:where ([ rdf:type sp:Bind ; | ||
| 5084 | + sp:expression | ||
| 5085 | + [ rdf:type sp:if ; | ||
| 5086 | + sp:arg1 [ rdf:type sp:eq ; | ||
| 5087 | + sp:arg1 spin:_arg1 ; | ||
| 5088 | + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#VPVU_m3m3> | ||
| 5089 | + ] ; | ||
| 5090 | + sp:arg2 <http://www.reportinghub.no/ep/schema/core#fractionByVolume> ; | ||
| 5091 | + sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale> | ||
| 5092 | + ] ; | ||
| 5093 | + sp:variable _:b30 | ||
| 5094 | + ]) | ||
| 5095 | + ] ; | ||
| 5096 | + spin:body | ||
| 5097 | + [ rdf:type sp:Select ; | ||
| 5082 | sp:resultVariables ([ sp:varName "myVar"^^xsd:string | 5098 | sp:resultVariables ([ sp:varName "myVar"^^xsd:string |
| 5083 | ]) ; | 5099 | ]) ; |
| 5084 | sp:where ([ rdf:type sp:Bind ; | 5100 | sp:where ([ rdf:type sp:Bind ; |
| ... | @@ -5158,22 +5174,6 @@ ep-dpr-spin-lib:selectSpecificVolumeScale_MASS_CONCENTRATION | ... | @@ -5158,22 +5174,6 @@ ep-dpr-spin-lib:selectSpecificVolumeScale_MASS_CONCENTRATION |
| 5158 | [ sp:varName "myVar"^^xsd:string | 5174 | [ sp:varName "myVar"^^xsd:string |
| 5159 | ] | 5175 | ] |
| 5160 | ]) | 5176 | ]) |
| 5161 | - ] ; | ||
| 5162 | - spin:body | ||
| 5163 | - [ rdf:type sp:Select ; | ||
| 5164 | - sp:resultVariables (_:b30) ; | ||
| 5165 | - sp:where ([ rdf:type sp:Bind ; | ||
| 5166 | - sp:expression | ||
| 5167 | - [ rdf:type sp:if ; | ||
| 5168 | - sp:arg1 [ rdf:type sp:eq ; | ||
| 5169 | - sp:arg1 spin:_arg1 ; | ||
| 5170 | - sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#VPVU_m3m3> | ||
| 5171 | - ] ; | ||
| 5172 | - sp:arg2 <http://www.reportinghub.no/ep/schema/core#fractionByVolume> ; | ||
| 5173 | - sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale> | ||
| 5174 | - ] ; | ||
| 5175 | - sp:variable _:b30 | ||
| 5176 | - ]) | ||
| 5177 | ] . | 5177 | ] . |
| 5178 | 5178 | ||
| 5179 | ep-dpr-spin-lib:selectTemperatureScale | 5179 | ep-dpr-spin-lib:selectTemperatureScale |
| ... | @@ -5476,6 +5476,30 @@ ep-dpr-spin-lib:selectVolumeFlowRateScale | ... | @@ -5476,6 +5476,30 @@ ep-dpr-spin-lib:selectVolumeFlowRateScale |
| 5476 | ]) | 5476 | ]) |
| 5477 | ] . | 5477 | ] . |
| 5478 | 5478 | ||
| 5479 | +ep-dpr-spin-lib:selectVolumePerVolumeScale | ||
| 5480 | + rdf:type spin:Function ; | ||
| 5481 | + rdfs:label "select VolumePerVolume scale"^^xsd:string ; | ||
| 5482 | + rdfs:subClassOf ep-dpr-spin-lib:Function ; | ||
| 5483 | + spin:body | ||
| 5484 | + [ rdf:type sp:Select ; | ||
| 5485 | + sp:resultVariables ([ sp:varName "volumePerVolumeScale"^^xsd:string | ||
| 5486 | + ]) ; | ||
| 5487 | + sp:where ([ rdf:type sp:Bind ; | ||
| 5488 | + sp:expression | ||
| 5489 | + [ rdf:type sp:if ; | ||
| 5490 | + sp:arg1 [ rdf:type sp:eq ; | ||
| 5491 | + sp:arg1 spin:_arg1 ; | ||
| 5492 | + sp:arg2 <http://www.witsml.org/schemas/131/addendum/combo#VPVU_m3m3> | ||
| 5493 | + ] ; | ||
| 5494 | + sp:arg2 <http://www.reportinghub.no/ep/schema/core#fractionByVolume> ; | ||
| 5495 | + sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale> | ||
| 5496 | + ] ; | ||
| 5497 | + sp:variable | ||
| 5498 | + [ sp:varName "volumePerVolumeScale"^^xsd:string | ||
| 5499 | + ] | ||
| 5500 | + ]) | ||
| 5501 | + ] . | ||
| 5502 | + | ||
| 5479 | ep-dpr-spin-lib:selectVolumeScale | 5503 | ep-dpr-spin-lib:selectVolumeScale |
| 5480 | rdf:type spin:Function ; | 5504 | rdf:type spin:Function ; |
| 5481 | rdfs:label "select VolumeScale"^^xsd:string ; | 5505 | rdfs:label "select VolumeScale"^^xsd:string ; |
| ... | @@ -5766,104 +5790,104 @@ ep-dpr-spin-lib:selectWellTestReasonType | ... | @@ -5766,104 +5790,104 @@ ep-dpr-spin-lib:selectWellTestReasonType |
| 5766 | ]) | 5790 | ]) |
| 5767 | ] . | 5791 | ] . |
| 5768 | 5792 | ||
| 5769 | -_:b37 | 5793 | +_:b1 sp:varName "uri"^^xsd:string . |
| 5770 | - sp:varName "volumeScale"^^xsd:string . | ||
| 5771 | - | ||
| 5772 | -_:b36 | ||
| 5773 | - sp:varName "volumeFlowRateScale"^^xsd:string . | ||
| 5774 | - | ||
| 5775 | -_:b35 | ||
| 5776 | - sp:varName "volumeFlowRateAtStdType"^^xsd:string . | ||
| 5777 | - | ||
| 5778 | -_:b34 | ||
| 5779 | - sp:varName "volumeAtStdType"^^xsd:string . | ||
| 5780 | - | ||
| 5781 | -_:b33 | ||
| 5782 | - sp:varName "prodActType"^^xsd:string . | ||
| 5783 | - | ||
| 5784 | -_:b32 | ||
| 5785 | - sp:varName "temporalPartOfAFlowDurationType"^^xsd:string . | ||
| 5786 | - | ||
| 5787 | -_:b31 | ||
| 5788 | - sp:varName "temperatureScale"^^xsd:string . | ||
| 5789 | - | ||
| 5790 | -_:b30 | ||
| 5791 | - sp:varName "specificVolumeScale"^^xsd:string . | ||
| 5792 | - | ||
| 5793 | -_:b29 | ||
| 5794 | - sp:varName "safetyActivityType"^^xsd:string . | ||
| 5795 | 5794 | ||
| 5796 | -_:b28 | 5795 | +_:b2 sp:varName "uri"^^xsd:string . |
| 5797 | - sp:varName "relationshipToMeasure"^^xsd:string . | ||
| 5798 | 5796 | ||
| 5799 | -_:b27 | 5797 | +_:b3 sp:varName "UUID"^^xsd:string . |
| 5800 | - sp:varName "productionFlowPurposeType"^^xsd:string . | ||
| 5801 | 5798 | ||
| 5802 | -_:b26 | 5799 | +_:b4 sp:varName "uri"^^xsd:string . |
| 5803 | - sp:varName "productionFlowDirectionRelationshipType"^^xsd:string . | ||
| 5804 | 5800 | ||
| 5805 | -_:b25 | 5801 | +_:b5 sp:varName "uri"^^xsd:string . |
| 5806 | - sp:varName "productionFlowDirectionRelationshipType"^^xsd:string . | ||
| 5807 | 5802 | ||
| 5808 | -_:b24 | 5803 | +_:b6 sp:varName "uri"^^xsd:string . |
| 5809 | - sp:varName "productionFlowDefinitionType"^^xsd:string . | ||
| 5810 | 5804 | ||
| 5811 | -_:b23 | 5805 | +_:b7 sp:varName "uri"^^xsd:string . |
| 5812 | - sp:varName "productionFacilityType"^^xsd:string . | ||
| 5813 | 5806 | ||
| 5814 | -_:b22 | 5807 | +_:b8 sp:varName "uri"^^xsd:string . |
| 5815 | - sp:varName "productType"^^xsd:string . | ||
| 5816 | 5808 | ||
| 5817 | -_:b21 | 5809 | +_:b9 sp:varName "uri"^^xsd:string . |
| 5818 | - sp:varName "durationScale"^^xsd:string . | ||
| 5819 | 5810 | ||
| 5820 | -_:b20 | 5811 | +_:b10 |
| 5821 | - sp:varName "densityScale"^^xsd:string . | 5812 | + sp:varName "uri"^^xsd:string . |
| 5822 | 5813 | ||
| 5823 | -_:b19 | 5814 | +_:b11 |
| 5824 | sp:varName "uri"^^xsd:string . | 5815 | sp:varName "uri"^^xsd:string . |
| 5825 | 5816 | ||
| 5826 | -_:b18 | 5817 | +_:b12 |
| 5827 | sp:varName "uri"^^xsd:string . | 5818 | sp:varName "uri"^^xsd:string . |
| 5828 | 5819 | ||
| 5829 | -_:b17 | 5820 | +_:b13 |
| 5830 | sp:varName "uri"^^xsd:string . | 5821 | sp:varName "uri"^^xsd:string . |
| 5831 | 5822 | ||
| 5832 | -_:b16 | 5823 | +_:b14 |
| 5833 | sp:varName "uri"^^xsd:string . | 5824 | sp:varName "uri"^^xsd:string . |
| 5834 | 5825 | ||
| 5835 | _:b15 | 5826 | _:b15 |
| 5836 | sp:varName "uri"^^xsd:string . | 5827 | sp:varName "uri"^^xsd:string . |
| 5837 | 5828 | ||
| 5838 | -_:b14 | 5829 | +_:b16 |
| 5839 | sp:varName "uri"^^xsd:string . | 5830 | sp:varName "uri"^^xsd:string . |
| 5840 | 5831 | ||
| 5841 | -_:b13 | 5832 | +_:b17 |
| 5842 | sp:varName "uri"^^xsd:string . | 5833 | sp:varName "uri"^^xsd:string . |
| 5843 | 5834 | ||
| 5844 | -_:b12 | 5835 | +_:b18 |
| 5845 | sp:varName "uri"^^xsd:string . | 5836 | sp:varName "uri"^^xsd:string . |
| 5846 | 5837 | ||
| 5847 | -_:b11 | 5838 | +_:b19 |
| 5848 | sp:varName "uri"^^xsd:string . | 5839 | sp:varName "uri"^^xsd:string . |
| 5849 | 5840 | ||
| 5850 | -_:b10 | 5841 | +_:b20 |
| 5851 | - sp:varName "uri"^^xsd:string . | 5842 | + sp:varName "densityScale"^^xsd:string . |
| 5852 | 5843 | ||
| 5853 | -_:b9 sp:varName "uri"^^xsd:string . | 5844 | +_:b21 |
| 5845 | + sp:varName "durationScale"^^xsd:string . | ||
| 5854 | 5846 | ||
| 5855 | -_:b8 sp:varName "uri"^^xsd:string . | 5847 | +_:b22 |
| 5848 | + sp:varName "productType"^^xsd:string . | ||
| 5856 | 5849 | ||
| 5857 | -_:b7 sp:varName "uri"^^xsd:string . | 5850 | +_:b23 |
| 5851 | + sp:varName "productionFacilityType"^^xsd:string . | ||
| 5858 | 5852 | ||
| 5859 | -_:b6 sp:varName "uri"^^xsd:string . | 5853 | +_:b24 |
| 5854 | + sp:varName "productionFlowDefinitionType"^^xsd:string . | ||
| 5860 | 5855 | ||
| 5861 | -_:b5 sp:varName "uri"^^xsd:string . | 5856 | +_:b25 |
| 5857 | + sp:varName "productionFlowDirectionRelationshipType"^^xsd:string . | ||
| 5862 | 5858 | ||
| 5863 | -_:b4 sp:varName "uri"^^xsd:string . | 5859 | +_:b26 |
| 5860 | + sp:varName "productionFlowDirectionRelationshipType"^^xsd:string . | ||
| 5864 | 5861 | ||
| 5865 | -_:b3 sp:varName "UUID"^^xsd:string . | 5862 | +_:b27 |
| 5863 | + sp:varName "productionFlowPurposeType"^^xsd:string . | ||
| 5866 | 5864 | ||
| 5867 | -_:b2 sp:varName "uri"^^xsd:string . | 5865 | +_:b28 |
| 5866 | + sp:varName "relationshipToMeasure"^^xsd:string . | ||
| 5868 | 5867 | ||
| 5869 | -_:b1 sp:varName "uri"^^xsd:string . | 5868 | +_:b29 |
| 5869 | + sp:varName "safetyActivityType"^^xsd:string . | ||
| 5870 | + | ||
| 5871 | +_:b30 | ||
| 5872 | + sp:varName "specificVolumeScale"^^xsd:string . | ||
| 5873 | + | ||
| 5874 | +_:b31 | ||
| 5875 | + sp:varName "temperatureScale"^^xsd:string . | ||
| 5876 | + | ||
| 5877 | +_:b32 | ||
| 5878 | + sp:varName "temporalPartOfAFlowDurationType"^^xsd:string . | ||
| 5879 | + | ||
| 5880 | +_:b33 | ||
| 5881 | + sp:varName "prodActType"^^xsd:string . | ||
| 5882 | + | ||
| 5883 | +_:b34 | ||
| 5884 | + sp:varName "volumeAtStdType"^^xsd:string . | ||
| 5885 | + | ||
| 5886 | +_:b35 | ||
| 5887 | + sp:varName "volumeFlowRateAtStdType"^^xsd:string . | ||
| 5888 | + | ||
| 5889 | +_:b36 | ||
| 5890 | + sp:varName "volumeFlowRateScale"^^xsd:string . | ||
| 5891 | + | ||
| 5892 | +_:b37 | ||
| 5893 | + sp:varName "volumeScale"^^xsd:string . | ... | ... |
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