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
Ralph Hodgson
2011-08-10 23:26:13 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1d7528a63e43c130f23c4e99233c69c2d442a587
1d7528a6
1 parent
b3fcfe44
sxml:tag change
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
350 additions
and
345 deletions
www.reportinghub.no/ep/transform/TRANSFORM_ddr-v1.1.1.ttl
www.reportinghub.no/ep/transform/TRANSFORM_ddr-v1.1.1.ttl.tbc
www.reportinghub.no/ep/transform/TRANSFORM_ddr-v1.1.1.ttl
View file @
1d7528a
# Saved by TopBraid on Wed Aug 10
18:50:05
PDT 2011
# Saved by TopBraid on Wed Aug 10
23:13:44
PDT 2011
# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr
# imports: http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias
# imports: http://www.reportinghub.no/ep/schema/1.0/report
...
...
@@ -26,15 +26,6 @@
@prefix
wellAndWellBoreAlias:
<http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias#>
.
@prefix
xsd:
<http://www.w3.org/2001/XMLSchema#>
.
NPD_1104121247071:
r-0-7
sxml:
element
"witsml:wellAlias"
^^
xsd:
string
.
NPD_1104121247071:
r-0-8
sxml:
element
"witsml:wellboreAlias"
^^
xsd:
string
.
NPD_1104121247071:
r-0-9
sxml:
element
"witsml:wellboreAlias"
^^
xsd:
string
.
ddr:
Cs_activity
spin:
rule
[
rdf:
type
sp:
Construct
;
...
...
@@ -48,7 +39,7 @@ ddr:Cs_activity
sxml:
element
"witsml:activity"
^^
xsd:
string
.
ddr:
Cs_alias
sxml:
element
"witsml:
rigAlias"
^^
xsd:
string
,
"witsml:alias"
.
sxml:
element
"witsml:
alias"
,
"witsml:rigAlias"
^^
xsd:
string
.
ddr:
Cs_bitRecord
sxml:
element
"witsml:bitRecord"
.
...
...
@@ -96,7 +87,7 @@ ddr:Cs_drillReportPorePressure
sxml:
element
"witsml:drillReportPorePressure"
.
ddr:
Cs_drillReportStatusInfo
sxml:
element
"witsml:
statusInfo"
^^
xsd:
string
,
"witsml:drillReportStatusInfo"
.
sxml:
element
"witsml:
drillReportStatusInfo"
,
"witsml:statusInfo"
^^
xsd:
string
.
ddr:
Cs_drillReportStratInfo
sxml:
element
"witsml:drillReportStratInfo"
.
...
...
@@ -132,7 +123,7 @@ ddr:Cs_refWellWellboreRig
sxml:
element
"witsml:refWellWellboreRig"
.
ddr:
Cs_wellAlias
sxml:
element
"witsml:well
boreAlias"
^^
xsd:
string
,
"witsml:well
Alias"
^^
xsd:
string
.
sxml:
element
"witsml:well
Alias"
^^
xsd:
string
,
"witsml:wellbore
Alias"
^^
xsd:
string
.
ddr:
Cs_wellCRS
sxml:
element
"witsml:wellCRS"
.
...
...
@@ -149,7 +140,7 @@ ddr:Obj_drillReport
ddr:
Thing
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 018 - Construct all other object properties
- WIP
"
^^
xsd:
string
;
rdfs:
comment
"STEP 018 - Construct all other object properties"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b1
;
sp:
predicate
_:
b2
;
sp:
subject
spin:
_this
...
...
@@ -187,8 +178,15 @@ ddr:Thing
]
[
sp:
object
_:
b1
;
sp:
predicate
<http://www.topbraid.org/2007/05/composite.owl#child>
;
sp:
subject
spin:
_this
]
[
rdf:
type
sp:
NotExists
;
sp:
elements
([
sp:
object
[
sp:
varName
"aNode"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#basisFor>
;
sp:
subject
_:
b1
])
]
[
sp:
object
_:
b7
;
sp:
predicate
sxml:
instanceElement
;
sp:
predicate
sxml:
tag
;
sp:
subject
_:
b1
]
[
rdf:
type
sp:
Bind
;
sp:
expression
...
...
@@ -219,175 +217,232 @@ ddr:Thing
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 00
4 - Construct UOM
values"
^^
xsd:
string
;
rdfs:
comment
"STEP 00
2 - Construct datatype datetime
values"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b10
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b11
]
[
sp:
object
_:
b12
;
sp:
predicate
ddr:
uom
;
sp:
subject
_:
b11
]
[
sp:
object
_:
b13
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
_:
b11
]
[
sp:
object
_:
b11
;
sp:
predicate
_:
b14
;
sp:
predicate
_:
b11
;
sp:
subject
spin:
_this
]
[
sp:
object
rdf:
Statement
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b1
5
sp:
subject
_:
b1
2
]
[
sp:
object
spin:
_this
;
sp:
predicate
rdf:
subject
;
sp:
subject
_:
b1
5
]
[
sp:
object
_:
b1
4
;
sp:
subject
_:
b1
2
]
[
sp:
object
_:
b1
1
;
sp:
predicate
rdf:
predicate
;
sp:
subject
_:
b1
5
]
[
sp:
object
_:
b1
3
;
sp:
subject
_:
b1
2
]
[
sp:
object
_:
b1
0
;
sp:
predicate
rdf:
object
;
sp:
subject
_:
b1
5
]
[
sp:
object
_:
b1
5
;
sp:
subject
_:
b1
2
]
[
sp:
object
_:
b1
2
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#basisFor>
;
sp:
subject
_:
b1
6
sp:
subject
_:
b1
3
])
;
sp:
where
([
sp:
object
_:
b1
6
;
sp:
where
([
sp:
object
_:
b1
3
;
sp:
predicate
<http://www.topbraid.org/2007/05/composite.owl#child>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b1
7
;
]
[
sp:
object
_:
b1
4
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b16
]
[
sp:
object
_:
b12
;
sp:
predicate
ddr:
uom
;
sp:
subject
_:
b16
sp:
subject
_:
b13
]
[
rdf:
type
sp:
NotExists
;
sp:
elements
([
sp:
object
[
sp:
varName
"
aNode
"
^^
xsd:
string
[
sp:
varName
"
uom
"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#basisFor>
;
sp:
subject
_:
b1
6
sp:
predicate
ddr:
uom
;
sp:
subject
_:
b1
3
])
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
afn:
localname
;
sp:
arg1
_:
b1
7
sp:
arg1
_:
b1
4
]
;
sp:
variable
_:
b1
8
sp:
variable
_:
b1
5
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
smf:
buildURI
;
sp:
arg1
[
rdf:
type
fn:
concat
;
sp:
arg1
"http://www.reportinghub.no/ep/schema/ddr#"
;
sp:
arg2
_:
b1
8
sp:
arg2
_:
b1
5
]
]
;
sp:
variable
_:
b1
4
]
[
sp:
object
owl:
Object
Property
;
sp:
variable
_:
b1
1
]
[
sp:
object
owl:
Datatype
Property
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b1
4
]
[
sp:
object
_:
b1
4
;
sp:
subject
_:
b1
1
]
[
sp:
object
_:
b1
1
;
sp:
predicate
owl:
onProperty
;
sp:
subject
_:
b1
9
]
[
sp:
object
_:
b1
0
;
sp:
subject
_:
b1
6
]
[
sp:
object
_:
b1
7
;
sp:
predicate
owl:
allValuesFrom
;
sp:
subject
_:
b19
sp:
subject
_:
b16
]
[
rdf:
type
sp:
TriplePath
;
sp:
object
xsd:
dateTime
;
sp:
path
[
rdf:
type
sp:
ModPath
;
sp:
modMax
-2
;
sp:
modMin
0
;
sp:
subPath
rdfs:
subClassOf
]
;
sp:
subject
_:
b17
]
[
sp:
object
_:
b18
;
sp:
predicate
<http://www.topbraid.org/2007/05/composite.owl#child>
;
sp:
subject
_:
b13
]
[
sp:
object
sxml:
TextNode
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b18
]
[
sp:
object
_:
b19
;
sp:
predicate
sxml:
text
;
sp:
subject
_:
b18
]
[
sp:
object
_:
b20
;
sp:
predicate
rdf:
type
;
sp:
subject
spin:
_this
]
[
rdf:
type
sp:
TriplePath
;
sp:
object
_:
b1
9
;
sp:
object
_:
b1
6
;
sp:
path
[
rdf:
type
sp:
ModPath
;
sp:
modMax
-2
;
sp:
modMin
0
;
sp:
subPath
rdfs:
subClassOf
]
;
sp:
subject
_:
b20
]
[
sp:
object
_:
b21
;
sp:
predicate
<http://www.topbraid.org/2007/05/composite.owl#child>
;
sp:
subject
_:
b16
]
[
sp:
object
sxml:
TextNode
;
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
xsd:
dateTime
;
sp:
arg1
_:
b19
]
;
sp:
variable
_:
b10
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 020 - Construct all other object properties - WIP"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b21
;
sp:
predicate
_:
b22
;
sp:
subject
spin:
_this
]
[
sp:
object
rdf:
Statement
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b23
]
[
sp:
object
spin:
_this
;
sp:
predicate
rdf:
subject
;
sp:
subject
_:
b23
]
[
sp:
object
_:
b22
;
sp:
predicate
rdf:
predicate
;
sp:
subject
_:
b23
]
[
sp:
object
_:
b21
;
sp:
predicate
rdf:
object
;
sp:
subject
_:
b23
]
[
sp:
object
_:
b23
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#basisFor>
;
sp:
subject
_:
b21
])
;
sp:
where
([
sp:
object
_:
b24
;
sp:
predicate
owl:
allValuesFrom
;
sp:
subject
_:
b25
]
[
sp:
object
_:
b22
;
sp:
predicate
sxml:
text
;
sp:
predicate
owl:
onProperty
;
sp:
subject
_:
b25
]
[
sp:
object
_:
b24
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b21
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
xsd:
double
;
sp:
arg1
_:
b22
]
[
sp:
object
_:
b21
;
sp:
predicate
<http://www.topbraid.org/2007/05/composite.owl#child>
;
sp:
subject
spin:
_this
]
[
rdf:
type
sp:
NotExists
;
sp:
elements
([
sp:
object
[
sp:
varName
"aNode"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#basisFor>
;
sp:
subject
_:
b21
])
]
[
rdf:
type
sp:
NotExists
;
sp:
elements
([
sp:
object
[
sp:
varName
"xmlTag"
^^
xsd:
string
]
;
sp:
predicate
sxml:
tag
;
sp:
subject
_:
b21
])
]
[
sp:
object
_:
b26
;
sp:
predicate
rdf:
type
;
sp:
subject
spin:
_this
]
[
rdf:
type
sp:
TriplePath
;
sp:
object
_:
b25
;
sp:
path
[
rdf:
type
sp:
ModPath
;
sp:
modMax
-2
;
sp:
modMin
0
;
sp:
subPath
rdfs:
subClassOf
]
;
sp:
variable
_:
b13
sp:
subject
_:
b26
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 006 - Construct Enumerated Values"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b2
3
;
sp:
predicate
_:
b2
4
;
sp:
templates
([
sp:
object
_:
b2
7
;
sp:
predicate
_:
b2
8
;
sp:
subject
spin:
_this
]
[
sp:
object
rdf:
Statement
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b2
5
sp:
subject
_:
b2
9
]
[
sp:
object
spin:
_this
;
sp:
predicate
rdf:
subject
;
sp:
subject
_:
b2
5
]
[
sp:
object
_:
b2
4
;
sp:
subject
_:
b2
9
]
[
sp:
object
_:
b2
8
;
sp:
predicate
rdf:
predicate
;
sp:
subject
_:
b2
5
]
[
sp:
object
_:
b2
3
;
sp:
subject
_:
b2
9
]
[
sp:
object
_:
b2
7
;
sp:
predicate
rdf:
object
;
sp:
subject
_:
b2
5
]
[
sp:
object
_:
b2
5
;
sp:
subject
_:
b2
9
]
[
sp:
object
_:
b2
9
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#basisFor>
;
sp:
subject
_:
b
26
sp:
subject
_:
b
30
])
;
sp:
where
([
sp:
object
_:
b
26
;
sp:
where
([
sp:
object
_:
b
30
;
sp:
predicate
<http://www.topbraid.org/2007/05/composite.owl#child>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b
27
;
]
[
sp:
object
_:
b
31
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b
26
sp:
subject
_:
b
30
]
[
rdf:
type
sp:
NotExists
;
sp:
elements
([
sp:
object
[
sp:
varName
"uom"
^^
xsd:
string
]
;
sp:
predicate
ddr:
uom
;
sp:
subject
_:
b
26
sp:
subject
_:
b
30
])
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
smf:
titleCase
;
sp:
arg1
[
rdf:
type
afn:
localname
;
sp:
arg1
_:
b
27
sp:
arg1
_:
b
31
]
]
;
sp:
variable
_:
b
28
sp:
variable
_:
b
32
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
smf:
buildURI
;
sp:
arg1
[
rdf:
type
fn:
concat
;
sp:
arg1
"http://www.reportinghub.no/ep/schema/ddr#enum"
;
sp:
arg2
_:
b
28
sp:
arg2
_:
b
32
]
]
;
sp:
variable
_:
b2
4
sp:
variable
_:
b2
8
]
[
sp:
object
owl:
ObjectProperty
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b2
4
]
[
sp:
object
_:
b2
4
;
sp:
subject
_:
b2
8
]
[
sp:
object
_:
b2
8
;
sp:
predicate
owl:
onProperty
;
sp:
subject
_:
b
29
]
[
sp:
object
_:
b3
0
;
sp:
subject
_:
b
33
]
[
sp:
object
_:
b3
4
;
sp:
predicate
owl:
allValuesFrom
;
sp:
subject
_:
b
29
]
[
sp:
object
_:
b3
1
;
sp:
subject
_:
b
33
]
[
sp:
object
_:
b3
5
;
sp:
predicate
rdf:
type
;
sp:
subject
spin:
_this
]
[
rdf:
type
sp:
TriplePath
;
sp:
object
_:
b
29
;
sp:
object
_:
b
33
;
sp:
path
[
rdf:
type
sp:
ModPath
;
sp:
modMax
-2
;
sp:
modMin
0
;
sp:
subPath
rdfs:
subClassOf
]
;
sp:
subject
_:
b3
1
sp:
subject
_:
b3
5
]
[
rdf:
type
sp:
TriplePath
;
sp:
object
<http://www.linkedmodel.org/schema/dtype#EnumeratedValue>
;
sp:
path
[
rdf:
type
sp:
ModPath
;
...
...
@@ -395,171 +450,121 @@ ddr:Thing
sp:
modMin
0
;
sp:
subPath
rdfs:
subClassOf
]
;
sp:
subject
_:
b3
0
]
[
sp:
object
_:
b3
2
;
sp:
subject
_:
b3
4
]
[
sp:
object
_:
b3
6
;
sp:
predicate
<http://www.topbraid.org/2007/05/composite.owl#child>
;
sp:
subject
_:
b
26
sp:
subject
_:
b
30
]
[
sp:
object
sxml:
TextNode
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b3
2
]
[
sp:
object
_:
b3
3
;
sp:
subject
_:
b3
6
]
[
sp:
object
_:
b3
7
;
sp:
predicate
sxml:
text
;
sp:
subject
_:
b3
2
]
[
sp:
object
_:
b3
0
;
sp:
subject
_:
b3
6
]
[
sp:
object
_:
b3
4
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b2
3
]
[
sp:
object
_:
b3
3
;
sp:
subject
_:
b2
7
]
[
sp:
object
_:
b3
7
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
_:
b2
3
sp:
subject
_:
b2
7
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 020 - Construct all other object properties - WIP"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b34
;
sp:
predicate
_:
b35
;
sp:
subject
spin:
_this
]
[
sp:
object
rdf:
Statement
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b36
]
[
sp:
object
spin:
_this
;
sp:
predicate
rdf:
subject
;
sp:
subject
_:
b36
]
[
sp:
object
_:
b35
;
sp:
predicate
rdf:
predicate
;
sp:
subject
_:
b36
]
[
sp:
object
_:
b34
;
sp:
predicate
rdf:
object
;
sp:
subject
_:
b36
]
[
sp:
object
_:
b36
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#basisFor>
;
sp:
subject
_:
b34
])
;
sp:
where
([
sp:
object
_:
b37
;
sp:
predicate
owl:
allValuesFrom
;
sp:
subject
_:
b38
]
[
sp:
object
_:
b35
;
sp:
predicate
owl:
onProperty
;
sp:
subject
_:
b38
]
[
sp:
object
_:
b37
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b34
]
[
sp:
object
_:
b34
;
sp:
predicate
<http://www.topbraid.org/2007/05/composite.owl#child>
;
sp:
subject
spin:
_this
]
[
rdf:
type
sp:
NotExists
;
sp:
elements
([
sp:
object
[
sp:
varName
"xmlTag"
^^
xsd:
string
]
;
sp:
predicate
sxml:
instanceElement
;
sp:
subject
_:
b34
])
]
[
sp:
object
_:
b39
;
rdfs:
comment
"STEP 004 - Construct UOM values"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b38
;
sp:
predicate
rdf:
type
;
sp:
subject
spin:
_this
]
[
rdf:
type
sp:
TriplePath
;
sp:
object
_:
b38
;
sp:
path
[
rdf:
type
sp:
ModPath
;
sp:
modMax
-2
;
sp:
modMin
0
;
sp:
subPath
rdfs:
subClassOf
]
;
sp:
subject
_:
b39
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"STEP 002 - Construct datatype datetime values"
^^
xsd:
string
;
sp:
templates
([
sp:
object
_:
b40
;
sp:
predicate
_:
b41
;
]
[
sp:
object
_:
b40
;
sp:
predicate
ddr:
uom
;
sp:
subject
_:
b39
]
[
sp:
object
_:
b41
;
sp:
predicate
<http://www.linkedmodel.org/schema/dtype#value>
;
sp:
subject
_:
b39
]
[
sp:
object
_:
b39
;
sp:
predicate
_:
b42
;
sp:
subject
spin:
_this
]
[
sp:
object
rdf:
Statement
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b4
2
sp:
subject
_:
b4
3
]
[
sp:
object
spin:
_this
;
sp:
predicate
rdf:
subject
;
sp:
subject
_:
b4
2
]
[
sp:
object
_:
b4
1
;
sp:
subject
_:
b4
3
]
[
sp:
object
_:
b4
2
;
sp:
predicate
rdf:
predicate
;
sp:
subject
_:
b4
2
]
[
sp:
object
_:
b4
0
;
sp:
subject
_:
b4
3
]
[
sp:
object
_:
b4
1
;
sp:
predicate
rdf:
object
;
sp:
subject
_:
b42
]
[
sp:
object
_:
b42
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#basisFor>
;
sp:
subject
_:
b43
]
[
sp:
object
_:
b43
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#basisFor>
;
sp:
subject
_:
b44
])
;
sp:
where
([
sp:
object
_:
b4
3
;
sp:
where
([
sp:
object
_:
b4
4
;
sp:
predicate
<http://www.topbraid.org/2007/05/composite.owl#child>
;
sp:
subject
spin:
_this
]
[
sp:
object
_:
b4
4
;
]
[
sp:
object
_:
b4
5
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b43
sp:
subject
_:
b44
]
[
sp:
object
_:
b40
;
sp:
predicate
ddr:
uom
;
sp:
subject
_:
b44
]
[
rdf:
type
sp:
NotExists
;
sp:
elements
([
sp:
object
[
sp:
varName
"
uom
"
^^
xsd:
string
[
sp:
varName
"
aNode
"
^^
xsd:
string
]
;
sp:
predicate
ddr:
uom
;
sp:
subject
_:
b4
3
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#basisFor>
;
sp:
subject
_:
b4
4
])
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
afn:
localname
;
sp:
arg1
_:
b4
4
sp:
arg1
_:
b4
5
]
;
sp:
variable
_:
b4
5
sp:
variable
_:
b4
6
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
smf:
buildURI
;
sp:
arg1
[
rdf:
type
fn:
concat
;
sp:
arg1
"http://www.reportinghub.no/ep/schema/ddr#"
;
sp:
arg2
_:
b4
5
sp:
arg2
_:
b4
6
]
]
;
sp:
variable
_:
b4
1
]
[
sp:
object
owl:
Datatype
Property
;
sp:
variable
_:
b4
2
]
[
sp:
object
owl:
Object
Property
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b4
1
]
[
sp:
object
_:
b4
1
;
sp:
subject
_:
b4
2
]
[
sp:
object
_:
b4
2
;
sp:
predicate
owl:
onProperty
;
sp:
subject
_:
b4
6
]
[
sp:
object
_:
b
47
;
sp:
subject
_:
b4
7
]
[
sp:
object
_:
b
38
;
sp:
predicate
owl:
allValuesFrom
;
sp:
subject
_:
b46
]
[
rdf:
type
sp:
TriplePath
;
sp:
object
xsd:
dateTime
;
sp:
path
[
rdf:
type
sp:
ModPath
;
sp:
modMax
-2
;
sp:
modMin
0
;
sp:
subPath
rdfs:
subClassOf
]
;
sp:
subject
_:
b47
]
[
sp:
object
_:
b48
;
sp:
predicate
<http://www.topbraid.org/2007/05/composite.owl#child>
;
sp:
subject
_:
b43
]
[
sp:
object
sxml:
TextNode
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b48
]
[
sp:
object
_:
b49
;
sp:
predicate
sxml:
text
;
sp:
subject
_:
b48
]
[
sp:
object
_:
b50
;
sp:
predicate
rdf:
type
;
sp:
subject
spin:
_this
]
[
rdf:
type
sp:
TriplePath
;
sp:
object
_:
b4
6
;
sp:
object
_:
b4
7
;
sp:
path
[
rdf:
type
sp:
ModPath
;
sp:
modMax
-2
;
sp:
modMin
0
;
sp:
subPath
rdfs:
subClassOf
]
;
sp:
subject
_:
b50
sp:
subject
_:
b48
]
[
sp:
object
_:
b49
;
sp:
predicate
<http://www.topbraid.org/2007/05/composite.owl#child>
;
sp:
subject
_:
b44
]
[
sp:
object
sxml:
TextNode
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b49
]
[
sp:
object
_:
b50
;
sp:
predicate
sxml:
text
;
sp:
subject
_:
b49
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
xsd:
d
ateTim
e
;
sp:
arg1
_:
b
49
[
rdf:
type
xsd:
d
oubl
e
;
sp:
arg1
_:
b
50
]
;
sp:
variable
_:
b4
0
sp:
variable
_:
b4
1
])
]
;
spin:
rule
...
...
@@ -671,107 +676,107 @@ ddr:version
owl:
Thing
spin:
query
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b61
_:
b62
_:
b63
_:
b64
)
;
sp:
where
([
sp:
object
[
sp:
varName
"p"
^^
xsd:
string
]
;
sp:
predicate
<http://www.topbraid.org/2007/05/composite.owl#child>
;
sp:
subject
_:
b61
]
[
rdf:
type
sp:
NotExists
;
sp:
elements
([
sp:
object
[
sp:
varName
"b"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#basisFor>
;
sp:
subject
_:
b61
])
])
]
;
spin:
query
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b62
_:
b63
_:
b64
_:
b65
)
;
sp:
where
([
sp:
object
_:
b65
;
sp:
predicate
<http://www.w3.org/ns/sawsdl#modelReference>
;
sp:
subject
_:
b64
]
[
sp:
object
_:
b64
;
sp:
predicate
<http://www.topbraid.org/2007/05/composite.owl#child>
;
sp:
subject
_:
b63
]
[
rdf:
type
sp:
Union
;
sp:
elements
(([
sp:
object
<http://topbraid.org/sxsd#Sequence>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b63
])
([
sp:
object
<http://topbraid.org/sxsd#Choice>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b63
]))
]
[
sp:
object
_:
b63
;
sp:
predicate
<http://www.topbraid.org/2007/05/composite.owl#child>
;
sp:
subject
_:
b62
])
]
;
spin:
query
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b66
_:
b67
_:
b68
_:
b69
)
;
sp:
where
([
sp:
object
<http://topbraid.org/sxsd#ComplexType>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b
65
sp:
subject
_:
b
70
]
[
rdf:
type
sp:
TriplePath
;
sp:
object
_:
b
66
;
sp:
object
_:
b
71
;
sp:
path
[
rdf:
type
sp:
ModPath
;
sp:
modMax
-2
;
sp:
modMin
0
;
sp:
subPath
<http://www.topbraid.org/2007/05/composite.owl#child>
]
;
sp:
subject
_:
b
65
]
[
sp:
object
_:
b
67
;
sp:
subject
_:
b
70
]
[
sp:
object
_:
b
72
;
sp:
predicate
<http://topbraid.org/sxsd#name>
;
sp:
subject
_:
b
65
]
[
sp:
object
_:
b6
4
;
sp:
subject
_:
b
70
]
[
sp:
object
_:
b6
9
;
sp:
predicate
<http://www.w3.org/ns/sawsdl#modelReference>
;
sp:
subject
_:
b
66
]
[
sp:
object
_:
b
68
;
sp:
subject
_:
b
71
]
[
sp:
object
_:
b
73
;
sp:
predicate
<http://topbraid.org/sxsd#name>
;
sp:
subject
_:
b
66
sp:
subject
_:
b
71
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
spif:
titleCase
;
sp:
arg1
_:
b
68
sp:
arg1
_:
b
73
]
;
sp:
variable
_:
b
69
sp:
variable
_:
b
74
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
smf:
buildURI
;
sp:
arg1
[
rdf:
type
fn:
concat
;
sp:
arg1
"http://www.reportinghub.no/ep/schema/ddr#has"
;
sp:
arg2
_:
b
69
sp:
arg2
_:
b
74
]
]
;
sp:
variable
_:
b6
3
sp:
variable
_:
b6
8
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
spif:
titleCase
;
sp:
arg1
_:
b
67
;
sp:
arg1
_:
b
72
;
sp:
arg2
"[a-z]s"
]
;
sp:
variable
_:
b7
0
sp:
variable
_:
b7
5
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
smf:
buildURI
;
sp:
arg1
[
rdf:
type
fn:
concat
;
sp:
arg1
"http://www.reportinghub.no/ep/schema/ddr#"
;
sp:
arg2
_:
b7
0
sp:
arg2
_:
b7
5
]
]
;
sp:
variable
_:
b6
2
sp:
variable
_:
b6
7
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
smf:
buildURI
;
sp:
arg1
[
rdf:
type
fn:
concat
;
sp:
arg1
"http://www.reportinghub.no/map/ddr#"
;
sp:
arg2
_:
b7
0
;
sp:
arg2
_:
b7
5
;
sp:
arg3
"-has"
;
sp:
arg4
_:
b
69
sp:
arg4
_:
b
74
]
]
;
sp:
variable
_:
b61
])
]
;
spin:
query
[
rdf:
type
sp:
Select
;
sp:
resultVariables
(
_:
b71
_:
b72
_:
b73
_:
b74
)
;
sp:
where
([
sp:
object
_:
b74
;
sp:
predicate
<http://www.w3.org/ns/sawsdl#modelReference>
;
sp:
subject
_:
b73
]
[
sp:
object
_:
b73
;
sp:
predicate
<http://www.topbraid.org/2007/05/composite.owl#child>
;
sp:
subject
_:
b72
]
[
rdf:
type
sp:
Union
;
sp:
elements
(([
sp:
object
<http://topbraid.org/sxsd#Sequence>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b72
])
([
sp:
object
<http://topbraid.org/sxsd#Choice>
;
sp:
predicate
rdf:
type
;
sp:
subject
_:
b72
]))
]
[
sp:
object
_:
b72
;
sp:
predicate
<http://www.topbraid.org/2007/05/composite.owl#child>
;
sp:
subject
_:
b71
])
]
;
spin:
query
[
rdf:
type
sp:
Select
;
sp:
where
([
sp:
object
[
sp:
varName
"p"
^^
xsd:
string
]
;
sp:
predicate
<http://www.topbraid.org/2007/05/composite.owl#child>
;
sp:
subject
_:
b75
]
[
rdf:
type
sp:
NotExists
;
sp:
elements
([
sp:
object
[
sp:
varName
"b"
^^
xsd:
string
]
;
sp:
predicate
<http://www.reportinghub.no/ep/schema/core#basisFor>
;
sp:
subject
_:
b75
])
sp:
variable
_:
b66
])
]
;
spin:
update
...
...
@@ -811,171 +816,171 @@ owl:Thing
])
]
.
_:
b51
sp:
varName
"text"
^^
xsd:
string
.
_:
b52
sp:
varName
"dtpnameU"
^^
xsd:
string
.
_:
b54
sp:
varName
"child"
^^
xsd:
string
.
_:
b55
sp:
varName
"childType"
^^
xsd:
string
.
_:
b56
sp:
varName
"childLocalName"
^^
xsd:
string
.
_:
b57
sp:
varName
"valuesRestriction"
^^
xsd:
string
.
_:
b58
sp:
varName
"rangeType"
^^
xsd:
string
.
_:
b59
sp:
varName
"textNode"
^^
xsd:
string
.
_:
b60
sp:
varName
"instType"
^^
xsd:
string
.
_:
b38
sp:
varName
"rangeU"
^^
xsd:
string
.
_:
b40
sp:
varName
"
dateTime
"
^^
xsd:
string
.
sp:
varName
"
uom
"
^^
xsd:
string
.
_:
b41
sp:
varName
"
dtpnameU
"
^^
xsd:
string
.
sp:
varName
"
value
"
^^
xsd:
string
.
_:
b4
3
sp:
varName
"
child
"
^^
xsd:
string
.
_:
b4
2
sp:
varName
"
opnameU
"
^^
xsd:
string
.
_:
b44
sp:
varName
"child
Type
"
^^
xsd:
string
.
sp:
varName
"child"
^^
xsd:
string
.
_:
b45
sp:
varName
"child
LocalNam
e"
^^
xsd:
string
.
sp:
varName
"child
Typ
e"
^^
xsd:
string
.
_:
b46
sp:
varName
"
valuesRestriction
"
^^
xsd:
string
.
sp:
varName
"
childLocalName
"
^^
xsd:
string
.
_:
b47
sp:
varName
"
rangeType
"
^^
xsd:
string
.
sp:
varName
"
allValuesRestriction
"
^^
xsd:
string
.
_:
b48
sp:
varName
"
textNod
e"
^^
xsd:
string
.
sp:
varName
"
instTyp
e"
^^
xsd:
string
.
_:
b49
sp:
varName
"text"
^^
xsd:
string
.
sp:
varName
"text
Node
"
^^
xsd:
string
.
_:
b50
sp:
varName
"
instType
"
^^
xsd:
string
.
sp:
varName
"
text
"
^^
xsd:
string
.
_:
b2
3
_:
b2
7
sp:
varName
"enumeratedValue"
^^
xsd:
string
.
_:
b2
4
_:
b2
8
sp:
varName
"opnameU"
^^
xsd:
string
.
_:
b
26
_:
b
30
sp:
varName
"child"
^^
xsd:
string
.
_:
b
27
_:
b
31
sp:
varName
"childType"
^^
xsd:
string
.
_:
b
28
_:
b
32
sp:
varName
"childLocalName"
^^
xsd:
string
.
_:
b
29
_:
b
33
sp:
varName
"valuesRestriction"
^^
xsd:
string
.
_:
b3
0
_:
b3
4
sp:
varName
"rangeU"
^^
xsd:
string
.
_:
b3
1
_:
b3
5
sp:
varName
"instType"
^^
xsd:
string
.
_:
b3
2
_:
b3
6
sp:
varName
"textNode"
^^
xsd:
string
.
_:
b3
3
_:
b3
7
sp:
varName
"text"
^^
xsd:
string
.
_:
b10
sp:
varName
"
rangeU
"
^^
xsd:
string
.
sp:
varName
"
dateTime
"
^^
xsd:
string
.
_:
b1
2
sp:
varName
"
uom
"
^^
xsd:
string
.
_:
b1
1
sp:
varName
"
dtpnameU
"
^^
xsd:
string
.
_:
b13
sp:
varName
"
value
"
^^
xsd:
string
.
sp:
varName
"
child
"
^^
xsd:
string
.
_:
b14
sp:
varName
"opnameU"
^^
xsd:
string
.
sp:
varName
"childType"
^^
xsd:
string
.
_:
b15
sp:
varName
"childLocalName"
^^
xsd:
string
.
_:
b16
sp:
varName
"
child
"
^^
xsd:
string
.
sp:
varName
"
valuesRestriction
"
^^
xsd:
string
.
_:
b17
sp:
varName
"
child
Type"
^^
xsd:
string
.
sp:
varName
"
range
Type"
^^
xsd:
string
.
_:
b18
sp:
varName
"
childLocalNam
e"
^^
xsd:
string
.
sp:
varName
"
textNod
e"
^^
xsd:
string
.
_:
b19
sp:
varName
"
allValuesRestriction
"
^^
xsd:
string
.
sp:
varName
"
text
"
^^
xsd:
string
.
_:
b20
sp:
varName
"instType"
^^
xsd:
string
.
_:
b21
sp:
varName
"textNode"
^^
xsd:
string
.
_:
b22
_:
b51
sp:
varName
"text"
^^
xsd:
string
.
_:
b
75
sp:
varName
"
c
"
^^
xsd:
string
.
_:
b
52
sp:
varName
"
dtpnameU
"
^^
xsd:
string
.
_:
b
71
sp:
varName
"
pp
"
^^
xsd:
string
.
_:
b
54
sp:
varName
"
child
"
^^
xsd:
string
.
_:
b
72
sp:
varName
"
p
"
^^
xsd:
string
.
_:
b
55
sp:
varName
"
childType
"
^^
xsd:
string
.
_:
b
73
sp:
varName
"
s
"
^^
xsd:
string
.
_:
b
56
sp:
varName
"
childLocalName
"
^^
xsd:
string
.
_:
b
74
sp:
varName
"
e
"
^^
xsd:
string
.
_:
b
57
sp:
varName
"
valuesRestriction
"
^^
xsd:
string
.
_:
b61
_:
b58
sp:
varName
"rangeType"
^^
xsd:
string
.
_:
b59
sp:
varName
"textNode"
^^
xsd:
string
.
_:
b60
sp:
varName
"instType"
^^
xsd:
string
.
_:
b66
sp:
varName
"ddrCPU"
^^
xsd:
string
.
_:
b6
2
_:
b6
7
sp:
varName
"ddrCU"
^^
xsd:
string
.
_:
b6
3
_:
b6
8
sp:
varName
"ddrPU"
^^
xsd:
string
.
_:
b6
4
_:
b6
9
sp:
varName
"mre"
^^
xsd:
string
.
_:
b
65
_:
b
70
sp:
varName
"s"
^^
xsd:
string
.
_:
b
66
_:
b
71
sp:
varName
"c"
^^
xsd:
string
.
_:
b
67
_:
b
72
sp:
varName
"name"
^^
xsd:
string
.
_:
b
68
_:
b
73
sp:
varName
"pname"
^^
xsd:
string
.
_:
b
69
_:
b
74
sp:
varName
"tcpname"
^^
xsd:
string
.
_:
b7
0
_:
b7
5
sp:
varName
"tcname"
^^
xsd:
string
.
_:
b62
sp:
varName
"pp"
^^
xsd:
string
.
_:
b63
sp:
varName
"p"
^^
xsd:
string
.
_:
b64
sp:
varName
"s"
^^
xsd:
string
.
_:
b65
sp:
varName
"e"
^^
xsd:
string
.
_:
b61
sp:
varName
"c"
^^
xsd:
string
.
_:
b76
sp:
varName
"oldLabel"
^^
xsd:
string
.
...
...
@@ -985,19 +990,19 @@ _:b77
_:
b78
sp:
varName
"newLabel"
^^
xsd:
string
.
_:
b
38
_:
b
25
sp:
varName
"valuesRestriction"
^^
xsd:
string
.
_:
b
37
_:
b
24
sp:
varName
"childType"
^^
xsd:
string
.
_:
b
35
_:
b
22
sp:
varName
"formalProperty"
^^
xsd:
string
.
_:
b
34
_:
b
21
sp:
varName
"child"
^^
xsd:
string
.
_:
b
39
_:
b
26
sp:
varName
"instType"
^^
xsd:
string
.
_:
b5
sp:
varName
"valuesRestriction"
^^
xsd:
string
.
...
...
www.reportinghub.no/ep/transform/TRANSFORM_ddr-v1.1.1.ttl.tbc
View file @
1d7528a
# Saved by TopBraid on Wed Aug 10
18:50:0
5 PDT 2011
# Saved by TopBraid on Wed Aug 10
23:13:4
5 PDT 2011
# baseURI: null
@prefix
composite:
<http://www.topbraid.org/2007/05/composite.owl#>
.
...
...
Please
register
or
login
to post a comment