David Price

Extended Drilling RD gen to start Object Properties, added 3 PropertySpace rd links to core

This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
......@@ -13,6 +13,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 smf: <http://topbraid.org/sparqlmotionfunctions#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spif: <http://spinrdf.org/spif#> .
@prefix spin: <http://spinrdf.org/spin#> .
......@@ -27,7 +28,7 @@
owl:Class
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "0001 Set URI and designation for EHR RD Class"^^xsd:string ;
rdfs:comment "0110 Set URI and designation for EHR RD Class"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "thisrduri"^^xsd:string
] ;
......@@ -107,7 +108,7 @@ owl:Class
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:buildURI ;
sp:arg1 "<http://posccaesar.org/{?pcaid}>"
sp:arg1 "<http://posccaesar.org/rdl/{?pcaid}>"
] ;
sp:variable
[ sp:varName "thisrduri"^^xsd:string
......@@ -125,7 +126,39 @@ owl:Class
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "0003 Handle subclasses"^^xsd:string ;
rdfs:comment "0120 Set sameAs for RD items already in PCA RDL"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "rduri"^^xsd:string
] ;
sp:predicate owl:sameAs ;
sp:subject spin:_this
]) ;
sp:where ([ rdf:type sp:NotExists ;
sp:elements ([ sp:object
[ sp:varName "same"^^xsd:string
] ;
sp:predicate owl:sameAs ;
sp:subject spin:_this
])
] [ sp:object
[ sp:varName "seerd"^^xsd:string
] ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#seeReferenceData> ;
sp:subject spin:_this
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type smf:buildURI ;
sp:arg1 [ sp:varName "seerd"^^xsd:string
]
] ;
sp:variable
[ sp:varName "rduri"^^xsd:string
]
])
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "0130 Handle subclasses"^^xsd:string ;
sp:templates ([ sp:object ISO-15926-2_2003:Specialization ;
sp:predicate rdf:type ;
sp:subject
......@@ -183,7 +216,7 @@ owl:Class
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type spif:buildURI ;
sp:arg1 "<http://posccaesar.org/{?pcaid}>"
sp:arg1 "<http://posccaesar.org/rdl/{?pcaid}>"
] ;
sp:variable
[ sp:varName "specuri"^^xsd:string
......@@ -192,7 +225,7 @@ owl:Class
] ;
spin:rule
[ rdf:type sp:Construct ;
rdfs:comment "0004 Set Part 2 Class of EHR RD Class"^^xsd:string ;
rdfs:comment "0140 Set Part 2 Class of EHR RD Class"^^xsd:string ;
sp:templates ([ sp:object
[ sp:varName "p2class"^^xsd:string
] ;
......