David Price

Removed selectMap predicate gen rule from sp:if in two files.

......@@ -17,36 +17,9 @@
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
sp:if
spin:rule
[ rdf:type sp:Construct ;
sp:templates ([ sp:object
[ sp:varName "source"^^xsd:string
] ;
sp:predicate ep-dpr-spin-lib:selectMap ;
sp:subject
[ sp:varName "target"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_arg1 ;
sp:predicate sp:arg1 ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "source"^^xsd:string
] ;
sp:predicate sp:arg2 ;
sp:subject spin:_arg1
] [ sp:object
[ sp:varName "target"^^xsd:string
] ;
sp:predicate sp:arg2 ;
sp:subject spin:_this
])
] .
<http://www.reportinghub.no/ep/dpr/spin/1.1/lib>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/spin/1.1/lib> , <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> , <http://www.reportinghub.no/ep/spin/1.1/lib> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
ep-dpr-spin-lib:Function
......@@ -5793,6 +5766,22 @@ ep-dpr-spin-lib:selectSpecificVolumeScale_MASS_CONCENTRATION
rdfs:subClassOf ep-dpr-spin-lib:Function ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b21) ;
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#VPVU_m3m3>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#fractionByVolume> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
] ;
sp:variable _:b21
])
] ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables ([ sp:varName "myVar"^^xsd:string
]) ;
sp:where ([ rdf:type sp:Bind ;
......@@ -5872,22 +5861,6 @@ ep-dpr-spin-lib:selectSpecificVolumeScale_MASS_CONCENTRATION
[ sp:varName "myVar"^^xsd:string
]
])
] ;
spin:body
[ rdf:type sp:Select ;
sp:resultVariables (_:b21) ;
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#VPVU_m3m3>
] ;
sp:arg2 <http://www.reportinghub.no/ep/schema/core#fractionByVolume> ;
sp:arg3 <http://www.reportinghub.no/ep/schema/core#undefinedScale>
] ;
sp:variable _:b21
])
] .
ep-dpr-spin-lib:selectTemperatureScale
......@@ -7455,26 +7428,26 @@ _:b13
_:b14
sp:varName "densityScale"^^xsd:string .
_:b15
sp:varName "productionFacilityType"^^xsd:string .
_:b16
sp:varName "productionFlowDefinitionType"^^xsd:string .
_:b22
sp:varName "volumeFlowRateAtStdType"^^xsd:string .
_:b17
sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
_:b21
sp:varName "specificVolumeScale"^^xsd:string .
_:b18
sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
_:b20
sp:varName "safetyActivityType"^^xsd:string .
_:b19
sp:varName "productionFlowPurposeType"^^xsd:string .
_:b20
sp:varName "safetyActivityType"^^xsd:string .
_:b18
sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
_:b21
sp:varName "specificVolumeScale"^^xsd:string .
_:b17
sp:varName "productionFlowDirectionRelationshipType"^^xsd:string .
_:b22
sp:varName "volumeFlowRateAtStdType"^^xsd:string .
_:b16
sp:varName "productionFlowDefinitionType"^^xsd:string .
_:b15
sp:varName "productionFacilityType"^^xsd:string .
......
......@@ -18,36 +18,9 @@
@prefix spl: <http://spinrdf.org/spl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
sp:if
spin:rule
[ rdf:type sp:Construct ;
sp:templates ([ sp:object
[ sp:varName "source"^^xsd:string
] ;
sp:predicate ep-mpr-spin-lib:selectMap ;
sp:subject
[ sp:varName "target"^^xsd:string
]
]) ;
sp:where ([ sp:object spin:_arg1 ;
sp:predicate sp:arg1 ;
sp:subject spin:_this
] [ sp:object
[ sp:varName "source"^^xsd:string
] ;
sp:predicate sp:arg2 ;
sp:subject spin:_arg1
] [ sp:object
[ sp:varName "target"^^xsd:string
] ;
sp:predicate sp:arg2 ;
sp:subject spin:_this
])
] .
<http://www.reportinghub.no/ep/mpr/spin/1.1/lib>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/production> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <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://spinrdf.org/spin> ;
owl:imports <http://spinrdf.org/spin> , <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/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/production> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
ep-mpr-spin-lib:Function
......