MonkeyChap

Some more unit select spin functions

......@@ -13,99 +13,155 @@
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
ep-core:MeasureOfFlowOfMaterial
rdf:type rdfs:Class , ep-core:PropertySpace ;
rdf:type ep-core:PropertySpace , rdfs:Class ;
rdfs:label "measure of flow of material"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-core:VolumeFlowRateAt15degC1atm
rdf:type ep-core:PropertySpace , rdfs:Class ;
rdf:type rdfs:Class , ep-core:PropertySpace ;
rdfs:label "volume flow rate at 15 degrees C 1 atmosphere"^^xsd:string ;
rdfs:subClassOf ep-core:MeasureOfFlowOfMaterial .
ep-core:VolumeFlowRateAt1degC1atm
rdf:type ep-core:PropertySpace , rdfs:Class ;
rdf:type rdfs:Class , ep-core:PropertySpace ;
rdfs:label "volume flow rate at 1 degrees C 1 atmosphere"^^xsd:string ;
rdfs:subClassOf ep-core:MeasureOfFlowOfMaterial .
ep-core:VolumeFlowRateAt60degF1atm
rdf:type ep-core:PropertySpace , rdfs:Class ;
rdf:type rdfs:Class , ep-core:PropertySpace ;
rdfs:label "volume flow rate at 60 degrees F 1 atmosphere"^^xsd:string ;
rdfs:subClassOf ep-core:MeasureOfFlowOfMaterial .
ep-core:acre
rdf:type ep-core:Scale , owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:label "acres"^^xsd:string .
ep-core:apiDensity
rdf:type owl:FunctionalProperty , owl:DatatypeProperty , ep-core:Scale ;
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:label "API Density"^^xsd:string .
ep-core:atmosphere
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:DatatypeProperty , ep-core:Scale ;
rdfs:domain ep-core:Pressure ;
rdfs:label "atmosphere"^^xsd:string .
ep-core:barn
rdf:type ep-core:Scale , owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:label "barn (area)"^^xsd:string .
ep-core:barrel_day-1
rdf:type owl:FunctionalProperty , owl:DatatypeProperty , ep-core:Scale ;
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:domain ep-core:VolumetricFlowRate ;
rdfs:label "barrel day-1"^^xsd:string .
ep-core:centiEuclid
rdf:type owl:FunctionalProperty , ep-core:Scale , owl:DatatypeProperty ;
rdfs:label "CentiEuclid"^^xsd:string .
ep-core:centimetre
rdf:type ep-core:Scale , owl:FunctionalProperty , owl:DatatypeProperty ;
rdf:type owl:DatatypeProperty , owl:FunctionalProperty , ep-core:Scale ;
rdfs:domain ep-core:Length ;
rdfs:label "centimetre"^^xsd:string .
ep-core:cm2
rdf:type owl:FunctionalProperty , owl:DatatypeProperty , ep-core:Scale ;
rdfs:label "square centimetres"^^xsd:string .
ep-core:cm_s-2
rdf:type ep-core:Scale , owl:FunctionalProperty , owl:DatatypeProperty ;
rdf:type owl:DatatypeProperty , owl:FunctionalProperty , ep-core:Scale ;
rdfs:label "centimetres per second squared"^^xsd:string .
ep-core:count
rdf:type ep-core:Scale , owl:FunctionalProperty , owl:DatatypeProperty ;
rdf:type owl:DatatypeProperty , owl:FunctionalProperty , ep-core:Scale ;
rdfs:label "count"^^xsd:string .
ep-core:fahrenheit
ep-core:degreesOfAngle_100ft-1
rdf:type ep-core:Scale , owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:label "degrees of angle per 100ft"^^xsd:string .
ep-core:degreesOfAngle_30ft-1
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:label "degrees of angle per 30ft"^^xsd:string .
ep-core:degreesOfAngle_30m-1
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:label "degrees of angle per 30m"^^xsd:string .
ep-core:degreesOfAngle_ft-1
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:label "degrees of angle per ft"^^xsd:string .
ep-core:degreesOfAngle_hr-1
rdf:type owl:DatatypeProperty , owl:FunctionalProperty , ep-core:Scale ;
rdfs:label "degrees of angle per hour"^^xsd:string .
ep-core:degreesOfAngle_m-1
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:label "degrees of angle per m"^^xsd:string .
ep-core:degreesOfAngle_min-1
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:label "degrees of angle per minute"^^xsd:string .
ep-core:degreesOfAngle_s-1
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:label "degrees of angle per second"^^xsd:string .
ep-core:euclid
rdf:type owl:FunctionalProperty , ep-core:Scale , owl:DatatypeProperty ;
rdfs:label "Euclid"^^xsd:string .
ep-core:fahrenheit
rdf:type owl:FunctionalProperty , owl:DatatypeProperty , ep-core:Scale ;
rdfs:domain ep-core:Temperature ;
rdfs:label "fahrenheit"^^xsd:string .
ep-core:foot_s-2
rdf:type owl:FunctionalProperty , owl:DatatypeProperty , ep-core:Scale ;
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:label "feet per second squared"^^xsd:string .
ep-core:ft2
rdf:type ep-core:Scale , owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:label "square feet"^^xsd:string .
ep-core:galileo
rdf:type owl:FunctionalProperty , owl:DatatypeProperty , ep-core:Scale ;
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:label "galileo"^^xsd:string .
ep-core:gn
rdf:type ep-core:Scale , owl:FunctionalProperty , owl:DatatypeProperty ;
rdf:type owl:DatatypeProperty , owl:FunctionalProperty , ep-core:Scale ;
rdfs:label "normal acceleration Gn"^^xsd:string .
ep-core:grain_100ft-3
rdf:type owl:FunctionalProperty , owl:DatatypeProperty , ep-core:Scale ;
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:label "grain per 100ft3"^^xsd:string .
ep-core:grain_ft-3_1
rdf:type owl:FunctionalProperty , owl:DatatypeProperty , ep-core:Scale ;
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:label "grain per ft3"^^xsd:string .
ep-core:grain_usGallon-1
rdf:type owl:FunctionalProperty , owl:DatatypeProperty , ep-core:Scale ;
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:label "grain per US Gallon"^^xsd:string .
ep-core:gram_dm-3
rdf:type owl:FunctionalProperty , owl:DatatypeProperty , ep-core:Scale ;
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:label "gram dm-3"^^xsd:string .
ep-core:gram_l-1
rdf:type owl:FunctionalProperty , owl:DatatypeProperty , ep-core:Scale ;
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:label "grams per litre"^^xsd:string .
ep-core:gram_m-3
rdf:type ep-core:Scale , owl:FunctionalProperty , owl:DatatypeProperty ;
rdf:type owl:DatatypeProperty , owl:FunctionalProperty , ep-core:Scale ;
rdfs:label "gram m-3"^^xsd:string .
ep-core:gram_ukGallon-1
rdf:type owl:FunctionalProperty , owl:DatatypeProperty , ep-core:Scale ;
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:label "grams per UK Gallon"^^xsd:string .
ep-core:gram_usGallon-1
rdf:type ep-core:Scale , owl:FunctionalProperty , owl:DatatypeProperty ;
rdf:type owl:DatatypeProperty , owl:FunctionalProperty , ep-core:Scale ;
rdfs:label "grams per US Gallon"^^xsd:string .
ep-core:hasSetOfAllPartsOfType
......@@ -113,108 +169,177 @@ ep-core:hasSetOfAllPartsOfType
rdfs:domain ep-core:PhysicalThing ;
rdfs:label "basis for"^^xsd:string .
ep-core:inch_64
ep-core:hectare
rdf:type ep-core:Scale , owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:label "hectares"^^xsd:string .
ep-core:in2
rdf:type ep-core:Scale , owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:label "square inches"^^xsd:string .
ep-core:inch_64
rdf:type owl:DatatypeProperty , owl:FunctionalProperty , ep-core:Scale ;
rdfs:domain ep-core:Length ;
rdfs:label "inch/64"^^xsd:string .
ep-core:kilogram_dm-3
rdf:type owl:FunctionalProperty , owl:DatatypeProperty , ep-core:Scale ;
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:label "kilogram dm-3"^^xsd:string .
ep-core:kilogram_l-1
rdf:type owl:FunctionalProperty , owl:DatatypeProperty , ep-core:Scale ;
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:label "kilogram per litre"^^xsd:string .
ep-core:kilogram_m-3
rdf:type owl:FunctionalProperty , owl:DatatypeProperty , ep-core:Scale ;
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:label "kilogram m-3"^^xsd:string .
ep-core:km2
rdf:type ep-core:Scale , owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:label "square kilometres"^^xsd:string .
ep-core:lbm_1000bbl-1
rdf:type owl:FunctionalProperty , owl:DatatypeProperty , ep-core:Scale ;
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:label "pounds (mass) per 1000 barrels"^^xsd:string .
ep-core:lbm_1000ukGallon-1
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:DatatypeProperty , ep-core:Scale ;
rdfs:label "pounds(mass) per 1000 UK Gallons"^^xsd:string .
ep-core:lbm_1000usGallon-1
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:DatatypeProperty , ep-core:Scale ;
rdfs:label "pounds(mass) per 1000 US Gallons"^^xsd:string .
ep-core:lbm_10bbl-1
rdf:type owl:FunctionalProperty , owl:DatatypeProperty , ep-core:Scale ;
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:label "pounds (mass) per 10 barrels"^^xsd:string .
ep-core:lbm_bbl-1
rdf:type owl:FunctionalProperty , owl:DatatypeProperty , ep-core:Scale ;
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:label "pounds (mass) per barrel"^^xsd:string .
ep-core:lbm_ft-3
rdf:type owl:FunctionalProperty , owl:DatatypeProperty , ep-core:Scale ;
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:label "pounds (mass) per cubic foot"^^xsd:string .
ep-core:lbm_in-3
rdf:type owl:FunctionalProperty , owl:DatatypeProperty , ep-core:Scale ;
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:label "pounds (mass) per cubic inch"^^xsd:string .
ep-core:lbm_millibarrel-1
rdf:type owl:FunctionalProperty , owl:DatatypeProperty , ep-core:Scale ;
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:label "pounds (mass) per milli-barrel"^^xsd:string .
ep-core:lbm_ukGallon-1
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:DatatypeProperty , ep-core:Scale ;
rdfs:label "pounds(mass) per UK Gallon"^^xsd:string .
ep-core:lbm_usGallon-1
rdf:type owl:FunctionalProperty , owl:DatatypeProperty , ep-core:Scale ;
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:label "pounds (mass) per US Gallon"^^xsd:string .
ep-core:m2
rdf:type ep-core:Scale , owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:label "square metres"^^xsd:string .
ep-core:megagram_m-3
rdf:type owl:FunctionalProperty , owl:DatatypeProperty , ep-core:Scale ;
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:label "Megagram m-3"^^xsd:string .
ep-core:metre3_hour-1
rdf:type owl:FunctionalProperty , owl:DatatypeProperty , ep-core:Scale ;
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:domain ep-core:VolumetricFlowRate ;
rdfs:label "metre3 hour-1"^^xsd:string .
ep-core:metre_s-2
rdf:type ep-core:Scale , owl:FunctionalProperty , owl:DatatypeProperty ;
rdf:type owl:DatatypeProperty , owl:FunctionalProperty , ep-core:Scale ;
rdfs:label "metres per second squared"^^xsd:string .
ep-core:mgn
rdf:type ep-core:Scale , owl:FunctionalProperty , owl:DatatypeProperty ;
rdf:type owl:DatatypeProperty , owl:FunctionalProperty , ep-core:Scale ;
rdfs:label "milliGn - normal acceleration"^^xsd:string .
ep-core:mi2
rdf:type ep-core:Scale , owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:label "square miles"^^xsd:string .
ep-core:microEuclid
rdf:type owl:FunctionalProperty , ep-core:Scale , owl:DatatypeProperty ;
rdfs:label "MicroEuclid"^^xsd:string .
ep-core:microgram_cm-3
rdf:type owl:FunctionalProperty , owl:DatatypeProperty , ep-core:Scale ;
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:label "microgram cm-3"^^xsd:string .
ep-core:milliEuclid
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:label "MilliEuclid"^^xsd:string .
ep-core:milligalileo
rdf:type ep-core:Scale , owl:FunctionalProperty , owl:DatatypeProperty ;
rdf:type owl:DatatypeProperty , owl:FunctionalProperty , ep-core:Scale ;
rdfs:label "milligalileo"^^xsd:string .
ep-core:milligram_dm-3
rdf:type owl:FunctionalProperty , owl:DatatypeProperty , ep-core:Scale ;
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:label "milligram dm-3"^^xsd:string .
ep-core:milligram_l-1
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdf:type owl:FunctionalProperty , owl:DatatypeProperty , ep-core:Scale ;
rdfs:label "milligrams per litre"^^xsd:string .
ep-core:milligram_m-3
rdf:type ep-core:Scale , owl:FunctionalProperty , owl:DatatypeProperty ;
rdf:type owl:DatatypeProperty , owl:FunctionalProperty , ep-core:Scale ;
rdfs:label "milligram m-3"^^xsd:string .
ep-core:milligram_usGallon-1
rdf:type owl:FunctionalProperty , owl:DatatypeProperty , ep-core:Scale ;
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:label "milligrams per US Gallon"^^xsd:string .
ep-core:ten_megagram_m-3
ep-core:mm2
rdf:type ep-core:Scale , owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:label "square millimetres"^^xsd:string .
ep-core:nanoEuclid
rdf:type owl:FunctionalProperty , ep-core:Scale , owl:DatatypeProperty ;
rdfs:label "NanoEuclid"^^xsd:string .
ep-core:radian_ft-1
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:label "radians per ft"^^xsd:string .
ep-core:radian_m-1
rdf:type owl:DatatypeProperty , owl:FunctionalProperty , ep-core:Scale ;
rdfs:label "radians per m"^^xsd:string .
ep-core:radian_s-1
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:label "radians per s"^^xsd:string .
ep-core:rev_min-1
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:label "revolutions per minute"^^xsd:string .
ep-core:rev_s-1
rdf:type ep-core:Scale , owl:DatatypeProperty , owl:FunctionalProperty ;
rdfs:label "revolutions per second"^^xsd:string .
ep-core:ten_megagram_m-3
rdf:type owl:FunctionalProperty , owl:DatatypeProperty , ep-core:Scale ;
rdfs:label "10 Megagram m-3"^^xsd:string .
ep-core:thousand_barrel
rdf:type owl:DatatypeProperty , owl:FunctionalProperty , ep-core:Scale ;
rdf:type ep-core:Scale , owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:label "thousand barrel"^^xsd:string .
ep-core:um2
rdf:type ep-core:Scale , owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:label "square micrometres"^^xsd:string .
ep-core:us_mi2
rdf:type ep-core:Scale , owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:comment "According to everything I can find, there is no difference between this an mi2"^^xsd:string ;
rdfs:label "square miles (US)"^^xsd:string .
ep-core:yd2
rdf:type ep-core:Scale , owl:FunctionalProperty , owl:DatatypeProperty ;
rdfs:label "square yards"^^xsd:string .
......
......@@ -19,7 +19,7 @@
<http://www.reportinghub.no/ep/dpr/spin/1.1/lib>
rdf:type owl:Ontology ;
owl:imports <http://www.witsml.org/schemas/131/addendum/combo> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://spinrdf.org/spin> ;
owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://www.witsml.org/schemas/131/addendum/combo> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
ep-dpr-spin-lib:BuildDailyProductionReportURI
......@@ -432,6 +432,246 @@ arg3 is end date"""^^xsd:string ;
])
] .
ep-dpr-spin-lib:selectAnglePerLengthScale
rdf:type spin:Function ;
rdfs:label "select angle per length 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#APLU_dega100ft>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#degreesOfAngle_100ft-1> ;
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#APLU_dega30ft>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#degreesOfAngle_30ft-1> ;
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#APLU_dega30m>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#degreesOfAngle_30m-1> ;
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#APLU_degaft>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#degreesOfAngle_ft-1> ;
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#APLU_degam>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#degreesOfAngle_m-1> ;
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#APLU_radft>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#radian_ft-1> ;
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#APLU_radm>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#radian_m-1> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
]
]
]
]
]
]
] ;
sp:variable
[ sp:varName "myVar"^^xsd:string
]
])
] .
ep-dpr-spin-lib:selectAngularFrequencyScale
rdf:type spin:Function ;
rdfs:label "select angular frequency 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#APTU_cs>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#undefinedScale> ;
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#APTU_degah>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#degreesOfAngle_hr-1> ;
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#APTU_degamin>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#degreesOfAngle_min-1> ;
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#APTU_degas>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#degreesOfAngle_s-1> ;
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#APTU_rads>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#radian_s-1> ;
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#APTU_revs>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#rev_s-1> ;
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#APTU_rpm>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#rev_min-1> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
]
]
]
]
]
]
] ;
sp:variable
[ sp:varName "myVar"^^xsd:string
]
])
] .
ep-dpr-spin-lib:selectAreaScale
rdf:type spin:Function ;
rdfs:label "select area 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#AU_acre>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#acre> ;
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#AU_b>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#barn> ;
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#AU_cm2>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#cm2> ;
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#AU_ft2>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#ft2> ;
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#AU_ha>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#hectare> ;
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#AU_in2>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#in2> ;
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#AU_km2>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#km2> ;
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#AU_m2>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#m2> ;
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#AU_mi2>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#mi2> ;
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#AU_miUS2>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#us_mi2> ;
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#AU_mm2>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#mm2> ;
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#AU_um2>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#um2> ;
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#AU_yd2>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#yd2> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
]
]
]
]
]
]
]
]
]
]
]
]
] ;
sp:variable
[ sp:varName "myVar"^^xsd:string
]
])
] .
ep-dpr-spin-lib:selectDensityScale
rdf:type spin:Function ;
rdfs:label "select density scale"^^xsd:string ;
......@@ -649,6 +889,65 @@ ep-dpr-spin-lib:selectDensityScale
])
] .
ep-dpr-spin-lib:selectDimensionlessScale
rdf:type spin:Function ;
rdfs:label "select area 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#DU_>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#undefinedScale> ;
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#DU_cEuc>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#centiEuclid> ;
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#DU_Euc>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#euclid> ;
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#DU_mEuc>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#milliEuclid> ;
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#DU_nEuc>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#nanoEuclid> ;
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#DU_uEuc>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#microEuclid> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
]
]
]
]
]
] ;
sp:variable
[ sp:varName "myVar"^^xsd:string
]
])
] .
ep-dpr-spin-lib:selectDurationScale
rdf:type spin:Function ;
rdfs:label "select Duration scale"^^xsd:string ;
......