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
2011-11-08 12:12:54 +0000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
4edfa66a1605dcb57780324f5577579681dd6aaf
4edfa66a
1 parent
6a50129f
Update to production-core and DPR-lib to support well test data.
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
104 additions
and
65 deletions
www.reportinghub.no/ep/schema/1.0/SCHEMA_EP-PRODUCTION-CORE-v1.0.ttl
www.reportinghub.no/ep/spin/SPIN_EPIM-DPR-lib-v1.1.spin.ttl
www.reportinghub.no/ep/schema/1.0/SCHEMA_EP-PRODUCTION-CORE-v1.0.ttl
View file @
4edfa66
This diff is collapsed. Click to expand it.
www.reportinghub.no/ep/spin/SPIN_EPIM-DPR-lib-v1.1.spin.ttl
View file @
4edfa66
# baseURI: http://www.reportinghub.no/ep/dpr/spin/1.1/lib
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/ep/schema/1.0/production
# imports: http://www.reportinghub.no/ep/schema/1.0/production-core
# imports: http://www.witsml.org/schemas/131/addendum/combo
@prefix
ep-dpr-spin-lib:
<http://www.reportinghub.no/ep/dpr/spin/1.1/lib#>
.
@prefix
ep-geog:
<http://www.reportinghub.no/ep/schema/1.0/geography#>
.
@prefix
ep-prodcore:
<http://www.reportinghub.no/ep/schema/production-core#>
.
@prefix
ep-spin-lib:
<http://www.reportinghub.no/ep/spin/lib#>
.
@prefix
fn:
<http://www.w3.org/2005/xpath-functions#>
.
@prefix
owl:
<http://www.w3.org/2002/07/owl#>
.
...
...
@@ -14,12 +16,11 @@
@prefix
spif:
<http://spinrdf.org/spif#>
.
@prefix
spin:
<http://spinrdf.org/spin#>
.
@prefix
spl:
<http://spinrdf.org/spl#>
.
@prefix
unnamed:
<http://www.reportinghub.no/ep/schema/1.0/production-core#>
.
@prefix
xsd:
<http://www.w3.org/2001/XMLSchema#>
.
<http://www.reportinghub.no/ep/dpr/spin/1.1/lib>
rdf:
type
owl:
Ontology
;
owl:
imports
<http://
spinrdf.org/spin>
,
<http://www.reportinghub.no/ep/schema/1.0/production>
,
<http://www.witsml.org/schemas/131/addendum/combo>
;
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>
;
owl:
versionInfo
"Created with TopBraid Composer"
^^
xsd:
string
.
ep-dpr-spin-lib:
BuildDailyProductionReportURI
...
...
@@ -732,6 +733,44 @@ ep-dpr-spin-lib:selectAreaScale
])
]
.
ep-dpr-spin-lib:
selectDensityAtStandardTemperaturePressureType
rdf:
type
spin:
Function
;
rdfs:
label
"select DensityAtStandardTemperaturePressureType"
^^
xsd:
string
;
rdfs:
subClassOf
ep-dpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
([
sp:
varName
"densityAtStdType"
^^
xsd:
string
])
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.witsml.org/schemas/131/addendum/combo#STP_15degC1atm>
]
;
sp:
arg2
ep-prodcore:
DensityAt15degC1atm
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.witsml.org/schemas/131/addendum/combo#STP_60degF1atm>
]
;
sp:
arg2
ep-prodcore:
DensityAt60degF1atm
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.witsml.org/schemas/131/addendum/combo#STP_0degC1atm>
]
;
sp:
arg2
ep-prodcore:
DensityAt0degC1atm
;
sp:
arg3
ep-prodcore:
MeasureOfDensityOfMaterial
]
]
]
;
sp:
variable
[
sp:
varName
"densityAtStdType"
^^
xsd:
string
]
])
]
.
ep-dpr-spin-lib:
selectDensityScale
rdf:
type
spin:
Function
;
rdfs:
label
"select density scale"
^^
xsd:
string
;
...
...
@@ -3387,6 +3426,69 @@ ep-dpr-spin-lib:selectWellTestReasonType
])
]
.
_:
b41
sp:
varName
"volumeScale"
^^
xsd:
string
.
_:
b40
sp:
varName
"volumeFlowRateScale"
^^
xsd:
string
.
_:
b39
sp:
varName
"volumeFlowRateAtStdType"
^^
xsd:
string
.
_:
b38
sp:
varName
"volumeAtStdType"
^^
xsd:
string
.
_:
b37
sp:
varName
"prodActType"
^^
xsd:
string
.
_:
b36
sp:
varName
"temporalPartOfAFlowDurationType"
^^
xsd:
string
.
_:
b35
sp:
varName
"temperatureScale"
^^
xsd:
string
.
_:
b34
sp:
varName
"specificVolumeScale"
^^
xsd:
string
.
_:
b33
sp:
varName
"safetyActivityType"
^^
xsd:
string
.
_:
b32
sp:
varName
"relationshipToMeasure"
^^
xsd:
string
.
_:
b31
sp:
varName
"popType"
^^
xsd:
string
.
_:
b30
sp:
varName
"productionFlowPurposeType"
^^
xsd:
string
.
_:
b29
sp:
varName
"productionFlowDirectionRelationshipType"
^^
xsd:
string
.
_:
b28
sp:
varName
"productionFlowDirectionRelationshipType"
^^
xsd:
string
.
_:
b27
sp:
varName
"productionFlowDefinitionType"
^^
xsd:
string
.
_:
b26
sp:
varName
"productionFacilityType"
^^
xsd:
string
.
_:
b25
sp:
varName
"productType"
^^
xsd:
string
.
_:
b24
sp:
varName
"pressureScale"
^^
xsd:
string
.
_:
b23
sp:
varName
"massConcScale"
^^
xsd:
string
.
_:
b22
sp:
varName
"lengthScale"
^^
xsd:
string
.
_:
b21
sp:
varName
"durationScale"
^^
xsd:
string
.
_:
b20
sp:
varName
"densityScale"
^^
xsd:
string
.
...
...
@@ -3437,66 +3539,3 @@ _:b3 sp:varName "UUID"^^xsd:string .
_:
b2
sp:
varName
"uri"
^^
xsd:
string
.
_:
b1
sp:
varName
"uri"
^^
xsd:
string
.
_:
b27
sp:
varName
"productionFlowDefinitionType"
^^
xsd:
string
.
_:
b28
sp:
varName
"productionFlowDirectionRelationshipType"
^^
xsd:
string
.
_:
b29
sp:
varName
"productionFlowDirectionRelationshipType"
^^
xsd:
string
.
_:
b30
sp:
varName
"productionFlowPurposeType"
^^
xsd:
string
.
_:
b31
sp:
varName
"popType"
^^
xsd:
string
.
_:
b32
sp:
varName
"relationshipToMeasure"
^^
xsd:
string
.
_:
b33
sp:
varName
"safetyActivityType"
^^
xsd:
string
.
_:
b34
sp:
varName
"specificVolumeScale"
^^
xsd:
string
.
_:
b35
sp:
varName
"temperatureScale"
^^
xsd:
string
.
_:
b36
sp:
varName
"temporalPartOfAFlowDurationType"
^^
xsd:
string
.
_:
b37
sp:
varName
"prodActType"
^^
xsd:
string
.
_:
b38
sp:
varName
"volumeAtStdType"
^^
xsd:
string
.
_:
b39
sp:
varName
"volumeFlowRateAtStdType"
^^
xsd:
string
.
_:
b40
sp:
varName
"volumeFlowRateScale"
^^
xsd:
string
.
_:
b41
sp:
varName
"volumeScale"
^^
xsd:
string
.
_:
b21
sp:
varName
"durationScale"
^^
xsd:
string
.
_:
b22
sp:
varName
"lengthScale"
^^
xsd:
string
.
_:
b23
sp:
varName
"massConcScale"
^^
xsd:
string
.
_:
b24
sp:
varName
"pressureScale"
^^
xsd:
string
.
_:
b25
sp:
varName
"productType"
^^
xsd:
string
.
_:
b26
sp:
varName
"productionFacilityType"
^^
xsd:
string
.
...
...
Please
register
or
login
to post a comment