David Leal

Merge branch 'MPR_12-13'

...@@ -11,14 +11,14 @@ ...@@ -11,14 +11,14 @@
11 <http://www.reportinghub.no/ep/transform/transform-helper-schema> 11 <http://www.reportinghub.no/ep/transform/transform-helper-schema>
12 rdf:type owl:Ontology ; 12 rdf:type owl:Ontology ;
13 rdfs:comment "The Transform Helper Schema is the set of properties and classes used for the creation of temporary data used as part of the ERH transformations. All instances of classes and uses of these properties is deleted before the triples are stored in the RDF database."^^xsd:string ; 13 rdfs:comment "The Transform Helper Schema is the set of properties and classes used for the creation of temporary data used as part of the ERH transformations. All instances of classes and uses of these properties is deleted before the triples are stored in the RDF database."^^xsd:string ;
14 - owl:imports <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.epim.no/schemas/mprml/1> ; 14 + owl:imports <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/schema/1.0/activity> ;
15 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 15 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
16 16
17 transhelp:derivedFrom 17 transhelp:derivedFrom
18 rdf:type owl:ObjectProperty . 18 rdf:type owl:ObjectProperty .
19 19
20 transhelp:facilityIdentifier 20 transhelp:facilityIdentifier
21 - rdf:type owl:FunctionalProperty , owl:DatatypeProperty . 21 + rdf:type owl:DatatypeProperty , owl:FunctionalProperty .
22 22
23 transhelp:forComment 23 transhelp:forComment
24 rdf:type owl:ObjectProperty ; 24 rdf:type owl:ObjectProperty ;
...@@ -30,30 +30,35 @@ transhelp:hasDerivedText ...@@ -30,30 +30,35 @@ transhelp:hasDerivedText
30 rdf:type owl:DatatypeProperty . 30 rdf:type owl:DatatypeProperty .
31 31
32 transhelp:interval 32 transhelp:interval
33 - rdf:type owl:FunctionalProperty , owl:DatatypeProperty . 33 + rdf:type owl:DatatypeProperty , owl:FunctionalProperty .
34 34
35 transhelp:intervalEnd 35 transhelp:intervalEnd
36 - rdf:type owl:FunctionalProperty , owl:DatatypeProperty . 36 + rdf:type owl:DatatypeProperty , owl:FunctionalProperty .
37 37
38 transhelp:intervalIdentifier 38 transhelp:intervalIdentifier
39 - rdf:type owl:FunctionalProperty , owl:DatatypeProperty . 39 + rdf:type owl:DatatypeProperty , owl:FunctionalProperty .
40 40
41 transhelp:intervalStart 41 transhelp:intervalStart
42 - rdf:type owl:FunctionalProperty , owl:DatatypeProperty . 42 + rdf:type owl:DatatypeProperty , owl:FunctionalProperty .
43 43
44 transhelp:label 44 transhelp:label
45 - rdf:type owl:FunctionalProperty , owl:DatatypeProperty . 45 + rdf:type owl:DatatypeProperty , owl:FunctionalProperty .
46 46
47 transhelp:mapsTo 47 transhelp:mapsTo
48 rdf:type rdf:Property . 48 rdf:type rdf:Property .
49 49
50 transhelp:materialClassMapsToMPREnumeration 50 transhelp:materialClassMapsToMPREnumeration
51 - rdf:type owl:ObjectProperty , owl:InverseFunctionalProperty , owl:FunctionalProperty ; 51 + rdf:type owl:FunctionalProperty , owl:InverseFunctionalProperty , owl:ObjectProperty ;
52 rdfs:label "material class maps to MPR enumeration"^^xsd:string ; 52 rdfs:label "material class maps to MPR enumeration"^^xsd:string ;
53 rdfs:subPropertyOf transhelp:mapsTo . 53 rdfs:subPropertyOf transhelp:mapsTo .
54 54
55 transhelp:nominalInstant 55 transhelp:nominalInstant
56 - rdf:type owl:FunctionalProperty , owl:DatatypeProperty . 56 + rdf:type owl:DatatypeProperty , owl:FunctionalProperty .
57 +
58 +transhelp:quantitySpaceMapsToClassOfScale
59 + rdf:type owl:FunctionalProperty , owl:InverseFunctionalProperty , owl:ObjectProperty ;
60 + rdfs:label "quantity space maps to class of scale"^^xsd:string ;
61 + rdfs:subPropertyOf transhelp:mapsTo .
57 62
58 transhelp:standardTempPres 63 transhelp:standardTempPres
59 rdf:type rdf:Property ; 64 rdf:type rdf:Property ;
......
1 +# baseURI: http://www.reportinghub.no/refdata/transform/quantityToClassOfScaleMap
2 +# imports: http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003
3 +# imports: http://rds.posccaesar.org/2008/06/OWL/RDL
4 +# imports: http://www.reportinghub.no/ep/schema/1.0/core
5 +# imports: http://www.reportinghub.no/ep/transform/transform-helper-schema
6 +
7 +@prefix : <http://www.reportinghub.no/refdata/transform/quantityToClassOfScaleMap#> .
8 +@prefix RDL: <http://rds.posccaesar.org/2008/06/OWL/RDL#> .
9 +@prefix owl: <http://www.w3.org/2002/07/owl#> .
10 +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
11 +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
12 +@prefix transhelp: <http://www.reportinghub.no/ep/transform/transform-helper-schema#> .
13 +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
14 +
15 +<http://www.reportinghub.no/ep/schema/core#Area>
16 + transhelp:quantitySpaceMapsToClassOfScale
17 + RDL:RDS1054511091 .
18 +
19 +<http://www.reportinghub.no/ep/schema/core#Density>
20 + transhelp:quantitySpaceMapsToClassOfScale
21 + RDL:RDS1354352791 .
22 +
23 +<http://www.reportinghub.no/ep/schema/core#Length>
24 + transhelp:quantitySpaceMapsToClassOfScale
25 + RDL:RDS1355222971 .
26 +
27 +<http://www.reportinghub.no/ep/schema/core#Mass>
28 + transhelp:quantitySpaceMapsToClassOfScale
29 + RDL:RDS1358660531 .
30 +
31 +<http://www.reportinghub.no/ep/schema/core#PlaneAngle>
32 + transhelp:quantitySpaceMapsToClassOfScale
33 + RDL:RDS1354272171 .
34 +
35 +<http://www.reportinghub.no/ep/schema/core#Power>
36 + transhelp:quantitySpaceMapsToClassOfScale
37 + RDL:RDS1358697161 .
38 +
39 +<http://www.reportinghub.no/ep/schema/core#Pressure>
40 + transhelp:quantitySpaceMapsToClassOfScale
41 + RDL:RDS1359461141 .
42 +
43 +<http://www.reportinghub.no/ep/schema/core#Temperature>
44 + transhelp:quantitySpaceMapsToClassOfScale
45 + RDL:RDS1054571911 .
46 +
47 +<http://www.reportinghub.no/ep/schema/core#TimeDuration>
48 + transhelp:quantitySpaceMapsToClassOfScale
49 + RDL:RDS1370654931 .
50 +
51 +<http://www.reportinghub.no/ep/schema/core#Velocity>
52 + transhelp:quantitySpaceMapsToClassOfScale
53 + RDL:RDS1406985181 .
54 +
55 +<http://www.reportinghub.no/ep/schema/core#Volume>
56 + transhelp:quantitySpaceMapsToClassOfScale
57 + RDL:RDS1369330550 .
58 +
59 +<http://www.reportinghub.no/ep/schema/core#VolumetricFlowRate>
60 + transhelp:quantitySpaceMapsToClassOfScale
61 + RDL:RDS1359698151 .
62 +
63 +<http://www.reportinghub.no/refdata/transform/quantityToClassOfScaleMap>
64 + rdf:type owl:Ontology ;
65 + owl:imports <http://rds.posccaesar.org/2008/06/OWL/RDL> , <http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/transform/transform-helper-schema> ;
66 + owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
1 # baseURI: http://www.reportinghub.no/refdata/transform/uomprop2rd 1 # baseURI: http://www.reportinghub.no/refdata/transform/uomprop2rd
2 # imports: http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003 2 # imports: http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003
3 +# imports: http://rds.posccaesar.org/2008/06/OWL/RDL
3 # imports: http://rds.posccaesar.org/2008/06/OWL/RDL-annotations 4 # imports: http://rds.posccaesar.org/2008/06/OWL/RDL-annotations
4 # imports: http://spinrdf.org/spin 5 # imports: http://spinrdf.org/spin
5 # imports: http://www.reportinghub.no/ep/schema/1.0/drilling 6 # imports: http://www.reportinghub.no/ep/schema/1.0/drilling
7 +# imports: http://www.reportinghub.no/ep/transform/transform-helper-schema
8 +# imports: http://www.reportinghub.no/refdata/transform/quantityToClassOfScaleMap
6 9
7 @prefix : <http://www.reportinghub.no/refdata/transform/uomprop2rd#> . 10 @prefix : <http://www.reportinghub.no/refdata/transform/uomprop2rd#> .
8 -@prefix ISO-15926-2_2003: <http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#> .
9 @prefix RDL-annotations: <http://rds.posccaesar.org/2008/06/OWL/RDL-annotations#> . 11 @prefix RDL-annotations: <http://rds.posccaesar.org/2008/06/OWL/RDL-annotations#> .
10 @prefix afn: <http://jena.hpl.hp.com/ARQ/function#> . 12 @prefix afn: <http://jena.hpl.hp.com/ARQ/function#> .
11 @prefix drilling: <http://www.reportinghub.no/ep/schema/1.0/drilling#> . 13 @prefix drilling: <http://www.reportinghub.no/ep/schema/1.0/drilling#> .
12 @prefix fn: <http://www.w3.org/2005/xpath-functions#> . 14 @prefix fn: <http://www.w3.org/2005/xpath-functions#> .
13 @prefix owl: <http://www.w3.org/2002/07/owl#> . 15 @prefix owl: <http://www.w3.org/2002/07/owl#> .
16 +@prefix pca-dm: <http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#> .
17 +@prefix quantityToClassOfScaleMap: <http://www.reportinghub.no/refdata/transform/quantityToClassOfScaleMap#> .
14 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . 18 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
15 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . 19 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
16 @prefix sp: <http://spinrdf.org/sp#> . 20 @prefix sp: <http://spinrdf.org/sp#> .
...@@ -21,13 +25,104 @@ ...@@ -21,13 +25,104 @@
21 25
22 <http://www.reportinghub.no/refdata/transform/uomprop2rd> 26 <http://www.reportinghub.no/refdata/transform/uomprop2rd>
23 rdf:type owl:Ontology ; 27 rdf:type owl:Ontology ;
24 - 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/ep/schema/1.0/drilling> ; 28 + owl:imports <http://rds.posccaesar.org/2008/06/OWL/RDL> , <http://www.reportinghub.no/ep/transform/transform-helper-schema> , <http://www.reportinghub.no/ep/schema/1.0/drilling> , <http://spinrdf.org/spin> , <http://rds.posccaesar.org/2008/06/OWL/RDL-annotations> , <http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003> , <http://www.reportinghub.no/refdata/transform/quantityToClassOfScaleMap> ;
25 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 29 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
26 30
27 owl:DatatypeProperty 31 owl:DatatypeProperty
28 spin:rule 32 spin:rule
29 [ rdf:type sp:Construct ; 33 [ rdf:type sp:Construct ;
30 - rdfs:comment "0340 Set URI and designation for EHR RD from Datatype Property that ARE UoM"^^xsd:string ; 34 + rdfs:comment "0341 Set the domain and classification"^^xsd:string ;
35 + sp:templates ([ sp:object
36 + [ sp:varName "rdDomain"^^xsd:string
37 + ] ;
38 + sp:predicate pca-dm:hasDomain ;
39 + sp:subject
40 + [ sp:varName "thisrduri"^^xsd:string
41 + ]
42 + ] [ sp:object pca-dm:Classification ;
43 + sp:predicate rdf:type ;
44 + sp:subject
45 + [ sp:varName "clsncuri"^^xsd:string
46 + ]
47 + ] [ sp:object
48 + [ sp:varName "classOfScale"^^xsd:string
49 + ] ;
50 + sp:predicate pca-dm:hasClassifier ;
51 + sp:subject
52 + [ sp:varName "clsncuri"^^xsd:string
53 + ]
54 + ] [ sp:object
55 + [ sp:varName "thisrduri"^^xsd:string
56 + ] ;
57 + sp:predicate pca-dm:hasClassified ;
58 + sp:subject
59 + [ sp:varName "clsncuri"^^xsd:string
60 + ]
61 + ] [ sp:object <http://posccaesar.org/rdl/ERH00000> ;
62 + sp:predicate rdf:type ;
63 + sp:subject
64 + [ sp:varName "clsncuri"^^xsd:string
65 + ]
66 + ]) ;
67 + sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/core#Scale> ;
68 + sp:predicate rdf:type ;
69 + sp:subject spin:_this
70 + ] [ sp:object spin:_this ;
71 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
72 + sp:subject
73 + [ sp:varName "thisrduri"^^xsd:string
74 + ]
75 + ] [ sp:object
76 + [ sp:varName "domain"^^xsd:string
77 + ] ;
78 + sp:predicate rdfs:domain ;
79 + sp:subject spin:_this
80 + ] [ sp:object
81 + [ sp:varName "rdDomain"^^xsd:string
82 + ] ;
83 + sp:predicate owl:sameAs ;
84 + sp:subject
85 + [ sp:varName "domain"^^xsd:string
86 + ]
87 + ] [ rdf:type sp:Optional ;
88 + sp:elements ([ sp:object
89 + [ sp:varName "classOfScale"^^xsd:string
90 + ] ;
91 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#quantitySpaceMapsToClassOfScale> ;
92 + sp:subject
93 + [ sp:varName "domain"^^xsd:string
94 + ]
95 + ])
96 + ] [ rdf:type sp:Bind ;
97 + sp:expression
98 + [ rdf:type spif:generateUUID
99 + ] ;
100 + sp:variable
101 + [ sp:varName "clsnuuid"^^xsd:string
102 + ]
103 + ] [ rdf:type sp:Bind ;
104 + sp:expression
105 + [ rdf:type fn:concat ;
106 + sp:arg1 "ERH" ;
107 + sp:arg2 [ sp:varName "clsnuuid"^^xsd:string
108 + ]
109 + ] ;
110 + sp:variable
111 + [ sp:varName "clsnid"^^xsd:string
112 + ]
113 + ] [ rdf:type sp:Bind ;
114 + sp:expression
115 + [ rdf:type spif:buildURI ;
116 + sp:arg1 "<http://posccaesar.org/rdl/{?clsnid}>"
117 + ] ;
118 + sp:variable
119 + [ sp:varName "clsncuri"^^xsd:string
120 + ]
121 + ])
122 + ] ;
123 + spin:rule
124 + [ rdf:type sp:Construct ;
125 + rdfs:comment "0340a Set URI and designation for EHR RD from Datatype Property that ARE UoM - no label"^^xsd:string ;
31 sp:templates ([ sp:object 126 sp:templates ([ sp:object
32 [ sp:varName "thisrduri"^^xsd:string 127 [ sp:varName "thisrduri"^^xsd:string
33 ] ; 128 ] ;
...@@ -47,11 +142,21 @@ owl:DatatypeProperty ...@@ -47,11 +142,21 @@ owl:DatatypeProperty
47 sp:subject 142 sp:subject
48 [ sp:varName "thisrduri"^^xsd:string 143 [ sp:varName "thisrduri"^^xsd:string
49 ] 144 ]
50 - ] [ sp:object ISO-15926-2_2003:Scale ; 145 + ] [ sp:object pca-dm:Scale ;
51 sp:predicate rdf:type ; 146 sp:predicate rdf:type ;
52 sp:subject 147 sp:subject
53 [ sp:varName "thisrduri"^^xsd:string 148 [ sp:varName "thisrduri"^^xsd:string
54 ] 149 ]
150 + ] [ sp:object "Scale imported from the EPIM schema - no label" ;
151 + sp:predicate <http://posccaesar.org/rdl/hasNoteAdmin> ;
152 + sp:subject
153 + [ sp:varName "thisrduri"^^xsd:string
154 + ]
155 + ] [ sp:object spin:_this ;
156 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
157 + sp:subject
158 + [ sp:varName "thisrduri"^^xsd:string
159 + ]
55 ]) ; 160 ]) ;
56 sp:where ([ rdf:type sp:NotExists ; 161 sp:where ([ rdf:type sp:NotExists ;
57 sp:elements ([ sp:object 162 sp:elements ([ sp:object
...@@ -62,7 +167,7 @@ owl:DatatypeProperty ...@@ -62,7 +167,7 @@ owl:DatatypeProperty
62 ]) 167 ])
63 ] [ rdf:type sp:NotExists ; 168 ] [ rdf:type sp:NotExists ;
64 sp:elements ([ sp:object 169 sp:elements ([ sp:object
65 - [ sp:varName "seerd"^^xsd:string 170 + [ sp:varName "seeReferenceData"^^xsd:string
66 ] ; 171 ] ;
67 sp:predicate <http://www.reportinghub.no/ep/schema/core#seeReferenceData> ; 172 sp:predicate <http://www.reportinghub.no/ep/schema/core#seeReferenceData> ;
68 sp:subject spin:_this 173 sp:subject spin:_this
...@@ -70,6 +175,46 @@ owl:DatatypeProperty ...@@ -70,6 +175,46 @@ owl:DatatypeProperty
70 ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Scale> ; 175 ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Scale> ;
71 sp:predicate rdf:type ; 176 sp:predicate rdf:type ;
72 sp:subject spin:_this 177 sp:subject spin:_this
178 + ] [ rdf:type sp:NotExists ;
179 + sp:elements ([ sp:object
180 + [ sp:varName "label"^^xsd:string
181 + ] ;
182 + sp:predicate rdfs:label ;
183 + sp:subject spin:_this
184 + ])
185 + ] [ rdf:type sp:Bind ;
186 + sp:expression
187 + [ rdf:type spif:generateUUID
188 + ] ;
189 + sp:variable
190 + [ sp:varName "uuid"^^xsd:string
191 + ]
192 + ] [ rdf:type sp:Bind ;
193 + sp:expression
194 + [ rdf:type fn:concat ;
195 + sp:arg1 "ERH" ;
196 + sp:arg2 [ sp:varName "uuid"^^xsd:string
197 + ]
198 + ] ;
199 + sp:variable
200 + [ sp:varName "pcaid"^^xsd:string
201 + ]
202 + ] [ rdf:type sp:Bind ;
203 + sp:expression
204 + [ rdf:type spif:buildURI ;
205 + sp:arg1 "<http://posccaesar.org/rdl/{?pcaid}>"
206 + ] ;
207 + sp:variable
208 + [ sp:varName "thisrduri"^^xsd:string
209 + ]
210 + ] [ rdf:type sp:Bind ;
211 + sp:expression
212 + [ rdf:type fn:upper-case ;
213 + sp:arg1 "no label"
214 + ] ;
215 + sp:variable
216 + [ sp:varName "desigation"^^xsd:string
217 + ]
73 ] [ rdf:type sp:Filter ; 218 ] [ rdf:type sp:Filter ;
74 sp:expression 219 sp:expression
75 [ rdf:type sp:ne ; 220 [ rdf:type sp:ne ;
...@@ -86,6 +231,114 @@ owl:DatatypeProperty ...@@ -86,6 +231,114 @@ owl:DatatypeProperty
86 ] ; 231 ] ;
87 sp:arg2 "http://www.w3.org/2004/02/skos/core#" 232 sp:arg2 "http://www.w3.org/2004/02/skos/core#"
88 ] 233 ]
234 + ])
235 + ] ;
236 + spin:rule
237 + [ rdf:type sp:Construct ;
238 + rdfs:comment "0342 Set the range - not Beaufort scale which has an integer range"^^xsd:string ;
239 + sp:templates ([ sp:object <http://rds.posccaesar.org/2008/06/OWL/RDL#RDS999900710> ;
240 + sp:predicate pca-dm:hasCodomain ;
241 + sp:subject
242 + [ sp:varName "thisrduri"^^xsd:string
243 + ]
244 + ]) ;
245 + sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/core#Scale> ;
246 + sp:predicate rdf:type ;
247 + sp:subject spin:_this
248 + ] [ rdf:type sp:NotExists ;
249 + sp:elements ([ sp:object "Beaufort scale number" ;
250 + sp:predicate rdfs:label ;
251 + sp:subject spin:_this
252 + ])
253 + ] [ sp:object spin:_this ;
254 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
255 + sp:subject
256 + [ sp:varName "thisrduri"^^xsd:string
257 + ]
258 + ])
259 + ] ;
260 + spin:rule
261 + [ rdf:type sp:Construct ;
262 + rdfs:comment "0340 Set URI and designation for EHR RD from Datatype Property that ARE UoM"^^xsd:string ;
263 + sp:templates ([ sp:object
264 + [ sp:varName "thisrduri"^^xsd:string
265 + ] ;
266 + sp:predicate owl:sameAs ;
267 + sp:subject spin:_this
268 + ] [ sp:object
269 + [ sp:varName "desigation"^^xsd:string
270 + ] ;
271 + sp:predicate <http://posccaesar.org/rdl/hasDesignation> ;
272 + sp:subject
273 + [ sp:varName "thisrduri"^^xsd:string
274 + ]
275 + ] [ sp:object
276 + [ sp:varName "pcaid"^^xsd:string
277 + ] ;
278 + sp:predicate <http://posccaesar.org/rdl/hasIdPCA> ;
279 + sp:subject
280 + [ sp:varName "thisrduri"^^xsd:string
281 + ]
282 + ] [ sp:object pca-dm:Scale ;
283 + sp:predicate rdf:type ;
284 + sp:subject
285 + [ sp:varName "thisrduri"^^xsd:string
286 + ]
287 + ] [ sp:object "Scale imported from the EPIM schema" ;
288 + sp:predicate <http://posccaesar.org/rdl/hasNoteAdmin> ;
289 + sp:subject
290 + [ sp:varName "thisrduri"^^xsd:string
291 + ]
292 + ] [ sp:object <http://posccaesar.org/rdl/ERH00000> ;
293 + sp:predicate rdf:type ;
294 + sp:subject
295 + [ sp:varName "thisrduri"^^xsd:string
296 + ]
297 + ] [ sp:object pca-dm:Classification ;
298 + sp:predicate rdf:type ;
299 + sp:subject
300 + [ sp:varName "clsncuri"^^xsd:string
301 + ]
302 + ] [ sp:object <http://posccaesar.org/rdl/ERH00001> ;
303 + sp:predicate pca-dm:hasClassifier ;
304 + sp:subject
305 + [ sp:varName "clsncuri"^^xsd:string
306 + ]
307 + ] [ sp:object
308 + [ sp:varName "thisrduri"^^xsd:string
309 + ] ;
310 + sp:predicate pca-dm:hasClassified ;
311 + sp:subject
312 + [ sp:varName "clsncuri"^^xsd:string
313 + ]
314 + ] [ sp:object <http://posccaesar.org/rdl/ERH00000> ;
315 + sp:predicate rdf:type ;
316 + sp:subject
317 + [ sp:varName "clsncuri"^^xsd:string
318 + ]
319 + ] [ sp:object spin:_this ;
320 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
321 + sp:subject
322 + [ sp:varName "thisrduri"^^xsd:string
323 + ]
324 + ]) ;
325 + sp:where ([ rdf:type sp:NotExists ;
326 + sp:elements ([ sp:object
327 + [ sp:varName "same"^^xsd:string
328 + ] ;
329 + sp:predicate owl:sameAs ;
330 + sp:subject spin:_this
331 + ])
332 + ] [ rdf:type sp:NotExists ;
333 + sp:elements ([ sp:object
334 + [ sp:varName "seeReferenceData"^^xsd:string
335 + ] ;
336 + sp:predicate <http://www.reportinghub.no/ep/schema/core#seeReferenceData> ;
337 + sp:subject spin:_this
338 + ])
339 + ] [ sp:object <http://www.reportinghub.no/ep/schema/core#Scale> ;
340 + sp:predicate rdf:type ;
341 + sp:subject spin:_this
89 ] [ sp:object 342 ] [ sp:object
90 [ sp:varName "label"^^xsd:string 343 [ sp:varName "label"^^xsd:string
91 ] ; 344 ] ;
...@@ -125,5 +378,21 @@ owl:DatatypeProperty ...@@ -125,5 +378,21 @@ owl:DatatypeProperty
125 sp:variable 378 sp:variable
126 [ sp:varName "desigation"^^xsd:string 379 [ sp:varName "desigation"^^xsd:string
127 ] 380 ]
381 + ] [ rdf:type sp:Filter ;
382 + sp:expression
383 + [ rdf:type sp:ne ;
384 + sp:arg1 [ rdf:type afn:namespace ;
385 + sp:arg1 spin:_this
386 + ] ;
387 + sp:arg2 "http://www.linkedmodel.org/schema/vaem#"
388 + ]
389 + ] [ rdf:type sp:Filter ;
390 + sp:expression
391 + [ rdf:type sp:ne ;
392 + sp:arg1 [ rdf:type afn:namespace ;
393 + sp:arg1 spin:_this
394 + ] ;
395 + sp:arg2 "http://www.w3.org/2004/02/skos/core#"
396 + ]
128 ]) 397 ])
129 ] . 398 ] .
......
...@@ -12,5 +12,7 @@ ...@@ -12,5 +12,7 @@
12 [] rdf:type inference:Configuration ; 12 [] rdf:type inference:Configuration ;
13 composite:child 13 composite:child
14 [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; 14 [ rdf:type <http://spinrdf.org/spin#TopSPIN> ;
15 + <http://spinrdf.org/spin#topSPINOptions>
16 + "singlePass" ;
15 composite:index "0"^^xsd:int 17 composite:index "0"^^xsd:int
16 ] . 18 ] .
......