Showing
2 changed files
with
508 additions
and
558 deletions
| ... | @@ -156,7 +156,7 @@ ep-dpr-spin-lib:buildChemicalTypeURI | ... | @@ -156,7 +156,7 @@ ep-dpr-spin-lib:buildChemicalTypeURI |
| 156 | sp:where ([ rdf:type sp:Bind ; | 156 | sp:where ([ rdf:type sp:Bind ; |
| 157 | sp:expression | 157 | sp:expression |
| 158 | [ rdf:type ep-spin-lib:buildURI ; | 158 | [ rdf:type ep-spin-lib:buildURI ; |
| 159 | - sp:arg1 "https://www.reportinghub.no/ep/data/chemical/" ; | 159 | + sp:arg1 "https://www.reportinghub.no/ep/data/chemicalType/" ; |
| 160 | sp:arg2 [ rdf:type ep-spin-lib:normalizeString ; | 160 | sp:arg2 [ rdf:type ep-spin-lib:normalizeString ; |
| 161 | sp:arg1 spin:_arg1 | 161 | sp:arg1 spin:_arg1 |
| 162 | ] | 162 | ] |
| ... | @@ -641,28 +641,11 @@ ep-dpr-spin-lib:buildProductionFlowName | ... | @@ -641,28 +641,11 @@ ep-dpr-spin-lib:buildProductionFlowName |
| 641 | ]) ; | 641 | ]) ; |
| 642 | sp:where ([ rdf:type sp:Bind ; | 642 | sp:where ([ rdf:type sp:Bind ; |
| 643 | sp:expression | 643 | sp:expression |
| 644 | - [ rdf:type sp:if ; | 644 | + [ rdf:type fn:concat ; |
| 645 | - sp:arg1 [ rdf:type sp:eq ; | 645 | + sp:arg1 spin:_arg1 ; |
| 646 | - sp:arg1 spin:_arg3 ; | 646 | + sp:arg2 "$" ; |
| 647 | - sp:arg2 "" | 647 | + sp:arg3 [ rdf:type ep-spin-lib:normalizeString ; |
| 648 | - ] ; | 648 | + sp:arg1 spin:_arg2 |
| 649 | - sp:arg2 [ rdf:type fn:concat ; | ||
| 650 | - sp:arg1 spin:_arg1 ; | ||
| 651 | - sp:arg2 "$" ; | ||
| 652 | - sp:arg3 [ rdf:type ep-spin-lib:normalizeString ; | ||
| 653 | - sp:arg1 spin:_arg2 | ||
| 654 | - ] | ||
| 655 | - ] ; | ||
| 656 | - sp:arg3 [ rdf:type fn:concat ; | ||
| 657 | - sp:arg1 spin:_arg1 ; | ||
| 658 | - sp:arg2 "$" ; | ||
| 659 | - sp:arg3 [ rdf:type ep-spin-lib:normalizeString ; | ||
| 660 | - sp:arg1 spin:_arg2 | ||
| 661 | - ] ; | ||
| 662 | - sp:arg4 "$" ; | ||
| 663 | - sp:arg5 [ rdf:type ep-spin-lib:normalizeString ; | ||
| 664 | - sp:arg1 spin:_arg3 | ||
| 665 | - ] | ||
| 666 | ] | 649 | ] |
| 667 | ] ; | 650 | ] ; |
| 668 | sp:variable | 651 | sp:variable |
| ... | @@ -681,28 +664,12 @@ ep-dpr-spin-lib:buildProductionFlowURI | ... | @@ -681,28 +664,12 @@ ep-dpr-spin-lib:buildProductionFlowURI |
| 681 | ]) ; | 664 | ]) ; |
| 682 | sp:where ([ rdf:type sp:Bind ; | 665 | sp:where ([ rdf:type sp:Bind ; |
| 683 | sp:expression | 666 | sp:expression |
| 684 | - [ rdf:type sp:if ; | 667 | + [ rdf:type ep-spin-lib:buildURI ; |
| 685 | - sp:arg1 [ rdf:type sp:eq ; | 668 | + sp:arg1 "https://www.reportinghub.no/ep/data/productionFlow/" ; |
| 686 | - sp:arg1 spin:_arg3 ; | 669 | + sp:arg2 [ rdf:type fn:concat ; |
| 687 | - sp:arg2 "" | 670 | + sp:arg1 spin:_arg1 ; |
| 688 | - ] ; | 671 | + sp:arg2 "$" ; |
| 689 | - sp:arg2 [ rdf:type ep-spin-lib:buildURI ; | 672 | + sp:arg3 spin:_arg2 |
| 690 | - sp:arg1 "https://www.reportinghub.no/ep/data/productionFlow/" ; | ||
| 691 | - sp:arg2 [ rdf:type fn:concat ; | ||
| 692 | - sp:arg1 spin:_arg1 ; | ||
| 693 | - sp:arg2 "$" ; | ||
| 694 | - sp:arg3 spin:_arg2 | ||
| 695 | - ] | ||
| 696 | - ] ; | ||
| 697 | - sp:arg3 [ rdf:type ep-spin-lib:buildURI ; | ||
| 698 | - sp:arg1 "https://www.reportinghub.no/ep/data/productionFlow/" ; | ||
| 699 | - sp:arg2 [ rdf:type fn:concat ; | ||
| 700 | - sp:arg1 spin:_arg1 ; | ||
| 701 | - sp:arg2 "$" ; | ||
| 702 | - sp:arg3 spin:_arg2 ; | ||
| 703 | - sp:arg4 "$" ; | ||
| 704 | - sp:arg5 spin:_arg3 | ||
| 705 | - ] | ||
| 706 | ] | 673 | ] |
| 707 | ] ; | 674 | ] ; |
| 708 | sp:variable | 675 | sp:variable |
| ... | @@ -765,18 +732,11 @@ ep-dpr-spin-lib:buildProductionInventoryName | ... | @@ -765,18 +732,11 @@ ep-dpr-spin-lib:buildProductionInventoryName |
| 765 | ]) ; | 732 | ]) ; |
| 766 | sp:where ([ rdf:type sp:Bind ; | 733 | sp:where ([ rdf:type sp:Bind ; |
| 767 | sp:expression | 734 | sp:expression |
| 768 | - [ rdf:type sp:if ; | 735 | + [ rdf:type fn:concat ; |
| 769 | - sp:arg1 [ rdf:type sp:eq ; | 736 | + sp:arg1 spin:_arg1 ; |
| 770 | - sp:arg1 spin:_arg2 ; | 737 | + sp:arg2 "$" ; |
| 771 | - sp:arg2 "" | 738 | + sp:arg3 [ rdf:type ep-spin-lib:normalizeString ; |
| 772 | - ] ; | 739 | + sp:arg1 spin:_arg2 |
| 773 | - sp:arg2 spin:_arg1 ; | ||
| 774 | - sp:arg3 [ rdf:type fn:concat ; | ||
| 775 | - sp:arg1 spin:_arg1 ; | ||
| 776 | - sp:arg2 "$" ; | ||
| 777 | - sp:arg3 [ rdf:type ep-spin-lib:normalizeString ; | ||
| 778 | - sp:arg1 spin:_arg2 | ||
| 779 | - ] | ||
| 780 | ] | 740 | ] |
| 781 | ] ; | 741 | ] ; |
| 782 | sp:variable | 742 | sp:variable |
| ... | @@ -795,22 +755,12 @@ ep-dpr-spin-lib:buildProductionInventoryURI | ... | @@ -795,22 +755,12 @@ ep-dpr-spin-lib:buildProductionInventoryURI |
| 795 | ]) ; | 755 | ]) ; |
| 796 | sp:where ([ rdf:type sp:Bind ; | 756 | sp:where ([ rdf:type sp:Bind ; |
| 797 | sp:expression | 757 | sp:expression |
| 798 | - [ rdf:type sp:if ; | 758 | + [ rdf:type ep-spin-lib:buildURI ; |
| 799 | - sp:arg1 [ rdf:type sp:eq ; | 759 | + sp:arg1 "https://www.reportinghub.no/ep/data/productionInventory/" ; |
| 800 | - sp:arg1 spin:_arg2 ; | 760 | + sp:arg2 [ rdf:type fn:concat ; |
| 801 | - sp:arg2 "" | 761 | + sp:arg1 spin:_arg1 ; |
| 802 | - ] ; | 762 | + sp:arg2 "$" ; |
| 803 | - sp:arg2 [ rdf:type ep-spin-lib:buildURI ; | 763 | + sp:arg3 spin:_arg2 |
| 804 | - sp:arg1 "https://www.reportinghub.no/ep/data/productionInventory/" ; | ||
| 805 | - sp:arg2 spin:_arg1 | ||
| 806 | - ] ; | ||
| 807 | - sp:arg3 [ rdf:type ep-spin-lib:buildURI ; | ||
| 808 | - sp:arg1 "https://www.reportinghub.no/ep/data/productionInventory/" ; | ||
| 809 | - sp:arg2 [ rdf:type fn:concat ; | ||
| 810 | - sp:arg1 spin:_arg1 ; | ||
| 811 | - sp:arg2 "$" ; | ||
| 812 | - sp:arg3 spin:_arg2 | ||
| 813 | - ] | ||
| 814 | ] | 764 | ] |
| 815 | ] ; | 765 | ] ; |
| 816 | sp:variable | 766 | sp:variable |
| ... | @@ -7553,59 +7503,59 @@ ep-dpr-spin-lib:selectWorkScale | ... | @@ -7553,59 +7503,59 @@ ep-dpr-spin-lib:selectWorkScale |
| 7553 | ]) | 7503 | ]) |
| 7554 | ] . | 7504 | ] . |
| 7555 | 7505 | ||
| 7556 | -_:b10 | 7506 | +_:b22 |
| 7557 | - sp:varName "uri"^^xsd:string . | 7507 | + sp:varName "volumeFlowRateAtStdType"^^xsd:string . |
| 7558 | 7508 | ||
| 7559 | -_:b11 | 7509 | +_:b21 |
| 7560 | - sp:varName "uri"^^xsd:string . | 7510 | + sp:varName "specificVolumeScale"^^xsd:string . |
| 7561 | 7511 | ||
| 7562 | -_:b12 | 7512 | +_:b20 |
| 7563 | - sp:varName "uri"^^xsd:string . | 7513 | + sp:varName "safetyActivityType"^^xsd:string . |
| 7564 | 7514 | ||
| 7565 | -_:b13 | 7515 | +_:b19 |
| 7566 | - sp:varName "uri"^^xsd:string . | 7516 | + sp:varName "productionFlowPurposeType"^^xsd:string . |
| 7567 | 7517 | ||
| 7568 | -_:b14 | 7518 | +_:b18 |
| 7569 | - sp:varName "densityScale"^^xsd:string . | 7519 | + sp:varName "productionFlowDirectionRelationshipType"^^xsd:string . |
| 7570 | 7520 | ||
| 7571 | -_:b15 | 7521 | +_:b17 |
| 7572 | - sp:varName "productionFacilityType"^^xsd:string . | 7522 | + sp:varName "productionFlowDirectionRelationshipType"^^xsd:string . |
| 7573 | 7523 | ||
| 7574 | _:b16 | 7524 | _:b16 |
| 7575 | sp:varName "productionFlowDefinitionType"^^xsd:string . | 7525 | sp:varName "productionFlowDefinitionType"^^xsd:string . |
| 7576 | 7526 | ||
| 7577 | -_:b17 | 7527 | +_:b15 |
| 7578 | - sp:varName "productionFlowDirectionRelationshipType"^^xsd:string . | 7528 | + sp:varName "productionFacilityType"^^xsd:string . |
| 7579 | 7529 | ||
| 7580 | -_:b18 | 7530 | +_:b14 |
| 7581 | - sp:varName "productionFlowDirectionRelationshipType"^^xsd:string . | 7531 | + sp:varName "densityScale"^^xsd:string . |
| 7582 | 7532 | ||
| 7583 | -_:b19 | 7533 | +_:b13 |
| 7584 | - sp:varName "productionFlowPurposeType"^^xsd:string . | 7534 | + sp:varName "uri"^^xsd:string . |
| 7585 | 7535 | ||
| 7586 | -_:b20 | 7536 | +_:b12 |
| 7587 | - sp:varName "safetyActivityType"^^xsd:string . | 7537 | + sp:varName "uri"^^xsd:string . |
| 7588 | 7538 | ||
| 7589 | -_:b21 | 7539 | +_:b11 |
| 7590 | - sp:varName "specificVolumeScale"^^xsd:string . | 7540 | + sp:varName "uri"^^xsd:string . |
| 7591 | 7541 | ||
| 7592 | -_:b22 | 7542 | +_:b10 |
| 7593 | - sp:varName "volumeFlowRateAtStdType"^^xsd:string . | 7543 | + sp:varName "uri"^^xsd:string . |
| 7594 | 7544 | ||
| 7595 | -_:b1 sp:varName "uri"^^xsd:string . | 7545 | +_:b9 sp:varName "uri"^^xsd:string . |
| 7596 | 7546 | ||
| 7597 | -_:b2 sp:varName "UUID"^^xsd:string . | 7547 | +_:b8 sp:varName "uri"^^xsd:string . |
| 7598 | 7548 | ||
| 7599 | -_:b3 sp:varName "uri"^^xsd:string . | 7549 | +_:b7 sp:varName "uri"^^xsd:string . |
| 7600 | 7550 | ||
| 7601 | -_:b4 sp:varName "uri"^^xsd:string . | 7551 | +_:b6 sp:varName "uri"^^xsd:string . |
| 7602 | 7552 | ||
| 7603 | _:b5 sp:varName "uri"^^xsd:string . | 7553 | _:b5 sp:varName "uri"^^xsd:string . |
| 7604 | 7554 | ||
| 7605 | -_:b6 sp:varName "uri"^^xsd:string . | 7555 | +_:b4 sp:varName "uri"^^xsd:string . |
| 7606 | 7556 | ||
| 7607 | -_:b7 sp:varName "uri"^^xsd:string . | 7557 | +_:b3 sp:varName "uri"^^xsd:string . |
| 7608 | 7558 | ||
| 7609 | -_:b8 sp:varName "uri"^^xsd:string . | 7559 | +_:b2 sp:varName "UUID"^^xsd:string . |
| 7610 | 7560 | ||
| 7611 | -_:b9 sp:varName "uri"^^xsd:string . | 7561 | +_:b1 sp:varName "uri"^^xsd:string . | ... | ... |
| 1 | -# baseURI: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-geographicContext-v1.1.1 | 1 | +# baseURI: http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-geographicContext-v1.1.1 |
| 2 | -# imports: http://spinrdf.org/spin | 2 | +# imports: http://spinrdf.org/spin |
| 3 | -# imports: http://www.epim.no/schemas/mprml/1 | 3 | +# imports: http://www.epim.no/schemas/mprml/1 |
| 4 | -# imports: http://www.reportinghub.no/ep/schema/1.0/core | 4 | +# imports: http://www.reportinghub.no/ep/schema/1.0/core |
| 5 | -# imports: http://www.reportinghub.no/ep/schema/1.0/geography | 5 | +# imports: http://www.reportinghub.no/ep/schema/1.0/geography |
| 6 | -# imports: http://www.reportinghub.no/ep/transform/transform-helper-schema | 6 | +# imports: http://www.reportinghub.no/ep/transform/transform-helper-schema |
| 7 | - | 7 | + |
| 8 | -@prefix : <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-geographicContext-v1.1.1#> . | 8 | +@prefix : <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-geographicContext-v1.1.1#> . |
| 9 | -@prefix ep-dpr-spin-lib: <http://www.reportinghub.no/ep/dpr/spin/1.1/lib#> . | 9 | +@prefix ep-dpr-spin-lib: <http://www.reportinghub.no/ep/dpr/spin/1.1/lib#> . |
| 10 | -@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> . | 10 | +@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> . |
| 11 | -@prefix owl: <http://www.w3.org/2002/07/owl#> . | 11 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . |
| 12 | -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | 12 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . |
| 13 | -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | 13 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
| 14 | -@prefix sp: <http://spinrdf.org/sp#> . | 14 | +@prefix sp: <http://spinrdf.org/sp#> . |
| 15 | -@prefix spin: <http://spinrdf.org/spin#> . | 15 | +@prefix spin: <http://spinrdf.org/spin#> . |
| 16 | -@prefix spl: <http://spinrdf.org/spl#> . | 16 | +@prefix spl: <http://spinrdf.org/spl#> . |
| 17 | -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | 17 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . |
| 18 | - | 18 | + |
| 19 | -<http://www.epim.no/schemas/mprml/1#Cs_geographicContext> | 19 | +<http://www.epim.no/schemas/mprml/1#Cs_geographicContext> |
| 20 | - spin:rule | 20 | + spin:rule |
| 21 | - [ rdf:type sp:Construct ; | 21 | + [ rdf:type sp:Construct ; |
| 22 | - rdfs:comment "STEP 90105 Set the geographic context - offshore location"^^xsd:string ; | 22 | + rdfs:comment "STEP 90103 Set the geographic context - state"^^xsd:string ; |
| 23 | - sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/geography#OffshoreLocation> ; | 23 | + sp:templates ([ sp:object |
| 24 | - sp:predicate rdf:type ; | 24 | + [ sp:varName "state"^^xsd:string |
| 25 | - sp:subject | 25 | + ] ; |
| 26 | - [ sp:varName "locationOfProductionFacility"^^xsd:string | 26 | + sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ; |
| 27 | - ] | 27 | + sp:subject |
| 28 | - ] [ sp:object | 28 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
| 29 | - [ sp:varName "quadrant"^^xsd:string | 29 | + ] |
| 30 | - ] ; | 30 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/geography#State> ; |
| 31 | - sp:predicate <http://www.reportinghub.no/ep/schema/geography#hasNorthSeaQuadrantId> ; | 31 | + sp:predicate rdf:type ; |
| 32 | - sp:subject | 32 | + sp:subject |
| 33 | - [ sp:varName "locationOfProductionFacility"^^xsd:string | 33 | + [ sp:varName "state"^^xsd:string |
| 34 | - ] | 34 | + ] |
| 35 | - ] [ sp:object | 35 | + ] [ sp:object |
| 36 | - [ sp:varName "blockSuffix"^^xsd:string | 36 | + [ sp:varName "stateName"^^xsd:string |
| 37 | - ] ; | 37 | + ] ; |
| 38 | - sp:predicate <http://www.reportinghub.no/ep/schema/geography#hasNorthSeaBlockSuffixId> ; | 38 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ; |
| 39 | - sp:subject | 39 | + sp:subject |
| 40 | - [ sp:varName "locationOfProductionFacility"^^xsd:string | 40 | + [ sp:varName "state"^^xsd:string |
| 41 | - ] | 41 | + ] |
| 42 | - ] [ sp:object | 42 | + ]) ; |
| 43 | - [ sp:varName "areaName"^^xsd:string | 43 | + sp:where ([ sp:object spin:_this ; |
| 44 | - ] ; | 44 | + sp:predicate <http://www.epim.no/schemas/mprml/1#geographicContextRef> ; |
| 45 | - sp:predicate <http://www.reportinghub.no/ep/schema/geography#hasAreaName> ; | 45 | + sp:subject |
| 46 | - sp:subject | 46 | + [ sp:varName "target"^^xsd:string |
| 47 | - [ sp:varName "locationOfProductionFacility"^^xsd:string | 47 | + ] |
| 48 | - ] | 48 | + ] [ sp:object |
| 49 | - ] [ sp:object | 49 | + [ sp:varName "stateName"^^xsd:string |
| 50 | - [ sp:varName "areaNameNorthSeaOffshore"^^xsd:string | 50 | + ] ; |
| 51 | - ] ; | 51 | + sp:predicate <http://www.epim.no/schemas/mprml/1#state> ; |
| 52 | - sp:predicate <http://www.reportinghub.no/ep/schema/geography#hasNorthSeaAreaName> ; | 52 | + sp:subject spin:_this |
| 53 | - sp:subject | 53 | + ] [ sp:object |
| 54 | - [ sp:varName "locationOfProductionFacility"^^xsd:string | 54 | + [ sp:varName "target"^^xsd:string |
| 55 | - ] | 55 | + ] ; |
| 56 | - ] [ sp:object | 56 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
| 57 | - [ sp:varName "commentOffshoreLocation"^^xsd:string | 57 | + sp:subject |
| 58 | - ] ; | 58 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
| 59 | - sp:predicate <http://www.reportinghub.no/ep/schema/geography#hasOffshoreLocationComment> ; | 59 | + ] |
| 60 | - sp:subject | 60 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; |
| 61 | - [ sp:varName "locationOfProductionFacility"^^xsd:string | 61 | + sp:predicate rdf:type ; |
| 62 | - ] | 62 | + sp:subject |
| 63 | - ]) ; | 63 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
| 64 | - sp:where ([ sp:object spin:_this ; | 64 | + ] |
| 65 | - sp:predicate <http://www.epim.no/schemas/mprml/1#geographicContextRef> ; | 65 | + ] [ rdf:type sp:Bind ; |
| 66 | - sp:subject | 66 | + sp:expression |
| 67 | - [ sp:varName "target"^^xsd:string | 67 | + [ rdf:type ep-spin-lib:normalizeString ; |
| 68 | - ] | 68 | + sp:arg1 [ sp:varName "stateName"^^xsd:string |
| 69 | - ] [ sp:object | 69 | + ] |
| 70 | - [ sp:varName "offshoreLocationRef"^^xsd:string | 70 | + ] ; |
| 71 | - ] ; | 71 | + sp:variable |
| 72 | - sp:predicate <http://www.epim.no/schemas/mprml/1#offshoreLocationRef> ; | 72 | + [ sp:varName "normalizedStateName"^^xsd:string |
| 73 | - sp:subject spin:_this | 73 | + ] |
| 74 | - ] [ sp:object | 74 | + ] [ rdf:type sp:Bind ; |
| 75 | - [ sp:varName "northSeaOffshoreRef"^^xsd:string | 75 | + sp:expression |
| 76 | - ] ; | 76 | + [ rdf:type ep-dpr-spin-lib:buildStateURI ; |
| 77 | - sp:predicate <http://www.epim.no/schemas/mprml/1#northSeaOffshoreRef> ; | 77 | + sp:arg1 [ sp:varName "normalizedStateName"^^xsd:string |
| 78 | - sp:subject | 78 | + ] |
| 79 | - [ sp:varName "offshoreLocationRef"^^xsd:string | 79 | + ] ; |
| 80 | - ] | 80 | + sp:variable |
| 81 | - ] [ sp:object | 81 | + [ sp:varName "state"^^xsd:string |
| 82 | - [ sp:varName "quadrant"^^xsd:string | 82 | + ] |
| 83 | - ] ; | 83 | + ]) |
| 84 | - sp:predicate <http://www.epim.no/schemas/mprml/1#quadrant> ; | 84 | + ] ; |
| 85 | - sp:subject | 85 | + spin:rule |
| 86 | - [ sp:varName "northSeaOffshoreRef"^^xsd:string | 86 | + [ rdf:type sp:Construct ; |
| 87 | - ] | 87 | + rdfs:comment "STEP 90104 Set the geographic context - field"^^xsd:string ; |
| 88 | - ] [ rdf:type sp:Optional ; | 88 | + sp:templates ([ sp:object |
| 89 | - sp:elements ([ sp:object | 89 | + [ sp:varName "field"^^xsd:string |
| 90 | - [ sp:varName "areaNameNorthSeaOffshore"^^xsd:string | 90 | + ] ; |
| 91 | - ] ; | 91 | + sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ; |
| 92 | - sp:predicate <http://www.epim.no/schemas/mprml/1#areaName> ; | 92 | + sp:subject |
| 93 | - sp:subject | 93 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
| 94 | - [ sp:varName "northSeaOffshoreRef"^^xsd:string | 94 | + ] |
| 95 | - ] | 95 | + ]) ; |
| 96 | - ]) | 96 | + sp:where ([ sp:object spin:_this ; |
| 97 | - ] [ rdf:type sp:Optional ; | 97 | + sp:predicate <http://www.epim.no/schemas/mprml/1#geographicContextRef> ; |
| 98 | - sp:elements ([ sp:object | 98 | + sp:subject |
| 99 | - [ sp:varName "blockSuffix"^^xsd:string | 99 | + [ sp:varName "target"^^xsd:string |
| 100 | - ] ; | 100 | + ] |
| 101 | - sp:predicate <http://www.epim.no/schemas/mprml/1#blockSuffix> ; | 101 | + ] [ sp:object |
| 102 | - sp:subject | 102 | + [ sp:varName "fieldRef"^^xsd:string |
| 103 | - [ sp:varName "northSeaOffshoreRef"^^xsd:string | 103 | + ] ; |
| 104 | - ] | 104 | + sp:predicate <http://www.epim.no/schemas/mprml/1#fieldRef> ; |
| 105 | - ]) | 105 | + sp:subject spin:_this |
| 106 | - ] [ rdf:type sp:Optional ; | 106 | + ] [ sp:object |
| 107 | - sp:elements ([ sp:object | 107 | + [ sp:varName "fieldName"^^xsd:string |
| 108 | - [ sp:varName "areaName"^^xsd:string | 108 | + ] ; |
| 109 | - ] ; | 109 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
| 110 | - sp:predicate <http://www.epim.no/schemas/mprml/1#areaName> ; | 110 | + sp:subject |
| 111 | - sp:subject | 111 | + [ sp:varName "fieldRef"^^xsd:string |
| 112 | - [ sp:varName "offshoreLocationRef"^^xsd:string | 112 | + ] |
| 113 | - ] | 113 | + ] [ sp:object |
| 114 | - ]) | 114 | + [ sp:varName "target"^^xsd:string |
| 115 | - ] [ rdf:type sp:Optional ; | 115 | + ] ; |
| 116 | - sp:elements ([ sp:object | 116 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
| 117 | - [ sp:varName "commentOffshoreLocation"^^xsd:string | 117 | + sp:subject |
| 118 | - ] ; | 118 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
| 119 | - sp:predicate <http://www.epim.no/schemas/mprml/1#comment> ; | 119 | + ] |
| 120 | - sp:subject | 120 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; |
| 121 | - [ sp:varName "offshoreLocationRef"^^xsd:string | 121 | + sp:predicate rdf:type ; |
| 122 | - ] | 122 | + sp:subject |
| 123 | - ]) | 123 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
| 124 | - ] [ sp:object | 124 | + ] |
| 125 | - [ sp:varName "target"^^xsd:string | 125 | + ] [ rdf:type sp:NamedGraph ; |
| 126 | - ] ; | 126 | + sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/facility#Field> ; |
| 127 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 127 | + sp:predicate rdf:type ; |
| 128 | - sp:subject | 128 | + sp:subject |
| 129 | - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 129 | + [ sp:varName "field"^^xsd:string |
| 130 | - ] | 130 | + ] |
| 131 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; | 131 | + ] [ sp:object |
| 132 | - sp:predicate rdf:type ; | 132 | + [ sp:varName "fieldName"^^xsd:string |
| 133 | - sp:subject | 133 | + ] ; |
| 134 | - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 134 | + sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; |
| 135 | - ] | 135 | + sp:subject |
| 136 | - ] [ sp:object | 136 | + [ sp:varName "field"^^xsd:string |
| 137 | - [ sp:varName "locationOfProductionFacility"^^xsd:string | 137 | + ] |
| 138 | - ] ; | 138 | + ]) ; |
| 139 | - sp:predicate <http://www.reportinghub.no/ep/schema/geography#nominallyLocatedAt> ; | 139 | + sp:graphNameNode <http://www.reportinghub.no/np/data/npd> |
| 140 | - sp:subject | 140 | + ]) |
| 141 | - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 141 | + ] ; |
| 142 | - ] | 142 | + spin:rule |
| 143 | - ]) | 143 | + [ rdf:type sp:Construct ; |
| 144 | - ] ; | 144 | + rdfs:comment "STEP 90102 Set the geographic context - country"^^xsd:string ; |
| 145 | - spin:rule | 145 | + sp:templates ([ sp:object |
| 146 | - [ rdf:type sp:Construct ; | 146 | + [ sp:varName "country"^^xsd:string |
| 147 | - rdfs:comment "STEP 90101 Set the geographic context - need a PartOfTheSurfaceOfTheEarth if any geographicContext"^^xsd:string ; | 147 | + ] ; |
| 148 | - sp:templates ([ sp:object _:b1 ; | 148 | + sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ; |
| 149 | - sp:predicate <http://www.reportinghub.no/ep/schema/geography#nominallyLocatedAt> ; | 149 | + sp:subject |
| 150 | - sp:subject | 150 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
| 151 | - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 151 | + ] |
| 152 | - ] | 152 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/geography#Country> ; |
| 153 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/geography#PartOfTheSurfaceOfTheEarth> ; | 153 | + sp:predicate rdf:type ; |
| 154 | - sp:predicate rdf:type ; | 154 | + sp:subject |
| 155 | - sp:subject _:b1 | 155 | + [ sp:varName "country"^^xsd:string |
| 156 | - ] [ sp:object | 156 | + ] |
| 157 | - [ sp:varName "comment"^^xsd:string | 157 | + ] [ sp:object |
| 158 | - ] ; | 158 | + [ sp:varName "countryName"^^xsd:string |
| 159 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#description> ; | 159 | + ] ; |
| 160 | - sp:subject _:b1 | 160 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ; |
| 161 | - ]) ; | 161 | + sp:subject |
| 162 | - sp:where ([ sp:object spin:_this ; | 162 | + [ sp:varName "country"^^xsd:string |
| 163 | - sp:predicate <http://www.epim.no/schemas/mprml/1#geographicContextRef> ; | 163 | + ] |
| 164 | - sp:subject | 164 | + ]) ; |
| 165 | - [ sp:varName "target"^^xsd:string | 165 | + sp:where ([ sp:object spin:_this ; |
| 166 | - ] | 166 | + sp:predicate <http://www.epim.no/schemas/mprml/1#geographicContextRef> ; |
| 167 | - ] [ rdf:type sp:Optional ; | 167 | + sp:subject |
| 168 | - sp:elements ([ sp:object | 168 | + [ sp:varName "target"^^xsd:string |
| 169 | - [ sp:varName "comment"^^xsd:string | 169 | + ] |
| 170 | - ] ; | 170 | + ] [ sp:object |
| 171 | - sp:predicate <http://www.epim.no/schemas/mprml/1#comment> ; | 171 | + [ sp:varName "countryName"^^xsd:string |
| 172 | - sp:subject spin:_this | 172 | + ] ; |
| 173 | - ]) | 173 | + sp:predicate <http://www.epim.no/schemas/mprml/1#country> ; |
| 174 | - ] [ sp:object | 174 | + sp:subject spin:_this |
| 175 | - [ sp:varName "target"^^xsd:string | 175 | + ] [ sp:object |
| 176 | - ] ; | 176 | + [ sp:varName "target"^^xsd:string |
| 177 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 177 | + ] ; |
| 178 | - sp:subject | 178 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
| 179 | - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 179 | + sp:subject |
| 180 | - ] | 180 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
| 181 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; | 181 | + ] |
| 182 | - sp:predicate rdf:type ; | 182 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; |
| 183 | - sp:subject | 183 | + sp:predicate rdf:type ; |
| 184 | - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 184 | + sp:subject |
| 185 | - ] | 185 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
| 186 | - ]) | 186 | + ] |
| 187 | - ] ; | 187 | + ] [ rdf:type sp:Bind ; |
| 188 | - spin:rule | 188 | + sp:expression |
| 189 | - [ rdf:type sp:Construct ; | 189 | + [ rdf:type ep-spin-lib:normalizeString ; |
| 190 | - rdfs:comment "STEP 90106 Set the geographic context - offshore location - blockId"^^xsd:string ; | 190 | + sp:arg1 [ sp:varName "countryName"^^xsd:string |
| 191 | - sp:templates ([ sp:object | 191 | + ] |
| 192 | - [ sp:varName "block"^^xsd:string | 192 | + ] ; |
| 193 | - ] ; | 193 | + sp:variable |
| 194 | - sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ; | 194 | + [ sp:varName "normalizedCountryName"^^xsd:string |
| 195 | - sp:subject | 195 | + ] |
| 196 | - [ sp:varName "locationOfProductionFacility"^^xsd:string | 196 | + ] [ rdf:type sp:Bind ; |
| 197 | - ] | 197 | + sp:expression |
| 198 | - ] [ sp:object | 198 | + [ rdf:type ep-dpr-spin-lib:buildCountryURI ; |
| 199 | - [ sp:varName "blockId"^^xsd:string | 199 | + sp:arg1 [ sp:varName "normalizedCountryName"^^xsd:string |
| 200 | - ] ; | 200 | + ] |
| 201 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ; | 201 | + ] ; |
| 202 | - sp:subject | 202 | + sp:variable |
| 203 | - [ sp:varName "block"^^xsd:string | 203 | + [ sp:varName "country"^^xsd:string |
| 204 | - ] | 204 | + ] |
| 205 | - ]) ; | 205 | + ]) |
| 206 | - sp:where ([ sp:object spin:_this ; | 206 | + ] ; |
| 207 | - sp:predicate <http://www.epim.no/schemas/mprml/1#geographicContextRef> ; | 207 | + spin:rule |
| 208 | - sp:subject | 208 | + [ rdf:type sp:Construct ; |
| 209 | - [ sp:varName "target"^^xsd:string | 209 | + rdfs:comment "STEP 90106 Set the geographic context - offshore location - blockId"^^xsd:string ; |
| 210 | - ] | 210 | + sp:templates ([ sp:object |
| 211 | - ] [ sp:object | 211 | + [ sp:varName "block"^^xsd:string |
| 212 | - [ sp:varName "offshoreLocationRef"^^xsd:string | 212 | + ] ; |
| 213 | - ] ; | 213 | + sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ; |
| 214 | - sp:predicate <http://www.epim.no/schemas/mprml/1#offshoreLocationRef> ; | 214 | + sp:subject |
| 215 | - sp:subject spin:_this | 215 | + [ sp:varName "locationOfProductionFacility"^^xsd:string |
| 216 | - ] [ sp:object | 216 | + ] |
| 217 | - [ sp:varName "blockId"^^xsd:string | 217 | + ] [ sp:object |
| 218 | - ] ; | 218 | + [ sp:varName "blockId"^^xsd:string |
| 219 | - sp:predicate <http://www.epim.no/schemas/mprml/1#blockID> ; | 219 | + ] ; |
| 220 | - sp:subject | 220 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ; |
| 221 | - [ sp:varName "offshoreLocationRef"^^xsd:string | 221 | + sp:subject |
| 222 | - ] | 222 | + [ sp:varName "block"^^xsd:string |
| 223 | - ] [ sp:object | 223 | + ] |
| 224 | - [ sp:varName "target"^^xsd:string | 224 | + ]) ; |
| 225 | - ] ; | 225 | + sp:where ([ sp:object spin:_this ; |
| 226 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 226 | + sp:predicate <http://www.epim.no/schemas/mprml/1#geographicContextRef> ; |
| 227 | - sp:subject | 227 | + sp:subject |
| 228 | - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 228 | + [ sp:varName "target"^^xsd:string |
| 229 | - ] | 229 | + ] |
| 230 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; | 230 | + ] [ sp:object |
| 231 | - sp:predicate rdf:type ; | 231 | + [ sp:varName "offshoreLocationRef"^^xsd:string |
| 232 | - sp:subject | 232 | + ] ; |
| 233 | - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 233 | + sp:predicate <http://www.epim.no/schemas/mprml/1#offshoreLocationRef> ; |
| 234 | - ] | 234 | + sp:subject spin:_this |
| 235 | - ] [ sp:object | 235 | + ] [ sp:object |
| 236 | - [ sp:varName "locationOfProductionFacility"^^xsd:string | 236 | + [ sp:varName "blockId"^^xsd:string |
| 237 | - ] ; | 237 | + ] ; |
| 238 | - sp:predicate <http://www.reportinghub.no/ep/schema/geography#nominallyLocatedAt> ; | 238 | + sp:predicate <http://www.epim.no/schemas/mprml/1#blockID> ; |
| 239 | - sp:subject | 239 | + sp:subject |
| 240 | - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 240 | + [ sp:varName "offshoreLocationRef"^^xsd:string |
| 241 | - ] | 241 | + ] |
| 242 | - ] [ rdf:type sp:Bind ; | 242 | + ] [ sp:object |
| 243 | - sp:expression | 243 | + [ sp:varName "target"^^xsd:string |
| 244 | - [ rdf:type ep-spin-lib:normalizeString ; | 244 | + ] ; |
| 245 | - sp:arg1 [ sp:varName "blockId"^^xsd:string | 245 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
| 246 | - ] | 246 | + sp:subject |
| 247 | - ] ; | 247 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
| 248 | - sp:variable | 248 | + ] |
| 249 | - [ sp:varName "normalizedBlockId"^^xsd:string | 249 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; |
| 250 | - ] | 250 | + sp:predicate rdf:type ; |
| 251 | - ] [ rdf:type sp:Bind ; | 251 | + sp:subject |
| 252 | - sp:expression | 252 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
| 253 | - [ rdf:type ep-dpr-spin-lib:buildBlockURI ; | 253 | + ] |
| 254 | - sp:arg1 [ sp:varName "normalizedBlockId"^^xsd:string | 254 | + ] [ sp:object |
| 255 | - ] | 255 | + [ sp:varName "locationOfProductionFacility"^^xsd:string |
| 256 | - ] ; | 256 | + ] ; |
| 257 | - sp:variable | 257 | + sp:predicate <http://www.reportinghub.no/ep/schema/geography#nominallyLocatedAt> ; |
| 258 | - [ sp:varName "block"^^xsd:string | 258 | + sp:subject |
| 259 | - ] | 259 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
| 260 | - ]) | 260 | + ] |
| 261 | - ] ; | 261 | + ] [ rdf:type sp:Bind ; |
| 262 | - spin:rule | 262 | + sp:expression |
| 263 | - [ rdf:type sp:Construct ; | 263 | + [ rdf:type ep-spin-lib:normalizeString ; |
| 264 | - rdfs:comment "STEP 90102 Set the geographic context - country"^^xsd:string ; | 264 | + sp:arg1 [ sp:varName "blockId"^^xsd:string |
| 265 | - sp:templates ([ sp:object | 265 | + ] |
| 266 | - [ sp:varName "country"^^xsd:string | 266 | + ] ; |
| 267 | - ] ; | 267 | + sp:variable |
| 268 | - sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ; | 268 | + [ sp:varName "normalizedBlockId"^^xsd:string |
| 269 | - sp:subject | 269 | + ] |
| 270 | - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 270 | + ] [ rdf:type sp:Bind ; |
| 271 | - ] | 271 | + sp:expression |
| 272 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/geography#Country> ; | 272 | + [ rdf:type ep-dpr-spin-lib:buildBlockURI ; |
| 273 | - sp:predicate rdf:type ; | 273 | + sp:arg1 [ sp:varName "normalizedBlockId"^^xsd:string |
| 274 | - sp:subject | 274 | + ] |
| 275 | - [ sp:varName "country"^^xsd:string | 275 | + ] ; |
| 276 | - ] | 276 | + sp:variable |
| 277 | - ] [ sp:object | 277 | + [ sp:varName "block"^^xsd:string |
| 278 | - [ sp:varName "countryName"^^xsd:string | 278 | + ] |
| 279 | - ] ; | 279 | + ]) |
| 280 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ; | 280 | + ] ; |
| 281 | - sp:subject | 281 | + spin:rule |
| 282 | - [ sp:varName "country"^^xsd:string | 282 | + [ rdf:type sp:Construct ; |
| 283 | - ] | 283 | + rdfs:comment "STEP 90101 Set the geographic context - need a PartOfTheSurfaceOfTheEarth if any geographicContext"^^xsd:string ; |
| 284 | - ]) ; | 284 | + sp:templates ([ sp:object _:b1 ; |
| 285 | - sp:where ([ sp:object spin:_this ; | 285 | + sp:predicate <http://www.reportinghub.no/ep/schema/geography#nominallyLocatedAt> ; |
| 286 | - sp:predicate <http://www.epim.no/schemas/mprml/1#geographicContextRef> ; | 286 | + sp:subject |
| 287 | - sp:subject | 287 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
| 288 | - [ sp:varName "target"^^xsd:string | 288 | + ] |
| 289 | - ] | 289 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/geography#PartOfTheSurfaceOfTheEarth> ; |
| 290 | - ] [ sp:object | 290 | + sp:predicate rdf:type ; |
| 291 | - [ sp:varName "countryName"^^xsd:string | 291 | + sp:subject _:b1 |
| 292 | - ] ; | 292 | + ] [ sp:object |
| 293 | - sp:predicate <http://www.epim.no/schemas/mprml/1#country> ; | 293 | + [ sp:varName "comment"^^xsd:string |
| 294 | - sp:subject spin:_this | 294 | + ] ; |
| 295 | - ] [ sp:object | 295 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#description> ; |
| 296 | - [ sp:varName "target"^^xsd:string | 296 | + sp:subject _:b1 |
| 297 | - ] ; | 297 | + ]) ; |
| 298 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 298 | + sp:where ([ sp:object spin:_this ; |
| 299 | - sp:subject | 299 | + sp:predicate <http://www.epim.no/schemas/mprml/1#geographicContextRef> ; |
| 300 | - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 300 | + sp:subject |
| 301 | - ] | 301 | + [ sp:varName "target"^^xsd:string |
| 302 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; | 302 | + ] |
| 303 | - sp:predicate rdf:type ; | 303 | + ] [ rdf:type sp:Optional ; |
| 304 | - sp:subject | 304 | + sp:elements ([ sp:object |
| 305 | - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 305 | + [ sp:varName "comment"^^xsd:string |
| 306 | - ] | 306 | + ] ; |
| 307 | - ] [ rdf:type sp:Bind ; | 307 | + sp:predicate <http://www.epim.no/schemas/mprml/1#comment> ; |
| 308 | - sp:expression | 308 | + sp:subject spin:_this |
| 309 | - [ rdf:type ep-spin-lib:normalizeString ; | 309 | + ]) |
| 310 | - sp:arg1 [ sp:varName "countryName"^^xsd:string | 310 | + ] [ sp:object |
| 311 | - ] | 311 | + [ sp:varName "target"^^xsd:string |
| 312 | - ] ; | 312 | + ] ; |
| 313 | - sp:variable | 313 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
| 314 | - [ sp:varName "normalizedCountryName"^^xsd:string | 314 | + sp:subject |
| 315 | - ] | 315 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
| 316 | - ] [ rdf:type sp:Bind ; | 316 | + ] |
| 317 | - sp:expression | 317 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; |
| 318 | - [ rdf:type ep-dpr-spin-lib:buildCountryURI ; | 318 | + sp:predicate rdf:type ; |
| 319 | - sp:arg1 [ sp:varName "normalizedCountryName"^^xsd:string | 319 | + sp:subject |
| 320 | - ] | 320 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
| 321 | - ] ; | 321 | + ] |
| 322 | - sp:variable | 322 | + ]) |
| 323 | - [ sp:varName "country"^^xsd:string | 323 | + ] ; |
| 324 | - ] | 324 | + spin:rule |
| 325 | - ]) | 325 | + [ rdf:type sp:Construct ; |
| 326 | - ] ; | 326 | + rdfs:comment "STEP 90105 Set the geographic context - offshore location"^^xsd:string ; |
| 327 | - spin:rule | 327 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/geography#OffshoreLocation> ; |
| 328 | - [ rdf:type sp:Construct ; | 328 | + sp:predicate rdf:type ; |
| 329 | - rdfs:comment "STEP 90103 Set the geographic context - state"^^xsd:string ; | 329 | + sp:subject |
| 330 | - sp:templates ([ sp:object | 330 | + [ sp:varName "locationOfProductionFacility"^^xsd:string |
| 331 | - [ sp:varName "country"^^xsd:string | 331 | + ] |
| 332 | - ] ; | 332 | + ] [ sp:object |
| 333 | - sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ; | 333 | + [ sp:varName "quadrant"^^xsd:string |
| 334 | - sp:subject | 334 | + ] ; |
| 335 | - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 335 | + sp:predicate <http://www.reportinghub.no/ep/schema/geography#hasNorthSeaQuadrantId> ; |
| 336 | - ] | 336 | + sp:subject |
| 337 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/geography#State> ; | 337 | + [ sp:varName "locationOfProductionFacility"^^xsd:string |
| 338 | - sp:predicate rdf:type ; | 338 | + ] |
| 339 | - sp:subject | 339 | + ] [ sp:object |
| 340 | - [ sp:varName "country"^^xsd:string | 340 | + [ sp:varName "blockSuffix"^^xsd:string |
| 341 | - ] | 341 | + ] ; |
| 342 | - ] [ sp:object | 342 | + sp:predicate <http://www.reportinghub.no/ep/schema/geography#hasNorthSeaBlockSuffixId> ; |
| 343 | - [ sp:varName "stateName"^^xsd:string | 343 | + sp:subject |
| 344 | - ] ; | 344 | + [ sp:varName "locationOfProductionFacility"^^xsd:string |
| 345 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ; | 345 | + ] |
| 346 | - sp:subject | 346 | + ] [ sp:object |
| 347 | - [ sp:varName "country"^^xsd:string | 347 | + [ sp:varName "areaName"^^xsd:string |
| 348 | - ] | 348 | + ] ; |
| 349 | - ]) ; | 349 | + sp:predicate <http://www.reportinghub.no/ep/schema/geography#hasAreaName> ; |
| 350 | - sp:where ([ sp:object spin:_this ; | 350 | + sp:subject |
| 351 | - sp:predicate <http://www.epim.no/schemas/mprml/1#geographicContextRef> ; | 351 | + [ sp:varName "locationOfProductionFacility"^^xsd:string |
| 352 | - sp:subject | 352 | + ] |
| 353 | - [ sp:varName "target"^^xsd:string | 353 | + ] [ sp:object |
| 354 | - ] | 354 | + [ sp:varName "areaNameNorthSeaOffshore"^^xsd:string |
| 355 | - ] [ sp:object | 355 | + ] ; |
| 356 | - [ sp:varName "stateName"^^xsd:string | 356 | + sp:predicate <http://www.reportinghub.no/ep/schema/geography#hasNorthSeaAreaName> ; |
| 357 | - ] ; | 357 | + sp:subject |
| 358 | - sp:predicate <http://www.epim.no/schemas/mprml/1#state> ; | 358 | + [ sp:varName "locationOfProductionFacility"^^xsd:string |
| 359 | - sp:subject spin:_this | 359 | + ] |
| 360 | - ] [ sp:object | 360 | + ] [ sp:object |
| 361 | - [ sp:varName "target"^^xsd:string | 361 | + [ sp:varName "commentOffshoreLocation"^^xsd:string |
| 362 | - ] ; | 362 | + ] ; |
| 363 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 363 | + sp:predicate <http://www.reportinghub.no/ep/schema/geography#hasOffshoreLocationComment> ; |
| 364 | - sp:subject | 364 | + sp:subject |
| 365 | - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 365 | + [ sp:varName "locationOfProductionFacility"^^xsd:string |
| 366 | - ] | 366 | + ] |
| 367 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; | 367 | + ]) ; |
| 368 | - sp:predicate rdf:type ; | 368 | + sp:where ([ sp:object spin:_this ; |
| 369 | - sp:subject | 369 | + sp:predicate <http://www.epim.no/schemas/mprml/1#geographicContextRef> ; |
| 370 | - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 370 | + sp:subject |
| 371 | - ] | 371 | + [ sp:varName "target"^^xsd:string |
| 372 | - ] [ rdf:type sp:Bind ; | 372 | + ] |
| 373 | - sp:expression | 373 | + ] [ sp:object |
| 374 | - [ rdf:type ep-spin-lib:normalizeString ; | 374 | + [ sp:varName "offshoreLocationRef"^^xsd:string |
| 375 | - sp:arg1 [ sp:varName "countryName"^^xsd:string | 375 | + ] ; |
| 376 | - ] | 376 | + sp:predicate <http://www.epim.no/schemas/mprml/1#offshoreLocationRef> ; |
| 377 | - ] ; | 377 | + sp:subject spin:_this |
| 378 | - sp:variable | 378 | + ] [ sp:object |
| 379 | - [ sp:varName "normalizedCountryName"^^xsd:string | 379 | + [ sp:varName "northSeaOffshoreRef"^^xsd:string |
| 380 | - ] | 380 | + ] ; |
| 381 | - ] [ rdf:type sp:Bind ; | 381 | + sp:predicate <http://www.epim.no/schemas/mprml/1#northSeaOffshoreRef> ; |
| 382 | - sp:expression | 382 | + sp:subject |
| 383 | - [ rdf:type ep-dpr-spin-lib:buildCountryURI ; | 383 | + [ sp:varName "offshoreLocationRef"^^xsd:string |
| 384 | - sp:arg1 [ sp:varName "normalizedCountryName"^^xsd:string | 384 | + ] |
| 385 | - ] | 385 | + ] [ sp:object |
| 386 | - ] ; | 386 | + [ sp:varName "quadrant"^^xsd:string |
| 387 | - sp:variable | 387 | + ] ; |
| 388 | - [ sp:varName "country"^^xsd:string | 388 | + sp:predicate <http://www.epim.no/schemas/mprml/1#quadrant> ; |
| 389 | - ] | 389 | + sp:subject |
| 390 | - ]) | 390 | + [ sp:varName "northSeaOffshoreRef"^^xsd:string |
| 391 | - ] ; | 391 | + ] |
| 392 | - spin:rule | 392 | + ] [ rdf:type sp:Optional ; |
| 393 | - [ rdf:type sp:Construct ; | 393 | + sp:elements ([ sp:object |
| 394 | - rdfs:comment "STEP 90104 Set the geographic context - field"^^xsd:string ; | 394 | + [ sp:varName "areaNameNorthSeaOffshore"^^xsd:string |
| 395 | - sp:templates ([ sp:object | 395 | + ] ; |
| 396 | - [ sp:varName "field"^^xsd:string | 396 | + sp:predicate <http://www.epim.no/schemas/mprml/1#areaName> ; |
| 397 | - ] ; | 397 | + sp:subject |
| 398 | - sp:predicate <http://www.reportinghub.no/ep/schema/geography#locatedWithin> ; | 398 | + [ sp:varName "northSeaOffshoreRef"^^xsd:string |
| 399 | - sp:subject | 399 | + ] |
| 400 | - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 400 | + ]) |
| 401 | - ] | 401 | + ] [ rdf:type sp:Optional ; |
| 402 | - ]) ; | 402 | + sp:elements ([ sp:object |
| 403 | - sp:where ([ sp:object spin:_this ; | 403 | + [ sp:varName "blockSuffix"^^xsd:string |
| 404 | - sp:predicate <http://www.epim.no/schemas/mprml/1#geographicContextRef> ; | 404 | + ] ; |
| 405 | - sp:subject | 405 | + sp:predicate <http://www.epim.no/schemas/mprml/1#blockSuffix> ; |
| 406 | - [ sp:varName "target"^^xsd:string | 406 | + sp:subject |
| 407 | - ] | 407 | + [ sp:varName "northSeaOffshoreRef"^^xsd:string |
| 408 | - ] [ sp:object | 408 | + ] |
| 409 | - [ sp:varName "fieldRef"^^xsd:string | 409 | + ]) |
| 410 | - ] ; | 410 | + ] [ rdf:type sp:Optional ; |
| 411 | - sp:predicate <http://www.epim.no/schemas/mprml/1#fieldRef> ; | 411 | + sp:elements ([ sp:object |
| 412 | - sp:subject spin:_this | 412 | + [ sp:varName "areaName"^^xsd:string |
| 413 | - ] [ sp:object | 413 | + ] ; |
| 414 | - [ sp:varName "fieldName"^^xsd:string | 414 | + sp:predicate <http://www.epim.no/schemas/mprml/1#areaName> ; |
| 415 | - ] ; | 415 | + sp:subject |
| 416 | - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 416 | + [ sp:varName "offshoreLocationRef"^^xsd:string |
| 417 | - sp:subject | 417 | + ] |
| 418 | - [ sp:varName "fieldRef"^^xsd:string | 418 | + ]) |
| 419 | - ] | 419 | + ] [ rdf:type sp:Optional ; |
| 420 | - ] [ sp:object | 420 | + sp:elements ([ sp:object |
| 421 | - [ sp:varName "target"^^xsd:string | 421 | + [ sp:varName "commentOffshoreLocation"^^xsd:string |
| 422 | - ] ; | 422 | + ] ; |
| 423 | - sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; | 423 | + sp:predicate <http://www.epim.no/schemas/mprml/1#comment> ; |
| 424 | - sp:subject | 424 | + sp:subject |
| 425 | - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 425 | + [ sp:varName "offshoreLocationRef"^^xsd:string |
| 426 | - ] | 426 | + ] |
| 427 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; | 427 | + ]) |
| 428 | - sp:predicate rdf:type ; | 428 | + ] [ sp:object |
| 429 | - sp:subject | 429 | + [ sp:varName "target"^^xsd:string |
| 430 | - [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string | 430 | + ] ; |
| 431 | - ] | 431 | + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ; |
| 432 | - ] [ rdf:type sp:NamedGraph ; | 432 | + sp:subject |
| 433 | - sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/facility#Field> ; | 433 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
| 434 | - sp:predicate rdf:type ; | 434 | + ] |
| 435 | - sp:subject | 435 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAProductionFacility> ; |
| 436 | - [ sp:varName "field"^^xsd:string | 436 | + sp:predicate rdf:type ; |
| 437 | - ] | 437 | + sp:subject |
| 438 | - ] [ sp:object | 438 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
| 439 | - [ sp:varName "fieldName"^^xsd:string | 439 | + ] |
| 440 | - ] ; | 440 | + ] [ sp:object |
| 441 | - sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; | 441 | + [ sp:varName "locationOfProductionFacility"^^xsd:string |
| 442 | - sp:subject | 442 | + ] ; |
| 443 | - [ sp:varName "field"^^xsd:string | 443 | + sp:predicate <http://www.reportinghub.no/ep/schema/geography#nominallyLocatedAt> ; |
| 444 | - ] | 444 | + sp:subject |
| 445 | - ]) ; | 445 | + [ sp:varName "temporalPartOfAProductionFacility"^^xsd:string |
| 446 | - sp:graphNameNode <http://www.reportinghub.no/np/data/npd> | 446 | + ] |
| 447 | - ]) | 447 | + ]) |
| 448 | - ] . | 448 | + ] . |
| 449 | - | 449 | + |
| 450 | -<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-geographicContext-v1.1.1> | 450 | +<http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-geographicContext-v1.1.1> |
| 451 | - rdf:type owl:Ontology ; | 451 | + rdf:type owl:Ontology ; |
| 452 | - owl:imports <http://www.reportinghub.no/ep/transform/transform-helper-schema> , <http://spinrdf.org/spin> , <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/geography> ; | 452 | + owl:imports <http://www.reportinghub.no/ep/schema/1.0/geography> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.epim.no/schemas/mprml/1> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/transform-helper-schema> ; |
| 453 | - owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 453 | + owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ... | ... |
-
Please register or login to post a comment