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
Holger Knublauch
2011-08-03 20:29:01 +1000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
13e0046cbc9b5bbf125110f6678c575464246cb8
13e0046c
1 parent
24bc0fdf
Misc clean up of EP ontologies and SXML importer
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
57 additions
and
75 deletions
www.reportinghub.no/ep/schema/1.1/SCHEMA_EP-ABSTRACT-(v1.1.1).ttl
www.reportinghub.no/ep/spin/SPIN_EPIM-lib-(v1.1).ttl
www.reportinghub.no/ep/spin/SPIN_EPIM-lib-(v1.1).ttl.tbc
www.reportinghub.no/ep/transform/TRANSFORM_ddr-(v1.1.1).ttl
www.reportinghub.no/ep/transform/TRANSFORM_normalization-(v1.1.1).ttl.tbc → www.reportinghub.no/ep/transform/TRANSFORM_ddr-(v1.1.1).ttl.tbc
www.reportinghub.no/ep/transform/TRANSFORM_ddr-normalization-(v1.1.1).ttl
www.reportinghub.no/ep/transform/TRANSFORM_ddr-normalization-(v1.1.1).ttl.tbc
www.reportinghub.no/spin/SPIN-RH-v1.0.spin.ttl
www.reportinghub.no/ep/schema/1.1/SCHEMA_EP-ABSTRACT-(v1.1.1).ttl
View file @
13e0046
@prefix
:
<http://www.energistics.org/schemas/abstract#>
.
@prefix
vaem:
<http://www.linkedmodel.org/schema/vaem#>
.
# baseURI: http://www.energistics.org/schemas/abstract
# imports: http://www.linkedmodel.org/schema/dtype
# imports: http://www.linkedmodel.org/schema/vaem
@prefix
abstract:
<http://www.energistics.org/schemas/abstract#>
.
@prefix
dc:
<http://purl.org/dc/elements/1.1/>
.
@prefix
xsd:
<http://www.w3.org/2001/XMLSchema#>
.
@prefix
dtype:
<http://www.linkedmodel.org/schema/dtype#>
.
@prefix
owl:
<http://www.w3.org/2002/07/owl#>
.
@prefix
rdf:
<http://www.w3.org/1999/02/22-rdf-syntax-ns#>
.
@prefix
rdfs:
<http://www.w3.org/2000/01/rdf-schema#>
.
@prefix
skos:
<http://www.w3.org/2004/02/skos/core#>
.
@prefix
vaem:
<http://www.linkedmodel.org/schema/vaem#>
.
@prefix
xsd:
<http://www.w3.org/2001/XMLSchema#>
.
:
AbstractDataObject
a
<http://www.w3.org/2002/07/owl#Class>
;
<http://www.w3.org/2000/01/rdf-schema#label>
"Abstract data object"
^^
xsd:
string
;
<http://www.w3.org/2000/01/rdf-schema#subClassOf>
:
AbstractObject
;
dc:
description
"Substitution group for normative data objects."
^^
xsd:
string
.
dc:
description
rdfs:
label
"description"
^^
xsd:
string
.
:
AbstractContextualObject
a
<http://www.w3.org/2002/07/owl#Class>
;
<http://www.w3.org/2000/01/rdf-schema#label>
"Abstract contextual object"
^^
xsd:
string
;
<http://www.w3.org/2000/01/rdf-schema#subClassOf>
:
AbstractObject
;
<http://www.energistics.org/schemas/abstract>
rdf:
type
owl:
Ontology
;
owl:
imports
<http://www.linkedmodel.org/schema/vaem>
,
<http://www.linkedmodel.org/schema/dtype>
;
owl:
versionInfo
"Created with TopBraid Composer from the XML Schema http://www.energistics.org/schemas/abstract"
^^
xsd:
string
.
abstract:
AbstractContextualObject
rdf:
type
owl:
Class
;
rdfs:
label
"Abstract contextual object"
^^
xsd:
string
;
rdfs:
subClassOf
abstract:
AbstractObject
;
dc:
description
"Substitution group for contextual objects."
^^
xsd:
string
.
dc:
description
<http://www.w3.org/2000/01/rdf-schema#label>
"description"
^^
xsd:
string
.
abstract:
AbstractDataObject
rdf:
type
owl:
Class
;
rdfs:
label
"Abstract data object"
^^
xsd:
string
;
rdfs:
subClassOf
abstract:
AbstractObject
;
dc:
description
"Substitution group for normative data objects."
^^
xsd:
string
.
:
AbstractObject
a
<http://www.w3.org/2002/07/owl#Class>
;
<http://www.w3.org/2000/01/rdf-schema#label>
"Abstract object"
^^
xsd:
string
;
abstract:
AbstractObject
rdf:
type
owl:
Class
;
rdfs:
label
"Abstract object"
^^
xsd:
string
;
dc:
description
"""The intended abstract supertype of all schema roots
that may be a member of a substitution group (whether contextual or data).
The type of root global elements should be extended from this type and the
root global element should be declared to be a member of one of the above substitution groups."""
^^
xsd:
string
.
skos:
prefLabel
a
<http://www.w3.org/2002/07/owl#AnnotationProperty>
;
<http://www.w3.org/2000/01/rdf-schema#label>
"pref label"
^^
xsd:
string
.
<http://www.energistics.org/schemas/abstract>
a
<http://www.w3.org/2002/07/owl#Ontology>
;
<http://www.w3.org/2002/07/owl#imports>
<http://www.linkedmodel.org/schema/dtype>
,
<http://www.linkedmodel.org/schema/vaem>
;
<http://www.w3.org/2002/07/owl#versionInfo>
"Created with TopBraid Composer from the XML Schema http://www.energistics.org/schemas/abstract"
^^
xsd:
string
.
rdf:
type
owl:
AnnotationProperty
;
rdfs:
label
"pref label"
^^
xsd:
string
.
...
...
www.reportinghub.no/ep/spin/SPIN_EPIM-lib-(v1.1).ttl
View file @
13e0046
# Saved by TopBraid on Mon Aug 01 14:26:29 PDT 2011
# baseURI: http://www.reportinghub.no/ep/spin/1.1/lib
# imports: http://spinrdf.org/spin
...
...
@@ -10,6 +9,7 @@
@prefix
rdfs:
<http://www.w3.org/2000/01/rdf-schema#>
.
@prefix
smf:
<http://topbraid.org/sparqlmotionfunctions#>
.
@prefix
sp:
<http://spinrdf.org/sp#>
.
@prefix
spif:
<http://spinrdf.org/spif#>
.
@prefix
spin:
<http://spinrdf.org/spin#>
.
@prefix
spl:
<http://spinrdf.org/spl#>
.
@prefix
xsd:
<http://www.w3.org/2001/XMLSchema#>
.
...
...
@@ -22,7 +22,8 @@
ep-spin-lib:
Function
rdf:
type
spin:
Function
;
rdfs:
label
"Function"
^^
xsd:
string
;
rdfs:
subClassOf
spin:
Functions
.
rdfs:
subClassOf
spin:
Functions
;
spin:
abstract
"true"
^^
xsd:
boolean
.
ep-spin-lib:
buildURI
rdf:
type
spin:
Function
;
...
...
@@ -33,7 +34,7 @@ ep-spin-lib:buildURI
sp:
resultVariables
(
_:
b1
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
s
mf:
resource
;
[
rdf:
type
s
p:
iri
;
sp:
arg1
[
rdf:
type
fn:
concat
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
spin:
_arg2
...
...
@@ -96,7 +97,7 @@ ep-spin-lib:normalizeString
sp:
resultVariables
(
_:
b4
)
;
sp:
where
([
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
s
mf:
regex
;
[
rdf:
type
s
pif:
regex
;
sp:
arg1
spin:
_arg1
;
sp:
arg2
"\\((.*)\\)"
;
sp:
arg3
""
...
...
@@ -104,19 +105,19 @@ ep-spin-lib:normalizeString
sp:
variable
_:
b5
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
s
mf:
trim
;
[
rdf:
type
s
pif:
trim
;
sp:
arg1
_:
b5
]
;
sp:
variable
_:
b6
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
s
mf:
encodeURL
;
[
rdf:
type
s
pif:
encodeURL
;
sp:
arg1
_:
b6
]
;
sp:
variable
_:
b7
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
s
mf:
regex
;
[
rdf:
type
s
pif:
regex
;
sp:
arg1
_:
b7
;
sp:
arg2
"%2F"
;
sp:
arg3
"_"
...
...
@@ -124,7 +125,7 @@ ep-spin-lib:normalizeString
sp:
variable
_:
b8
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
s
mf:
regex
;
[
rdf:
type
s
pif:
regex
;
sp:
arg1
_:
b8
;
sp:
arg2
"%[0-9A-F][0-9A-F]"
;
sp:
arg3
""
...
...
@@ -132,7 +133,7 @@ ep-spin-lib:normalizeString
sp:
variable
_:
b9
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
s
mf:
regex
;
[
rdf:
type
s
pif:
regex
;
sp:
arg1
_:
b9
;
sp:
arg2
"\\+"
;
sp:
arg3
"_"
...
...
@@ -140,7 +141,7 @@ ep-spin-lib:normalizeString
sp:
variable
_:
b10
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
s
mf:
regex
;
[
rdf:
type
s
pif:
regex
;
sp:
arg1
_:
b10
;
sp:
arg2
"_+"
;
sp:
arg3
"_"
...
...
@@ -148,7 +149,7 @@ ep-spin-lib:normalizeString
sp:
variable
_:
b11
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
s
mf:
regex
;
[
rdf:
type
s
pif:
regex
;
sp:
arg1
_:
b11
;
sp:
arg2
"\\*"
;
sp:
arg3
""
...
...
@@ -157,7 +158,7 @@ ep-spin-lib:normalizeString
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
xsd:
string
;
sp:
arg1
[
rdf:
type
s
mf:
upperCase
;
sp:
arg1
[
rdf:
type
s
pif:
upperCase
;
sp:
arg1
_:
b12
]
]
;
...
...
www.reportinghub.no/ep/spin/SPIN_EPIM-lib-(v1.1).ttl.tbc
View file @
13e0046
# Saved by TopBraid on Mon Aug 01 14:26:29 PDT 2011
# baseURI: null
@prefix
composite:
<http://www.topbraid.org/2007/05/composite.owl#>
.
...
...
www.reportinghub.no/ep/transform/TRANSFORM_ddr-(v1.1.1).ttl
View file @
13e0046
This diff is collapsed. Click to expand it.
www.reportinghub.no/ep/transform/TRANSFORM_
normalization
-(v1.1.1).ttl.tbc
→
www.reportinghub.no/ep/transform/TRANSFORM_
ddr
-(v1.1.1).ttl.tbc
View file @
13e0046
# Saved by TopBraid on Mon Aug 01 13:35:23 PDT 2011
# baseURI: http://www.reportinghub.no/ep/transform/normalization
# baseURI: null
@prefix
composite:
<http://www.topbraid.org/2007/05/composite.owl#>
.
@prefix
forms:
<http://www.topbraid.org/2007/01/forms.owl#>
.
...
...
@@ -13,5 +12,9 @@
[]
rdf:
type
inference:
Configuration
;
composite:
child
[
rdf:
type
<http://spinrdf.org/spin#TopSPIN>
;
<http://spinrdf.org/spin#topSPINOptions>
"singlePass"
;
composite:
index
"0"
^^
xsd:
int
]
.
]
;
inference:
completeMode
"true"
^^
xsd:
boolean
.
...
...
www.reportinghub.no/ep/transform/TRANSFORM_ddr-normalization-(v1.1.1).ttl
View file @
13e0046
# Saved by TopBraid on Mon Aug 01 14:29:25 PDT 2011
# baseURI: http://www.reportinghub.no/ep/transform/1.1/ddr/normalization
# imports: http://www.reportinghub.no/ep/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/ep/transform/1.1/ddr
@prefix
ddr-normalization:
<http://www.reportinghub.no/ep/transform/ddr/normalization#>
.
@prefix
ddr-normalization-1
.1
:
<http://www.reportinghub.no/ep/transform/1.1/ddr/normalization#>
.
...
...
@@ -11,6 +9,7 @@
@prefix
owl:
<http://www.w3.org/2002/07/owl#>
.
@prefix
rdf:
<http://www.w3.org/1999/02/22-rdf-syntax-ns#>
.
@prefix
rdfs:
<http://www.w3.org/2000/01/rdf-schema#>
.
@prefix
rhspin:
<http://www.reportinghub.no/spin/rh#>
.
@prefix
sp:
<http://spinrdf.org/sp#>
.
@prefix
spin:
<http://spinrdf.org/spin#>
.
@prefix
spl:
<http://spinrdf.org/spl#>
.
...
...
@@ -44,44 +43,28 @@
sp:
subject
spin:
_this
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizeString
;
[
rdf:
type
rhspin:
wellByName
;
sp:
arg1
_:
b4
]
;
sp:
variable
_:
b5
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildWellURI
;
sp:
arg1
_:
b5
]
;
sp:
variable
_:
b3
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
normalizeString
;
[
rdf:
type
rhspin:
wellBoreByName
;
sp:
arg1
_:
b2
]
;
sp:
variable
_:
b6
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
ep-spin-lib:
buildWellBoreURI
;
sp:
arg1
_:
b6
]
;
sp:
variable
_:
b1
])
]
.
<http://www.reportinghub.no/ep/transform/1.1/ddr/normalization>
rdf:
type
owl:
Ontology
;
owl:
imports
<http://www.reportinghub.no/ep/
spin/1.1/lib>
,
<http://www.reportinghub.no/ep/transform/1.1/ddr>
,
<http://spinrdf.org/spin>
;
owl:
imports
<http://www.reportinghub.no/ep/
transform/1.1/ddr>
,
<http://spinrdf.org/spin>
;
owl:
versionInfo
"Created with TopBraid Composer"
^^
xsd:
string
.
_:
b2
sp:
varName
"nameWellBore"
^^
xsd:
string
.
_:
b4
sp:
varName
"nameWell"
^^
xsd:
string
.
_:
b5
sp:
varName
"normalizedWellName"
^^
xsd:
string
.
_:
b3
sp:
varName
"normalizedWellNameU"
^^
xsd:
string
.
_:
b3
sp:
varName
"well"
^^
xsd:
string
.
_:
b
6
sp:
varName
"normalizedWellBoreName"
^^
xsd:
string
.
_:
b
2
sp:
varName
"nameWellBore"
^^
xsd:
string
.
_:
b1
sp:
varName
"
normalizedWellBoreNameU"
^^
xsd:
string
.
_:
b1
sp:
varName
"
wellBore"
^^
xsd:
string
.
...
...
www.reportinghub.no/ep/transform/TRANSFORM_ddr-normalization-(v1.1.1).ttl.tbc
View file @
13e0046
# Saved by TopBraid on Mon Aug 01 14:29:25 PDT 2011
# baseURI: null
@prefix
composite:
<http://www.topbraid.org/2007/05/composite.owl#>
.
...
...
www.reportinghub.no/spin/SPIN-RH-v1.0.spin.ttl
View file @
13e0046
This diff is collapsed. Click to expand it.
Please
register
or
login
to post a comment