MonkeyChap

Started adding new select functions…then got moved onto DDR work.

Checking this in - all working, but lots more select functions to add
# Saved by TopBraid on Fri Oct 28 15:14:15 BST 2011
# baseURI: http://www.reportinghub.no/ep/dpr/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/schema/1.0/production
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/ep/schema/1.0/production
# imports: http://www.witsml.org/schemas/131/addendum/combo
@prefix ep-dpr-spin-lib: <http://www.reportinghub.no/ep/dpr/spin/1.1/lib#> .
......@@ -20,7 +19,7 @@
<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.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
......@@ -734,6 +733,72 @@ ep-dpr-spin-lib:selectLengthScale
])
] .
ep-dpr-spin-lib:selectLinearAccelerationScale
rdf:type spin:Function ;
rdfs:label "select Linear Acceleration scale"^^xsd:string ;
rdfs:subClassOf ep-dpr-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.witsml.org/schemas/131/addendum/combo#ALU_cms2>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#cm_s-2> ;
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#ALU_fts2>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#foot_s-2> ;
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#ALU_Gal>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#galileo> ;
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#ALU_gn>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#gn> ;
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#ALU_mGal>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#milligalileo> ;
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#ALU_mgn>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#mgn> ;
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#ALU_ms2>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#metre_s-2> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
]
]
]
]
]
]
] ;
sp:variable
[ sp:varName "myVar"^^xsd:string
]
])
] .
ep-dpr-spin-lib:selectMassConcentrationScale
rdf:type spin:Function ;
rdfs:subClassOf ep-dpr-spin-lib:Function ;
......@@ -2452,6 +2517,9 @@ _:b22
_:b21
sp:varName "durationScale"^^xsd:string .
_:b20
sp:varName "densityScale"^^xsd:string .
_:b19
sp:varName "uri"^^xsd:string .
......@@ -2499,6 +2567,3 @@ _:b3 sp:varName "UUID"^^xsd:string .
_:b2 sp:varName "uri"^^xsd:string .
_:b1 sp:varName "uri"^^xsd:string .
_:b20
sp:varName "densityScale"^^xsd:string .
......
# Saved by TopBraid on Fri Oct 28 15:14:15 BST 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......