Showing
4 changed files
with
168 additions
and
143 deletions
| ... | @@ -14,11 +14,11 @@ | ... | @@ -14,11 +14,11 @@ |
| 14 | 14 | ||
| 15 | <http://www.reportinghub.no/ep/schema/1.0/geography> | 15 | <http://www.reportinghub.no/ep/schema/1.0/geography> |
| 16 | rdf:type owl:Ontology ; | 16 | rdf:type owl:Ontology ; |
| 17 | - owl:imports <http://www.reportinghub.no/ep/schema/1.0/production-core> , <http://www.reportinghub.no/np/schema/1.0/npd> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/facility> ; | 17 | + owl:imports <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/np/schema/1.0/npd> , <http://www.reportinghub.no/ep/schema/1.0/production-core> ; |
| 18 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 18 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
| 19 | 19 | ||
| 20 | ep-core:Area | 20 | ep-core:Area |
| 21 | - rdf:type ep-core:PropertySpace , rdfs:Class ; | 21 | + rdf:type rdfs:Class , ep-core:PropertySpace ; |
| 22 | rdfs:label "Compressibility"^^xsd:string ; | 22 | rdfs:label "Compressibility"^^xsd:string ; |
| 23 | rdfs:subClassOf owl:Class . | 23 | rdfs:subClassOf owl:Class . |
| 24 | 24 | ||
| ... | @@ -38,22 +38,22 @@ ep-core:licenceBlockHasNpdPolygonPart | ... | @@ -38,22 +38,22 @@ ep-core:licenceBlockHasNpdPolygonPart |
| 38 | rdfs:subPropertyOf ep-core:hasPart . | 38 | rdfs:subPropertyOf ep-core:hasPart . |
| 39 | 39 | ||
| 40 | ep-geo:AreaCoveredByBusinessArrangement | 40 | ep-geo:AreaCoveredByBusinessArrangement |
| 41 | - rdf:type ep-fac:ProductionFacilityType , owl:Class ; | 41 | + rdf:type owl:Class , ep-fac:ProductionFacilityType ; |
| 42 | rdfs:label "A part of the earth recognised in a Business Arrangement"^^xsd:string ; | 42 | rdfs:label "A part of the earth recognised in a Business Arrangement"^^xsd:string ; |
| 43 | rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ; | 43 | rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ; |
| 44 | - owl:disjointWith ep-geo:LicenceBlock , ep-geo:State , ep-geo:County , ep-geo:PartOfSurfaceOfTheEarthSpecifiedAsPolygon , ep-geo:Country . | 44 | + owl:disjointWith ep-geo:Country , ep-geo:PartOfSurfaceOfTheEarthSpecifiedAsPolygon , ep-geo:County , ep-geo:State , ep-geo:LicenceBlock . |
| 45 | 45 | ||
| 46 | ep-geo:Country | 46 | ep-geo:Country |
| 47 | - rdf:type owl:Class , ep-fac:ProductionFacilityType ; | 47 | + rdf:type ep-fac:ProductionFacilityType , owl:Class ; |
| 48 | rdfs:label "country"^^xsd:string ; | 48 | rdfs:label "country"^^xsd:string ; |
| 49 | rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ; | 49 | rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ; |
| 50 | - owl:disjointWith ep-geo:AreaCoveredByBusinessArrangement , ep-geo:LicenceBlock , ep-geo:County , ep-geo:PartOfSurfaceOfTheEarthSpecifiedAsPolygon , ep-geo:State . | 50 | + owl:disjointWith ep-geo:State , ep-geo:PartOfSurfaceOfTheEarthSpecifiedAsPolygon , ep-geo:County , ep-geo:LicenceBlock , ep-geo:AreaCoveredByBusinessArrangement . |
| 51 | 51 | ||
| 52 | ep-geo:County | 52 | ep-geo:County |
| 53 | - rdf:type owl:Class , ep-fac:ProductionFacilityType ; | 53 | + rdf:type ep-fac:ProductionFacilityType , owl:Class ; |
| 54 | rdfs:label "county"^^xsd:string ; | 54 | rdfs:label "county"^^xsd:string ; |
| 55 | rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ; | 55 | rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ; |
| 56 | - owl:disjointWith ep-geo:AreaCoveredByBusinessArrangement , ep-geo:LicenceBlock , ep-geo:State , ep-geo:PartOfSurfaceOfTheEarthSpecifiedAsPolygon , ep-geo:Country . | 56 | + owl:disjointWith ep-geo:Country , ep-geo:PartOfSurfaceOfTheEarthSpecifiedAsPolygon , ep-geo:State , ep-geo:LicenceBlock , ep-geo:AreaCoveredByBusinessArrangement . |
| 57 | 57 | ||
| 58 | ep-geo:DestinationType | 58 | ep-geo:DestinationType |
| 59 | rdf:type rdfs:Class ; | 59 | rdf:type rdfs:Class ; |
| ... | @@ -61,7 +61,7 @@ ep-geo:DestinationType | ... | @@ -61,7 +61,7 @@ ep-geo:DestinationType |
| 61 | rdfs:subClassOf owl:Class . | 61 | rdfs:subClassOf owl:Class . |
| 62 | 62 | ||
| 63 | ep-geo:Harbour | 63 | ep-geo:Harbour |
| 64 | - rdf:type ep-geo:DestinationType , owl:Class ; | 64 | + rdf:type owl:Class , ep-geo:DestinationType ; |
| 65 | rdfs:label "harbour"^^xsd:string ; | 65 | rdfs:label "harbour"^^xsd:string ; |
| 66 | rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth . | 66 | rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth . |
| 67 | 67 | ||
| ... | @@ -80,7 +80,7 @@ ep-geo:OffshoreLocation | ... | @@ -80,7 +80,7 @@ ep-geo:OffshoreLocation |
| 80 | ep-geo:PartOfSurfaceOfTheEarthSpecifiedAsPolygon | 80 | ep-geo:PartOfSurfaceOfTheEarthSpecifiedAsPolygon |
| 81 | rdf:type owl:Class ; | 81 | rdf:type owl:Class ; |
| 82 | rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ; | 82 | rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ; |
| 83 | - owl:disjointWith ep-geo:AreaCoveredByBusinessArrangement , ep-geo:LicenceBlock , ep-geo:County , ep-geo:Country , ep-geo:State . | 83 | + owl:disjointWith ep-geo:State , ep-geo:Country , ep-geo:County , ep-geo:LicenceBlock , ep-geo:AreaCoveredByBusinessArrangement . |
| 84 | 84 | ||
| 85 | ep-geo:PartOfTheSurfaceOfTheEarth | 85 | ep-geo:PartOfTheSurfaceOfTheEarth |
| 86 | rdf:type owl:Class ; | 86 | rdf:type owl:Class ; |
| ... | @@ -88,15 +88,15 @@ ep-geo:PartOfTheSurfaceOfTheEarth | ... | @@ -88,15 +88,15 @@ ep-geo:PartOfTheSurfaceOfTheEarth |
| 88 | rdfs:subClassOf ep-core:PhysicalObject . | 88 | rdfs:subClassOf ep-core:PhysicalObject . |
| 89 | 89 | ||
| 90 | ep-geo:State | 90 | ep-geo:State |
| 91 | - rdf:type owl:Class , ep-fac:ProductionFacilityType ; | 91 | + rdf:type ep-fac:ProductionFacilityType , owl:Class ; |
| 92 | rdfs:label "state"^^xsd:string ; | 92 | rdfs:label "state"^^xsd:string ; |
| 93 | rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ; | 93 | rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth ; |
| 94 | - owl:disjointWith ep-geo:AreaCoveredByBusinessArrangement , ep-geo:LicenceBlock , ep-geo:County , ep-geo:PartOfSurfaceOfTheEarthSpecifiedAsPolygon , ep-geo:Country . | 94 | + owl:disjointWith ep-geo:Country , ep-geo:PartOfSurfaceOfTheEarthSpecifiedAsPolygon , ep-geo:County , ep-geo:LicenceBlock , ep-geo:AreaCoveredByBusinessArrangement . |
| 95 | 95 | ||
| 96 | ep-geo:Terminal | 96 | ep-geo:Terminal |
| 97 | - rdf:type ep-geo:DestinationType , owl:Class ; | 97 | + rdf:type owl:Class , ep-geo:DestinationType ; |
| 98 | rdfs:label "terminal"^^xsd:string ; | 98 | rdfs:label "terminal"^^xsd:string ; |
| 99 | - rdfs:subClassOf ep-fac:Facility , ep-geo:PartOfTheSurfaceOfTheEarth . | 99 | + rdfs:subClassOf ep-geo:PartOfTheSurfaceOfTheEarth , ep-fac:Facility . |
| 100 | 100 | ||
| 101 | ep-geo:areaOnSurfaceOfEarth | 101 | ep-geo:areaOnSurfaceOfEarth |
| 102 | rdf:type owl:ObjectProperty ; | 102 | rdf:type owl:ObjectProperty ; |
| ... | @@ -119,12 +119,12 @@ ep-geo:hasNorthSeaAreaName | ... | @@ -119,12 +119,12 @@ ep-geo:hasNorthSeaAreaName |
| 119 | rdfs:label "has North Sea area name"^^xsd:string . | 119 | rdfs:label "has North Sea area name"^^xsd:string . |
| 120 | 120 | ||
| 121 | ep-geo:hasNorthSeaBlockSuffixId | 121 | ep-geo:hasNorthSeaBlockSuffixId |
| 122 | - rdf:type owl:FunctionalProperty , owl:DatatypeProperty ; | 122 | + rdf:type owl:DatatypeProperty , owl:FunctionalProperty ; |
| 123 | rdfs:domain ep-geo:OffshoreLocation ; | 123 | rdfs:domain ep-geo:OffshoreLocation ; |
| 124 | rdfs:label "has North Sea block suffix ID"^^xsd:string . | 124 | rdfs:label "has North Sea block suffix ID"^^xsd:string . |
| 125 | 125 | ||
| 126 | ep-geo:hasNorthSeaQuadrantId | 126 | ep-geo:hasNorthSeaQuadrantId |
| 127 | - rdf:type owl:FunctionalProperty , owl:DatatypeProperty ; | 127 | + rdf:type owl:DatatypeProperty , owl:FunctionalProperty ; |
| 128 | rdfs:domain ep-geo:OffshoreLocation ; | 128 | rdfs:domain ep-geo:OffshoreLocation ; |
| 129 | rdfs:label "has North Sea quadrant ID"^^xsd:string . | 129 | rdfs:label "has North Sea quadrant ID"^^xsd:string . |
| 130 | 130 | ... | ... |
| ... | @@ -5,6 +5,7 @@ | ... | @@ -5,6 +5,7 @@ |
| 5 | # imports: http://www.reportinghub.no/ep/mpr/spin/1.1/lib | 5 | # imports: http://www.reportinghub.no/ep/mpr/spin/1.1/lib |
| 6 | 6 | ||
| 7 | @prefix : <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-facilityIdentifierStructure-v1.1.1#> . | 7 | @prefix : <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-facilityIdentifierStructure-v1.1.1#> . |
| 8 | +@prefix ep-mpr-spin-lib: <http://www.reportinghub.no/ep/mpr/spin/1.1/lib#> . | ||
| 8 | @prefix owl: <http://www.w3.org/2002/07/owl#> . | 9 | @prefix owl: <http://www.w3.org/2002/07/owl#> . |
| 9 | @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | 10 | @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 rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
| ... | @@ -16,50 +17,44 @@ | ... | @@ -16,50 +17,44 @@ |
| 16 | <http://www.epim.no/schemas/mprml/1#FacilityIdentifierStruct> | 17 | <http://www.epim.no/schemas/mprml/1#FacilityIdentifierStruct> |
| 17 | spin:rule | 18 | spin:rule |
| 18 | [ rdf:type sp:Construct ; | 19 | [ rdf:type sp:Construct ; |
| 19 | - rdfs:comment """STEP 00001 Record the Facility that has the flows - kind is \"field\", etc. | 20 | + rdfs:comment """STEP 00008 Record the Facility that has the flows - kind is \"company\" or \"commercial entity\" - assumed to be an ParentCompany |
| 20 | Nothing is done with the namingSystem!"""^^xsd:string ; | 21 | Nothing is done with the namingSystem!"""^^xsd:string ; |
| 21 | sp:templates ([ sp:object spin:_this ; | 22 | sp:templates ([ sp:object spin:_this ; |
| 22 | sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | 23 | sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; |
| 23 | sp:subject | 24 | sp:subject |
| 24 | - [ sp:varName "field"^^xsd:string | 25 | + [ sp:varName "company"^^xsd:string |
| 25 | ] | 26 | ] |
| 26 | ] [ sp:object | 27 | ] [ sp:object |
| 27 | - [ sp:varName "fieldName"^^xsd:string | 28 | + [ sp:varName "companyName"^^xsd:string |
| 28 | ] ; | 29 | ] ; |
| 29 | sp:predicate rdfs:label ; | 30 | sp:predicate rdfs:label ; |
| 30 | sp:subject spin:_this | 31 | sp:subject spin:_this |
| 31 | ]) ; | 32 | ]) ; |
| 32 | sp:where ([ rdf:type sp:Union ; | 33 | sp:where ([ rdf:type sp:Union ; |
| 33 | - sp:elements (([ sp:object <http://www.epim.no/schemas/mprml/1#RF_field> ; | 34 | + sp:elements (([ sp:object <http://www.epim.no/schemas/mprml/1#RF_company> ; |
| 34 | - sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; | ||
| 35 | - sp:subject spin:_this | ||
| 36 | - ]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_field-part> ; | ||
| 37 | - sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; | ||
| 38 | - sp:subject spin:_this | ||
| 39 | - ]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_field-group> ; | ||
| 40 | sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; | 35 | sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; |
| 41 | sp:subject spin:_this | 36 | sp:subject spin:_this |
| 42 | - ]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_field-area> ; | 37 | + ]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_commercialentity> ; |
| 43 | sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; | 38 | sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; |
| 44 | sp:subject spin:_this | 39 | sp:subject spin:_this |
| 45 | ])) | 40 | ])) |
| 46 | ] [ sp:object | 41 | ] [ sp:object |
| 47 | - [ sp:varName "fieldName"^^xsd:string | 42 | + [ sp:varName "companyName"^^xsd:string |
| 48 | ] ; | 43 | ] ; |
| 49 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 44 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
| 50 | sp:subject spin:_this | 45 | sp:subject spin:_this |
| 51 | ] [ rdf:type sp:NamedGraph ; | 46 | ] [ rdf:type sp:NamedGraph ; |
| 52 | - sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/facility#Field> ; | 47 | + sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#ParentCompany> ; |
| 53 | sp:predicate rdf:type ; | 48 | sp:predicate rdf:type ; |
| 54 | sp:subject | 49 | sp:subject |
| 55 | - [ sp:varName "field"^^xsd:string | 50 | + [ sp:varName "company"^^xsd:string |
| 56 | ] | 51 | ] |
| 57 | ] [ sp:object | 52 | ] [ sp:object |
| 58 | - [ sp:varName "fieldName"^^xsd:string | 53 | + [ sp:varName "companyName"^^xsd:string |
| 59 | ] ; | 54 | ] ; |
| 60 | sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; | 55 | sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; |
| 61 | sp:subject | 56 | sp:subject |
| 62 | - [ sp:varName "field"^^xsd:string | 57 | + [ sp:varName "company"^^xsd:string |
| 63 | ] | 58 | ] |
| 64 | ]) ; | 59 | ]) ; |
| 65 | sp:graphNameNode <http://www.reportinghub.no/np/data/npd> | 60 | sp:graphNameNode <http://www.reportinghub.no/np/data/npd> |
| ... | @@ -67,39 +62,39 @@ Nothing is done with the namingSystem!"""^^xsd:string ; | ... | @@ -67,39 +62,39 @@ Nothing is done with the namingSystem!"""^^xsd:string ; |
| 67 | ] ; | 62 | ] ; |
| 68 | spin:rule | 63 | spin:rule |
| 69 | [ rdf:type sp:Construct ; | 64 | [ rdf:type sp:Construct ; |
| 70 | - rdfs:comment """STEP 00003 Record the Facility that has the flows - kind is \"platform\" - assumed to be a SurfaceFixedFacility | 65 | + rdfs:comment """STEP 00005 Record the Facility that has the flows - kind is \"well\" |
| 71 | Nothing is done with the namingSystem!"""^^xsd:string ; | 66 | Nothing is done with the namingSystem!"""^^xsd:string ; |
| 72 | sp:templates ([ sp:object spin:_this ; | 67 | sp:templates ([ sp:object spin:_this ; |
| 73 | sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | 68 | sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; |
| 74 | sp:subject | 69 | sp:subject |
| 75 | - [ sp:varName "platform"^^xsd:string | 70 | + [ sp:varName "well"^^xsd:string |
| 76 | ] | 71 | ] |
| 77 | ] [ sp:object | 72 | ] [ sp:object |
| 78 | - [ sp:varName "platformName"^^xsd:string | 73 | + [ sp:varName "wellName"^^xsd:string |
| 79 | ] ; | 74 | ] ; |
| 80 | sp:predicate rdfs:label ; | 75 | sp:predicate rdfs:label ; |
| 81 | sp:subject spin:_this | 76 | sp:subject spin:_this |
| 82 | ]) ; | 77 | ]) ; |
| 83 | - sp:where ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_platform> ; | 78 | + sp:where ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_well> ; |
| 84 | sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; | 79 | sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; |
| 85 | sp:subject spin:_this | 80 | sp:subject spin:_this |
| 86 | ] [ sp:object | 81 | ] [ sp:object |
| 87 | - [ sp:varName "platformName"^^xsd:string | 82 | + [ sp:varName "wellName"^^xsd:string |
| 88 | ] ; | 83 | ] ; |
| 89 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 84 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
| 90 | sp:subject spin:_this | 85 | sp:subject spin:_this |
| 91 | ] [ rdf:type sp:NamedGraph ; | 86 | ] [ rdf:type sp:NamedGraph ; |
| 92 | - sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/facility#SurfaceFixedFacility> ; | 87 | + sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/well#Well> ; |
| 93 | sp:predicate rdf:type ; | 88 | sp:predicate rdf:type ; |
| 94 | sp:subject | 89 | sp:subject |
| 95 | - [ sp:varName "platform"^^xsd:string | 90 | + [ sp:varName "well"^^xsd:string |
| 96 | ] | 91 | ] |
| 97 | ] [ sp:object | 92 | ] [ sp:object |
| 98 | - [ sp:varName "platformName"^^xsd:string | 93 | + [ sp:varName "wellName"^^xsd:string |
| 99 | ] ; | 94 | ] ; |
| 100 | sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; | 95 | sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; |
| 101 | sp:subject | 96 | sp:subject |
| 102 | - [ sp:varName "platform"^^xsd:string | 97 | + [ sp:varName "well"^^xsd:string |
| 103 | ] | 98 | ] |
| 104 | ]) ; | 99 | ]) ; |
| 105 | sp:graphNameNode <http://www.reportinghub.no/np/data/npd> | 100 | sp:graphNameNode <http://www.reportinghub.no/np/data/npd> |
| ... | @@ -107,39 +102,44 @@ Nothing is done with the namingSystem!"""^^xsd:string ; | ... | @@ -107,39 +102,44 @@ Nothing is done with the namingSystem!"""^^xsd:string ; |
| 107 | ] ; | 102 | ] ; |
| 108 | spin:rule | 103 | spin:rule |
| 109 | [ rdf:type sp:Construct ; | 104 | [ rdf:type sp:Construct ; |
| 110 | - rdfs:comment """STEP 00009 Record the Facility that has the flows - kind is \"licence\" | 105 | + rdfs:comment """STEP 00007 Record the Facility that has the flows - kind is \"company\" or \"commercial entity\" - assumed to be an OperatingCompany |
| 111 | Nothing is done with the namingSystem!"""^^xsd:string ; | 106 | Nothing is done with the namingSystem!"""^^xsd:string ; |
| 112 | sp:templates ([ sp:object spin:_this ; | 107 | sp:templates ([ sp:object spin:_this ; |
| 113 | sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | 108 | sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; |
| 114 | sp:subject | 109 | sp:subject |
| 115 | - [ sp:varName "licence"^^xsd:string | 110 | + [ sp:varName "company"^^xsd:string |
| 116 | ] | 111 | ] |
| 117 | ] [ sp:object | 112 | ] [ sp:object |
| 118 | - [ sp:varName "licenceName"^^xsd:string | 113 | + [ sp:varName "companyName"^^xsd:string |
| 119 | ] ; | 114 | ] ; |
| 120 | sp:predicate rdfs:label ; | 115 | sp:predicate rdfs:label ; |
| 121 | sp:subject spin:_this | 116 | sp:subject spin:_this |
| 122 | ]) ; | 117 | ]) ; |
| 123 | - sp:where ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_licence> ; | 118 | + sp:where ([ rdf:type sp:Union ; |
| 119 | + sp:elements (([ sp:object <http://www.epim.no/schemas/mprml/1#RF_company> ; | ||
| 120 | + sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; | ||
| 121 | + sp:subject spin:_this | ||
| 122 | + ]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_commercialentity> ; | ||
| 124 | sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; | 123 | sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; |
| 125 | sp:subject spin:_this | 124 | sp:subject spin:_this |
| 125 | + ])) | ||
| 126 | ] [ sp:object | 126 | ] [ sp:object |
| 127 | - [ sp:varName "licenceName"^^xsd:string | 127 | + [ sp:varName "companyName"^^xsd:string |
| 128 | ] ; | 128 | ] ; |
| 129 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 129 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
| 130 | sp:subject spin:_this | 130 | sp:subject spin:_this |
| 131 | ] [ rdf:type sp:NamedGraph ; | 131 | ] [ rdf:type sp:NamedGraph ; |
| 132 | - sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#Licence> ; | 132 | + sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#OperatingCompany> ; |
| 133 | sp:predicate rdf:type ; | 133 | sp:predicate rdf:type ; |
| 134 | sp:subject | 134 | sp:subject |
| 135 | - [ sp:varName "licence"^^xsd:string | 135 | + [ sp:varName "company"^^xsd:string |
| 136 | ] | 136 | ] |
| 137 | ] [ sp:object | 137 | ] [ sp:object |
| 138 | - [ sp:varName "licenceName"^^xsd:string | 138 | + [ sp:varName "companyName"^^xsd:string |
| 139 | ] ; | 139 | ] ; |
| 140 | sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; | 140 | sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; |
| 141 | sp:subject | 141 | sp:subject |
| 142 | - [ sp:varName "licence"^^xsd:string | 142 | + [ sp:varName "company"^^xsd:string |
| 143 | ] | 143 | ] |
| 144 | ]) ; | 144 | ]) ; |
| 145 | sp:graphNameNode <http://www.reportinghub.no/np/data/npd> | 145 | sp:graphNameNode <http://www.reportinghub.no/np/data/npd> |
| ... | @@ -147,44 +147,50 @@ Nothing is done with the namingSystem!"""^^xsd:string ; | ... | @@ -147,44 +147,50 @@ Nothing is done with the namingSystem!"""^^xsd:string ; |
| 147 | ] ; | 147 | ] ; |
| 148 | spin:rule | 148 | spin:rule |
| 149 | [ rdf:type sp:Construct ; | 149 | [ rdf:type sp:Construct ; |
| 150 | - rdfs:comment """STEP 00007 Record the Facility that has the flows - kind is \"company\" or \"commercial entity\" - assumed to be an OperatingCompany | 150 | + rdfs:comment """STEP 00001 Record the Facility that has the flows - kind is \"field\", etc. |
| 151 | Nothing is done with the namingSystem!"""^^xsd:string ; | 151 | Nothing is done with the namingSystem!"""^^xsd:string ; |
| 152 | sp:templates ([ sp:object spin:_this ; | 152 | sp:templates ([ sp:object spin:_this ; |
| 153 | sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | 153 | sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; |
| 154 | sp:subject | 154 | sp:subject |
| 155 | - [ sp:varName "company"^^xsd:string | 155 | + [ sp:varName "field"^^xsd:string |
| 156 | ] | 156 | ] |
| 157 | ] [ sp:object | 157 | ] [ sp:object |
| 158 | - [ sp:varName "companyName"^^xsd:string | 158 | + [ sp:varName "fieldName"^^xsd:string |
| 159 | ] ; | 159 | ] ; |
| 160 | sp:predicate rdfs:label ; | 160 | sp:predicate rdfs:label ; |
| 161 | sp:subject spin:_this | 161 | sp:subject spin:_this |
| 162 | ]) ; | 162 | ]) ; |
| 163 | sp:where ([ rdf:type sp:Union ; | 163 | sp:where ([ rdf:type sp:Union ; |
| 164 | - sp:elements (([ sp:object <http://www.epim.no/schemas/mprml/1#RF_company> ; | 164 | + sp:elements (([ sp:object <http://www.epim.no/schemas/mprml/1#RF_field> ; |
| 165 | sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; | 165 | sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; |
| 166 | sp:subject spin:_this | 166 | sp:subject spin:_this |
| 167 | - ]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_commercialentity> ; | 167 | + ]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_field-part> ; |
| 168 | + sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; | ||
| 169 | + sp:subject spin:_this | ||
| 170 | + ]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_field-group> ; | ||
| 171 | + sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; | ||
| 172 | + sp:subject spin:_this | ||
| 173 | + ]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_field-area> ; | ||
| 168 | sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; | 174 | sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; |
| 169 | sp:subject spin:_this | 175 | sp:subject spin:_this |
| 170 | ])) | 176 | ])) |
| 171 | ] [ sp:object | 177 | ] [ sp:object |
| 172 | - [ sp:varName "companyName"^^xsd:string | 178 | + [ sp:varName "fieldName"^^xsd:string |
| 173 | ] ; | 179 | ] ; |
| 174 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 180 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
| 175 | sp:subject spin:_this | 181 | sp:subject spin:_this |
| 176 | ] [ rdf:type sp:NamedGraph ; | 182 | ] [ rdf:type sp:NamedGraph ; |
| 177 | - sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#OperatingCompany> ; | 183 | + sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/facility#Field> ; |
| 178 | sp:predicate rdf:type ; | 184 | sp:predicate rdf:type ; |
| 179 | sp:subject | 185 | sp:subject |
| 180 | - [ sp:varName "company"^^xsd:string | 186 | + [ sp:varName "field"^^xsd:string |
| 181 | ] | 187 | ] |
| 182 | ] [ sp:object | 188 | ] [ sp:object |
| 183 | - [ sp:varName "companyName"^^xsd:string | 189 | + [ sp:varName "fieldName"^^xsd:string |
| 184 | ] ; | 190 | ] ; |
| 185 | sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; | 191 | sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; |
| 186 | sp:subject | 192 | sp:subject |
| 187 | - [ sp:varName "company"^^xsd:string | 193 | + [ sp:varName "field"^^xsd:string |
| 188 | ] | 194 | ] |
| 189 | ]) ; | 195 | ]) ; |
| 190 | sp:graphNameNode <http://www.reportinghub.no/np/data/npd> | 196 | sp:graphNameNode <http://www.reportinghub.no/np/data/npd> |
| ... | @@ -192,44 +198,39 @@ Nothing is done with the namingSystem!"""^^xsd:string ; | ... | @@ -192,44 +198,39 @@ Nothing is done with the namingSystem!"""^^xsd:string ; |
| 192 | ] ; | 198 | ] ; |
| 193 | spin:rule | 199 | spin:rule |
| 194 | [ rdf:type sp:Construct ; | 200 | [ rdf:type sp:Construct ; |
| 195 | - rdfs:comment """STEP 00008 Record the Facility that has the flows - kind is \"company\" or \"commercial entity\" - assumed to be an ParentCompany | 201 | + rdfs:comment """STEP 00009 Record the Facility that has the flows - kind is \"licence\" |
| 196 | Nothing is done with the namingSystem!"""^^xsd:string ; | 202 | Nothing is done with the namingSystem!"""^^xsd:string ; |
| 197 | sp:templates ([ sp:object spin:_this ; | 203 | sp:templates ([ sp:object spin:_this ; |
| 198 | sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | 204 | sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; |
| 199 | sp:subject | 205 | sp:subject |
| 200 | - [ sp:varName "company"^^xsd:string | 206 | + [ sp:varName "licence"^^xsd:string |
| 201 | ] | 207 | ] |
| 202 | ] [ sp:object | 208 | ] [ sp:object |
| 203 | - [ sp:varName "companyName"^^xsd:string | 209 | + [ sp:varName "licenceName"^^xsd:string |
| 204 | ] ; | 210 | ] ; |
| 205 | sp:predicate rdfs:label ; | 211 | sp:predicate rdfs:label ; |
| 206 | sp:subject spin:_this | 212 | sp:subject spin:_this |
| 207 | ]) ; | 213 | ]) ; |
| 208 | - sp:where ([ rdf:type sp:Union ; | 214 | + sp:where ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_licence> ; |
| 209 | - sp:elements (([ sp:object <http://www.epim.no/schemas/mprml/1#RF_company> ; | ||
| 210 | - sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; | ||
| 211 | - sp:subject spin:_this | ||
| 212 | - ]) ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_commercialentity> ; | ||
| 213 | sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; | 215 | sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; |
| 214 | sp:subject spin:_this | 216 | sp:subject spin:_this |
| 215 | - ])) | ||
| 216 | ] [ sp:object | 217 | ] [ sp:object |
| 217 | - [ sp:varName "companyName"^^xsd:string | 218 | + [ sp:varName "licenceName"^^xsd:string |
| 218 | ] ; | 219 | ] ; |
| 219 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 220 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
| 220 | sp:subject spin:_this | 221 | sp:subject spin:_this |
| 221 | ] [ rdf:type sp:NamedGraph ; | 222 | ] [ rdf:type sp:NamedGraph ; |
| 222 | - sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#ParentCompany> ; | 223 | + sp:elements ([ sp:object <http://www.reportinghub.no/np/schema/npd#Licence> ; |
| 223 | sp:predicate rdf:type ; | 224 | sp:predicate rdf:type ; |
| 224 | sp:subject | 225 | sp:subject |
| 225 | - [ sp:varName "company"^^xsd:string | 226 | + [ sp:varName "licence"^^xsd:string |
| 226 | ] | 227 | ] |
| 227 | ] [ sp:object | 228 | ] [ sp:object |
| 228 | - [ sp:varName "companyName"^^xsd:string | 229 | + [ sp:varName "licenceName"^^xsd:string |
| 229 | ] ; | 230 | ] ; |
| 230 | sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; | 231 | sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; |
| 231 | sp:subject | 232 | sp:subject |
| 232 | - [ sp:varName "company"^^xsd:string | 233 | + [ sp:varName "licence"^^xsd:string |
| 233 | ] | 234 | ] |
| 234 | ]) ; | 235 | ]) ; |
| 235 | sp:graphNameNode <http://www.reportinghub.no/np/data/npd> | 236 | sp:graphNameNode <http://www.reportinghub.no/np/data/npd> |
| ... | @@ -237,39 +238,39 @@ Nothing is done with the namingSystem!"""^^xsd:string ; | ... | @@ -237,39 +238,39 @@ Nothing is done with the namingSystem!"""^^xsd:string ; |
| 237 | ] ; | 238 | ] ; |
| 238 | spin:rule | 239 | spin:rule |
| 239 | [ rdf:type sp:Construct ; | 240 | [ rdf:type sp:Construct ; |
| 240 | - rdfs:comment """STEP 00005 Record the Facility that has the flows - kind is \"well\" | 241 | + rdfs:comment """STEP 00002 Record the Facility that has the flows - kind is \"wellbore\" |
| 241 | Nothing is done with the namingSystem!"""^^xsd:string ; | 242 | Nothing is done with the namingSystem!"""^^xsd:string ; |
| 242 | sp:templates ([ sp:object spin:_this ; | 243 | sp:templates ([ sp:object spin:_this ; |
| 243 | sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | 244 | sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; |
| 244 | sp:subject | 245 | sp:subject |
| 245 | - [ sp:varName "well"^^xsd:string | 246 | + [ sp:varName "wellBore"^^xsd:string |
| 246 | ] | 247 | ] |
| 247 | ] [ sp:object | 248 | ] [ sp:object |
| 248 | - [ sp:varName "wellName"^^xsd:string | 249 | + [ sp:varName "wellBoreName"^^xsd:string |
| 249 | ] ; | 250 | ] ; |
| 250 | sp:predicate rdfs:label ; | 251 | sp:predicate rdfs:label ; |
| 251 | sp:subject spin:_this | 252 | sp:subject spin:_this |
| 252 | ]) ; | 253 | ]) ; |
| 253 | - sp:where ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_well> ; | 254 | + sp:where ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_wellbore> ; |
| 254 | sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; | 255 | sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; |
| 255 | sp:subject spin:_this | 256 | sp:subject spin:_this |
| 256 | ] [ sp:object | 257 | ] [ sp:object |
| 257 | - [ sp:varName "wellName"^^xsd:string | 258 | + [ sp:varName "wellBoreName"^^xsd:string |
| 258 | ] ; | 259 | ] ; |
| 259 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 260 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
| 260 | sp:subject spin:_this | 261 | sp:subject spin:_this |
| 261 | ] [ rdf:type sp:NamedGraph ; | 262 | ] [ rdf:type sp:NamedGraph ; |
| 262 | - sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/well#Well> ; | 263 | + sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ; |
| 263 | sp:predicate rdf:type ; | 264 | sp:predicate rdf:type ; |
| 264 | sp:subject | 265 | sp:subject |
| 265 | - [ sp:varName "well"^^xsd:string | 266 | + [ sp:varName "wellBore"^^xsd:string |
| 266 | ] | 267 | ] |
| 267 | ] [ sp:object | 268 | ] [ sp:object |
| 268 | - [ sp:varName "wellName"^^xsd:string | 269 | + [ sp:varName "wellBoreName"^^xsd:string |
| 269 | ] ; | 270 | ] ; |
| 270 | sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; | 271 | sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; |
| 271 | sp:subject | 272 | sp:subject |
| 272 | - [ sp:varName "well"^^xsd:string | 273 | + [ sp:varName "wellBore"^^xsd:string |
| 273 | ] | 274 | ] |
| 274 | ]) ; | 275 | ]) ; |
| 275 | sp:graphNameNode <http://www.reportinghub.no/np/data/npd> | 276 | sp:graphNameNode <http://www.reportinghub.no/np/data/npd> |
| ... | @@ -277,31 +278,39 @@ Nothing is done with the namingSystem!"""^^xsd:string ; | ... | @@ -277,31 +278,39 @@ Nothing is done with the namingSystem!"""^^xsd:string ; |
| 277 | ] ; | 278 | ] ; |
| 278 | spin:rule | 279 | spin:rule |
| 279 | [ rdf:type sp:Construct ; | 280 | [ rdf:type sp:Construct ; |
| 280 | - rdfs:comment """STEP 00001a Record the Facility that has the flows - kind is \"field\", etc. | 281 | + rdfs:comment """STEP 00003 Record the Facility that has the flows - kind is \"platform\" - assumed to be a SurfaceFixedFacility |
| 281 | -Nothing is done with the namingSystem! | 282 | +Nothing is done with the namingSystem!"""^^xsd:string ; |
| 282 | -?field ep-core:derivedFrom ?this . | 283 | + sp:templates ([ sp:object spin:_this ; |
| 283 | -?this rdfs:label ?fieldName ."""^^xsd:string ; | 284 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; |
| 284 | - sp:templates () ; | 285 | + sp:subject |
| 285 | - sp:where ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_field> ; | 286 | + [ sp:varName "platform"^^xsd:string |
| 287 | + ] | ||
| 288 | + ] [ sp:object | ||
| 289 | + [ sp:varName "platformName"^^xsd:string | ||
| 290 | + ] ; | ||
| 291 | + sp:predicate rdfs:label ; | ||
| 292 | + sp:subject spin:_this | ||
| 293 | + ]) ; | ||
| 294 | + sp:where ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_platform> ; | ||
| 286 | sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; | 295 | sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; |
| 287 | sp:subject spin:_this | 296 | sp:subject spin:_this |
| 288 | ] [ sp:object | 297 | ] [ sp:object |
| 289 | - [ sp:varName "fieldName"^^xsd:string | 298 | + [ sp:varName "platformName"^^xsd:string |
| 290 | ] ; | 299 | ] ; |
| 291 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 300 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
| 292 | sp:subject spin:_this | 301 | sp:subject spin:_this |
| 293 | ] [ rdf:type sp:NamedGraph ; | 302 | ] [ rdf:type sp:NamedGraph ; |
| 294 | - sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/facility#Field> ; | 303 | + sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/facility#SurfaceFixedFacility> ; |
| 295 | sp:predicate rdf:type ; | 304 | sp:predicate rdf:type ; |
| 296 | sp:subject | 305 | sp:subject |
| 297 | - [ sp:varName "field"^^xsd:string | 306 | + [ sp:varName "platform"^^xsd:string |
| 298 | ] | 307 | ] |
| 299 | ] [ sp:object | 308 | ] [ sp:object |
| 300 | - [ sp:varName "fieldName"^^xsd:string | 309 | + [ sp:varName "platformName"^^xsd:string |
| 301 | ] ; | 310 | ] ; |
| 302 | sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; | 311 | sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; |
| 303 | sp:subject | 312 | sp:subject |
| 304 | - [ sp:varName "field"^^xsd:string | 313 | + [ sp:varName "platform"^^xsd:string |
| 305 | ] | 314 | ] |
| 306 | ]) ; | 315 | ]) ; |
| 307 | sp:graphNameNode <http://www.reportinghub.no/np/data/npd> | 316 | sp:graphNameNode <http://www.reportinghub.no/np/data/npd> |
| ... | @@ -309,39 +318,95 @@ Nothing is done with the namingSystem! | ... | @@ -309,39 +318,95 @@ Nothing is done with the namingSystem! |
| 309 | ] ; | 318 | ] ; |
| 310 | spin:rule | 319 | spin:rule |
| 311 | [ rdf:type sp:Construct ; | 320 | [ rdf:type sp:Construct ; |
| 312 | - rdfs:comment """STEP 00002 Record the Facility that has the flows - kind is \"wellbore\" | 321 | + rdfs:comment """STEP 00010 Record the Facility that has the flows - not in the NPD Fact Pages |
| 322 | +Nothing is done with the namingSystem!"""^^xsd:string ; | ||
| 323 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#Facility> ; | ||
| 324 | + sp:predicate rdf:type ; | ||
| 325 | + sp:subject _:b1 | ||
| 326 | + ] [ sp:object | ||
| 327 | + [ sp:varName "productionFacilityType"^^xsd:string | ||
| 328 | + ] ; | ||
| 329 | + sp:predicate rdf:type ; | ||
| 330 | + sp:subject _:b1 | ||
| 331 | + ] [ sp:object | ||
| 332 | + [ sp:varName "facilityName"^^xsd:string | ||
| 333 | + ] ; | ||
| 334 | + sp:predicate rdfs:label ; | ||
| 335 | + sp:subject _:b1 | ||
| 336 | + ] [ sp:object spin:_this ; | ||
| 337 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
| 338 | + sp:subject _:b1 | ||
| 339 | + ] [ sp:object | ||
| 340 | + [ sp:varName "facilityName"^^xsd:string | ||
| 341 | + ] ; | ||
| 342 | + sp:predicate rdfs:label ; | ||
| 343 | + sp:subject spin:_this | ||
| 344 | + ]) ; | ||
| 345 | + sp:where ([ rdf:type sp:Optional ; | ||
| 346 | + sp:elements ([ sp:object | ||
| 347 | + [ sp:varName "facilityKind"^^xsd:string | ||
| 348 | + ] ; | ||
| 349 | + sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; | ||
| 350 | + sp:subject spin:_this | ||
| 351 | + ]) | ||
| 352 | + ] [ sp:object | ||
| 353 | + [ sp:varName "facilityName"^^xsd:string | ||
| 354 | + ] ; | ||
| 355 | + sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
| 356 | + sp:subject spin:_this | ||
| 357 | + ] [ rdf:type sp:NotExists ; | ||
| 358 | + sp:elements ([ sp:object spin:_this ; | ||
| 359 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
| 360 | + sp:subject | ||
| 361 | + [ sp:varName "something"^^xsd:string | ||
| 362 | + ] | ||
| 363 | + ]) | ||
| 364 | + ] [ rdf:type sp:Bind ; | ||
| 365 | + sp:expression | ||
| 366 | + [ rdf:type ep-mpr-spin-lib:selectProductionFacilityType ; | ||
| 367 | + sp:arg1 [ sp:varName "facilityKind"^^xsd:string | ||
| 368 | + ] | ||
| 369 | + ] ; | ||
| 370 | + sp:variable | ||
| 371 | + [ sp:varName "productionFacilityType"^^xsd:string | ||
| 372 | + ] | ||
| 373 | + ]) | ||
| 374 | + ] ; | ||
| 375 | + spin:rule | ||
| 376 | + [ rdf:type sp:Construct ; | ||
| 377 | + rdfs:comment """STEP 00004 Record the Facility that has the flows - kind is \"platform\" - assumed to be a MoveableFacility | ||
| 313 | Nothing is done with the namingSystem!"""^^xsd:string ; | 378 | Nothing is done with the namingSystem!"""^^xsd:string ; |
| 314 | sp:templates ([ sp:object spin:_this ; | 379 | sp:templates ([ sp:object spin:_this ; |
| 315 | sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | 380 | sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; |
| 316 | sp:subject | 381 | sp:subject |
| 317 | - [ sp:varName "wellBore"^^xsd:string | 382 | + [ sp:varName "platform"^^xsd:string |
| 318 | ] | 383 | ] |
| 319 | ] [ sp:object | 384 | ] [ sp:object |
| 320 | - [ sp:varName "wellBoreName"^^xsd:string | 385 | + [ sp:varName "platformName"^^xsd:string |
| 321 | ] ; | 386 | ] ; |
| 322 | sp:predicate rdfs:label ; | 387 | sp:predicate rdfs:label ; |
| 323 | sp:subject spin:_this | 388 | sp:subject spin:_this |
| 324 | ]) ; | 389 | ]) ; |
| 325 | - sp:where ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_wellbore> ; | 390 | + sp:where ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_platform> ; |
| 326 | sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; | 391 | sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; |
| 327 | sp:subject spin:_this | 392 | sp:subject spin:_this |
| 328 | ] [ sp:object | 393 | ] [ sp:object |
| 329 | - [ sp:varName "wellBoreName"^^xsd:string | 394 | + [ sp:varName "platformName"^^xsd:string |
| 330 | ] ; | 395 | ] ; |
| 331 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | 396 | sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; |
| 332 | sp:subject spin:_this | 397 | sp:subject spin:_this |
| 333 | ] [ rdf:type sp:NamedGraph ; | 398 | ] [ rdf:type sp:NamedGraph ; |
| 334 | - sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/well#WellBore> ; | 399 | + sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/facility#MoveableFacility> ; |
| 335 | sp:predicate rdf:type ; | 400 | sp:predicate rdf:type ; |
| 336 | sp:subject | 401 | sp:subject |
| 337 | - [ sp:varName "wellBore"^^xsd:string | 402 | + [ sp:varName "platform"^^xsd:string |
| 338 | ] | 403 | ] |
| 339 | ] [ sp:object | 404 | ] [ sp:object |
| 340 | - [ sp:varName "wellBoreName"^^xsd:string | 405 | + [ sp:varName "platformName"^^xsd:string |
| 341 | ] ; | 406 | ] ; |
| 342 | sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; | 407 | sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; |
| 343 | sp:subject | 408 | sp:subject |
| 344 | - [ sp:varName "wellBore"^^xsd:string | 409 | + [ sp:varName "platform"^^xsd:string |
| 345 | ] | 410 | ] |
| 346 | ]) ; | 411 | ]) ; |
| 347 | sp:graphNameNode <http://www.reportinghub.no/np/data/npd> | 412 | sp:graphNameNode <http://www.reportinghub.no/np/data/npd> |
| ... | @@ -412,46 +477,6 @@ Nothing is done with the namingSystem!"""^^xsd:string ; | ... | @@ -412,46 +477,6 @@ Nothing is done with the namingSystem!"""^^xsd:string ; |
| 412 | ]) ; | 477 | ]) ; |
| 413 | sp:graphNameNode <http://www.reportinghub.no/np/data/npd> | 478 | sp:graphNameNode <http://www.reportinghub.no/np/data/npd> |
| 414 | ]) | 479 | ]) |
| 415 | - ] ; | ||
| 416 | - spin:rule | ||
| 417 | - [ rdf:type sp:Construct ; | ||
| 418 | - rdfs:comment """STEP 00004 Record the Facility that has the flows - kind is \"platform\" - assumed to be a MoveableFacility | ||
| 419 | -Nothing is done with the namingSystem!"""^^xsd:string ; | ||
| 420 | - sp:templates ([ sp:object spin:_this ; | ||
| 421 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#derivedFrom> ; | ||
| 422 | - sp:subject | ||
| 423 | - [ sp:varName "platform"^^xsd:string | ||
| 424 | - ] | ||
| 425 | - ] [ sp:object | ||
| 426 | - [ sp:varName "platformName"^^xsd:string | ||
| 427 | - ] ; | ||
| 428 | - sp:predicate rdfs:label ; | ||
| 429 | - sp:subject spin:_this | ||
| 430 | - ]) ; | ||
| 431 | - sp:where ([ sp:object <http://www.epim.no/schemas/mprml/1#RF_platform> ; | ||
| 432 | - sp:predicate <http://www.epim.no/schemas/mprml/1#kindRef> ; | ||
| 433 | - sp:subject spin:_this | ||
| 434 | - ] [ sp:object | ||
| 435 | - [ sp:varName "platformName"^^xsd:string | ||
| 436 | - ] ; | ||
| 437 | - sp:predicate <http://www.linkedmodel.org/schema/dtype#value> ; | ||
| 438 | - sp:subject spin:_this | ||
| 439 | - ] [ rdf:type sp:NamedGraph ; | ||
| 440 | - sp:elements ([ sp:object <http://www.reportinghub.no/ep/schema/facility#MoveableFacility> ; | ||
| 441 | - sp:predicate rdf:type ; | ||
| 442 | - sp:subject | ||
| 443 | - [ sp:varName "platform"^^xsd:string | ||
| 444 | - ] | ||
| 445 | - ] [ sp:object | ||
| 446 | - [ sp:varName "platformName"^^xsd:string | ||
| 447 | - ] ; | ||
| 448 | - sp:predicate <http://www.reportinghub.no/np/schema/npd#name> ; | ||
| 449 | - sp:subject | ||
| 450 | - [ sp:varName "platform"^^xsd:string | ||
| 451 | - ] | ||
| 452 | - ]) ; | ||
| 453 | - sp:graphNameNode <http://www.reportinghub.no/np/data/npd> | ||
| 454 | - ]) | ||
| 455 | ] . | 480 | ] . |
| 456 | 481 | ||
| 457 | <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-facilityIdentifierStructure-v1.1.1> | 482 | <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-facilityIdentifierStructure-v1.1.1> | ... | ... |
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
-
Please register or login to post a comment