TRANSFORM_mpr-productionTestResults-v1.0.ttl 14.7 KB
# baseURI: http://www.reportinghub.no/ep/transform/1.0/mpr/productionTestResults
# imports: http://spinrdf.org/spin
# imports: http://www.epim.no/schemas/mprml/1
# imports: http://www.reportinghub.no/ep/schema/1.0/production-activity

@prefix :        <http://www.reportinghub.no/ep/transform/1.0/mpr/productionTestResults#> .
@prefix owl:     <http://www.w3.org/2002/07/owl#> .
@prefix rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs:    <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sp:      <http://spinrdf.org/sp#> .
@prefix spin:    <http://spinrdf.org/spin#> .
@prefix spl:     <http://spinrdf.org/spl#> .
@prefix xsd:     <http://www.w3.org/2001/XMLSchema#> .

<http://www.epim.no/schemas/mprml/1#A_Global-Objects>
      spin:rule
              [ rdf:type sp:Construct ;
                rdfs:comment "STEP 31011 Set production test results - oil volume measurement conditions"^^xsd:string ;
                sp:templates ([ sp:object _:b1 ;
                            sp:predicate <http://www.reportinghub.no/ep/schema/flow#materialThatFlows> ;
                            sp:subject
                                    [ sp:varName "flowOfMaterial"^^xsd:string
                                    ]
                          ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#AmountOfSubstance> ;
                            sp:predicate rdf:type ;
                            sp:subject _:b1
                          ]) ;
                sp:where ([ sp:object
                                    [ sp:varName "wellTestRef"^^xsd:string
                                    ] ;
                            sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
                            sp:subject spin:_this
                          ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_wellTest> ;
                            sp:predicate rdf:type ;
                            sp:subject
                                    [ sp:varName "wellTestRef"^^xsd:string
                                    ]
                          ] [ sp:object
                                    [ sp:varName "wellTestRef"^^xsd:string
                                    ] ;
                            sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
                            sp:subject
                                    [ sp:varName "wellTest"^^xsd:string
                                    ]
                          ] [ sp:object
                                    [ sp:varName "flowOfMaterial"^^xsd:string
                                    ] ;
                            sp:predicate <http://www.reportinghub.no/ep/schema/activity#hasFlow> ;
                            sp:subject
                                    [ sp:varName "wellTest"^^xsd:string
                                    ]
                          ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#FlowOfMaterial> ;
                            sp:predicate rdf:type ;
                            sp:subject
                                    [ sp:varName "flowOfMaterial"^^xsd:string
                                    ]
                          ] [ sp:object
                                    [ sp:varName "productionTestRef"^^xsd:string
                                    ] ;
                            sp:predicate <http://www.epim.no/schemas/mprml/1#productionTestRef> ;
                            sp:subject
                                    [ sp:varName "wellTestRef"^^xsd:string
                                    ]
                          ] [ sp:object
                                    [ sp:varName "productionTestResultsRef"^^xsd:string
                                    ] ;
                            sp:predicate <http://www.epim.no/schemas/mprml/1#productionTestResultsRef> ;
                            sp:subject
                                    [ sp:varName "productionTestRef"^^xsd:string
                                    ]
                          ] [ sp:object
                                    [ sp:varName "oilVolumeRef"^^xsd:string
                                    ] ;
                            sp:predicate <http://www.epim.no/schemas/mprml/1#oilVolumeRef> ;
                            sp:subject
                                    [ sp:varName "productionTestResultsRef"^^xsd:string
                                    ]
                          ] [ rdf:type sp:Optional ;
                            sp:elements ([ sp:object
                                                [ sp:varName "volumeRef"^^xsd:string
                                                ] ;
                                        sp:predicate <http://www.epim.no/schemas/mprml/1#volumeRef> ;
                                        sp:subject
                                                [ sp:varName "oilVolumeRef"^^xsd:string
                                                ]
                                      ] [ sp:object
                                                [ sp:varName "realVolume"^^xsd:string
                                                ] ;
                                        sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
                                        sp:subject
                                                [ sp:varName "volumeRef"^^xsd:string
                                                ]
                                      ] [ sp:object
                                                [ sp:varName "uomVolume"^^xsd:string
                                                ] ;
                                        sp:predicate <http://www.epim.no/schemas/mprml/1#uom> ;
                                        sp:subject
                                                [ sp:varName "volumeRef"^^xsd:string
                                                ]
                                      ])
                          ] [ rdf:type sp:Optional ;
                            sp:elements ([ sp:object
                                                [ sp:varName "densityRef"^^xsd:string
                                                ] ;
                                        sp:predicate <http://www.epim.no/schemas/mprml/1#densityRef> ;
                                        sp:subject
                                                [ sp:varName "oilVolumeRef"^^xsd:string
                                                ]
                                      ] [ sp:object
                                                [ sp:varName "realDensity"^^xsd:string
                                                ] ;
                                        sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
                                        sp:subject
                                                [ sp:varName "densityRef"^^xsd:string
                                                ]
                                      ] [ sp:object
                                                [ sp:varName "uomDensity"^^xsd:string
                                                ] ;
                                        sp:predicate <http://www.epim.no/schemas/mprml/1#uom> ;
                                        sp:subject
                                                [ sp:varName "densityRef"^^xsd:string
                                                ]
                                      ])
                          ])
              ] ;
      spin:rule
              [ rdf:type sp:Construct ;
                rdfs:comment "STEP 31010 Set production test results - oil volume at standard temperature pressure"^^xsd:string ;
                sp:templates ([ sp:object _:b2 ;
                            sp:predicate <http://www.reportinghub.no/ep/schema/flow#materialThatFlows> ;
                            sp:subject
                                    [ sp:varName "flowOfMaterial"^^xsd:string
                                    ]
                          ] [ sp:object <http://www.reportinghub.no/ep/schema/production-activity#AmountOfSubstance> ;
                            sp:predicate rdf:type ;
                            sp:subject _:b2
                          ]) ;
                sp:where ([ sp:object
                                    [ sp:varName "wellTestRef"^^xsd:string
                                    ] ;
                            sp:predicate <http://www.epim.no/schemas/mprml/1#objectRef> ;
                            sp:subject spin:_this
                          ] [ sp:object <http://www.epim.no/schemas/mprml/1#Obj_wellTest> ;
                            sp:predicate rdf:type ;
                            sp:subject
                                    [ sp:varName "wellTestRef"^^xsd:string
                                    ]
                          ] [ sp:object
                                    [ sp:varName "wellTestRef"^^xsd:string
                                    ] ;
                            sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ;
                            sp:subject
                                    [ sp:varName "wellTest"^^xsd:string
                                    ]
                          ] [ sp:object
                                    [ sp:varName "flowOfMaterial"^^xsd:string
                                    ] ;
                            sp:predicate <http://www.reportinghub.no/ep/schema/activity#hasFlow> ;
                            sp:subject
                                    [ sp:varName "wellTest"^^xsd:string
                                    ]
                          ] [ sp:object <http://www.reportinghub.no/ep/schema/flow#FlowOfMaterial> ;
                            sp:predicate rdf:type ;
                            sp:subject
                                    [ sp:varName "flowOfMaterial"^^xsd:string
                                    ]
                          ] [ sp:object
                                    [ sp:varName "productionTestRef"^^xsd:string
                                    ] ;
                            sp:predicate <http://www.epim.no/schemas/mprml/1#productionTestRef> ;
                            sp:subject
                                    [ sp:varName "wellTestRef"^^xsd:string
                                    ]
                          ] [ sp:object
                                    [ sp:varName "productionTestResultsRef"^^xsd:string
                                    ] ;
                            sp:predicate <http://www.epim.no/schemas/mprml/1#productionTestResultsRef> ;
                            sp:subject
                                    [ sp:varName "productionTestRef"^^xsd:string
                                    ]
                          ] [ sp:object
                                    [ sp:varName "oilVolumeRef"^^xsd:string
                                    ] ;
                            sp:predicate <http://www.epim.no/schemas/mprml/1#oilVolumeRef> ;
                            sp:subject
                                    [ sp:varName "productionTestResultsRef"^^xsd:string
                                    ]
                          ] [ rdf:type sp:Optional ;
                            sp:elements ([ sp:object
                                                [ sp:varName "volumeStdTempPresRef"^^xsd:string
                                                ] ;
                                        sp:predicate <http://www.epim.no/schemas/mprml/1#volumeStdTempPresRef> ;
                                        sp:subject
                                                [ sp:varName "oilVolumeRef"^^xsd:string
                                                ]
                                      ] [ sp:object
                                                [ sp:varName "realVolumeStdTempPres"^^xsd:string
                                                ] ;
                                        sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
                                        sp:subject
                                                [ sp:varName "volumeStdTempPresRef"^^xsd:string
                                                ]
                                      ] [ sp:object
                                                [ sp:varName "uomVolumeStdTempPres"^^xsd:string
                                                ] ;
                                        sp:predicate <http://www.epim.no/schemas/mprml/1#uom> ;
                                        sp:subject
                                                [ sp:varName "volumeStdTempPresRef"^^xsd:string
                                                ]
                                      ])
                          ] [ rdf:type sp:Optional ;
                            sp:elements ([ sp:object
                                                [ sp:varName "densityStdTempPresRef"^^xsd:string
                                                ] ;
                                        sp:predicate <http://www.epim.no/schemas/mprml/1#densityStdTempPresRef> ;
                                        sp:subject
                                                [ sp:varName "oilVolumeRef"^^xsd:string
                                                ]
                                      ] [ sp:object
                                                [ sp:varName "realDensityStdTempPres"^^xsd:string
                                                ] ;
                                        sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ;
                                        sp:subject
                                                [ sp:varName "densityStdTempPresRef"^^xsd:string
                                                ]
                                      ] [ sp:object
                                                [ sp:varName "uomDensityStdTempPres"^^xsd:string
                                                ] ;
                                        sp:predicate <http://www.epim.no/schemas/mprml/1#uom> ;
                                        sp:subject
                                                [ sp:varName "densityStdTempPresRef"^^xsd:string
                                                ]
                                      ])
                          ])
              ] .

<http://www.reportinghub.no/ep/transform/1.0/mpr/productionTestResults>
      rdf:type owl:Ontology ;
      owl:imports <http://www.epim.no/schemas/mprml/1> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/production-activity> ;
      owl:versionInfo "Created with TopBraid Composer"^^xsd:string .