Showing
9 changed files
with
240 additions
and
18 deletions
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
1 | +# baseURI: http://www.reportinghub.no/refdata/drilling | ||
2 | +# imports: http://rds.posccaesar.org/2008/06/OWL/RDL-annotations | ||
3 | +# imports: http://www.reportinghub.no/refdata/RDL_ERHFoundationRD | ||
4 | + | ||
5 | +@prefix RDL-annotations: <http://rds.posccaesar.org/2008/06/OWL/RDL-annotations#> . | ||
6 | +@prefix RDL_ERHFoundationRD: <http://www.reportinghub.no/refdata/RDL_ERHFoundationRD#> . | ||
7 | +@prefix class2rd: <http://www.reportinghub.no/refdata/transform/class2rd#> . | ||
8 | +@prefix datprop2rd: <http://www.reportinghub.no/refdata/transform/datprop2rd#> . | ||
9 | +@prefix drilling: <http://www.reportinghub.no/refdata/drilling#> . | ||
10 | +@prefix drilling1: <http://www.reportinghub.no/ep/schema/1.0/drilling#> . | ||
11 | +@prefix objprop2rd: <http://www.reportinghub.no/refdata/transform/objprop2rd#> . | ||
12 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
13 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
14 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
15 | +@prefix sp: <http://spinrdf.org/sp#> . | ||
16 | +@prefix spin: <http://spinrdf.org/spin#> . | ||
17 | +@prefix spl: <http://spinrdf.org/spl#> . | ||
18 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
19 | + | ||
20 | +<http://www.reportinghub.no/refdata/drilling> | ||
21 | + rdf:type owl:Ontology ; | ||
22 | + owl:imports <http://rds.posccaesar.org/2008/06/OWL/RDL-annotations> , <http://www.reportinghub.no/refdata/RDL_ERHFoundationRD> ; | ||
23 | + owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
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 | # baseURI: http://www.reportinghub.no/refdata/npdfacts | 1 | # baseURI: http://www.reportinghub.no/refdata/npdfacts |
2 | -# imports: http://posccaesar.org/rdl | ||
3 | -# imports: http://spinrdf.org/spin | ||
4 | # imports: http://www.reportinghub.no/np/schema/1.0/npd | 2 | # imports: http://www.reportinghub.no/np/schema/1.0/npd |
5 | # imports: http://www.reportinghub.no/refdata/RDL_ERHFoundationRD | 3 | # imports: http://www.reportinghub.no/refdata/RDL_ERHFoundationRD |
6 | 4 | ||
... | @@ -4284,4 +4282,4 @@ pca-rdl:ERH4be00a29-2a3b-11b2-8044-f80dbf6cc067 | ... | @@ -4284,4 +4282,4 @@ pca-rdl:ERH4be00a29-2a3b-11b2-8044-f80dbf6cc067 |
4284 | 4282 | ||
4285 | <http://www.reportinghub.no/refdata/npdfacts> | 4283 | <http://www.reportinghub.no/refdata/npdfacts> |
4286 | rdf:type owl:Ontology ; | 4284 | rdf:type owl:Ontology ; |
4287 | - owl:imports <http://posccaesar.org/rdl> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/np/schema/1.0/npd> , <http://www.reportinghub.no/refdata/RDL_ERHFoundationRD> . | 4285 | + owl:imports <http://www.reportinghub.no/np/schema/1.0/npd> , <http://www.reportinghub.no/refdata/RDL_ERHFoundationRD> . | ... | ... |
1 | -# baseURI: http://www.reportinghub.no/refdata/RDL_ProductionClasses | ||
2 | -# imports: http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003 | ||
3 | -# imports: http://www.reportinghub.no/refdata/RDL_ERHFoundationRD | ||
4 | - | ||
5 | -@prefix : <http://www.reportinghub.no/refdata/RDL_ProductionClasses#> . | ||
6 | -@prefix RDL_ERHFoundationRD: <http://www.reportinghub.no/refdata/RDL_ERHFoundationRD#> . | ||
7 | -@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
8 | -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
9 | -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
10 | -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
11 | - | ||
12 | -<http://www.reportinghub.no/refdata/RDL_ProductionClasses> | ||
13 | - rdf:type owl:Ontology ; | ||
14 | - owl:imports <http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003> , <http://www.reportinghub.no/refdata/RDL_ERHFoundationRD> ; | ||
15 | - owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
... | @@ -311,6 +311,72 @@ rdfs:Class | ... | @@ -311,6 +311,72 @@ rdfs:Class |
311 | [ sp:varName "clsnuri"^^xsd:string | 311 | [ sp:varName "clsnuri"^^xsd:string |
312 | ] | 312 | ] |
313 | ]) | 313 | ]) |
314 | + ] ; | ||
315 | + spin:rule | ||
316 | + [ rdf:type sp:Construct ; | ||
317 | + rdfs:comment "0196 Handle classification of RD classes as Drilling"^^xsd:string ; | ||
318 | + sp:templates ([ sp:object <http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#Classification> ; | ||
319 | + sp:predicate rdf:type ; | ||
320 | + sp:subject | ||
321 | + [ sp:varName "clsnuri"^^xsd:string | ||
322 | + ] | ||
323 | + ] [ sp:object | ||
324 | + [ sp:varName "thisrduri"^^xsd:string | ||
325 | + ] ; | ||
326 | + sp:predicate <http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#hasClassified> ; | ||
327 | + sp:subject | ||
328 | + [ sp:varName "clsnuri"^^xsd:string | ||
329 | + ] | ||
330 | + ] [ sp:object <http://posccaesar.org/rdl/ERH00003> ; | ||
331 | + sp:predicate <http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#hasClassifier> ; | ||
332 | + sp:subject | ||
333 | + [ sp:varName "clsnuri"^^xsd:string | ||
334 | + ] | ||
335 | + ] [ sp:object <http://posccaesar.org/rdl/ERH00000> ; | ||
336 | + sp:predicate rdf:type ; | ||
337 | + sp:subject | ||
338 | + [ sp:varName "clsnuri"^^xsd:string | ||
339 | + ] | ||
340 | + ]) ; | ||
341 | + sp:where ([ sp:object | ||
342 | + [ sp:varName "thisrduri"^^xsd:string | ||
343 | + ] ; | ||
344 | + sp:predicate owl:sameAs ; | ||
345 | + sp:subject spin:_this | ||
346 | + ] [ rdf:type sp:Filter ; | ||
347 | + sp:expression | ||
348 | + [ rdf:type sp:ne ; | ||
349 | + sp:arg1 [ rdf:type afn:namespace ; | ||
350 | + sp:arg1 spin:_this | ||
351 | + ] ; | ||
352 | + sp:arg2 "http://www.reportinghub.no/np/schema/npd#" | ||
353 | + ] | ||
354 | + ] [ rdf:type sp:Bind ; | ||
355 | + sp:expression | ||
356 | + [ rdf:type spif:generateUUID | ||
357 | + ] ; | ||
358 | + sp:variable | ||
359 | + [ sp:varName "uuid"^^xsd:string | ||
360 | + ] | ||
361 | + ] [ rdf:type sp:Bind ; | ||
362 | + sp:expression | ||
363 | + [ rdf:type fn:concat ; | ||
364 | + sp:arg1 "ERH" ; | ||
365 | + sp:arg2 [ sp:varName "uuid"^^xsd:string | ||
366 | + ] | ||
367 | + ] ; | ||
368 | + sp:variable | ||
369 | + [ sp:varName "pcaid"^^xsd:string | ||
370 | + ] | ||
371 | + ] [ rdf:type sp:Bind ; | ||
372 | + sp:expression | ||
373 | + [ rdf:type spif:buildURI ; | ||
374 | + sp:arg1 "<http://posccaesar.org/rdl/{?pcaid}>" | ||
375 | + ] ; | ||
376 | + sp:variable | ||
377 | + [ sp:varName "clsnuri"^^xsd:string | ||
378 | + ] | ||
379 | + ]) | ||
314 | ] . | 380 | ] . |
315 | 381 | ||
316 | owl:Class | 382 | owl:Class | ... | ... |
... | @@ -306,4 +306,70 @@ owl:DatatypeProperty | ... | @@ -306,4 +306,70 @@ owl:DatatypeProperty |
306 | [ sp:varName "clsnuri"^^xsd:string | 306 | [ sp:varName "clsnuri"^^xsd:string |
307 | ] | 307 | ] |
308 | ]) | 308 | ]) |
309 | + ] ; | ||
310 | + spin:rule | ||
311 | + [ rdf:type sp:Construct ; | ||
312 | + rdfs:comment "0396 Handle classification of RD classes as Drilling"^^xsd:string ; | ||
313 | + sp:templates ([ sp:object <http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#Classification> ; | ||
314 | + sp:predicate rdf:type ; | ||
315 | + sp:subject | ||
316 | + [ sp:varName "clsnuri"^^xsd:string | ||
317 | + ] | ||
318 | + ] [ sp:object | ||
319 | + [ sp:varName "thisrduri"^^xsd:string | ||
320 | + ] ; | ||
321 | + sp:predicate <http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#hasClassified> ; | ||
322 | + sp:subject | ||
323 | + [ sp:varName "clsnuri"^^xsd:string | ||
324 | + ] | ||
325 | + ] [ sp:object <http://posccaesar.org/rdl/ERH00003> ; | ||
326 | + sp:predicate <http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#hasClassifier> ; | ||
327 | + sp:subject | ||
328 | + [ sp:varName "clsnuri"^^xsd:string | ||
329 | + ] | ||
330 | + ] [ sp:object <http://posccaesar.org/rdl/ERH00000> ; | ||
331 | + sp:predicate rdf:type ; | ||
332 | + sp:subject | ||
333 | + [ sp:varName "clsnuri"^^xsd:string | ||
334 | + ] | ||
335 | + ]) ; | ||
336 | + sp:where ([ sp:object | ||
337 | + [ sp:varName "thisrduri"^^xsd:string | ||
338 | + ] ; | ||
339 | + sp:predicate owl:sameAs ; | ||
340 | + sp:subject spin:_this | ||
341 | + ] [ rdf:type sp:Filter ; | ||
342 | + sp:expression | ||
343 | + [ rdf:type sp:ne ; | ||
344 | + sp:arg1 [ rdf:type afn:namespace ; | ||
345 | + sp:arg1 spin:_this | ||
346 | + ] ; | ||
347 | + sp:arg2 "http://www.reportinghub.no/np/schema/npd#" | ||
348 | + ] | ||
349 | + ] [ rdf:type sp:Bind ; | ||
350 | + sp:expression | ||
351 | + [ rdf:type spif:generateUUID | ||
352 | + ] ; | ||
353 | + sp:variable | ||
354 | + [ sp:varName "uuid"^^xsd:string | ||
355 | + ] | ||
356 | + ] [ rdf:type sp:Bind ; | ||
357 | + sp:expression | ||
358 | + [ rdf:type fn:concat ; | ||
359 | + sp:arg1 "ERH" ; | ||
360 | + sp:arg2 [ sp:varName "uuid"^^xsd:string | ||
361 | + ] | ||
362 | + ] ; | ||
363 | + sp:variable | ||
364 | + [ sp:varName "pcaid"^^xsd:string | ||
365 | + ] | ||
366 | + ] [ rdf:type sp:Bind ; | ||
367 | + sp:expression | ||
368 | + [ rdf:type spif:buildURI ; | ||
369 | + sp:arg1 "<http://posccaesar.org/rdl/{?pcaid}>" | ||
370 | + ] ; | ||
371 | + sp:variable | ||
372 | + [ sp:varName "clsnuri"^^xsd:string | ||
373 | + ] | ||
374 | + ]) | ||
309 | ] . | 375 | ] . | ... | ... |
... | @@ -599,4 +599,70 @@ owl:ObjectProperty | ... | @@ -599,4 +599,70 @@ owl:ObjectProperty |
599 | [ sp:varName "clsnuri"^^xsd:string | 599 | [ sp:varName "clsnuri"^^xsd:string |
600 | ] | 600 | ] |
601 | ]) | 601 | ]) |
602 | + ] ; | ||
603 | + spin:rule | ||
604 | + [ rdf:type sp:Construct ; | ||
605 | + rdfs:comment "0311 Handle classification of RD classes as Drilling"^^xsd:string ; | ||
606 | + sp:templates ([ sp:object <http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#Classification> ; | ||
607 | + sp:predicate rdf:type ; | ||
608 | + sp:subject | ||
609 | + [ sp:varName "clsnuri"^^xsd:string | ||
610 | + ] | ||
611 | + ] [ sp:object | ||
612 | + [ sp:varName "thisrduri"^^xsd:string | ||
613 | + ] ; | ||
614 | + sp:predicate <http://rds.posccaesar.org/2008/02/OWL/ISO-15926-2_2003#hasClassified> ; | ||
615 | + sp:subject | ||
616 | + [ sp:varName "clsnuri"^^xsd:string | ||
617 | + ] | ||
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> ; | ||
624 | + sp:predicate rdf:type ; | ||
625 | + sp:subject | ||
626 | + [ sp:varName "clsnuri"^^xsd:string | ||
627 | + ] | ||
628 | + ]) ; | ||
629 | + sp:where ([ sp:object | ||
630 | + [ sp:varName "thisrduri"^^xsd:string | ||
631 | + ] ; | ||
632 | + sp:predicate owl:sameAs ; | ||
633 | + 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 ; | ||
643 | + sp:expression | ||
644 | + [ rdf:type spif:generateUUID | ||
645 | + ] ; | ||
646 | + sp:variable | ||
647 | + [ sp:varName "uuid"^^xsd:string | ||
648 | + ] | ||
649 | + ] [ rdf:type sp:Bind ; | ||
650 | + sp:expression | ||
651 | + [ rdf:type fn:concat ; | ||
652 | + sp:arg1 "ERH" ; | ||
653 | + sp:arg2 [ sp:varName "uuid"^^xsd:string | ||
654 | + ] | ||
655 | + ] ; | ||
656 | + sp:variable | ||
657 | + [ sp:varName "pcaid"^^xsd:string | ||
658 | + ] | ||
659 | + ] [ rdf:type sp:Bind ; | ||
660 | + sp:expression | ||
661 | + [ rdf:type spif:buildURI ; | ||
662 | + sp:arg1 "<http://posccaesar.org/rdl/{?pcaid}>" | ||
663 | + ] ; | ||
664 | + sp:variable | ||
665 | + [ sp:varName "clsnuri"^^xsd:string | ||
666 | + ] | ||
667 | + ]) | ||
602 | ] . | 668 | ] . | ... | ... |
-
Please register or login to post a comment