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
Holger Knublauch
2011-10-15 10:03:35 +1000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
3377e061e8a5bd12a162cbab667d2f325a9e958b
3377e061
1 parent
0f3ae098
Added rhspin:DPRTableTemplates
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
42 additions
and
29 deletions
www.reportinghub.no/spin/SPIN-RH-v1.0.spin.ttl
www.reportinghub.no/spin/SPIN-RH-v1.0.spin.ttl
View file @
3377e06
...
...
@@ -5,6 +5,7 @@
# imports: http://www.reportinghub.no/ep/schema/1.0/core
# imports: http://www.reportinghub.no/ep/schema/1.0/facility
# imports: http://www.reportinghub.no/ep/schema/1.0/organization
# imports: http://www.reportinghub.no/ep/schema/1.0/production-report
# imports: http://www.reportinghub.no/ep/schema/1.0/report
# imports: http://www.reportinghub.no/np/schema/1.0/npd
...
...
@@ -105,14 +106,14 @@ arg:wellName
]
;
spin:
constraint
[
rdf:
type
spl:
Argument
;
rdfs:
comment
"The property that must be used in the result resource."
^^
xsd:
string
;
spl:
predicate
<http://topbraid.org/spin/spinmapl#predicate>
;
spl:
valueType
rdf:
Property
rdfs:
comment
"The value to match against."
^^
xsd:
string
;
spl:
predicate
sp:
arg1
]
;
spin:
constraint
[
rdf:
type
spl:
Argument
;
rdfs:
comment
"The value to match against."
^^
xsd:
string
;
spl:
predicate
sp:
arg1
rdfs:
comment
"The property that must be used in the result resource."
^^
xsd:
string
;
spl:
predicate
<http://topbraid.org/spin/spinmapl#predicate>
;
spl:
valueType
rdf:
Property
]
;
spin:
returnType
rdfs:
Resource
.
...
...
@@ -123,7 +124,7 @@ npdata:npd
<http://www.reportinghub.no/spin/rh>
rdf:
type
owl:
Ontology
;
rdfs:
comment
"A collection of SPIN functions and templates to support working with the ReportingHub schemas."
^^
xsd:
string
;
owl:
imports
<http://spinrdf.org/spin>
,
<http://topbraid.org/spin/spinmapl>
,
<http://www.linkedmodel.org/schema/dtype>
,
<http://www.reportinghub.no/ep/schema/1.0/core>
,
<http://www.reportinghub.no/ep/schema/1.0/facility>
,
<http://www.reportinghub.no/ep/schema/1.0/organization>
,
<http://www.reportinghub.no/ep/schema/1.0/report>
,
<http://www.reportinghub.no/np/schema/1.0/npd>
;
owl:
imports
<http://spinrdf.org/spin>
,
<http://topbraid.org/spin/spinmapl>
,
<http://www.linkedmodel.org/schema/dtype>
,
<http://www.reportinghub.no/ep/schema/1.0/core>
,
<http://www.reportinghub.no/ep/schema/1.0/facility>
,
<http://www.reportinghub.no/ep/schema/1.0/organization>
,
<http://www.reportinghub.no/ep/schema/1.0/
production-report>
,
<http://www.reportinghub.no/ep/schema/1.0/
report>
,
<http://www.reportinghub.no/np/schema/1.0/npd>
;
owl:
versionInfo
"0.1.1"
^^
xsd:
string
.
rhspin:
DDRTableTemplates
...
...
@@ -138,6 +139,18 @@ rhspin:DDRTableTemplates
spl:
valueType
<http://www.reportinghub.no/ep/schema/report#DailyDrillingReport>
]
.
rhspin:
DPRTableTemplates
rdf:
type
rhspin:
TableTemplate
;
rdfs:
label
"DPR table templates"
^^
xsd:
string
;
rdfs:
subClassOf
rhspin:
TableTemplates
;
spin:
abstract
"true"
^^
xsd:
boolean
;
spin:
constraint
[
rdf:
type
spl:
Argument
;
rdfs:
comment
"The DPR that serves as root of the query."
^^
xsd:
string
;
spl:
predicate
arg:
report
;
spl:
valueType
<http://www.reportinghub.no/ep/schema/production-report#DailyProductionReport>
]
.
rhspin:
GetLicenceInfo
rdf:
type
spin:
SelectTemplate
;
rdfs:
comment
"Gets the NPD id and a type identifier (\"PL\" or \"BA\") for a licence specified by a name."
^^
xsd:
string
;
...
...
@@ -388,15 +401,15 @@ rhspin:WDRTableTemplates
spin:
abstract
"true"
^^
xsd:
boolean
;
spin:
constraint
[
rdf:
type
spl:
Argument
;
rdfs:
comment
"The DDR that serves as root of the query."
^^
xsd:
string
;
spl:
predicate
arg:
wellBore
;
spl:
valueType
<http://www.reportinghub.no/ep/schema/well#WellBore>
]
;
spin:
constraint
[
rdf:
type
spl:
Argument
;
rdfs:
comment
"The start date of the reporting week."
^^
xsd:
string
;
spl:
predicate
arg:
startDate
;
spl:
valueType
xsd:
date
]
;
spin:
constraint
[
rdf:
type
spl:
Argument
;
rdfs:
comment
"The DDR that serves as root of the query."
^^
xsd:
string
;
spl:
predicate
arg:
wellBore
;
spl:
valueType
<http://www.reportinghub.no/ep/schema/well#WellBore>
]
.
rhspin:
baaById
...
...
@@ -805,16 +818,16 @@ rhspin:ddrOfWeek
]
;
spin:
constraint
[
rdf:
type
spl:
Argument
;
rdfs:
comment
"The well bore that the DDR must be about."
^^
xsd:
string
;
spl:
predicate
sp:
arg2
;
spl:
valueType
<http://www.reportinghub.no/ep/schema/well#WellBore>
]
;
spin:
constraint
[
rdf:
type
spl:
Argument
;
rdfs:
comment
"The first day of the week."
^^
xsd:
string
;
spl:
predicate
sp:
arg1
;
spl:
valueType
xsd:
date
]
;
spin:
constraint
[
rdf:
type
spl:
Argument
;
rdfs:
comment
"The well bore that the DDR must be about."
^^
xsd:
string
;
spl:
predicate
sp:
arg2
;
spl:
valueType
<http://www.reportinghub.no/ep/schema/well#WellBore>
]
;
spin:
returnType
<http://www.reportinghub.no/ep/schema/report#DailyDrillingReport>
.
rhspin:
ddrWellBoreId
...
...
@@ -901,15 +914,15 @@ rhspin:dtypeValue
]
;
spin:
constraint
[
rdf:
type
spl:
Argument
;
rdfs:
comment
"The subject of the value."
^^
xsd:
string
;
spl:
predicate
sp:
arg1
;
spl:
valueType
rdfs:
Resource
]
;
spin:
constraint
[
rdf:
type
spl:
Argument
;
rdfs:
comment
"The predicate that points to the reified value."
^^
xsd:
string
;
spl:
predicate
sp:
arg2
;
spl:
valueType
rdf:
Property
]
;
spin:
constraint
[
rdf:
type
spl:
Argument
;
rdfs:
comment
"The subject of the value."
^^
xsd:
string
;
spl:
predicate
sp:
arg1
;
spl:
valueType
rdfs:
Resource
]
.
rhspin:
facilityById
...
...
@@ -1498,9 +1511,8 @@ rhspin:npdTripleExists
]
;
spin:
constraint
[
rdf:
type
spl:
Argument
;
rdfs:
comment
"The subject to find"
^^
xsd:
string
;
spl:
predicate
sp:
arg1
;
spl:
valueType
rdfs:
Resource
rdfs:
comment
"The object to match."
^^
xsd:
string
;
spl:
predicate
sp:
arg3
]
;
spin:
constraint
[
rdf:
type
spl:
Argument
;
...
...
@@ -1510,8 +1522,9 @@ rhspin:npdTripleExists
]
;
spin:
constraint
[
rdf:
type
spl:
Argument
;
rdfs:
comment
"The object to match."
^^
xsd:
string
;
spl:
predicate
sp:
arg3
rdfs:
comment
"The subject to find"
^^
xsd:
string
;
spl:
predicate
sp:
arg1
;
spl:
valueType
rdfs:
Resource
]
;
spin:
returnType
xsd:
boolean
.
...
...
Please
register
or
login
to post a comment