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-02-13 14:07:52 +0000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
87fa2ff595cccb0e5c1f74eb4299a131f88e1cc8
87fa2ff5
1 parent
df50c284
More work on MPR balanceSet - nearly complete
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
92 additions
and
17 deletions
www.reportinghub.no/ep/schema/1.0/SCHEMA_EP-GEOGRAPHY-v1.0.ttl
www.reportinghub.no/ep/schema/1.0/SCHEMA_EP-PRODUCTION-ACTIVITY-V1.0.ttl
www.reportinghub.no/ep/spin/SPIN_EPIM-MPR-lib-v1.1.spin.ttl
www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0.ttl
www.reportinghub.no/ep/schema/1.0/SCHEMA_EP-GEOGRAPHY-v1.0.ttl
View file @
87fa2ff
# Saved by TopBraid on Sun Dec 18 21:34:11 GMT 2011
# baseURI: http://www.reportinghub.no/ep/schema/1.0/geography
# 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/np/schema/1.0/npd
# imports: http://www.reportinghub.no/ep/schema/1.0/production-core
# imports: http://www.reportinghub.no/np/schema/1.0/npd
@prefix
ep-core:
<http://www.reportinghub.no/ep/schema/core#>
.
@prefix
ep-fac:
<http://www.reportinghub.no/ep/schema/facility#>
.
...
...
@@ -15,11 +14,11 @@
<http://www.reportinghub.no/ep/schema/1.0/geography>
rdf:
type
owl:
Ontology
;
owl:
imports
<http://www.reportinghub.no/ep/schema/1.0/
facility>
,
<http://www.reportinghub.no/ep/schema/1.0/core>
,
<http://www.reportinghub.no/np/schema/1.0/npd>
,
<http://www.reportinghub.no/ep/schema/1.0/production-core
>
;
owl:
imports
<http://www.reportinghub.no/ep/schema/1.0/
production-core>
,
<http://www.reportinghub.no/np/schema/1.0/npd>
,
<http://www.reportinghub.no/ep/schema/1.0/core>
,
<http://www.reportinghub.no/ep/schema/1.0/facility
>
;
owl:
versionInfo
"Created with TopBraid Composer"
^^
xsd:
string
.
ep-core:
Area
rdf:
type
rdfs:
Class
,
ep-core:
PropertySpace
;
rdf:
type
ep-core:
PropertySpace
,
rdfs:
Class
;
rdfs:
label
"Compressibility"
^^
xsd:
string
;
rdfs:
subClassOf
owl:
Class
.
...
...
@@ -39,22 +38,32 @@ ep-core:licenceBlockHasNpdPolygonPart
rdfs:
subPropertyOf
ep-core:
hasPart
.
ep-geo:
AreaCoveredByBusinessArrangement
rdf:
type
owl:
Class
,
ep-fac:
ProductionFacilityType
;
rdf:
type
ep-fac:
ProductionFacilityType
,
owl:
Class
;
rdfs:
label
"A part of the earth recognised in a Business Arrangement"
^^
xsd:
string
;
rdfs:
subClassOf
ep-geo:
PartOfTheSurfaceOfTheEarth
;
owl:
disjointWith
ep-geo:
Country
,
ep-geo:
PartOfSurfaceOfTheEarthSpecifiedAsPolygon
,
ep-geo:
County
,
ep-geo:
State
,
ep-geo:
LicenceBlock
.
owl:
disjointWith
ep-geo:
LicenceBlock
,
ep-geo:
State
,
ep-geo:
County
,
ep-geo:
PartOfSurfaceOfTheEarthSpecifiedAsPolygon
,
ep-geo:
Country
.
ep-geo:
Country
rdf:
type
ep-fac:
ProductionFacilityType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-fac:
ProductionFacilityType
;
rdfs:
label
"country"
^^
xsd:
string
;
rdfs:
subClassOf
ep-geo:
PartOfTheSurfaceOfTheEarth
;
owl:
disjointWith
ep-geo:
State
,
ep-geo:
PartOfSurfaceOfTheEarthSpecifiedAsPolygon
,
ep-geo:
County
,
ep-geo:
LicenceBlock
,
ep-geo:
AreaCoveredByBusinessArrangement
.
owl:
disjointWith
ep-geo:
AreaCoveredByBusinessArrangement
,
ep-geo:
LicenceBlock
,
ep-geo:
County
,
ep-geo:
PartOfSurfaceOfTheEarthSpecifiedAsPolygon
,
ep-geo:
State
.
ep-geo:
County
rdf:
type
ep-fac:
ProductionFacilityType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-fac:
ProductionFacilityType
;
rdfs:
label
"county"
^^
xsd:
string
;
rdfs:
subClassOf
ep-geo:
PartOfTheSurfaceOfTheEarth
;
owl:
disjointWith
ep-geo:
Country
,
ep-geo:
PartOfSurfaceOfTheEarthSpecifiedAsPolygon
,
ep-geo:
State
,
ep-geo:
LicenceBlock
,
ep-geo:
AreaCoveredByBusinessArrangement
.
owl:
disjointWith
ep-geo:
AreaCoveredByBusinessArrangement
,
ep-geo:
LicenceBlock
,
ep-geo:
State
,
ep-geo:
PartOfSurfaceOfTheEarthSpecifiedAsPolygon
,
ep-geo:
Country
.
ep-geo:
DestinationType
rdf:
type
rdfs:
Class
;
rdfs:
label
"destination type"
^^
xsd:
string
;
rdfs:
subClassOf
owl:
Class
.
ep-geo:
Harbour
rdf:
type
ep-geo:
DestinationType
,
owl:
Class
;
rdfs:
label
"harbour"
^^
xsd:
string
;
rdfs:
subClassOf
ep-geo:
PartOfTheSurfaceOfTheEarth
.
ep-geo:
LicenceBlock
rdf:
type
owl:
Class
,
ep-fac:
ProductionFacilityType
;
...
...
@@ -71,7 +80,7 @@ ep-geo:OffshoreLocation
ep-geo:
PartOfSurfaceOfTheEarthSpecifiedAsPolygon
rdf:
type
owl:
Class
;
rdfs:
subClassOf
ep-geo:
PartOfTheSurfaceOfTheEarth
;
owl:
disjointWith
ep-geo:
State
,
ep-geo:
Country
,
ep-geo:
County
,
ep-geo:
LicenceBlock
,
ep-geo:
AreaCoveredByBusinessArrangement
.
owl:
disjointWith
ep-geo:
AreaCoveredByBusinessArrangement
,
ep-geo:
LicenceBlock
,
ep-geo:
County
,
ep-geo:
Country
,
ep-geo:
State
.
ep-geo:
PartOfTheSurfaceOfTheEarth
rdf:
type
owl:
Class
;
...
...
@@ -79,10 +88,15 @@ ep-geo:PartOfTheSurfaceOfTheEarth
rdfs:
subClassOf
ep-core:
PhysicalObject
.
ep-geo:
State
rdf:
type
ep-fac:
ProductionFacilityType
,
owl:
Class
;
rdf:
type
owl:
Class
,
ep-fac:
ProductionFacilityType
;
rdfs:
label
"state"
^^
xsd:
string
;
rdfs:
subClassOf
ep-geo:
PartOfTheSurfaceOfTheEarth
;
owl:
disjointWith
ep-geo:
Country
,
ep-geo:
PartOfSurfaceOfTheEarthSpecifiedAsPolygon
,
ep-geo:
County
,
ep-geo:
LicenceBlock
,
ep-geo:
AreaCoveredByBusinessArrangement
.
owl:
disjointWith
ep-geo:
AreaCoveredByBusinessArrangement
,
ep-geo:
LicenceBlock
,
ep-geo:
County
,
ep-geo:
PartOfSurfaceOfTheEarthSpecifiedAsPolygon
,
ep-geo:
Country
.
ep-geo:
Terminal
rdf:
type
ep-geo:
DestinationType
,
owl:
Class
;
rdfs:
label
"terminal"
^^
xsd:
string
;
rdfs:
subClassOf
ep-fac:
Facility
,
ep-geo:
PartOfTheSurfaceOfTheEarth
.
ep-geo:
areaOnSurfaceOfEarth
rdf:
type
owl:
ObjectProperty
;
...
...
@@ -105,12 +119,12 @@ ep-geo:hasNorthSeaAreaName
rdfs:
label
"has North Sea area name"
^^
xsd:
string
.
ep-geo:
hasNorthSeaBlockSuffixId
rdf:
type
owl:
DatatypeProperty
,
owl:
Functional
Property
;
rdf:
type
owl:
FunctionalProperty
,
owl:
Datatype
Property
;
rdfs:
domain
ep-geo:
OffshoreLocation
;
rdfs:
label
"has North Sea block suffix ID"
^^
xsd:
string
.
ep-geo:
hasNorthSeaQuadrantId
rdf:
type
owl:
DatatypeProperty
,
owl:
Functional
Property
;
rdf:
type
owl:
FunctionalProperty
,
owl:
Datatype
Property
;
rdfs:
domain
ep-geo:
OffshoreLocation
;
rdfs:
label
"has North Sea quadrant ID"
^^
xsd:
string
.
...
...
www.reportinghub.no/ep/schema/1.0/SCHEMA_EP-PRODUCTION-ACTIVITY-V1.0.ttl
View file @
87fa2ff
This diff is collapsed. Click to expand it.
www.reportinghub.no/ep/spin/SPIN_EPIM-MPR-lib-v1.1.spin.ttl
View file @
87fa2ff
...
...
@@ -12,6 +12,7 @@
@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#>
.
@prefix
production-geometry:
<http://evn.topbraidlive.org/www.reportinghub.no/ep/schema/1.0/production-geometry#>
.
@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#>
.
...
...
@@ -479,6 +480,37 @@ ep-mpr-spin-lib:selectDensityScale
])
]
.
ep-mpr-spin-lib:
selectDestinationType
rdf:
type
spin:
Function
;
rdfs:
label
"select DestinationType"
^^
xsd:
string
;
rdfs:
subClassOf
ep-mpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
([
sp:
varName
"destinationType"
^^
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.epim.no/schemas/mprml/1#SDT_harbour>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/geography#Harbour>
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.epim.no/schemas/mprml/1#SDT_terminal>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/geography#Terminal>
;
sp:
arg3
<http://www.reportinghub.no/ep/schema/geography#PartOfTheSurfaceOfTheEarth>
]
]
;
sp:
variable
[
sp:
varName
"destinationType"
^^
xsd:
string
]
])
]
.
ep-mpr-spin-lib:
selectDimensionlessScale
rdf:
type
spin:
Function
;
rdfs:
subClassOf
ep-mpr-spin-lib:
Function
;
...
...
@@ -4665,6 +4697,37 @@ ep-mpr-spin-lib:selectRatioScale
])
]
.
ep-mpr-spin-lib:
selectSalesActivityType
rdf:
type
spin:
Function
;
rdfs:
label
"select SalesActivityType"
^^
xsd:
string
;
rdfs:
subClassOf
ep-mpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
([
sp:
varName
"salesActivityType"
^^
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.epim.no/schemas/mprml/1#SEK_billoflading>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/production-activity#IssueBillOfLading>
;
sp:
arg3
[
rdf:
type
sp:
if
;
sp:
arg1
[
rdf:
type
sp:
eq
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
<http://www.epim.no/schemas/mprml/1#SEK_transactiondate>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/production-activity#MakeATransaction>
;
sp:
arg3
<http://www.reportinghub.no/ep/schema/production-activity#SalesActivity>
]
]
;
sp:
variable
[
sp:
varName
"salesActivityType"
^^
xsd:
string
]
])
]
.
ep-mpr-spin-lib:
selectTemperatureScale
rdf:
type
spin:
Function
;
rdfs:
subClassOf
ep-mpr-spin-lib:
Function
;
...
...
@@ -6608,6 +6671,4 @@ ep-mpr-spin-lib:selectWorkScale
])
]
.
_:
b1
sp:
varName
"productVolumeReportPeriodType"
^^
xsd:
string
.
...
...
www.reportinghub.no/ep/transform/TRANSFORM_mpr-productVolume-v1.0.ttl
View file @
87fa2ff
This diff could not be displayed because it is too large.
Please
register
or
login
to post a comment