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
2014-02-17 22:09:29 +0000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
2371238f833a09dc91ff343f866ca1b7f220ef33
2371238f
1 parent
147d73e9
working rd
Show whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
312 additions
and
84 deletions
www.reportinghub.no/refdata/1.0/RDL_ERHFoundation.ttl → www.reportinghub.no/refdata/2014-02-12/RDL_ERHFoundation.ttl
www.reportinghub.no/refdata/2014-02-12/RDL_ERHReferenceData.ttl
www.reportinghub.no/refdata/RDL_ERHFoundation-unversioned.ttl
www.reportinghub.no/refdata/transform/class2rd-drill.ttl
www.reportinghub.no/refdata/transform/class2rd-npd.ttl
www.reportinghub.no/refdata/transform/class2rd-prod.ttl
www.reportinghub.no/refdata/transform/class2rd.ttl
www.reportinghub.no/refdata/transform/datprop2rd-drill.ttl
www.reportinghub.no/refdata/transform/datprop2rd-npd.ttl
www.reportinghub.no/refdata/transform/datprop2rd-prod.ttl
www.reportinghub.no/refdata/transform/datprop2rd.ttl
www.reportinghub.no/refdata/transform/make-rd-drill.ttl
www.reportinghub.no/refdata/transform/make-rd-prod.ttl
www.reportinghub.no/refdata/transform/objprop2rd-prod.ttl
www.reportinghub.no/refdata/transform/objprop2rd.ttl
www.reportinghub.no/refdata/
1.0
/RDL_ERHFoundation.ttl
→
www.reportinghub.no/refdata/
2014-02-12
/RDL_ERHFoundation.ttl
View file @
2371238
File moved
www.reportinghub.no/refdata/2014-02-12/RDL_ERHReferenceData.ttl
0 → 100644
View file @
2371238
This diff could not be displayed because it is too large.
www.reportinghub.no/refdata/RDL_ERHFoundation-unversioned.ttl
0 → 100644
View file @
2371238
# baseURI: http://www.reportinghub.no/refdata/foundation
# imports: http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003
# imports: http://rds.posccaesar.org/2008/06/OWL/RDL-annotations
@prefix
RDL-annotations:
<http://rds.posccaesar.org/2008/06/OWL/RDL-annotations#>
.
@prefix
foundationrd:
<http://www.reportinghub.no/refdata/foundation#>
.
@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
xsd:
<http://www.w3.org/2001/XMLSchema#>
.
@prefix
pca-rdl:
<http://posccaesar.org/rdl/>
.
@prefix
p2:
<http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#>
.
<http://www.reportinghub.no/refdata/foundation>
rdf:
type
owl:
Ontology
;
owl:
imports
<http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003>
,
<http://rds.posccaesar.org/2008/06/OWL/RDL-annotations>
;
owl:
versionInfo
"Created with TopBraid Composer"
^^
xsd:
string
.
xsd:
date
owl:
sameAs
pca-rdl:
ERH-DATE
.
xsd:
dateTime
owl:
sameAs
pca-rdl:
ERH-DATETIME
.
xsd:
double
owl:
sameAs
pca-rdl:
ERH-DOUBLE
.
xsd:
float
owl:
sameAs
pca-rdl:
ERH-FLOAT
.
xsd:
integer
owl:
sameAs
pca-rdl:
ERH-INTEGER
.
xsd:
string
owl:
sameAs
pca-rdl:
ERH-STRING
.
pca-rdl:
ERH-DATE
rdf:
type
p2:
RepresentationForm
;
pca-rdl:
hasDefinition
"the W3C XML Schema Language Date Datatype"
^^
xsd:
string
;
pca-rdl:
hasDesignation
"XML SCHEMA DATE"
^^
xsd:
string
.
pca-rdl:
ERH-DATETIME
rdf:
type
p2:
RepresentationForm
;
pca-rdl:
hasDefinition
"the W3C XML Schema Language DateTime Datatype"
^^
xsd:
string
;
pca-rdl:
hasDesignation
"XML SCHEMA DATETIME"
^^
xsd:
string
.
pca-rdl:
ERH-DOUBLE
rdf:
type
p2:
RepresentationForm
;
pca-rdl:
hasDefinition
"the W3C XML Schema Language Double Datatype"
^^
xsd:
string
;
pca-rdl:
hasDesignation
"XML SCHEMA DOUBLE"
^^
xsd:
string
.
pca-rdl:
ERH-FLOAT
rdf:
type
p2:
RepresentationForm
;
pca-rdl:
hasDefinition
"the W3C XML Schema Language Float Datatype"
^^
xsd:
string
;
pca-rdl:
hasDesignation
"XML SCHEMA FLOAT"
^^
xsd:
string
.
pca-rdl:
ERH-INTEGER
rdf:
type
p2:
RepresentationForm
;
pca-rdl:
hasDefinition
"the W3C XML Schema Language Integer Datatype"
^^
xsd:
string
;
pca-rdl:
hasDesignation
"XML SCHEMA INTEGER"
^^
xsd:
string
.
pca-rdl:
ERH-STRING
rdf:
type
p2:
RepresentationForm
;
pca-rdl:
hasDefinition
"the W3C XML Schema Language String Datatype"
^^
xsd:
string
;
pca-rdl:
hasDesignation
"XML SCHEMA STRING"
^^
xsd:
string
.
pca-rdl:
ERH00000
rdf:
type
p2:
Thing
,
owl:
Class
;
rdfs:
subClassOf
owl:
Thing
;
pca-rdl:
hasDesignation
"EPIM REPORTINGHUB REFERENCE DATA THING"
^^
xsd:
string
;
pca-rdl:
hasIdPCA
"ERH00000"
^^
xsd:
string
.
pca-rdl:
ERH00001
rdf:
type
p2:
ClassOfClass
,
owl:
Class
;
rdfs:
subClassOf
owl:
Thing
;
pca-rdl:
hasDesignation
"EPIM REPORTINGHUB REFERENCE DATA CLASS"
^^
xsd:
string
;
pca-rdl:
hasIdPCA
"ERH00001"
^^
xsd:
string
.
pca-rdl:
ERH00002
rdf:
type
p2:
ClassOfClass
,
owl:
Class
;
rdfs:
subClassOf
owl:
Thing
;
pca-rdl:
hasDesignation
"EPIM REPORTINGHUB NPD REFERENCE DATA CLASS"
^^
xsd:
string
;
pca-rdl:
hasIdPCA
"ERH00002"
^^
xsd:
string
.
pca-rdl:
ERH00003
rdf:
type
p2:
ClassOfClass
,
owl:
Class
;
rdfs:
subClassOf
owl:
Thing
;
pca-rdl:
hasDesignation
"EPIM REPORTINGHUB DRILLING REFERENCE DATA CLASS"
^^
xsd:
string
;
pca-rdl:
hasIdPCA
"ERH00003"
^^
xsd:
string
.
pca-rdl:
ERH00004
rdf:
type
p2:
ClassOfClass
,
owl:
Class
;
rdfs:
subClassOf
owl:
Thing
;
pca-rdl:
hasDesignation
"EPIM REPORTINGHUB PRODUCTION REFERENCE DATA CLASS"
^^
xsd:
string
;
pca-rdl:
hasIdPCA
"ERH00004"
^^
xsd:
string
.
\ No newline at end of file
www.reportinghub.no/refdata/transform/class2rd-drill.ttl
View file @
2371238
...
...
@@ -114,12 +114,78 @@ rdfs:Class
]
])
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"0290 Handle classification of RD classes as Drilling"
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#Classification>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"clsnuri"
^^
xsd:
string
]
]
[
sp:
object
[
sp:
varName
"thisrduri"
^^
xsd:
string
]
;
sp:
predicate
<http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#hasClassified>
;
sp:
subject
[
sp:
varName
"clsnuri"
^^
xsd:
string
]
]
[
sp:
object
<http://posccaesar.org/rdl/ERH00003>
;
sp:
predicate
<http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#hasClassifier>
;
sp:
subject
[
sp:
varName
"clsnuri"
^^
xsd:
string
]
]
[
sp:
object
<http://posccaesar.org/rdl/ERH00000>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"clsnuri"
^^
xsd:
string
]
])
;
sp:
where
([
sp:
object
[
sp:
varName
"thisrduri"
^^
xsd:
string
]
;
sp:
predicate
owl:
sameAs
;
sp:
subject
spin:
_this
]
[
rdf:
type
sp:
Filter
;
sp:
expression
[
rdf:
type
sp:
eq
;
sp:
arg1
[
rdf:
type
afn:
namespace
;
sp:
arg1
spin:
_this
]
;
sp:
arg2
"http://www.reportinghub.no/np/schema/npd#"
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
spif:
generateUUID
]
;
sp:
variable
[
sp:
varName
"uuid"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
fn:
concat
;
sp:
arg1
"ERH"
;
sp:
arg2
[
sp:
varName
"uuid"
^^
xsd:
string
]
]
;
sp:
variable
[
sp:
varName
"pcaid"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
[
rdf:
type
spif:
buildURI
;
sp:
arg1
"<http://posccaesar.org/rdl/{?pcaid}>"
]
;
sp:
variable
[
sp:
varName
"clsnuri"
^^
xsd:
string
]
])
]
.
owl:
Class
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"0
14
0 Set Part 2 Class of EHR RD Class"
^^
xsd:
string
;
rdfs:
comment
"0
25
0 Set Part 2 Class of EHR RD Class"
^^
xsd:
string
;
sp:
templates
([
sp:
object
[
sp:
varName
"p2class"
^^
xsd:
string
]
;
...
...
@@ -354,4 +420,20 @@ owl:Class
]
])
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"0299 Set type by foundation class ERH Drilling Class"
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://posccaesar.org/rdl/ERH00003>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"rduri"
^^
xsd:
string
]
])
;
sp:
where
([
sp:
object
[
sp:
varName
"rduri"
^^
xsd:
string
]
;
sp:
predicate
owl:
sameAs
;
sp:
subject
spin:
_this
])
]
.
...
...
www.reportinghub.no/refdata/transform/class2rd-npd.ttl
View file @
2371238
...
...
@@ -24,7 +24,47 @@
rdfs:
Class
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"0195 Handle classification of RD classes as NPD"
^^
xsd:
string
;
rdfs:
comment
"0197 Set Part 2 Class of EHR RD Class"
^^
xsd:
string
;
sp:
templates
([
sp:
object
[
sp:
varName
"p2class"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"thisrduri"
^^
xsd:
string
]
])
;
sp:
where
([
sp:
object
[
sp:
varName
"thisrduri"
^^
xsd:
string
]
;
sp:
predicate
owl:
sameAs
;
sp:
subject
spin:
_this
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
spin:
_this
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"member"
^^
xsd:
string
]
]
[
rdf:
type
sp:
TriplePath
;
sp:
object
<http://www.reportinghub.no/ep/schema/core#PhysicalThing>
;
sp:
path
[
rdf:
type
sp:
ModPath
;
sp:
modMax
-2
;
sp:
modMin
0
;
sp:
subPath
rdfs:
subClassOf
]
;
sp:
subject
[
sp:
varName
"member"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
<http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#ClassOfClassOfIndividual>
;
sp:
variable
[
sp:
varName
"p2class"
^^
xsd:
string
]
])
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"0580 Handle classification of RD classes as NPD"
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#Classification>
;
sp:
predicate
rdf:
type
;
sp:
subject
...
...
@@ -74,46 +114,6 @@ rdfs:Class
[
sp:
varName
"clsnuri"
^^
xsd:
string
]
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"0197 Set Part 2 Class of EHR RD Class"
^^
xsd:
string
;
sp:
templates
([
sp:
object
[
sp:
varName
"p2class"
^^
xsd:
string
]
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"thisrduri"
^^
xsd:
string
]
])
;
sp:
where
([
sp:
object
[
sp:
varName
"thisrduri"
^^
xsd:
string
]
;
sp:
predicate
owl:
sameAs
;
sp:
subject
spin:
_this
]
[
rdf:
type
sp:
Optional
;
sp:
elements
([
sp:
object
spin:
_this
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"member"
^^
xsd:
string
]
]
[
rdf:
type
sp:
TriplePath
;
sp:
object
<http://www.reportinghub.no/ep/schema/core#PhysicalThing>
;
sp:
path
[
rdf:
type
sp:
ModPath
;
sp:
modMax
-2
;
sp:
modMin
0
;
sp:
subPath
rdfs:
subClassOf
]
;
sp:
subject
[
sp:
varName
"member"
^^
xsd:
string
]
]
[
rdf:
type
sp:
Bind
;
sp:
expression
<http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#ClassOfClassOfIndividual>
;
sp:
variable
[
sp:
varName
"p2class"
^^
xsd:
string
]
])
])
]
.
owl:
Class
...
...
@@ -302,7 +302,7 @@ owl:Class
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"0
194
Handle classification of RD classes as NPD"
^^
xsd:
string
;
rdfs:
comment
"0
590
Handle classification of RD classes as NPD"
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#Classification>
;
sp:
predicate
rdf:
type
;
sp:
subject
...
...
www.reportinghub.no/refdata/transform/class2rd-prod.ttl
View file @
2371238
...
...
@@ -24,7 +24,7 @@
rdfs:
Class
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"0
195
Handle classification of RD classes as Production"
^^
xsd:
string
;
rdfs:
comment
"0
390
Handle classification of RD classes as Production"
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#Classification>
;
sp:
predicate
rdf:
type
;
sp:
subject
...
...
@@ -310,7 +310,7 @@ owl:Class
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"0
1
99 Set classification by foundation class ERH Production Class"
^^
xsd:
string
;
rdfs:
comment
"0
3
99 Set classification by foundation class ERH Production Class"
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://posccaesar.org/rdl/ERH00004>
;
sp:
predicate
rdf:
type
;
sp:
subject
...
...
www.reportinghub.no/refdata/transform/class2rd.ttl
View file @
2371238
...
...
@@ -2,7 +2,7 @@
# imports: http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003
# imports: http://rds.posccaesar.org/2008/06/OWL/RDL-annotations
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/refdata/foundation
# imports: http://www.reportinghub.no/refdata/
1.0/
foundation
@prefix
:
<http://www.reportinghub.no/refdata/transform/class2rd#>
.
@prefix
RDL-annotations:
<http://rds.posccaesar.org/2008/06/OWL/RDL-annotations#>
.
...
...
@@ -22,13 +22,13 @@
<http://www.reportinghub.no/refdata/transform/class2rd>
rdf:
type
owl:
Ontology
;
owl:
imports
<http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003>
,
<http://rds.posccaesar.org/2008/06/OWL/RDL-annotations>
,
<http://spinrdf.org/spin>
,
<http://www.reportinghub.no/refdata/foundation>
;
owl:
imports
<http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003>
,
<http://rds.posccaesar.org/2008/06/OWL/RDL-annotations>
,
<http://spinrdf.org/spin>
,
<http://www.reportinghub.no/refdata/
1.0/
foundation>
;
owl:
versionInfo
"Created with TopBraid Composer"
^^
xsd:
string
.
rdfs:
Class
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"0
1
05 Set sameAs for RD items already in PCA RDL"
^^
xsd:
string
;
rdfs:
comment
"0
0
05 Set sameAs for RD items already in PCA RDL"
^^
xsd:
string
;
sp:
templates
([
sp:
object
[
sp:
varName
"rduri"
^^
xsd:
string
]
;
...
...
@@ -60,7 +60,7 @@ rdfs:Class
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"0
1
80 Set URI and designation for EHR RD Class"
^^
xsd:
string
;
rdfs:
comment
"0
0
80 Set URI and designation for EHR RD Class"
^^
xsd:
string
;
sp:
templates
([
sp:
object
[
sp:
varName
"thisrduri"
^^
xsd:
string
]
;
...
...
@@ -160,7 +160,7 @@ rdfs:Class
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"0
1
85 Handle subclasses"
^^
xsd:
string
;
rdfs:
comment
"0
0
85 Handle subclasses"
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#Specialization>
;
sp:
predicate
rdf:
type
;
sp:
subject
...
...
@@ -232,7 +232,7 @@ rdfs:Class
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"0
190 Handle classification of RD classes as ERH RD Thing
"
^^
xsd:
string
;
rdfs:
comment
"0
091 Handle classification of RD classes as ERH RD Class
"
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#Classification>
;
sp:
predicate
rdf:
type
;
sp:
subject
...
...
@@ -245,7 +245,7 @@ rdfs:Class
sp:
subject
[
sp:
varName
"clsnuri"
^^
xsd:
string
]
]
[
sp:
object
<http://posccaesar.org/rdl/ERH0000
0
>
;
]
[
sp:
object
<http://posccaesar.org/rdl/ERH0000
1
>
;
sp:
predicate
<http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#hasClassifier>
;
sp:
subject
[
sp:
varName
"clsnuri"
^^
xsd:
string
...
...
@@ -285,7 +285,7 @@ rdfs:Class
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"0
191 Handle classification of RD classes as ERH RD Class
"
^^
xsd:
string
;
rdfs:
comment
"0
095 Handle classification of RD classes as ERH RD Thing
"
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#Classification>
;
sp:
predicate
rdf:
type
;
sp:
subject
...
...
@@ -298,7 +298,7 @@ rdfs:Class
sp:
subject
[
sp:
varName
"clsnuri"
^^
xsd:
string
]
]
[
sp:
object
<http://posccaesar.org/rdl/ERH0000
1
>
;
]
[
sp:
object
<http://posccaesar.org/rdl/ERH0000
0
>
;
sp:
predicate
<http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#hasClassifier>
;
sp:
subject
[
sp:
varName
"clsnuri"
^^
xsd:
string
...
...
@@ -338,7 +338,7 @@ rdfs:Class
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"0
1
99 Set any unset Part 2 Class of EHR RD Class to ClassOfClass"
^^
xsd:
string
;
rdfs:
comment
"0
9
99 Set any unset Part 2 Class of EHR RD Class to ClassOfClass"
^^
xsd:
string
;
sp:
templates
([
sp:
object
[
sp:
varName
"p2class"
^^
xsd:
string
]
;
...
...
@@ -380,7 +380,7 @@ rdfs:Class
owl:
Class
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"0
1
10 Set URI and designation for EHR RD Class"
^^
xsd:
string
;
rdfs:
comment
"0
0
10 Set URI and designation for EHR RD Class"
^^
xsd:
string
;
sp:
templates
([
sp:
object
[
sp:
varName
"thisrduri"
^^
xsd:
string
]
;
...
...
@@ -472,7 +472,7 @@ owl:Class
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"0
1
30 Handle subclasses"
^^
xsd:
string
;
rdfs:
comment
"0
0
30 Handle subclasses"
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#Specialization>
;
sp:
predicate
rdf:
type
;
sp:
subject
...
...
@@ -539,7 +539,7 @@ owl:Class
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"0
1
40 Handle classification of RD classes as ERH RD Class"
^^
xsd:
string
;
rdfs:
comment
"0
0
40 Handle classification of RD classes as ERH RD Class"
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#Classification>
;
sp:
predicate
rdf:
type
;
sp:
subject
...
...
@@ -592,7 +592,7 @@ owl:Class
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"0
1
41 Handle classification of RD classes as ERH RD Class"
^^
xsd:
string
;
rdfs:
comment
"0
0
41 Handle classification of RD classes as ERH RD Class"
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#Classification>
;
sp:
predicate
rdf:
type
;
sp:
subject
...
...
@@ -645,7 +645,7 @@ owl:Class
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"0
1
49 Set any unset Part 2 Class of EHR RD Class to ClassOfIndividual"
^^
xsd:
string
;
rdfs:
comment
"0
0
49 Set any unset Part 2 Class of EHR RD Class to ClassOfIndividual"
^^
xsd:
string
;
sp:
templates
([
sp:
object
[
sp:
varName
"p2class"
^^
xsd:
string
]
;
...
...
www.reportinghub.no/refdata/transform/datprop2rd-drill.ttl
View file @
2371238
...
...
@@ -23,7 +23,7 @@
owl:
DatatypeProperty
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"
0
396 Handle classification of RD classes as Drilling"
^^
xsd:
string
;
rdfs:
comment
"
1
396 Handle classification of RD classes as Drilling"
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#Classification>
;
sp:
predicate
rdf:
type
;
sp:
subject
...
...
@@ -78,4 +78,20 @@ owl:DatatypeProperty
[
sp:
varName
"clsnuri"
^^
xsd:
string
]
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"1399 Set type by foundation class ERH Drilling Class"
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://posccaesar.org/rdl/ERH00003>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"rduri"
^^
xsd:
string
]
])
;
sp:
where
([
sp:
object
[
sp:
varName
"rduri"
^^
xsd:
string
]
;
sp:
predicate
owl:
sameAs
;
sp:
subject
spin:
_this
])
]
.
...
...
www.reportinghub.no/refdata/transform/datprop2rd-npd.ttl
View file @
2371238
...
...
@@ -23,7 +23,7 @@
owl:
DatatypeProperty
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"
0
395 Handle classification of RD propety as NPD"
^^
xsd:
string
;
rdfs:
comment
"
1
395 Handle classification of RD propety as NPD"
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#Classification>
;
sp:
predicate
rdf:
type
;
sp:
subject
...
...
@@ -78,4 +78,20 @@ owl:DatatypeProperty
[
sp:
varName
"clsnuri"
^^
xsd:
string
]
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"1399 Set type by foundation class ERH NPD Class"
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://posccaesar.org/rdl/ERH00002>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"rduri"
^^
xsd:
string
]
])
;
sp:
where
([
sp:
object
[
sp:
varName
"rduri"
^^
xsd:
string
]
;
sp:
predicate
owl:
sameAs
;
sp:
subject
spin:
_this
])
]
.
...
...
www.reportinghub.no/refdata/transform/datprop2rd-prod.ttl
View file @
2371238
...
...
@@ -23,7 +23,7 @@
owl:
DatatypeProperty
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"
0
395 Handle classification of RD propety as Production"
^^
xsd:
string
;
rdfs:
comment
"
1
395 Handle classification of RD propety as Production"
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#Classification>
;
sp:
predicate
rdf:
type
;
sp:
subject
...
...
@@ -73,4 +73,20 @@ owl:DatatypeProperty
[
sp:
varName
"clsnuri"
^^
xsd:
string
]
])
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"1399 Set type by foundation class ERH Production Class"
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://posccaesar.org/rdl/ERH00004>
;
sp:
predicate
rdf:
type
;
sp:
subject
[
sp:
varName
"rduri"
^^
xsd:
string
]
])
;
sp:
where
([
sp:
object
[
sp:
varName
"rduri"
^^
xsd:
string
]
;
sp:
predicate
owl:
sameAs
;
sp:
subject
spin:
_this
])
]
.
...
...
www.reportinghub.no/refdata/transform/datprop2rd.ttl
View file @
2371238
...
...
@@ -28,7 +28,7 @@
owl:
DatatypeProperty
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"
0
310 Set URI and designation for EHR RD from Datatype Property that are not UoM"
^^
xsd:
string
;
rdfs:
comment
"
1
310 Set URI and designation for EHR RD from Datatype Property that are not UoM"
^^
xsd:
string
;
sp:
templates
([
sp:
object
[
sp:
varName
"thisrduri"
^^
xsd:
string
]
;
...
...
@@ -130,7 +130,7 @@ owl:DatatypeProperty
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"
0
320 Set sameAs for RD items already in PCA RDL"
^^
xsd:
string
;
rdfs:
comment
"
1
320 Set sameAs for RD items already in PCA RDL"
^^
xsd:
string
;
sp:
templates
([
sp:
object
[
sp:
varName
"rduri"
^^
xsd:
string
]
;
...
...
@@ -167,7 +167,7 @@ owl:DatatypeProperty
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"
0
330 Set Property ClassOfRepresented"
^^
xsd:
string
;
rdfs:
comment
"
1
330 Set Property ClassOfRepresented"
^^
xsd:
string
;
sp:
templates
([
sp:
object
[
sp:
varName
"rdform"
^^
xsd:
string
]
;
...
...
@@ -202,7 +202,7 @@ owl:DatatypeProperty
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"
033
0 Set Property ClassOfRepresented"
^^
xsd:
string
;
rdfs:
comment
"
134
0 Set Property ClassOfRepresented"
^^
xsd:
string
;
sp:
templates
([
sp:
object
[
sp:
varName
"rdclass"
^^
xsd:
string
]
;
...
...
@@ -237,7 +237,7 @@ owl:DatatypeProperty
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"
0395
Handle classification of RD property as ERH Class"
^^
xsd:
string
;
rdfs:
comment
"
1350
Handle classification of RD property as ERH Class"
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#Classification>
;
sp:
predicate
rdf:
type
;
sp:
subject
...
...
@@ -290,7 +290,7 @@ owl:DatatypeProperty
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"
0395
Handle classification of RD property as ERH Thing"
^^
xsd:
string
;
rdfs:
comment
"
1360
Handle classification of RD property as ERH Thing"
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#Classification>
;
sp:
predicate
rdf:
type
;
sp:
subject
...
...
www.reportinghub.no/refdata/transform/make-rd-drill.ttl
View file @
2371238
# baseURI: http://www.reportinghub.no/refdata/transform/make-rd-drill
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/ep/schema/1.0/drilling
# imports: http://www.reportinghub.no/refdata/1.0/drilling
# imports: http://www.reportinghub.no/refdata/transform/class2rd-drill
@prefix
:
<http://www.reportinghub.no/refdata/transform/make-rd-drill#>
.
...
...
@@ -16,5 +15,5 @@
<http://www.reportinghub.no/refdata/transform/make-rd-drill>
rdf:
type
owl:
Ontology
;
owl:
imports
<http://spinrdf.org/spin>
,
<http://www.reportinghub.no/ep/schema/1.0/drilling>
,
<http://www.reportinghub.no/refdata/
1.0/drilling>
,
<http://www.reportinghub.no/refdata/
transform/class2rd-drill>
;
owl:
imports
<http://spinrdf.org/spin>
,
<http://www.reportinghub.no/ep/schema/1.0/drilling>
,
<http://www.reportinghub.no/refdata/transform/class2rd-drill>
;
owl:
versionInfo
"Created with TopBraid Composer"
^^
xsd:
string
.
...
...
www.reportinghub.no/refdata/transform/make-rd-prod.ttl
View file @
2371238
# baseURI: http://www.reportinghub.no/refdata/transform/make-rd-prod
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/refdata/1.0/production
# imports: http://www.reportinghub.no/refdata/foundation
# imports: http://www.reportinghub.no/refdata/transform/class2rd-prod
# imports: http://www.reportinghub.no/refdata/transform/datprop2rd-prod
# imports: http://www.reportinghub.no/refdata/transform/objprop2rd-prod
...
...
@@ -18,5 +16,5 @@
<http://www.reportinghub.no/refdata/transform/make-rd-prod>
rdf:
type
owl:
Ontology
;
owl:
imports
<http://spinrdf.org/spin>
,
<http://www.reportinghub.no/refdata/
1.0/production>
,
<http://www.reportinghub.no/refdata/foundation>
,
<http://www.reportinghub.no/refdata/
transform/class2rd-prod>
,
<http://www.reportinghub.no/refdata/transform/datprop2rd-prod>
,
<http://www.reportinghub.no/refdata/transform/objprop2rd-prod>
;
owl:
imports
<http://spinrdf.org/spin>
,
<http://www.reportinghub.no/refdata/transform/class2rd-prod>
,
<http://www.reportinghub.no/refdata/transform/datprop2rd-prod>
,
<http://www.reportinghub.no/refdata/transform/objprop2rd-prod>
;
owl:
versionInfo
"Created with TopBraid Composer"
^^
xsd:
string
.
...
...
www.reportinghub.no/refdata/transform/objprop2rd-prod.ttl
View file @
2371238
...
...
@@ -22,7 +22,7 @@
owl:
ObjectProperty
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"
03
95 Handle classification of RD property as Production"
^^
xsd:
string
;
rdfs:
comment
"
24
95 Handle classification of RD property as Production"
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#Classification>
;
sp:
predicate
rdf:
type
;
sp:
subject
...
...
www.reportinghub.no/refdata/transform/objprop2rd.ttl
View file @
2371238
...
...
@@ -23,7 +23,7 @@
<http://www.reportinghub.no/ep/schema/core#PropertySpace>
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"
025
0 Set URI and designation for EHR Property Spaces Linked to PCA RD"
^^
xsd:
string
;
rdfs:
comment
"
244
0 Set URI and designation for EHR Property Spaces Linked to PCA RD"
^^
xsd:
string
;
sp:
templates
([
sp:
object
[
sp:
varName
"thisrduri"
^^
xsd:
string
]
;
...
...
@@ -58,7 +58,7 @@
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"
0251
Set URI and designation for EHR RD Property Spaces"
^^
xsd:
string
;
rdfs:
comment
"
2450
Set URI and designation for EHR RD Property Spaces"
^^
xsd:
string
;
sp:
templates
([
sp:
object
[
sp:
varName
"thisrduri"
^^
xsd:
string
]
;
...
...
@@ -170,7 +170,7 @@
owl:
ObjectProperty
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"
02
10 Set URI and designation for EHR RD from Object Property NOT Class of Indirect Property"
^^
xsd:
string
;
rdfs:
comment
"
24
10 Set URI and designation for EHR RD from Object Property NOT Class of Indirect Property"
^^
xsd:
string
;
sp:
templates
([
sp:
object
[
sp:
varName
"thisrduri"
^^
xsd:
string
]
;
...
...
@@ -270,7 +270,7 @@ owl:ObjectProperty
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"
02
20 Set URI and designation for EHR RD from Object Property Class of Indirect Property"
^^
xsd:
string
;
rdfs:
comment
"
24
20 Set URI and designation for EHR RD from Object Property Class of Indirect Property"
^^
xsd:
string
;
sp:
templates
([
sp:
object
[
sp:
varName
"thisrduri"
^^
xsd:
string
]
;
...
...
@@ -368,7 +368,7 @@ owl:ObjectProperty
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"
024
0 Set Class of Indirect Property Possessor"
^^
xsd:
string
;
rdfs:
comment
"
243
0 Set Class of Indirect Property Possessor"
^^
xsd:
string
;
sp:
templates
([
sp:
object
[
sp:
varName
"possessor"
^^
xsd:
string
]
;
...
...
@@ -401,7 +401,7 @@ owl:ObjectProperty
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"
02
60 Set Class of Indirect Property Property Space"
^^
xsd:
string
;
rdfs:
comment
"
24
60 Set Class of Indirect Property Property Space"
^^
xsd:
string
;
sp:
templates
([
sp:
object
[
sp:
varName
"space"
^^
xsd:
string
]
;
...
...
@@ -434,7 +434,7 @@ owl:ObjectProperty
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"
02
70 Set Part 2 ClassOfRelation of ERH RD Object Property"
^^
xsd:
string
;
rdfs:
comment
"
24
70 Set Part 2 ClassOfRelation of ERH RD Object Property"
^^
xsd:
string
;
sp:
templates
([
sp:
object
[
sp:
varName
"p2class"
^^
xsd:
string
]
;
...
...
@@ -526,7 +526,7 @@ owl:ObjectProperty
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"
0395
Handle classification of RD property as ERH Class"
^^
xsd:
string
;
rdfs:
comment
"
2480
Handle classification of RD property as ERH Class"
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#Classification>
;
sp:
predicate
rdf:
type
;
sp:
subject
...
...
@@ -579,7 +579,7 @@ owl:ObjectProperty
]
;
spin:
rule
[
rdf:
type
sp:
Construct
;
rdfs:
comment
"
0395
Handle classification of RD property as ERH Thing"
^^
xsd:
string
;
rdfs:
comment
"
2490
Handle classification of RD property as ERH Thing"
^^
xsd:
string
;
sp:
templates
([
sp:
object
<http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#Classification>
;
sp:
predicate
rdf:
type
;
sp:
subject
...
...
Please
register
or
login
to post a comment