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 Price
2012-08-17 18:34:27 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ce3528189aa2287839f735b7a40de118e0c6b817
ce352818
1 parent
c9d2a92c
Started Well Test table work
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
124 additions
and
1 deletions
www.reportinghub.no/ep/spin/SPIN_EP-DPR-tables-v1.0.spin.ttl
www.reportinghub.no/swp/DailyProductionReport.uispin.html
www.reportinghub.no/ep/spin/SPIN_EP-DPR-tables-v1.0.spin.ttl
View file @
ce35281
...
...
@@ -315,6 +315,129 @@ dpr-tables:WellInformation
]
;
rhspin:
tableHeaders
(
"Description"
^^
xsd:
string
"Oil Net m3"
^^
xsd:
string
"Choke %"
^^
xsd:
string
"Prod Hours"
^^
xsd:
string
)
.
dpr-tables:
WellTest
rdf:
type
rhspin:
TableTemplate
;
rdfs:
label
"Well Test8"
^^
xsd:
string
;
rdfs:
subClassOf
rhspin:
DPRTableTemplates
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
orderBy
([
sp:
varName
"wellboreName"
^^
xsd:
string
]
[
sp:
varName
"activityStart"
^^
xsd:
string
])
;
sp:
resultVariables
([
sp:
varName
"wellboreName"
^^
xsd:
string
]
[
sp:
varName
"wellTestTypeName"
^^
xsd:
string
]
[
sp:
varName
"activityStart"
^^
xsd:
string
]
[
sp:
varName
"activityFinish"
^^
xsd:
string
]
[
sp:
varName
"wellTestReasonTypeName"
^^
xsd:
string
])
;
sp:
where
([
sp:
object
<http://www.reportinghub.no/ep/schema/report#ProductionReport>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"productionReport"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"productionReport"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#partOf>
;
sp:
subject
[
sp:
varName
"wellTestReport"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/report#WellTestReport>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"wellTestReport"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"wellTest"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/report#reportOn>
;
sp:
subject
[
sp:
varName
"wellTestReport"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/activity#WellTest>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"wellTest"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"wellborePart"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#onWellBore>
;
sp:
subject
[
sp:
varName
"wellTest"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"wellbore"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#temporalPartOf>
;
sp:
subject
[
sp:
varName
"wellborePart"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/well#WellBore>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"wellbore"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"wellboreName"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/np/schema/npd#name>
;
sp:
subject
[
sp:
varName
"wellbore"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"activityStart"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/activity#nominallyAt>
;
sp:
subject
[
sp:
varName
"wellTest"
^^
xsd:
string
]
])
]
[
sp:
object
[
sp:
varName
"wellTestType"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"wellTest"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/activity#WellTestType>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"wellTestType"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"wellTestTypeName"
^^
xsd:
string
]
;
sp:
predicate
rdfs:
label
;
sp:
subject
[
sp:
varName
"wellTestType"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
[
sp:
varName
"wellTestReasonType"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"wellTest"
^^
xsd:
string
]
]
[
sp:
object
<http://www.reportinghub.no/ep/schema/production-activity#WellTestReasonType>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"wellTestReasonType"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"wellTestReasonTypeName"
^^
xsd:
string
]
;
sp:
predicate
rdfs:
label
;
sp:
subject
[
sp:
varName
"wellTestReasonType"
^^
xsd:
string
]
])
])
]
;
rhspin:
tableHeaders
(
"Wellbore"
^^
xsd:
string
"Test Type"
^^
xsd:
string
"Started or Nominally At"
^^
xsd:
string
"Finished At"
^^
xsd:
string
"Reason"
^^
xsd:
string
)
.
_:
b2
sp:
varName
"dailyProductionActivity"
^^
xsd:
string
.
_:
b1
sp:
varName
"oilNet"
^^
xsd:
string
.
...
...
www.reportinghub.no/swp/DailyProductionReport.uispin.html
View file @
ce35281
...
...
@@ -51,7 +51,7 @@ WHERE {
<dprswp:Table
arg:report=
"{= ?report }"
arg:template=
"dpr-tables:WellTest"
/>
</ui:group>
\ No newline at end of file
...
...
Please
register
or
login
to post a comment