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
MonkeyChap
2011-11-17 14:40:42 +0000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d5c417ee763e66e07b1a79196b224fea1bcf3adf
d5c417ee
1 parent
f3b898b9
Finished all of MPR UoMs
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
359 additions
and
17 deletions
www.reportinghub.no/ep/schema/1.0/SCHEMA_EP-PRODUCTION-CORE-v1.0.ttl
www.reportinghub.no/ep/spin/SPIN_EPIM-MPR-lib-v1.1.spin.ttl
www.reportinghub.no/ep/schema/1.0/SCHEMA_EP-PRODUCTION-CORE-v1.0.ttl
View file @
d5c417e
This diff could not be displayed because it is too large.
www.reportinghub.no/ep/spin/SPIN_EPIM-MPR-lib-v1.1.spin.ttl
View file @
d5c417e
...
...
@@ -18,13 +18,71 @@
<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-core>
,
<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://www.reportinghub.no/ep/schema/1.0/production-report>
,
<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/schema/1.0/production-report>
,
<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/schema/1.0/production-core>
,
<http://spinrdf.org/spi
n>
;
owl:
versionInfo
"Created with TopBraid Composer"
^^
xsd:
string
.
ep-mpr-spin-lib:
Function
rdf:
type
spin:
Function
;
rdfs:
subClassOf
spin:
Functions
.
ep-mpr-spin-lib:
SelectCompressibilityScale
rdf:
type
spin:
Function
;
rdfs:
subClassOf
ep-mpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
([
sp:
varName
"myVar"
^^
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#CU_1Pa>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#pascal-1>
;
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#CU_1bar>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#bar-1>
;
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#CU_1kPa>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#kPa-1>
;
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#CU_1pPa>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#pPa-1>
;
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#CU_1psi>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#psi-1>
;
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#CU_1upsi>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#microPsi-1>
;
sp:
arg3
<http://www.reportinghub.no/ep/schema/core#undefinedScale>
]
]
]
]
]
]
;
sp:
variable
[
sp:
varName
"myVar"
^^
xsd:
string
]
])
]
.
ep-mpr-spin-lib:
SelectDensityScale
rdf:
type
spin:
Function
;
rdfs:
subClassOf
ep-mpr-spin-lib:
Function
;
...
...
@@ -1422,6 +1480,197 @@ ep-mpr-spin-lib:SelectMassConcentrationScale
])
]
.
ep-mpr-spin-lib:
SelectMassFlowRateScale
rdf:
type
spin:
Function
;
rdfs:
subClassOf
ep-mpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
([
sp:
varName
"myVar"
^^
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#MFRU_Mga>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#megagram_yr-1>
;
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#MFRU_Mgd>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#megagram_d-1>
;
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#MFRU_Mgh>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#megagram_hr-1>
;
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#MFRU_Mlbmyr>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#megaLbM_yr-1>
;
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#MFRU_gs>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#gram_s-1>
;
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#MFRU_kgd>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#kg_d-1>
;
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#MFRU_kgh>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#kg_hr-1>
;
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#MFRU_kgmin>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#kg_min-1>
;
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#MFRU_kgs>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#kg_s-1>
;
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#MFRU_lbmd>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#lbm_d-1>
;
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#MFRU_lbmh>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#lbm_hr-1>
;
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#MFRU_lbmmin>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#lbm_min-1>
;
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#MFRU_lbms>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#lbm_s-1>
;
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#MFRU_ta>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#tonne_yr-1>
;
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#MFRU_td>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#tonne_d-1>
;
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#MFRU_th>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#tonne_hr-1>
;
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#MFRU_tmin>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#tonne_min-1>
;
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#MFRU_tonUKa>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#ukTon_yr-1>
;
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#MFRU_tonUKd>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#ukTon_d-1>
;
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#MFRU_tonUKh>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#ukTon_hr-1>
;
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#MFRU_tonUKmin>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#ukTon_min-1>
;
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#MFRU_tonUSa>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#usTon_yr-1>
;
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#MFRU_tonUSd>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#usTon_d-1>
;
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#MFRU_tonUSh>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#usTon_hr-1>
;
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#MFRU_tonUSmin>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#usTon_min-1>
;
sp:
arg3
<http://www.reportinghub.no/ep/schema/core#undefinedScale>
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
]
;
sp:
variable
[
sp:
varName
"myVar"
^^
xsd:
string
]
])
]
.
ep-mpr-spin-lib:
SelectMassScale
rdf:
type
spin:
Function
;
rdfs:
subClassOf
ep-mpr-spin-lib:
Function
;
...
...
@@ -1571,6 +1820,64 @@ ep-mpr-spin-lib:SelectMassScale
])
]
.
ep-mpr-spin-lib:
SelectMolarVolumeScale
rdf:
type
spin:
Function
;
rdfs:
subClassOf
ep-mpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
([
sp:
varName
"myVar"
^^
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#MVU_Lmolg>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#litre_molg-1>
;
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#MVU_Lmolkg>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#litre_molkg-1>
;
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#MVU_dm3molkg>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#dm3_molg-1>
;
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#MVU_ft3mollbm>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#ft3_mollbm-1>
;
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#MVU_m3mol>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#m3_molg-1>
;
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#MVU_m3molkg>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#m3_molkg-1>
;
sp:
arg3
<http://www.reportinghub.no/ep/schema/core#undefinedScale>
]
]
]
]
]
]
;
sp:
variable
[
sp:
varName
"myVar"
^^
xsd:
string
]
])
]
.
ep-mpr-spin-lib:
SelectPlaneAngleScale
rdf:
type
spin:
Function
;
rdfs:
subClassOf
ep-mpr-spin-lib:
Function
;
...
...
@@ -2032,6 +2339,57 @@ ep-mpr-spin-lib:SelectTemperatureScale
])
]
.
ep-mpr-spin-lib:
SelectThermalConductivityScale
rdf:
type
spin:
Function
;
rdfs:
subClassOf
ep-mpr-spin-lib:
Function
;
spin:
body
[
rdf:
type
sp:
Select
;
sp:
resultVariables
([
sp:
varName
"myVar"
^^
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#TCU_Btuhr.ft.degF>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#btu_ft-1_degF-1>
;
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#TCU_Wm.K>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#watt_m-1_K-1>
;
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#TCU_calh.cm.degC>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#cal_hr-1_cm-1_degC-1>
;
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#TCU_cals.cm.degC>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#cal_min-1_cm-1_degC-1>
;
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#TCU_kcalh.m.degC>
]
;
sp:
arg2
<http://www.reportinghub.no/ep/schema/core#kCal_min-1_cm-1_degC-1>
;
sp:
arg3
<http://www.reportinghub.no/ep/schema/core#undefinedScale>
]
]
]
]
]
;
sp:
variable
[
sp:
varName
"myVar"
^^
xsd:
string
]
])
]
.
ep-mpr-spin-lib:
SelectVelocityScale
rdf:
type
spin:
Function
;
rdfs:
subClassOf
ep-mpr-spin-lib:
Function
;
...
...
@@ -3301,19 +3659,3 @@ ep-mpr-spin-lib:SelectWorkScale
]
])
]
.
ep-mpr-spin-lib:
XXXSelectCompressibilityScale
rdf:
type
spin:
Function
;
rdfs:
subClassOf
ep-mpr-spin-lib:
Function
.
ep-mpr-spin-lib:
XXXSelectMassFlowRateScale
rdf:
type
spin:
Function
;
rdfs:
subClassOf
ep-mpr-spin-lib:
Function
.
ep-mpr-spin-lib:
XXXSelectMolarVolumeScale
rdf:
type
spin:
Function
;
rdfs:
subClassOf
ep-mpr-spin-lib:
Function
.
ep-mpr-spin-lib:
XXXSelectThermalConductivityScale
rdf:
type
spin:
Function
;
rdfs:
subClassOf
ep-mpr-spin-lib:
Function
.
...
...
Please
register
or
login
to post a comment