Showing
14 changed files
with
312 additions
and
55 deletions
No preview for this file type
No preview for this file type
No preview for this file type
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff is collapsed. Click to expand it.
1 | +# baseURI: null | ||
2 | + | ||
3 | +@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . | ||
4 | +@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> . | ||
5 | +@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> . | ||
6 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
7 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
8 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
9 | +@prefix visual: <http://topbraid.org/visual#> . | ||
10 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
11 | + | ||
12 | +[] rdf:type inference:Configuration ; | ||
13 | + composite:child | ||
14 | + [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; | ||
15 | + <http://spinrdf.org/spin#topSPINOptions> | ||
16 | + "singlePass" ; | ||
17 | + composite:index "0"^^xsd:int | ||
18 | + ] . |
1 | +# 100 CLASS uri, des, id and def | ||
2 | +CONSTRUCT { | ||
3 | + ?rduri a ?p2uri . | ||
4 | + ?rduri pca-rdl:hasDesignation ?des . | ||
5 | + ?rduri pca-rdl:hasDefinition ?def . | ||
6 | + ?rduri pca-rdl:hasIdPCA ?rdlid . | ||
7 | + ?ontitemuri owl:sameAs ?rduri . | ||
8 | + ?specuri a p2:Specialization . | ||
9 | + ?specuri p2:hasSuperclass ?superuri . | ||
10 | + ?specuri p2:hasSubclass ?rduri . | ||
11 | +} | ||
12 | +WHERE { | ||
13 | + ?this erh-drilling-rd-classes:eRHLocalname ?localname . | ||
14 | + ?this erh-drilling-rd-classes:eRHOntology ?ont . | ||
15 | + BIND (fn:concat(?ont, ?localname) AS ?ontitem) . | ||
16 | + BIND (spif:buildURI(?ontitem) AS ?ontitemuri) . | ||
17 | + NOT EXISTS { | ||
18 | + ?ontitemuri owl:sameAs ?anything . | ||
19 | + } . | ||
20 | + ?this erh-drilling-rd-classes:rDId ?rdlid . | ||
21 | + ?this erh-drilling-rd-classes:rDURI ?rduristr . | ||
22 | + BIND (smf:buildURI(?rduristr) AS ?rduri) . | ||
23 | + ?this erh-drilling-rd-classes:RDDesignation ?des . | ||
24 | + ?this erh-drilling-rd-classes:rDDefinition ?def . | ||
25 | + ?this erh-drilling-rd-classes:entityType ?p2name . | ||
26 | + BIND (fn:concat("http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#", ?p2name) AS ?p2thing) . | ||
27 | + BIND (smf:buildURI(?p2thing) AS ?p2uri) . | ||
28 | + OPTIONAL { | ||
29 | + ?this erh-drilling-rd-classes:rDSuperclassURI ?super . | ||
30 | + BIND (smf:buildURI(?super) AS ?superuri) . | ||
31 | + BIND (spif:generateUUID() AS ?specuuid) . | ||
32 | + BIND (fn:concat("ERH", ?specuuid) AS ?specid) . | ||
33 | + BIND (spif:buildURI("<http://posccaesar.org/rdl/{?specid}>") AS ?specuri) . | ||
34 | + } . | ||
35 | +} | ||
36 | + | ||
37 | + | ||
38 | + | ||
39 | + | ||
40 | + | ||
41 | +# 100 CLASS uri, des, id and def | ||
42 | +CONSTRUCT { | ||
43 | + ?rduri a ?p2uri . | ||
44 | + ?rduri pca-rdl:hasDesignation ?des . | ||
45 | + ?rduri pca-rdl:hasDefinition ?def . | ||
46 | + ?rduri pca-rdl:hasIdPCA ?rdlid . | ||
47 | +} | ||
48 | +WHERE { | ||
49 | + ?this erh-drilling-rd-classes:rDId ?rdlid . | ||
50 | + ?this erh-drilling-rd-classes:rDURI ?rduristr . | ||
51 | + BIND (smf:buildURI(?rduristr) AS ?rduri) . | ||
52 | + ?this erh-drilling-rd-classes:RDDesignation ?des . | ||
53 | + ?this erh-drilling-rd-classes:rDDefinition ?def . | ||
54 | + ?this erh-drilling-rd-classes:entityType ?p2name . | ||
55 | + BIND (fn:concat("http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#", ?p2name) AS ?p2thing) . | ||
56 | + BIND (smf:buildURI(?p2thing) AS ?p2uri) . | ||
57 | +} | ||
58 | + | ||
59 | +# 200 CLASS subclasses | ||
60 | +CONSTRUCT { | ||
61 | + ?specuri a p2:Specialization . | ||
62 | + ?specuri p2:hasSuperclass ?superuri . | ||
63 | + ?specuri p2:hasSubclass ?rduri . | ||
64 | +} | ||
65 | +WHERE { | ||
66 | + ?this a erh-drilling-rd-classes:erh-drilling-rd-classes . | ||
67 | + ?this erh-drilling-rd-classes:rDSuperclassURI ?super . | ||
68 | + BIND (smf:buildURI(?super) AS ?superuri) . | ||
69 | + ?this erh-drilling-rd-classes:rDURI ?rduristr . | ||
70 | + BIND (smf:buildURI(?rduristr) AS ?rduri) . | ||
71 | + BIND (spif:generateUUID() AS ?specuuid) . | ||
72 | + BIND (fn:concat("ERH", ?specuuid) AS ?specid) . | ||
73 | + BIND (spif:buildURI("<http://posccaesar.org/rdl/{?specid}>") AS ?specuri) . | ||
74 | +} | ||
75 | + | ||
76 | +# 300 Class SAME AS | ||
77 | +CONSTRUCT { | ||
78 | + ?ontitemuri owl:sameAs ?rduri . | ||
79 | +} | ||
80 | +WHERE { | ||
81 | + ?this a erh-drilling-rd-classes:erh-drilling-rd-classes . | ||
82 | + ?this erh-drilling-rd-classes:eRHLocalname ?localname . | ||
83 | + ?this erh-drilling-rd-classes:eRHOntology ?ont . | ||
84 | + BIND (fn:concat(?ont, ?localname) AS ?ontitem) . | ||
85 | + BIND (spif:buildURI(?ontitem) AS ?ontitemuri) . | ||
86 | + ?this erh-drilling-rd-classes:rDURI ?rduristr . | ||
87 | + BIND (smf:buildURI(?rduristr) AS ?rduri) . | ||
88 | +} | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
... | @@ -41,11 +41,6 @@ owl:DatatypeProperty | ... | @@ -41,11 +41,6 @@ owl:DatatypeProperty |
41 | sp:subject | 41 | sp:subject |
42 | [ sp:varName "clsnuri"^^xsd:string | 42 | [ sp:varName "clsnuri"^^xsd:string |
43 | ] | 43 | ] |
44 | - ] [ sp:object <http://posccaesar.org/rdl/ERH00000> ; | ||
45 | - sp:predicate rdf:type ; | ||
46 | - sp:subject | ||
47 | - [ sp:varName "clsnuri"^^xsd:string | ||
48 | - ] | ||
49 | ]) ; | 44 | ]) ; |
50 | sp:where ([ sp:object | 45 | sp:where ([ sp:object |
51 | [ sp:varName "thisrduri"^^xsd:string | 46 | [ sp:varName "thisrduri"^^xsd:string | ... | ... |
... | @@ -55,11 +55,6 @@ owl:DatatypeProperty | ... | @@ -55,11 +55,6 @@ owl:DatatypeProperty |
55 | sp:subject | 55 | sp:subject |
56 | [ sp:varName "thisrduri"^^xsd:string | 56 | [ sp:varName "thisrduri"^^xsd:string |
57 | ] | 57 | ] |
58 | - ] [ sp:object <http://posccaesar.org/rdl/ERH00000> ; | ||
59 | - sp:predicate rdf:type ; | ||
60 | - sp:subject | ||
61 | - [ sp:varName "thisrduri"^^xsd:string | ||
62 | - ] | ||
63 | ] [ sp:object <http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#ClassOfClassOfRepresentation> ; | 58 | ] [ sp:object <http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#ClassOfClassOfRepresentation> ; |
64 | sp:predicate rdf:type ; | 59 | sp:predicate rdf:type ; |
65 | sp:subject | 60 | sp:subject |
... | @@ -239,4 +234,110 @@ owl:DatatypeProperty | ... | @@ -239,4 +234,110 @@ owl:DatatypeProperty |
239 | [ sp:varName "domain"^^xsd:string | 234 | [ sp:varName "domain"^^xsd:string |
240 | ] | 235 | ] |
241 | ]) | 236 | ]) |
237 | + ] ; | ||
238 | + spin:rule | ||
239 | + [ rdf:type sp:Construct ; | ||
240 | + rdfs:comment "0395 Handle classification of RD property as ERH Class"^^xsd:string ; | ||
241 | + sp:templates ([ sp:object <http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#Classification> ; | ||
242 | + sp:predicate rdf:type ; | ||
243 | + sp:subject | ||
244 | + [ sp:varName "clsnuri"^^xsd:string | ||
245 | + ] | ||
246 | + ] [ sp:object | ||
247 | + [ sp:varName "thisrduri"^^xsd:string | ||
248 | + ] ; | ||
249 | + sp:predicate <http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#hasClassified> ; | ||
250 | + sp:subject | ||
251 | + [ sp:varName "clsnuri"^^xsd:string | ||
252 | + ] | ||
253 | + ] [ sp:object <http://posccaesar.org/rdl/ERH00001> ; | ||
254 | + sp:predicate <http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#hasClassifier> ; | ||
255 | + sp:subject | ||
256 | + [ sp:varName "clsnuri"^^xsd:string | ||
257 | + ] | ||
258 | + ]) ; | ||
259 | + sp:where ([ sp:object | ||
260 | + [ sp:varName "thisrduri"^^xsd:string | ||
261 | + ] ; | ||
262 | + sp:predicate owl:sameAs ; | ||
263 | + sp:subject spin:_this | ||
264 | + ] [ rdf:type sp:Bind ; | ||
265 | + sp:expression | ||
266 | + [ rdf:type spif:generateUUID | ||
267 | + ] ; | ||
268 | + sp:variable | ||
269 | + [ sp:varName "uuid"^^xsd:string | ||
270 | + ] | ||
271 | + ] [ rdf:type sp:Bind ; | ||
272 | + sp:expression | ||
273 | + [ rdf:type fn:concat ; | ||
274 | + sp:arg1 "ERH" ; | ||
275 | + sp:arg2 [ sp:varName "uuid"^^xsd:string | ||
276 | + ] | ||
277 | + ] ; | ||
278 | + sp:variable | ||
279 | + [ sp:varName "pcaid"^^xsd:string | ||
280 | + ] | ||
281 | + ] [ rdf:type sp:Bind ; | ||
282 | + sp:expression | ||
283 | + [ rdf:type spif:buildURI ; | ||
284 | + sp:arg1 "<http://posccaesar.org/rdl/{?pcaid}>" | ||
285 | + ] ; | ||
286 | + sp:variable | ||
287 | + [ sp:varName "clsnuri"^^xsd:string | ||
288 | + ] | ||
289 | + ]) | ||
290 | + ] ; | ||
291 | + spin:rule | ||
292 | + [ rdf:type sp:Construct ; | ||
293 | + rdfs:comment "0395 Handle classification of RD property as ERH Thing"^^xsd:string ; | ||
294 | + sp:templates ([ sp:object <http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#Classification> ; | ||
295 | + sp:predicate rdf:type ; | ||
296 | + sp:subject | ||
297 | + [ sp:varName "clsnuri"^^xsd:string | ||
298 | + ] | ||
299 | + ] [ sp:object | ||
300 | + [ sp:varName "thisrduri"^^xsd:string | ||
301 | + ] ; | ||
302 | + sp:predicate <http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#hasClassified> ; | ||
303 | + sp:subject | ||
304 | + [ sp:varName "clsnuri"^^xsd:string | ||
305 | + ] | ||
306 | + ] [ sp:object <http://posccaesar.org/rdl/ERH00000> ; | ||
307 | + sp:predicate <http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#hasClassifier> ; | ||
308 | + sp:subject | ||
309 | + [ sp:varName "clsnuri"^^xsd:string | ||
310 | + ] | ||
311 | + ]) ; | ||
312 | + sp:where ([ sp:object | ||
313 | + [ sp:varName "thisrduri"^^xsd:string | ||
314 | + ] ; | ||
315 | + sp:predicate owl:sameAs ; | ||
316 | + sp:subject spin:_this | ||
317 | + ] [ rdf:type sp:Bind ; | ||
318 | + sp:expression | ||
319 | + [ rdf:type spif:generateUUID | ||
320 | + ] ; | ||
321 | + sp:variable | ||
322 | + [ sp:varName "uuid"^^xsd:string | ||
323 | + ] | ||
324 | + ] [ rdf:type sp:Bind ; | ||
325 | + sp:expression | ||
326 | + [ rdf:type fn:concat ; | ||
327 | + sp:arg1 "ERH" ; | ||
328 | + sp:arg2 [ sp:varName "uuid"^^xsd:string | ||
329 | + ] | ||
330 | + ] ; | ||
331 | + sp:variable | ||
332 | + [ sp:varName "pcaid"^^xsd:string | ||
333 | + ] | ||
334 | + ] [ rdf:type sp:Bind ; | ||
335 | + sp:expression | ||
336 | + [ rdf:type spif:buildURI ; | ||
337 | + sp:arg1 "<http://posccaesar.org/rdl/{?pcaid}>" | ||
338 | + ] ; | ||
339 | + sp:variable | ||
340 | + [ sp:varName "clsnuri"^^xsd:string | ||
341 | + ] | ||
342 | + ]) | ||
242 | ] . | 343 | ] . | ... | ... |
1 | # baseURI: http://www.reportinghub.no/refdata/transform/make-rd-prod | 1 | # baseURI: http://www.reportinghub.no/refdata/transform/make-rd-prod |
2 | # imports: http://spinrdf.org/spin | 2 | # imports: http://spinrdf.org/spin |
3 | -# imports: http://www.reportinghub.no/refdata/drilling | 3 | +# imports: http://www.reportinghub.no/refdata/1.0/production |
4 | # imports: http://www.reportinghub.no/refdata/foundation | 4 | # imports: http://www.reportinghub.no/refdata/foundation |
5 | -# imports: http://www.reportinghub.no/refdata/npdfacts | ||
6 | -# imports: http://www.reportinghub.no/refdata/production | ||
7 | # imports: http://www.reportinghub.no/refdata/transform/class2rd-prod | 5 | # imports: http://www.reportinghub.no/refdata/transform/class2rd-prod |
6 | +# imports: http://www.reportinghub.no/refdata/transform/datprop2rd-prod | ||
7 | +# imports: http://www.reportinghub.no/refdata/transform/objprop2rd-prod | ||
8 | 8 | ||
9 | @prefix : <http://www.reportinghub.no/refdata/transform/make-rd-prod#> . | 9 | @prefix : <http://www.reportinghub.no/refdata/transform/make-rd-prod#> . |
10 | @prefix class2rd-prod: <http://www.reportinghub.no/refdata/transform/class2rd-prod#> . | 10 | @prefix class2rd-prod: <http://www.reportinghub.no/refdata/transform/class2rd-prod#> . |
... | @@ -18,5 +18,5 @@ | ... | @@ -18,5 +18,5 @@ |
18 | 18 | ||
19 | <http://www.reportinghub.no/refdata/transform/make-rd-prod> | 19 | <http://www.reportinghub.no/refdata/transform/make-rd-prod> |
20 | rdf:type owl:Ontology ; | 20 | rdf:type owl:Ontology ; |
21 | - owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/refdata/drilling> , <http://www.reportinghub.no/refdata/foundation> , <http://www.reportinghub.no/refdata/npdfacts> , <http://www.reportinghub.no/refdata/production> , <http://www.reportinghub.no/refdata/transform/class2rd-prod> ; | 21 | + 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> ; |
22 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 22 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ... | ... |
1 | +# baseURI: http://www.reportinghub.no/refdata/transform/objprop2rd-prod | ||
2 | +# imports: http://spinrdf.org/spin | ||
3 | +# imports: http://www.reportinghub.no/refdata/transform/objprop2rd | ||
4 | + | ||
5 | +@prefix fn: <http://www.w3.org/2005/xpath-functions#> . | ||
6 | +@prefix objprop2rd: <http://www.reportinghub.no/refdata/transform/objprop2rd#> . | ||
7 | +@prefix objprop2rd-prod: <http://www.reportinghub.no/refdata/transform/objprop2rd-prod#> . | ||
8 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
9 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
10 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
11 | +@prefix sp: <http://spinrdf.org/sp#> . | ||
12 | +@prefix spif: <http://spinrdf.org/spif#> . | ||
13 | +@prefix spin: <http://spinrdf.org/spin#> . | ||
14 | +@prefix spl: <http://spinrdf.org/spl#> . | ||
15 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
16 | + | ||
17 | +<http://www.reportinghub.no/refdata/transform/objprop2rd-prod> | ||
18 | + rdf:type owl:Ontology ; | ||
19 | + owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/refdata/transform/objprop2rd> ; | ||
20 | + owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ||
21 | + | ||
22 | +owl:ObjectProperty | ||
23 | + spin:rule | ||
24 | + [ rdf:type sp:Construct ; | ||
25 | + rdfs:comment "0395 Handle classification of RD property as Production"^^xsd:string ; | ||
26 | + sp:templates ([ sp:object <http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#Classification> ; | ||
27 | + sp:predicate rdf:type ; | ||
28 | + sp:subject | ||
29 | + [ sp:varName "clsnuri"^^xsd:string | ||
30 | + ] | ||
31 | + ] [ sp:object | ||
32 | + [ sp:varName "thisrduri"^^xsd:string | ||
33 | + ] ; | ||
34 | + sp:predicate <http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#hasClassified> ; | ||
35 | + sp:subject | ||
36 | + [ sp:varName "clsnuri"^^xsd:string | ||
37 | + ] | ||
38 | + ] [ sp:object <http://posccaesar.org/rdl/ERH00004> ; | ||
39 | + sp:predicate <http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#hasClassifier> ; | ||
40 | + sp:subject | ||
41 | + [ sp:varName "clsnuri"^^xsd:string | ||
42 | + ] | ||
43 | + ]) ; | ||
44 | + sp:where ([ sp:object | ||
45 | + [ sp:varName "thisrduri"^^xsd:string | ||
46 | + ] ; | ||
47 | + sp:predicate owl:sameAs ; | ||
48 | + sp:subject spin:_this | ||
49 | + ] [ rdf:type sp:Bind ; | ||
50 | + sp:expression | ||
51 | + [ rdf:type spif:generateUUID | ||
52 | + ] ; | ||
53 | + sp:variable | ||
54 | + [ sp:varName "uuid"^^xsd:string | ||
55 | + ] | ||
56 | + ] [ rdf:type sp:Bind ; | ||
57 | + sp:expression | ||
58 | + [ rdf:type fn:concat ; | ||
59 | + sp:arg1 "ERH" ; | ||
60 | + sp:arg2 [ sp:varName "uuid"^^xsd:string | ||
61 | + ] | ||
62 | + ] ; | ||
63 | + sp:variable | ||
64 | + [ sp:varName "pcaid"^^xsd:string | ||
65 | + ] | ||
66 | + ] [ rdf:type sp:Bind ; | ||
67 | + sp:expression | ||
68 | + [ rdf:type spif:buildURI ; | ||
69 | + sp:arg1 "<http://posccaesar.org/rdl/{?pcaid}>" | ||
70 | + ] ; | ||
71 | + sp:variable | ||
72 | + [ sp:varName "clsnuri"^^xsd:string | ||
73 | + ] | ||
74 | + ]) | ||
75 | + ] . |
1 | +# baseURI: null | ||
2 | + | ||
3 | +@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . | ||
4 | +@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> . | ||
5 | +@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> . | ||
6 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
7 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
8 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
9 | +@prefix visual: <http://topbraid.org/visual#> . | ||
10 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
11 | + | ||
12 | +[] rdf:type inference:Configuration ; | ||
13 | + composite:child | ||
14 | + [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; | ||
15 | + composite:index "0"^^xsd:int | ||
16 | + ] . |
... | @@ -202,11 +202,6 @@ owl:ObjectProperty | ... | @@ -202,11 +202,6 @@ owl:ObjectProperty |
202 | sp:subject | 202 | sp:subject |
203 | [ sp:varName "thisrduri"^^xsd:string | 203 | [ sp:varName "thisrduri"^^xsd:string |
204 | ] | 204 | ] |
205 | - ] [ sp:object <http://posccaesar.org/rdl/ERH00000> ; | ||
206 | - sp:predicate rdf:type ; | ||
207 | - sp:subject | ||
208 | - [ sp:varName "thisrduri"^^xsd:string | ||
209 | - ] | ||
210 | ]) ; | 205 | ]) ; |
211 | sp:where ([ rdf:type sp:NotExists ; | 206 | sp:where ([ rdf:type sp:NotExists ; |
212 | sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/core#Class_of_indirect_property> ; | 207 | sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/core#Class_of_indirect_property> ; |
... | @@ -307,11 +302,6 @@ owl:ObjectProperty | ... | @@ -307,11 +302,6 @@ owl:ObjectProperty |
307 | sp:subject | 302 | sp:subject |
308 | [ sp:varName "thisrduri"^^xsd:string | 303 | [ sp:varName "thisrduri"^^xsd:string |
309 | ] | 304 | ] |
310 | - ] [ sp:object <http://posccaesar.org/rdl/ERH00000> ; | ||
311 | - sp:predicate rdf:type ; | ||
312 | - sp:subject | ||
313 | - [ sp:varName "thisrduri"^^xsd:string | ||
314 | - ] | ||
315 | ]) ; | 305 | ]) ; |
316 | sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/core#Class_of_indirect_property> ; | 306 | sp:where ([ sp:object <http://www.reportinghub.no/ep/schema/core#Class_of_indirect_property> ; |
317 | sp:predicate rdf:type ; | 307 | sp:predicate rdf:type ; |
... | @@ -444,7 +434,7 @@ owl:ObjectProperty | ... | @@ -444,7 +434,7 @@ owl:ObjectProperty |
444 | ] ; | 434 | ] ; |
445 | spin:rule | 435 | spin:rule |
446 | [ rdf:type sp:Construct ; | 436 | [ rdf:type sp:Construct ; |
447 | - rdfs:comment "0270 Set Part 2 ClassOfRelation of EHR RD Object Property"^^xsd:string ; | 437 | + rdfs:comment "0270 Set Part 2 ClassOfRelation of ERH RD Object Property"^^xsd:string ; |
448 | sp:templates ([ sp:object | 438 | sp:templates ([ sp:object |
449 | [ sp:varName "p2class"^^xsd:string | 439 | [ sp:varName "p2class"^^xsd:string |
450 | ] ; | 440 | ] ; |
... | @@ -536,7 +526,7 @@ owl:ObjectProperty | ... | @@ -536,7 +526,7 @@ owl:ObjectProperty |
536 | ] ; | 526 | ] ; |
537 | spin:rule | 527 | spin:rule |
538 | [ rdf:type sp:Construct ; | 528 | [ rdf:type sp:Construct ; |
539 | - rdfs:comment "0310 Handle classification of RD object properties as NPD"^^xsd:string ; | 529 | + rdfs:comment "0395 Handle classification of RD property as ERH Class"^^xsd:string ; |
540 | sp:templates ([ sp:object <http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#Classification> ; | 530 | sp:templates ([ sp:object <http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#Classification> ; |
541 | sp:predicate rdf:type ; | 531 | sp:predicate rdf:type ; |
542 | sp:subject | 532 | sp:subject |
... | @@ -549,30 +539,17 @@ owl:ObjectProperty | ... | @@ -549,30 +539,17 @@ owl:ObjectProperty |
549 | sp:subject | 539 | sp:subject |
550 | [ sp:varName "clsnuri"^^xsd:string | 540 | [ sp:varName "clsnuri"^^xsd:string |
551 | ] | 541 | ] |
552 | - ] [ sp:object <http://posccaesar.org/rdl/ERH00002> ; | 542 | + ] [ sp:object <http://posccaesar.org/rdl/ERH00001> ; |
553 | sp:predicate <http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#hasClassifier> ; | 543 | sp:predicate <http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#hasClassifier> ; |
554 | sp:subject | 544 | sp:subject |
555 | [ sp:varName "clsnuri"^^xsd:string | 545 | [ sp:varName "clsnuri"^^xsd:string |
556 | ] | 546 | ] |
557 | - ] [ sp:object <http://posccaesar.org/rdl/ERH00000> ; | ||
558 | - sp:predicate rdf:type ; | ||
559 | - sp:subject | ||
560 | - [ sp:varName "clsnuri"^^xsd:string | ||
561 | - ] | ||
562 | ]) ; | 547 | ]) ; |
563 | sp:where ([ sp:object | 548 | sp:where ([ sp:object |
564 | [ sp:varName "thisrduri"^^xsd:string | 549 | [ sp:varName "thisrduri"^^xsd:string |
565 | ] ; | 550 | ] ; |
566 | sp:predicate owl:sameAs ; | 551 | sp:predicate owl:sameAs ; |
567 | sp:subject spin:_this | 552 | sp:subject spin:_this |
568 | - ] [ rdf:type sp:Filter ; | ||
569 | - sp:expression | ||
570 | - [ rdf:type sp:eq ; | ||
571 | - sp:arg1 [ rdf:type afn:namespace ; | ||
572 | - sp:arg1 spin:_this | ||
573 | - ] ; | ||
574 | - sp:arg2 "http://www.reportinghub.no/np/schema/npd#" | ||
575 | - ] | ||
576 | ] [ rdf:type sp:Bind ; | 553 | ] [ rdf:type sp:Bind ; |
577 | sp:expression | 554 | sp:expression |
578 | [ rdf:type spif:generateUUID | 555 | [ rdf:type spif:generateUUID |
... | @@ -602,7 +579,7 @@ owl:ObjectProperty | ... | @@ -602,7 +579,7 @@ owl:ObjectProperty |
602 | ] ; | 579 | ] ; |
603 | spin:rule | 580 | spin:rule |
604 | [ rdf:type sp:Construct ; | 581 | [ rdf:type sp:Construct ; |
605 | - rdfs:comment "0311 Handle classification of RD classes as Drilling"^^xsd:string ; | 582 | + rdfs:comment "0395 Handle classification of RD property as ERH Thing"^^xsd:string ; |
606 | sp:templates ([ sp:object <http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#Classification> ; | 583 | sp:templates ([ sp:object <http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#Classification> ; |
607 | sp:predicate rdf:type ; | 584 | sp:predicate rdf:type ; |
608 | sp:subject | 585 | sp:subject |
... | @@ -615,13 +592,8 @@ owl:ObjectProperty | ... | @@ -615,13 +592,8 @@ owl:ObjectProperty |
615 | sp:subject | 592 | sp:subject |
616 | [ sp:varName "clsnuri"^^xsd:string | 593 | [ sp:varName "clsnuri"^^xsd:string |
617 | ] | 594 | ] |
618 | - ] [ sp:object <http://posccaesar.org/rdl/ERH00003> ; | ||
619 | - sp:predicate <http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#hasClassifier> ; | ||
620 | - sp:subject | ||
621 | - [ sp:varName "clsnuri"^^xsd:string | ||
622 | - ] | ||
623 | ] [ sp:object <http://posccaesar.org/rdl/ERH00000> ; | 595 | ] [ sp:object <http://posccaesar.org/rdl/ERH00000> ; |
624 | - sp:predicate rdf:type ; | 596 | + sp:predicate <http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#hasClassifier> ; |
625 | sp:subject | 597 | sp:subject |
626 | [ sp:varName "clsnuri"^^xsd:string | 598 | [ sp:varName "clsnuri"^^xsd:string |
627 | ] | 599 | ] |
... | @@ -631,14 +603,6 @@ owl:ObjectProperty | ... | @@ -631,14 +603,6 @@ owl:ObjectProperty |
631 | ] ; | 603 | ] ; |
632 | sp:predicate owl:sameAs ; | 604 | sp:predicate owl:sameAs ; |
633 | sp:subject spin:_this | 605 | sp:subject spin:_this |
634 | - ] [ rdf:type sp:Filter ; | ||
635 | - sp:expression | ||
636 | - [ rdf:type sp:ne ; | ||
637 | - sp:arg1 [ rdf:type afn:namespace ; | ||
638 | - sp:arg1 spin:_this | ||
639 | - ] ; | ||
640 | - sp:arg2 "http://www.reportinghub.no/np/schema/npd#" | ||
641 | - ] | ||
642 | ] [ rdf:type sp:Bind ; | 606 | ] [ rdf:type sp:Bind ; |
643 | sp:expression | 607 | sp:expression |
644 | [ rdf:type spif:generateUUID | 608 | [ rdf:type spif:generateUUID | ... | ... |
-
Please register or login to post a comment