Toggle navigation
Toggle navigation
This project
Loading...
Sign in
data.posccaesar.org
/
npd
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Issues
1
Merge Requests
0
Wiki
Network
Create a new issue
Commits
Issue Boards
Authored by
David Leal
2012-09-17 17:03:39 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
7e7d37d218c46eb5727f87b21da8f005a9a6879f
7e7d37d2
1 parent
a4779e6d
All fluid sample components found, and no ratios without values.
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
681 additions
and
491 deletions
www.reportinghub.no/ep/schema/1.0/SCHEMA_EP-MATERIAL-v1.0.ttl
www.reportinghub.no/ep/spin/SPIN_EPIM-MPR-lib-v1.1.spin.ttl
www.reportinghub.no/ep/transform/TRANSFORM_mpr-fluidSample-v1.0.ttl
www.reportinghub.no/ep/schema/1.0/SCHEMA_EP-MATERIAL-v1.0.ttl
View file @
7e7d37d
...
...
@@ -25,8 +25,8 @@ ep-material:AqueousMaterial
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
BasicSedimentAndWater
rdf:
type
owl:
Class
;
rdfs:
label
"basic sediment and water"
^^
xsd:
string
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"b
sw"
^^
xsd:
string
,
"b
asic sediment and water"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Fluid
.
ep-material:
Brine
...
...
@@ -35,92 +35,97 @@ ep-material:Brine
rdfs:
subClassOf
ep-material:
Water
.
ep-material:
C10AndHeavier
rdf:
type
owl:
Class
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C10+"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
C10AndLighter
rdf:
type
owl:
Class
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C10-"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
C2AndHeavier
rdf:
type
owl:
Class
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C2+"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
C2AndLighter
rdf:
type
owl:
Class
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C2-"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
C3AndHeavier
rdf:
type
owl:
Class
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C3+"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
C3AndLighter
rdf:
type
owl:
Class
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C3-"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
C4AndHeavier
rdf:
type
owl:
Class
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C4+"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
C4AndLighter
rdf:
type
owl:
Class
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C4-"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
C5AndHeavier
rdf:
type
owl:
Class
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C5+"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
C5AndLighter
rdf:
type
owl:
Class
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C5-"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
C6
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C6"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
C6AndHeavier
rdf:
type
owl:
Class
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C6+"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
C6AndLighter
rdf:
type
owl:
Class
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C6-"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
C7AndHeavier
rdf:
type
owl:
Class
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C7+"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
C7AndLighter
rdf:
type
owl:
Class
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C7-"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
C8AndHeavier
rdf:
type
owl:
Class
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C8+"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
C8AndLighter
rdf:
type
owl:
Class
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C8-"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
C9AndHeavier
rdf:
type
owl:
Class
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C9+"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
C9AndLighter
rdf:
type
owl:
Class
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C9-"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
...
...
@@ -275,8 +280,8 @@ ep-material:HydrogenSulfide
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
Isobutane
rdf:
type
owl:
Class
;
rdfs:
label
"isobutane"
^^
xsd:
string
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"
IC4"
^^
xsd:
string
,
"
isobutane"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
Isobutane-component
...
...
@@ -285,8 +290,8 @@ ep-material:Isobutane-component
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
Isopentane
rdf:
type
owl:
Class
;
rdfs:
label
"isopentane"
^^
xsd:
string
;
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdfs:
label
"isopentane"
^^
xsd:
string
,
"IC5"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
Liquid
...
...
@@ -380,8 +385,8 @@ ep-material:NonHcGas
rdfs:
subClassOf
ep-material:
Gas
.
ep-material:
NormalButane
rdf:
type
owl:
Class
;
rdfs:
label
"normal butane"
^^
xsd:
string
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"
NC4"
^^
xsd:
string
,
"
normal butane"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
NormalButane-component
...
...
@@ -390,8 +395,8 @@ ep-material:NormalButane-component
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
NormalPentane
rdf:
type
owl:
Class
;
rdfs:
label
"normal pentane"
^^
xsd:
string
;
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdfs:
label
"normal pentane"
^^
xsd:
string
,
"NC5"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
Oil
...
...
@@ -430,7 +435,7 @@ ep-material:OtherInjectionFluid
rdfs:
subClassOf
ep-material:
Fluid
.
ep-material:
Pentane
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"pentane"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
...
...
@@ -445,8 +450,8 @@ ep-material:PlusFraction
rdfs:
subClassOf
ep-material:
Fluid
.
ep-material:
Propane
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdfs:
label
"propane"
^^
xsd:
string
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"
C3"
^^
xsd:
string
,
"
propane"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
Propane-component
...
...
@@ -470,7 +475,7 @@ ep-material:QuantityOfMaterialInAStandardState
rdfs:
subClassOf
ep-material:
QuantityOfMaterial
.
ep-material:
Salt
rdf:
type
owl:
Class
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"salt"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
...
...
@@ -525,7 +530,7 @@ ep-material:Water-processed
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
firstMaterialOfPair
rdf:
type
owl:
FunctionalProperty
,
owl:
Object
Property
;
rdf:
type
owl:
ObjectProperty
,
owl:
Functional
Property
;
rdfs:
domain
ep-material:
MaterialPair
;
rdfs:
label
"first material of pair"
^^
xsd:
string
;
rdfs:
range
ep-material:
Material
.
...
...
@@ -546,495 +551,495 @@ ep-material:hasNonPrimaryComponent
rdfs:
subPropertyOf
ep-material:
hasComponent
.
ep-material:
hasPrimaryComponent
rdf:
type
owl:
ObjectProperty
,
owl:
Functional
Property
;
rdf:
type
owl:
FunctionalProperty
,
owl:
Object
Property
;
rdfs:
domain
ep-material:
Material
;
rdfs:
label
"has primary component"
^^
xsd:
string
;
rdfs:
range
ep-material:
Material
;
rdfs:
subPropertyOf
ep-material:
hasComponent
.
ep-material:
massRatio
rdf:
type
owl:
ObjectProperty
,
owl:
Functional
Property
;
rdf:
type
owl:
FunctionalProperty
,
owl:
Object
Property
;
rdfs:
domain
ep-material:
MaterialPair
;
rdfs:
label
"mass ratio"
^^
xsd:
string
;
rdfs:
range
ep-core:
Ratio
.
ep-material:
moleRatio
rdf:
type
owl:
ObjectProperty
,
owl:
Functional
Property
;
rdf:
type
owl:
FunctionalProperty
,
owl:
Object
Property
;
rdfs:
domain
ep-material:
MaterialPair
;
rdfs:
label
"mole ratio"
^^
xsd:
string
;
rdfs:
range
ep-core:
Ratio
.
ep-material:
partMaterialOfPair
rdf:
type
owl:
FunctionalProperty
,
owl:
Object
Property
;
rdf:
type
owl:
ObjectProperty
,
owl:
Functional
Property
;
rdfs:
domain
ep-material:
MaterialPartWholePair
;
rdfs:
label
"part material of pair"
^^
xsd:
string
;
rdfs:
range
ep-material:
Material
;
rdfs:
subPropertyOf
ep-material:
firstMaterialOfPair
.
ep-material:
secondMaterialOfPair
rdf:
type
owl:
FunctionalProperty
,
owl:
Object
Property
;
rdf:
type
owl:
ObjectProperty
,
owl:
Functional
Property
;
rdfs:
domain
ep-material:
MaterialPair
;
rdfs:
label
"second material of pair"
^^
xsd:
string
;
rdfs:
range
ep-material:
Material
.
ep-material:
substance-11dmcyPentane
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"11dmcy pentane"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-124tmBenzene
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"124tm benzene"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-12dmBenzene
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"12dm benzene"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-13dmBenzene
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"13dm benzene"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-14dmBenzene
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"14dm benzene"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-223tmButane
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"223tm butane"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-223tmPentane
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"223tm pentane"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-22dmButane
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"22dm butane"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-22dmHexane
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"22dm hexane"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-22dmPentane
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"22dm pentane"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-22dmPropane
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"22dm propane"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-23dmButane
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"23dm butane"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-23dmPentane
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"23dm pentane"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-24dmHexane
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"24dm hexane"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-24dmPentane
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"24dm pentane"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-25dmHexane
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"25dm hexane"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-2mButane
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"2m butane"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-2mHexane
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"2m hexane"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-2mPentane
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"2m pentane"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-2mPropane
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"2m propane"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-33dmPentane
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"33dm pentane"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-3etPentane
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"3et pentane"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-3mHexane
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"3m hexane"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-3mPentane
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"3m pentane"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-Ar
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdfs:
label
"Ar
gon"
^^
xsd:
string
,
"Ar
"
^^
xsd:
string
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"Ar
"
^^
xsd:
string
,
"Argon
"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-Benzene
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"benzene"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-Butane
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"butane"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-C11F
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C11F"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-C12F
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C12F"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-C13F
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C13F"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-C13dmcyPentane
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"c13dmcy pentane"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-C14F
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C14F"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-C15F
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C15F"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-C16F
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C16F"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-C17F
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C17F"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-C18F
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C18F"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-C19F
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C19F"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-C20F
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C20F"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-C21F
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C21F"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-C22F
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C22F"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-C23F
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C23F"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-C24F
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C24F"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-C25F
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C25F"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-C26F
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C26F"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-C27F
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C27F"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-C28F
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C28F"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-C29F
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C29F"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-C30F
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C30F"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-C31F
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C31F"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-C32F
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C32F"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-C33F
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C33F"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-C34F
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C34F"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-C35F
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C35F"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-C36F
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C36F"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-C37F
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C37F"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-C38F
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C38F"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-C39F
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C39F"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-C40F
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C40F"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-C41F
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C41F"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-C42F
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C42F"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-C43F
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C43F"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-C44F
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C44F"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-C45F
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C45F"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-C46F
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C46F"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-C47F
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C47F"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-C48F
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C48F"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-C49F
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"C49F"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-CO2
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"CO2"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-Cyclohexane
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"cyclohexane"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-Cyclopentane
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"cyclopentane"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-Decanes
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"decanes"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-EtBenzene
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"et benzene"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-EtcyPentane
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"etcy pentane"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-Ethane
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdfs:
label
"ethane"
^^
xsd:
string
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"
C2"
^^
xsd:
string
,
"
ethane"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-H2
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"H2"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-H2O
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"H2O"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-H2S
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"H2S"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-Heptanes
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"heptanes"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-Hexane
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"hexane"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-Hexanes
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"hexanes"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-MBenzene
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"m benzene"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-McyHexane
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"mcy hexane"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-McyPentane
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"mcy pentane"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-Methane
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdfs:
label
"methane"
^^
xsd:
string
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"
C1"
^^
xsd:
string
,
"
methane"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-N2
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"N2"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-Nonanes
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"nonanes"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-O2
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"O2"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-Octanes
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"octanes"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-T12dmcyPentane
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"t12dmcy pentane"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
substance-T13dmcyPentane
rdf:
type
owl:
Class
,
ep-material:
SubstanceType
;
rdf:
type
ep-material:
SubstanceType
,
owl:
Class
;
rdfs:
label
"t13dmcy pentane"
^^
xsd:
string
;
rdfs:
subClassOf
ep-material:
Material
.
ep-material:
volumeRatio
rdf:
type
owl:
ObjectProperty
,
owl:
Functional
Property
;
rdf:
type
owl:
FunctionalProperty
,
owl:
Object
Property
;
rdfs:
domain
ep-material:
MaterialPair
;
rdfs:
label
"volume ratio"
^^
xsd:
string
;
rdfs:
range
ep-core:
Ratio
.
ep-material:
wholeMaterialOfPair
rdf:
type
owl:
ObjectProperty
,
owl:
Functional
Property
;
rdf:
type
owl:
FunctionalProperty
,
owl:
Object
Property
;
rdfs:
domain
ep-material:
MaterialPartWholePair
;
rdfs:
label
"whole material of pair"
^^
xsd:
string
;
rdfs:
range
ep-material:
Material
;
...
...
www.reportinghub.no/ep/spin/SPIN_EPIM-MPR-lib-v1.1.spin.ttl
View file @
7e7d37d
...
...
@@ -22,7 +22,7 @@
<http://www.reportinghub.no/ep/mpr/spin/1.1/lib>
rdf:
type
owl:
Ontology
;
owl:
imports
<http://
spinrdf.org/spin>
,
<http://www.reportinghub.no/ep/schema/1.0/production-equipment>
,
<http://www.reportinghub.no/ep/schema/1.0/production-activity>
,
<http://www.epim.no/schemas/mprml/1>
,
<http://www.reportinghub.no/ep/spin/1.1/lib>
,
<http://www.reportinghub.no/ep/schema/1.0/productio
n>
;
owl:
imports
<http://
www.reportinghub.no/ep/schema/1.0/production>
,
<http://www.reportinghub.no/ep/spin/1.1/lib>
,
<http://www.epim.no/schemas/mprml/1>
,
<http://www.reportinghub.no/ep/schema/1.0/production-activity>
,
<http://www.reportinghub.no/ep/schema/1.0/production-equipment>
,
<http://spinrdf.org/spi
n>
;
owl:
versionInfo
"Created with TopBraid Composer"
^^
xsd:
string
.
ep-mpr-spin-lib:
Function
...
...
@@ -139,6 +139,28 @@ arg3 is the name of the sample"""^^xsd:string ;
])
]
.
ep-mpr-spin-lib:
buildSubstanceTypeURI
rdf:
type
spin:
Function
;
rdfs:
label
"build SubstanceType URI"
^^
xsd:
string
;
rdfs:
subClassOf
ep-mpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
([
sp:
varName
"uri"
^^
xsd:
string
])
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildURI
;
sp:
arg1
"https://www.reportinghub.no/ep/data/substanceType/"
;
sp:
arg2
[
rdf:
type
ep-spin-lib:
normalizeString
;
sp:
arg1
spin:
_arg1
]
]
;
sp:
variable
[
sp:
varName
"uri"
^^
xsd:
string
]
])
]
.
ep-mpr-spin-lib:
selectAverageAmountOfMaterialFlag
rdf:
type
spin:
Function
;
rdfs:
label
"select AverageAmountOfMaterialFlag"
^^
xsd:
string
;
...
...
www.reportinghub.no/ep/transform/TRANSFORM_mpr-fluidSample-v1.0.ttl
View file @
7e7d37d
...
...
@@ -25,120 +25,6 @@
<http://www.epim.no/schemas/mprml/1#A_Global-Objects>
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"""STEP 40003e Create the Sample of fluid.
It is matched to its results via the sample name, which is assumed to be unique within the file."""
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://www.reportinghub.no/ep/schema/material#Fluid>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"sampledFluid"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"name"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#name>
;
sp:
subject
[
sp:
varName
"sampledFluid"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"sampledFluid"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#sampledFluid>
;
sp:
subject
[
sp:
varName
"fluidSamplingAndAnalysis"
^^
xsd:
string
]
])
;
sp:
where
([
sp:
object
[
sp:
varName
"fluidSampleRef"
^^
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_fluidSample>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"fluidSampleRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"time"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/transform/transform-helper-schema#nominalInstant>
;
sp:
subject
[
sp:
varName
"fluidSampleRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"normalizedFacilityName"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/transform/transform-helper-schema#facilityIdentifier>
;
sp:
subject
[
sp:
varName
"fluidSampleRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"fluidSampleRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom>
;
sp:
subject
[
sp:
varName
"fluidSamplingAndAnalysis"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"name"
^^
xsd:
string
]
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#name>
;
sp:
subject
[
sp:
varName
"fluidSampleRef"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-mpr-spin-lib:
buildSampledFluidURI
;
sp:
arg1
[
sp:
varName
"normalizedFacilityName"
^^
xsd:
string
]
;
sp:
arg2
[
sp:
varName
"time"
^^
xsd:
string
]
;
sp:
arg3
[
sp:
varName
"name"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"sampledFluid"
^^
xsd:
string
]
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 40003d Set the facility for the sample of fluid - from reporting facility if not"
^^
xsd:
string
;
sp:
templates
([
sp:
object
[
sp:
varName
"normalizedFacilityName"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/transform/transform-helper-schema#facilityIdentifier>
;
sp:
subject
[
sp:
varName
"fluidSampleRef"
^^
xsd:
string
]
])
;
sp:
where
([
sp:
object
[
sp:
varName
"fluidSampleRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#objectRef>
;
sp:
subject
spin:
_this
]
[
sp:
object
[
sp:
varName
"normalizedFacilityName"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/transform/transform-helper-schema#facilityIdentifier>
;
sp:
subject
spin:
_this
]
[
sp:
object
<http://www.epim.no/schemas/mprml/1#Obj_fluidSample>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"fluidSampleRef"
^^
xsd:
string
]
]
[
rdf:
type
sp:
NotExists
;
sp:
elements
([
sp:
object
[
sp:
varName
"facilityRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#facilityRef>
;
sp:
subject
[
sp:
varName
"fluidSampleRef"
^^
xsd:
string
]
])
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 40002 Create the Facility where the sampling takes place - the same approach to identification of the facility is used as for product volume."
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b1
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/production-activity#samplingPerformedAt>
;
...
...
@@ -276,7 +162,44 @@ It is matched to its results via the sample name, which is assumed to be unique
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"""STEP 40011b Specify the fluid component - non-primary component.
rdfs:
comment
"STEP 40003b Set the date for the sample of fluid - from report date if not"
^^
xsd:
string
;
sp:
templates
([
sp:
object
[
sp:
varName
"intervalIdentifier"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/transform/transform-helper-schema#nominalInstant>
;
sp:
subject
[
sp:
varName
"fluidSampleRef"
^^
xsd:
string
]
])
;
sp:
where
([
sp:
object
[
sp:
varName
"fluidSampleRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#objectRef>
;
sp:
subject
spin:
_this
]
[
sp:
object
[
sp:
varName
"intervalIdentifier"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalIdentifier>
;
sp:
subject
spin:
_this
]
[
sp:
object
<http://www.epim.no/schemas/mprml/1#Obj_fluidSample>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"fluidSampleRef"
^^
xsd:
string
]
]
[
rdf:
type
sp:
NotExists
;
sp:
elements
([
sp:
object
[
sp:
varName
"acquisitionDate"
^^
xsd:
string
]
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#acquisitionDate>
;
sp:
subject
[
sp:
varName
"fluidSampleRef"
^^
xsd:
string
]
])
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"""STEP 40011c Specify the fluid component - non-primary component - label not found, so new substance type created
The componentName element is used differently in the examples for the primary and non-primary components."""
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://www.reportinghub.no/ep/schema/material#Fluid>
;
sp:
predicate
rdf:
type
;
...
...
@@ -292,10 +215,22 @@ The componentName element is used differently in the examples for the primary an
sp:
predicate
rdf:
type
;
sp:
subject
_:
b2
]
[
sp:
object
[
sp:
varName
"
fluidSubstanceKind
Type"
^^
xsd:
string
[
sp:
varName
"
substance
Type"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b2
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/material#SubstanceType>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"substanceType"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"name"
^^
xsd:
string
]
;
sp:
predicate
rdfs:
label
;
sp:
subject
[
sp:
varName
"substanceType"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/material#MaterialPartWholePair>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b3
...
...
@@ -307,32 +242,11 @@ The componentName element is used differently in the examples for the primary an
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/material#wholeMaterialOfPair>
;
sp:
subject
_:
b3
]
[
sp:
object
_:
b4
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/material#massRatio>
;
sp:
subject
_:
b3
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Ratio>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b4
]
[
sp:
object
[
sp:
varName
"realWeightPercent"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"weightPercentScale"
^^
xsd:
string
[
sp:
varName
"fluidSampleCompositionRef"
^^
xsd:
string
]
;
sp:
subject
_:
b4
]
[
sp:
object
_:
b5
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/material#moleRatio>
;
sp:
predicate
<http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom>
;
sp:
subject
_:
b3
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Ratio>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b5
]
[
sp:
object
[
sp:
varName
"realMolePercent"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"molePercentScale"
^^
xsd:
string
]
;
sp:
subject
_:
b5
])
;
sp:
where
([
sp:
object
[
sp:
varName
"fluidAnalysisResultRef"
^^
xsd:
string
...
...
@@ -370,7 +284,8 @@ The componentName element is used differently in the examples for the primary an
sp:
subject
[
sp:
varName
"fluidSampleCompositionRef"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/material#SubstanceType>
;
]
[
rdf:
type
sp:
NotExists
;
sp:
elements
([
sp:
object
<http://www.reportinghub.no/ep/schema/material#SubstanceType>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"fluidSubstanceKindType"
^^
xsd:
string
...
...
@@ -382,6 +297,7 @@ The componentName element is used differently in the examples for the primary an
sp:
subject
[
sp:
varName
"fluidSubstanceKindType"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"componentKindRef"
^^
xsd:
string
...
...
@@ -391,78 +307,23 @@ The componentName element is used differently in the examples for the primary an
[
sp:
varName
"fluidSampleCompositionRef"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"weightPercentRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#weightPercentRef>
;
sp:
subject
[
sp:
varName
"fluidSampleCompositionRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"realWeightPercent"
^^
xsd:
string
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
[
sp:
varName
"weightPercentRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"uomWeightPercent"
^^
xsd:
string
]
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#uomRef>
;
sp:
subject
[
sp:
varName
"weightPercentRef"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"molePercentRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#molePercentRef>
;
sp:
subject
[
sp:
varName
"fluidSampleCompositionRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"realMolePercent"
^^
xsd:
string
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
[
sp:
varName
"molePercentRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"uomMolePercent"
^^
xsd:
string
]
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#uomRef>
;
sp:
subject
[
sp:
varName
"molePercentRef"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-mpr-spin-lib:
selectRatioScale
;
sp:
arg1
[
sp:
varName
"uomWeightPercent"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"weightPercentScale"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-mpr-spin-lib:
select
RatioScal
e
;
sp:
arg1
[
sp:
varName
"
uomMolePercent
"
^^
xsd:
string
[
rdf:
type
ep-mpr-spin-lib:
select
FluidComponentKindTyp
e
;
sp:
arg1
[
sp:
varName
"
componentKindRef
"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"
molePercentScal
e"
^^
xsd:
string
[
sp:
varName
"
fluidComponentKindTyp
e"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-mpr-spin-lib:
selectFluidComponentKindType
;
sp:
arg1
[
sp:
varName
"
componentKindRef
"
^^
xsd:
string
[
rdf:
type
ep-mpr-spin-lib:
buildSubstanceTypeURI
;
sp:
arg1
[
sp:
varName
"
name
"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"
fluidComponentKind
Type"
^^
xsd:
string
[
sp:
varName
"
substance
Type"
^^
xsd:
string
]
])
]
;
...
...
@@ -471,33 +332,33 @@ The componentName element is used differently in the examples for the primary an
rdfs:
comment
"STEP 40001 Create the FluidSampleReport and FluidSampling activity ."
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://www.reportinghub.no/ep/schema/report#FluidSampleReport>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b
6
sp:
subject
_:
b
4
]
[
sp:
object
[
sp:
varName
"productionReport"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#partOf>
;
sp:
subject
_:
b
6
]
[
sp:
object
_:
b
7
;
sp:
subject
_:
b
4
]
[
sp:
object
_:
b
5
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/report#reportOn>
;
sp:
subject
_:
b
6
sp:
subject
_:
b
4
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/production-activity#FluidSamplingAndAnalysis>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b
7
sp:
subject
_:
b
5
]
[
sp:
object
[
sp:
varName
"fluidSamplingType"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b
7
sp:
subject
_:
b
5
]
[
sp:
object
[
sp:
varName
"acquisitionDate"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#nominallyAt>
;
sp:
subject
_:
b
7
sp:
subject
_:
b
5
]
[
sp:
object
[
sp:
varName
"fluidSampleRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom>
;
sp:
subject
_:
b
7
sp:
subject
_:
b
5
])
;
sp:
where
([
sp:
object
spin:
_this
;
sp:
predicate
<http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom>
;
...
...
@@ -527,32 +388,365 @@ The componentName element is used differently in the examples for the primary an
sp:
subject
[
sp:
varName
"fluidSampleRef"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"sampleTypeRef"
^^
xsd:
string
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"sampleTypeRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#sampleTypeRef>
;
sp:
subject
[
sp:
varName
"fluidSampleRef"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-mpr-spin-lib:
selectFluidSamplingType
;
sp:
arg1
[
sp:
varName
"sampleTypeRef"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"fluidSamplingType"
^^
xsd:
string
]
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"""STEP 40011a Specify the fluid component - primary component.
The componentName element is used differently in the examples for the primary and non-primary components."""
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://www.reportinghub.no/ep/schema/material#Fluid>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b6
]
[
sp:
object
_:
b6
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/material#hasPrimaryComponent>
;
sp:
subject
[
sp:
varName
"sampledFluid"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"fluidPhaseType"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b6
]
[
sp:
object
[
sp:
varName
"fluidComponentKindType"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b6
]
[
sp:
object
[
sp:
varName
"fluidSubstanceKindType"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b6
])
;
sp:
where
([
sp:
object
[
sp:
varName
"fluidAnalysisResultRef"
^^
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_fluidAnalysisResult>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"fluidAnalysisResultRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"fluidAnalysisResultRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom>
;
sp:
subject
[
sp:
varName
"sampledFluid"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"fluidSampleCompositionRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#fluidSampleCompositionRef>
;
sp:
subject
[
sp:
varName
"fluidAnalysisResultRef"
^^
xsd:
string
]
]
[
sp:
object
"true"
^^
xsd:
boolean
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#isPrimary>
;
sp:
subject
[
sp:
varName
"fluidSampleCompositionRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"name"
^^
xsd:
string
]
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#componentName>
;
sp:
subject
[
sp:
varName
"fluidSampleCompositionRef"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"componentBaseKindRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#componentBaseKindRef>
;
sp:
subject
[
sp:
varName
"fluidSampleCompositionRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"componentBaseKindRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/transform/transform-helper-schema#materialClassMapsToMPREnumeration>
;
sp:
subject
[
sp:
varName
"fluidSubstanceKindType"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"componentKindRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#componentKindRef>
;
sp:
subject
[
sp:
varName
"fluidSampleCompositionRef"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-mpr-spin-lib:
selectFluidPhaseType
;
sp:
arg1
[
sp:
varName
"name"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"fluidPhaseType"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-mpr-spin-lib:
selectFluidComponentKindType
;
sp:
arg1
[
sp:
varName
"componentKindRef"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"fluidComponentKindType"
^^
xsd:
string
]
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 40003c Set the facility for the sample of fluid - from sampling facility if possible"
^^
xsd:
string
;
sp:
templates
([
sp:
object
[
sp:
varName
"normalizedFacilityName"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/transform/transform-helper-schema#facilityIdentifier>
;
sp:
subject
[
sp:
varName
"fluidSampleRef"
^^
xsd:
string
]
])
;
sp:
where
([
sp:
object
[
sp:
varName
"fluidSampleRef"
^^
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_fluidSample>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"fluidSampleRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"facilityRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#facilityRef>
;
sp:
subject
[
sp:
varName
"fluidSampleRef"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
spl:
object
;
sp:
arg1
[
sp:
varName
"facilityRef"
^^
xsd:
string
]
;
sp:
arg2
<http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText>
]
;
sp:
variable
[
sp:
varName
"normalizedFacilityName"
^^
xsd:
string
]
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"""STEP 40011b Specify the fluid component - non-primary component - label found
The componentName element is used differently in the examples for the primary and non-primary components."""
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://www.reportinghub.no/ep/schema/material#Fluid>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b7
]
[
sp:
object
_:
b7
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/material#hasNonPrimaryComponent>
;
sp:
subject
[
sp:
varName
"sampledFluid"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"fluidComponentKindType"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b7
]
[
sp:
object
[
sp:
varName
"fluidSubstanceKindType"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b7
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/material#MaterialPartWholePair>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b8
]
[
sp:
object
_:
b7
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/material#partMaterialOfPair>
;
sp:
subject
_:
b8
]
[
sp:
object
[
sp:
varName
"sampledFluid"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/material#wholeMaterialOfPair>
;
sp:
subject
_:
b8
]
[
sp:
object
[
sp:
varName
"fluidSampleCompositionRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom>
;
sp:
subject
_:
b8
])
;
sp:
where
([
sp:
object
[
sp:
varName
"fluidAnalysisResultRef"
^^
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_fluidAnalysisResult>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"fluidAnalysisResultRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"fluidAnalysisResultRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom>
;
sp:
subject
[
sp:
varName
"sampledFluid"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"fluidSampleCompositionRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#fluidSampleCompositionRef>
;
sp:
subject
[
sp:
varName
"fluidAnalysisResultRef"
^^
xsd:
string
]
]
[
sp:
object
"false"
^^
xsd:
boolean
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#isPrimary>
;
sp:
subject
[
sp:
varName
"fluidSampleCompositionRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"name"
^^
xsd:
string
]
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#componentName>
;
sp:
subject
[
sp:
varName
"fluidSampleCompositionRef"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/material#SubstanceType>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"fluidSubstanceKindType"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"name"
^^
xsd:
string
]
;
sp:
predicate
rdfs:
label
;
sp:
subject
[
sp:
varName
"fluidSubstanceKindType"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"componentKindRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#componentKindRef>
;
sp:
subject
[
sp:
varName
"fluidSampleCompositionRef"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-mpr-spin-lib:
selectFluidComponentKindType
;
sp:
arg1
[
sp:
varName
"componentKindRef"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"fluidComponentKindType"
^^
xsd:
string
]
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"""STEP 40003e Create the Sample of fluid.
It is matched to its results via the sample name, which is assumed to be unique within the file."""
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://www.reportinghub.no/ep/schema/material#Fluid>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"sampledFluid"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"name"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#name>
;
sp:
subject
[
sp:
varName
"sampledFluid"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"sampledFluid"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#sampledFluid>
;
sp:
subject
[
sp:
varName
"fluidSamplingAndAnalysis"
^^
xsd:
string
]
])
;
sp:
where
([
sp:
object
[
sp:
varName
"fluidSampleRef"
^^
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_fluidSample>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"fluidSampleRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"time"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/transform/transform-helper-schema#nominalInstant>
;
sp:
subject
[
sp:
varName
"fluidSampleRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"normalizedFacilityName"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/transform/transform-helper-schema#facilityIdentifier>
;
sp:
subject
[
sp:
varName
"fluidSampleRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"fluidSampleRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#sampleTypeRef>
;
sp:
predicate
<http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom>
;
sp:
subject
[
sp:
varName
"fluidSamplingAndAnalysis"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"name"
^^
xsd:
string
]
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#name>
;
sp:
subject
[
sp:
varName
"fluidSampleRef"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-mpr-spin-lib:
selectFluidSamplingType
;
sp:
arg1
[
sp:
varName
"sampleTypeRef"
^^
xsd:
string
[
rdf:
type
ep-mpr-spin-lib:
buildSampledFluidURI
;
sp:
arg1
[
sp:
varName
"normalizedFacilityName"
^^
xsd:
string
]
;
sp:
arg2
[
sp:
varName
"time"
^^
xsd:
string
]
;
sp:
arg3
[
sp:
varName
"name"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"
fluidSamplingType
"
^^
xsd:
string
[
sp:
varName
"
sampledFluid
"
^^
xsd:
string
]
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 40003
b Set the date for the sample of fluid - from report date if not
"
^^
xsd:
string
;
rdfs:
comment
"STEP 40003
a Set the date for the sample of fluid - from acquisition date if possible
"
^^
xsd:
string
;
sp:
templates
([
sp:
object
[
sp:
varName
"
intervalIdentifier
"
^^
xsd:
string
[
sp:
varName
"
acquisitionDate
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/transform/transform-helper-schema#nominalInstant>
;
sp:
subject
...
...
@@ -564,18 +758,12 @@ The componentName element is used differently in the examples for the primary an
]
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#objectRef>
;
sp:
subject
spin:
_this
]
[
sp:
object
[
sp:
varName
"intervalIdentifier"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/transform/transform-helper-schema#intervalIdentifier>
;
sp:
subject
spin:
_this
]
[
sp:
object
<http://www.epim.no/schemas/mprml/1#Obj_fluidSample>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"fluidSampleRef"
^^
xsd:
string
]
]
[
rdf:
type
sp:
NotExists
;
sp:
elements
([
sp:
object
]
[
sp:
object
[
sp:
varName
"acquisitionDate"
^^
xsd:
string
]
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#acquisitionDate>
;
...
...
@@ -583,115 +771,42 @@ The componentName element is used differently in the examples for the primary an
[
sp:
varName
"fluidSampleRef"
^^
xsd:
string
]
])
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"""STEP 40011a Specify the fluid component - primary component.
The componentName element is used differently in the examples for the primary and non-primary components."""
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://www.reportinghub.no/ep/schema/material#Fluid>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b8
]
[
sp:
object
_:
b8
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/material#hasPrimaryComponent>
;
rdfs:
comment
"STEP 40003d Set the facility for the sample of fluid - from reporting facility if not"
^^
xsd:
string
;
sp:
templates
([
sp:
object
[
sp:
varName
"normalizedFacilityName"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/transform/transform-helper-schema#facilityIdentifier>
;
sp:
subject
[
sp:
varName
"
sampledFluid
"
^^
xsd:
string
[
sp:
varName
"
fluidSampleRef
"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"fluidPhaseType"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b8
]
[
sp:
object
[
sp:
varName
"fluidComponentKindType"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b8
]
[
sp:
object
[
sp:
varName
"fluidSubstanceKindType"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b8
])
;
sp:
where
([
sp:
object
[
sp:
varName
"fluid
AnalysisResult
Ref"
^^
xsd:
string
[
sp:
varName
"fluid
Sample
Ref"
^^
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_fluidAnalysisResult>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"fluidAnalysisResultRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"fluidAnalysisResultRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom>
;
sp:
subject
[
sp:
varName
"sampledFluid"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"fluidSampleCompositionRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#fluidSampleCompositionRef>
;
sp:
subject
[
sp:
varName
"fluidAnalysisResultRef"
^^
xsd:
string
]
]
[
sp:
object
"true"
^^
xsd:
boolean
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#isPrimary>
;
sp:
subject
[
sp:
varName
"fluidSampleCompositionRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"name"
^^
xsd:
string
]
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#componentName>
;
sp:
subject
[
sp:
varName
"fluidSampleCompositionRef"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"componentBaseKindRef"
^^
xsd:
string
]
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#componentBaseKindRef>
;
sp:
subject
[
sp:
varName
"fluidSampleCompositionRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"componentBaseKindRef
"
^^
xsd:
string
[
sp:
varName
"normalizedFacilityName
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/transform/transform-helper-schema#materialClassMapsToMPREnumeration>
;
sp:
predicate
<http://www.reportinghub.no/ep/transform/transform-helper-schema#facilityIdentifier>
;
sp:
subject
spin:
_this
]
[
sp:
object
<http://www.epim.no/schemas/mprml/1#Obj_fluidSample>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"fluidSubstanceKindType
"
^^
xsd:
string
[
sp:
varName
"fluidSampleRef
"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Optional
;
]
[
rdf:
type
sp:
NotExists
;
sp:
elements
([
sp:
object
[
sp:
varName
"
componentKind
Ref"
^^
xsd:
string
[
sp:
varName
"
facility
Ref"
^^
xsd:
string
]
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#
componentKind
Ref>
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#
facility
Ref>
;
sp:
subject
[
sp:
varName
"fluidSample
Composition
Ref"
^^
xsd:
string
[
sp:
varName
"fluidSampleRef"
^^
xsd:
string
]
])
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-mpr-spin-lib:
selectFluidPhaseType
;
sp:
arg1
[
sp:
varName
"name"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"fluidPhaseType"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-mpr-spin-lib:
selectFluidComponentKindType
;
sp:
arg1
[
sp:
varName
"componentKindRef"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"fluidComponentKindType"
^^
xsd:
string
]
])
]
;
spin:
rule
...
...
@@ -865,74 +980,122 @@ The componentName element is used differently in the examples for the primary an
]
])
])
]
;
]
.
<http://www.epim.no/schemas/mprml/1#MassConcentrationMeasurePercent>
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 40003c Set the facility for the sample of fluid - from sampling facility if possible"
^^
xsd:
string
;
sp:
templates
([
sp:
object
[
sp:
varName
"normalizedFacilityName"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/transform/transform-helper-schema#facilityIdentifier>
;
rdfs:
comment
"STEP 40091 Set the mass ratio for the pair."
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b9
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/material#massRatio>
;
sp:
subject
[
sp:
varName
"
fluidSampleRef
"
^^
xsd:
string
[
sp:
varName
"
materialPartWholePair
"
^^
xsd:
string
]
])
;
sp:
where
([
sp:
object
[
sp:
varName
"fluidSampleRef"
^^
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_fluidSample>
;
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Ratio>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b9
]
[
sp:
object
[
sp:
varName
"realWeightPercent"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"weightPercentScale"
^^
xsd:
string
]
;
sp:
subject
_:
b9
])
;
sp:
where
([
sp:
object
spin:
_this
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#weightPercentRef>
;
sp:
subject
[
sp:
varName
"fluidSampleRef"
^^
xsd:
string
[
sp:
varName
"fluidSample
Composition
Ref"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"f
acility
Ref"
^^
xsd:
string
[
sp:
varName
"f
luidSampleComposition
Ref"
^^
xsd:
string
]
;
sp:
predicate
<http://www.
epim.no/schemas/mprml/1#facilityRef
>
;
sp:
predicate
<http://www.
reportinghub.no/ep/transform/transform-helper-schema#derivedFrom
>
;
sp:
subject
[
sp:
varName
"fluidSampleRef"
^^
xsd:
string
[
sp:
varName
"materialPartWholePair"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/material#MaterialPartWholePair>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"materialPartWholePair"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"realWeightPercent"
^^
xsd:
string
]
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
spin:
_this
]
[
sp:
object
[
sp:
varName
"uomWeightPercent"
^^
xsd:
string
]
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#uomRef>
;
sp:
subject
spin:
_this
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
spl:
object
;
sp:
arg1
[
sp:
varName
"facilityRef"
^^
xsd:
string
]
;
sp:
arg2
<http://www.reportinghub.no/ep/transform/transform-helper-schema#hasDerivedText>
[
rdf:
type
ep-mpr-spin-lib:
selectRatioScale
;
sp:
arg1
[
sp:
varName
"uomWeightPercent"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"
normalizedFacilityNam
e"
^^
xsd:
string
[
sp:
varName
"
weightPercentScal
e"
^^
xsd:
string
]
])
]
;
]
.
<http://www.epim.no/schemas/mprml/1#MolarFractionMeasurePercent>
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 40003a Set the date for the sample of fluid - from acquisition date if possible"
^^
xsd:
string
;
sp:
templates
([
sp:
object
[
sp:
varName
"acquisitionDate"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/transform/transform-helper-schema#nominalInstant>
;
rdfs:
comment
"STEP 40092 Set the molar ratio for the pair."
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b10
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/material#moleRatio>
;
sp:
subject
[
sp:
varName
"
fluidSampleRef
"
^^
xsd:
string
[
sp:
varName
"
materialPartWholePair
"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/core#Ratio>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b10
]
[
sp:
object
[
sp:
varName
"realMolePercent"
^^
xsd:
string
]
;
sp:
predicate
[
sp:
varName
"molePercentScale"
^^
xsd:
string
]
;
sp:
subject
_:
b10
])
;
sp:
where
([
sp:
object
[
sp:
varName
"fluidSampleRef"
^^
xsd:
string
sp:
where
([
sp:
object
spin:
_this
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#molePercentRef>
;
sp:
subject
[
sp:
varName
"fluidSampleCompositionRef"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"fluidSampleCompositionRef"
^^
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_fluidSample>
;
sp:
predicate
<http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom>
;
sp:
subject
[
sp:
varName
"materialPartWholePair"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/material#MaterialPartWholePair>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"
fluidSampleRef
"
^^
xsd:
string
[
sp:
varName
"
materialPartWholePair
"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"
acquisitionDate
"
^^
xsd:
string
[
sp:
varName
"
realMolePercent
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#acquisitionDate>
;
sp:
subject
[
sp:
varName
"fluidSampleRef"
^^
xsd:
string
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
spin:
_this
]
[
sp:
object
[
sp:
varName
"uomMolePercent"
^^
xsd:
string
]
;
sp:
predicate
<http://www.epim.no/schemas/mprml/1#uomRef>
;
sp:
subject
spin:
_this
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-mpr-spin-lib:
selectRatioScale
;
sp:
arg1
[
sp:
varName
"uomMolePercent"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"molePercentScale"
^^
xsd:
string
]
])
]
.
...
...
Please
register
or
login
to post a comment