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 Price
2012-05-31 14:13:06 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
93b58e5c6fc1ea12c6657dd6ff49aeda6bcc8b43
93b58e5c
1 parent
20e041e7
Removed selectMap predicate gen rule from sp:if in two files.
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
87 deletions
www.reportinghub.no/ep/spin/SPIN_EPIM-DPR-lib-v1.1.spin.ttl
www.reportinghub.no/ep/spin/SPIN_EPIM-MPR-lib-v1.1.spin.ttl
www.reportinghub.no/ep/spin/SPIN_EPIM-DPR-lib-v1.1.spin.ttl
View file @
93b58e5
...
...
@@ -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
.
_:
b
17
sp:
varName
"
productionFlowDirectionRelationshipType"
^^
xsd:
string
.
_:
b
21
sp:
varName
"
specificVolumeScale"
^^
xsd:
string
.
_:
b
18
sp:
varName
"
productionFlowDirectionRelationshipType"
^^
xsd:
string
.
_:
b
20
sp:
varName
"
safetyActivityType"
^^
xsd:
string
.
_:
b19
sp:
varName
"productionFlowPurposeType"
^^
xsd:
string
.
_:
b
20
sp:
varName
"
safetyActivityType"
^^
xsd:
string
.
_:
b
18
sp:
varName
"
productionFlowDirectionRelationshipType"
^^
xsd:
string
.
_:
b
21
sp:
varName
"
specificVolumeScale"
^^
xsd:
string
.
_:
b
17
sp:
varName
"
productionFlowDirectionRelationshipType"
^^
xsd:
string
.
_:
b22
sp:
varName
"volumeFlowRateAtStdType"
^^
xsd:
string
.
_:
b16
sp:
varName
"productionFlowDefinitionType"
^^
xsd:
string
.
_:
b15
sp:
varName
"productionFacilityType"
^^
xsd:
string
.
...
...
www.reportinghub.no/ep/spin/SPIN_EPIM-MPR-lib-v1.1.spin.ttl
View file @
93b58e5
...
...
@@ -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
...
...
Please
register
or
login
to post a comment