Added npd:licenceOperator and mapping to fill it, changed upload
constraints
Showing
6 changed files
with
768 additions
and
587 deletions
... | @@ -92,15 +92,27 @@ | ... | @@ -92,15 +92,27 @@ |
92 | sp:arg1 [ sp:varName "company"^^xsd:string | 92 | sp:arg1 [ sp:varName "company"^^xsd:string |
93 | ] | 93 | ] |
94 | ] | 94 | ] |
95 | - ] [ rdf:type sp:NotExists ; | 95 | + ] [ rdf:type sp:Bind ; |
96 | - sp:elements ([ sp:object | 96 | + sp:expression |
97 | - [ sp:varName "wellBore"^^xsd:string | 97 | + [ rdf:type rhspin:licenceForWellBore ; |
98 | - ] ; | 98 | + arg:wellBore |
99 | - sp:predicate rhspin:companyHasLicenceForWellBore ; | 99 | + [ sp:varName "wellBore"^^xsd:string |
100 | - sp:subject | 100 | + ] |
101 | - [ sp:varName "company"^^xsd:string | 101 | + ] ; |
102 | - ] | 102 | + sp:variable |
103 | - ]) | 103 | + [ sp:varName "licence"^^xsd:string |
104 | + ] | ||
105 | + ] [ rdf:type sp:Filter ; | ||
106 | + sp:expression | ||
107 | + [ rdf:type sp:not ; | ||
108 | + sp:arg1 [ rdf:type rhspin:npdTripleExists ; | ||
109 | + sp:arg1 [ sp:varName "licence"^^xsd:string | ||
110 | + ] ; | ||
111 | + sp:arg2 <http://www.reportinghub.no/np/schema/npd#licenceOperator> ; | ||
112 | + sp:arg3 [ sp:varName "company"^^xsd:string | ||
113 | + ] | ||
114 | + ] | ||
115 | + ] | ||
104 | ] [ rdf:type sp:Bind ; | 116 | ] [ rdf:type sp:Bind ; |
105 | sp:expression | 117 | sp:expression |
106 | [ rdf:type sp:coalesce ; | 118 | [ rdf:type sp:coalesce ; |
... | @@ -112,7 +124,20 @@ | ... | @@ -112,7 +124,20 @@ |
112 | sp:arg2 "Unknown well bore" | 124 | sp:arg2 "Unknown well bore" |
113 | ] ; | 125 | ] ; |
114 | sp:variable | 126 | sp:variable |
115 | - [ sp:varName "displayName"^^xsd:string | 127 | + [ sp:varName "wellBoreName"^^xsd:string |
128 | + ] | ||
129 | + ] [ rdf:type sp:Bind ; | ||
130 | + sp:expression | ||
131 | + [ rdf:type sp:coalesce ; | ||
132 | + sp:arg1 [ rdf:type rhspin:npdName ; | ||
133 | + arg:resource | ||
134 | + [ sp:varName "licence"^^xsd:string | ||
135 | + ] | ||
136 | + ] ; | ||
137 | + sp:arg2 "Unknown licence" | ||
138 | + ] ; | ||
139 | + sp:variable | ||
140 | + [ sp:varName "licenceName"^^xsd:string | ||
116 | ] | 141 | ] |
117 | ] [ rdf:type sp:Bind ; | 142 | ] [ rdf:type sp:Bind ; |
118 | sp:expression | 143 | sp:expression |
... | @@ -120,8 +145,11 @@ | ... | @@ -120,8 +145,11 @@ |
120 | sp:arg1 "Your company (" ; | 145 | sp:arg1 "Your company (" ; |
121 | sp:arg2 [ sp:varName "companyName"^^xsd:string | 146 | sp:arg2 [ sp:varName "companyName"^^xsd:string |
122 | ] ; | 147 | ] ; |
123 | - sp:arg3 ") does not hold a licence for well bore " ; | 148 | + sp:arg3 ") is not the operator of licence " ; |
124 | - sp:arg4 [ sp:varName "displayName"^^xsd:string | 149 | + sp:arg4 [ sp:varName "licenceName"^^xsd:string |
150 | + ] ; | ||
151 | + sp:arg5 " for well bore " ; | ||
152 | + sp:arg6 [ sp:varName "wellBoreName"^^xsd:string | ||
125 | ] | 153 | ] |
126 | ] ; | 154 | ] ; |
127 | sp:variable | 155 | sp:variable | ... | ... |
This diff could not be displayed because it is too large.
1 | -# baseURI: http://www.reportinghub.no/np/schema/1.0/npd | 1 | +# baseURI: http://www.reportinghub.no/np/schema/1.0/npd |
2 | -# imports: http://www.reportinghub.no/ep/schema/1.0/core | 2 | +# imports: http://www.reportinghub.no/ep/schema/1.0/core |
3 | -# imports: http://www.reportinghub.no/ep/schema/1.0/facility | 3 | +# imports: http://www.reportinghub.no/ep/schema/1.0/facility |
4 | -# imports: http://www.reportinghub.no/ep/schema/1.0/organization | 4 | +# imports: http://www.reportinghub.no/ep/schema/1.0/organization |
5 | -# imports: http://www.reportinghub.no/ep/schema/1.0/well | 5 | +# imports: http://www.reportinghub.no/ep/schema/1.0/well |
6 | - | 6 | + |
7 | -@prefix facility: <http://www.reportinghub.no/ep/schema/1.0/facility#> . | 7 | +@prefix facility: <http://www.reportinghub.no/ep/schema/1.0/facility#> . |
8 | -@prefix npd: <http://www.reportinghub.no/np/schema/npd#> . | 8 | +@prefix npd: <http://www.reportinghub.no/np/schema/npd#> . |
9 | -@prefix organization: <http://www.reportinghub.no/ep/schema/1.0/organization#> . | 9 | +@prefix organization: <http://www.reportinghub.no/ep/schema/1.0/organization#> . |
10 | -@prefix owl: <http://www.w3.org/2002/07/owl#> . | 10 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . |
11 | -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | 11 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . |
12 | -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | 12 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
13 | -@prefix rdl: <http://rds.posccaesar.org/2008/06/OWL/RDL#> . | 13 | +@prefix rdl: <http://rds.posccaesar.org/2008/06/OWL/RDL#> . |
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.reportinghub.no/ep/schema/facility#Facility> | 19 | +<http://www.reportinghub.no/ep/schema/facility#Facility> |
20 | - rdfs:subClassOf npd:NPDIndividual . | 20 | + rdfs:subClassOf npd:NPDIndividual . |
21 | - | 21 | + |
22 | -<http://www.reportinghub.no/ep/schema/facility#Field> | 22 | +<http://www.reportinghub.no/ep/schema/facility#Field> |
23 | - rdfs:subClassOf | 23 | + rdfs:subClassOf |
24 | - [ rdf:type owl:Restriction ; | 24 | + [ rdf:type owl:Restriction ; |
25 | - owl:minCardinality "0"^^xsd:nonNegativeInteger ; | 25 | + owl:minCardinality "0"^^xsd:nonNegativeInteger ; |
26 | - owl:onProperty npd:fieldDiscoveryWellBore | 26 | + owl:onProperty npd:fieldOwner |
27 | - ] ; | 27 | + ] ; |
28 | - rdfs:subClassOf | 28 | + rdfs:subClassOf |
29 | - [ rdf:type owl:Restriction ; | 29 | + [ rdf:type owl:Restriction ; |
30 | - owl:minCardinality "0"^^xsd:nonNegativeInteger ; | 30 | + owl:minCardinality "0"^^xsd:nonNegativeInteger ; |
31 | - owl:onProperty npd:currentActivityStatus | 31 | + owl:onProperty npd:fieldOperator |
32 | - ] ; | 32 | + ] ; |
33 | - rdfs:subClassOf | 33 | + rdfs:subClassOf |
34 | - [ rdf:type owl:Restriction ; | 34 | + [ rdf:type owl:Restriction ; |
35 | - owl:minCardinality "0"^^xsd:nonNegativeInteger ; | 35 | + owl:minCardinality "0"^^xsd:nonNegativeInteger ; |
36 | - owl:onProperty npd:fieldOperator | 36 | + owl:onProperty npd:currentActivityStatus |
37 | - ] ; | 37 | + ] ; |
38 | - rdfs:subClassOf | 38 | + rdfs:subClassOf |
39 | - [ rdf:type owl:Restriction ; | 39 | + [ rdf:type owl:Restriction ; |
40 | - owl:minCardinality "0"^^xsd:nonNegativeInteger ; | 40 | + owl:minCardinality "0"^^xsd:nonNegativeInteger ; |
41 | - owl:onProperty npd:fieldOwner | 41 | + owl:onProperty npd:fieldDiscoveryWellBore |
42 | - ] . | 42 | + ] . |
43 | - | 43 | + |
44 | -<http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAField> | 44 | +<http://www.reportinghub.no/ep/schema/facility#TemporalPartOfAField> |
45 | - rdfs:subClassOf npd:FixedFacilityParent . | 45 | + rdfs:subClassOf npd:FixedFacilityParent . |
46 | - | 46 | + |
47 | -<http://www.reportinghub.no/ep/schema/organization#Company> | 47 | +<http://www.reportinghub.no/ep/schema/organization#Company> |
48 | - rdfs:subClassOf npd:Individual . | 48 | + rdfs:subClassOf npd:Individual . |
49 | - | 49 | + |
50 | -<http://www.reportinghub.no/ep/schema/well#Well> | 50 | +<http://www.reportinghub.no/ep/schema/well#Well> |
51 | - rdfs:subClassOf npd:Individual . | 51 | + rdfs:subClassOf npd:Individual . |
52 | - | 52 | + |
53 | -<http://www.reportinghub.no/ep/schema/well#WellBore> | 53 | +<http://www.reportinghub.no/ep/schema/well#WellBore> |
54 | - rdfs:subClassOf npd:NPDIndividual . | 54 | + rdfs:subClassOf npd:NPDIndividual . |
55 | - | 55 | + |
56 | -<http://www.reportinghub.no/np/schema/1.0/npd> | 56 | +<http://www.reportinghub.no/np/schema/1.0/npd> |
57 | - rdf:type owl:Ontology ; | 57 | + rdf:type owl:Ontology ; |
58 | - owl:imports <http://www.reportinghub.no/ep/schema/1.0/organization> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/well> ; | 58 | + owl:imports <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/organization> , <http://www.reportinghub.no/ep/schema/1.0/well> ; |
59 | - owl:versionInfo "0.1.0"^^xsd:string . | 59 | + owl:versionInfo "0.1.0"^^xsd:string . |
60 | - | 60 | + |
61 | -npd:BusinessArrangementArea | 61 | +npd:BusinessArrangementArea |
62 | - rdf:type owl:Class ; | 62 | + rdf:type owl:Class ; |
63 | - rdfs:comment "A business arrangement area in this context is an area which is a result of unitisations, sliding scale rules or other business arrangements which have altered the terms of the original production licence."^^xsd:string ; | 63 | + rdfs:comment "A business arrangement area in this context is an area which is a result of unitisations, sliding scale rules or other business arrangements which have altered the terms of the original production licence."^^xsd:string ; |
64 | - rdfs:subClassOf npd:Owner , <http://www.reportinghub.no/ep/schema/core#PhysicalThing> , npd:NPDIndividual . | 64 | + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalThing> , npd:NPDIndividual , npd:Owner . |
65 | - | 65 | + |
66 | -npd:DWBP_Injection | 66 | +npd:DWBP_Injection |
67 | - rdf:type npd:DevelopmentWellBorePurpose ; | 67 | + rdf:type npd:DevelopmentWellBorePurpose ; |
68 | - rdfs:label "injection"@en ; | 68 | + rdfs:label "injection"@en ; |
69 | - npd:code "INJECTION"^^xsd:string . | 69 | + npd:code "INJECTION"^^xsd:string . |
70 | - | 70 | + |
71 | -npd:DWBP_Observation | 71 | +npd:DWBP_Observation |
72 | - rdf:type npd:DevelopmentWellBorePurpose ; | 72 | + rdf:type npd:DevelopmentWellBorePurpose ; |
73 | - rdfs:label "observation"@en ; | 73 | + rdfs:label "observation"@en ; |
74 | - npd:code "OBSERVATION"^^xsd:string . | 74 | + npd:code "OBSERVATION"^^xsd:string . |
75 | - | 75 | + |
76 | -npd:DWBP_Production | 76 | +npd:DWBP_Production |
77 | - rdf:type npd:DevelopmentWellBorePurpose ; | 77 | + rdf:type npd:DevelopmentWellBorePurpose ; |
78 | - rdfs:label "production"@en ; | 78 | + rdfs:label "production"@en ; |
79 | - npd:code "PRODUCTION"^^xsd:string . | 79 | + npd:code "PRODUCTION"^^xsd:string . |
80 | - | 80 | + |
81 | -npd:DevelopmentWellBorePurpose | 81 | +npd:DevelopmentWellBorePurpose |
82 | - rdf:type owl:Class ; | 82 | + rdf:type owl:Class ; |
83 | - rdfs:label "Development well bore purpose"^^xsd:string ; | 83 | + rdfs:label "Development well bore purpose"^^xsd:string ; |
84 | - rdfs:subClassOf npd:WellBorePurpose ; | 84 | + rdfs:subClassOf npd:WellBorePurpose ; |
85 | - owl:oneOf (npd:DWBP_Injection npd:DWBP_Observation npd:DWBP_Production) . | 85 | + owl:oneOf (npd:DWBP_Injection npd:DWBP_Observation npd:DWBP_Production) . |
86 | - | 86 | + |
87 | -npd:Discovery | 87 | +npd:Discovery |
88 | - rdf:type owl:Class ; | 88 | + rdf:type owl:Class ; |
89 | - rdfs:comment "A discovery is a petroleum deposit or several petroleum deposits collectively, which have been discovered in the same well, in which through testing, sampling or logging there has been established a probability of the existence of mobile petroleum (includes both commercial and technical discovery)."^^xsd:string ; | 89 | + rdfs:comment "A discovery is a petroleum deposit or several petroleum deposits collectively, which have been discovered in the same well, in which through testing, sampling or logging there has been established a probability of the existence of mobile petroleum (includes both commercial and technical discovery)."^^xsd:string ; |
90 | - rdfs:subClassOf npd:NPDIndividual . | 90 | + rdfs:subClassOf npd:NPDIndividual . |
91 | - | 91 | + |
92 | -npd:EWBP_Appraisal | 92 | +npd:EWBP_Appraisal |
93 | - rdf:type npd:ExplorationWellBorePurpose ; | 93 | + rdf:type npd:ExplorationWellBorePurpose ; |
94 | - rdfs:label "appraisal"@en ; | 94 | + rdfs:label "appraisal"@en ; |
95 | - npd:code "APPRAISAL"^^xsd:string . | 95 | + npd:code "APPRAISAL"^^xsd:string . |
96 | - | 96 | + |
97 | -npd:EWBP_Wildcat | 97 | +npd:EWBP_Wildcat |
98 | - rdf:type npd:ExplorationWellBorePurpose ; | 98 | + rdf:type npd:ExplorationWellBorePurpose ; |
99 | - rdfs:label "wildcat"@en ; | 99 | + rdfs:label "wildcat"@en ; |
100 | - npd:code "WILDCAT"^^xsd:string . | 100 | + npd:code "WILDCAT"^^xsd:string . |
101 | - | 101 | + |
102 | -npd:EWBP_Wildcat-Appraisal | 102 | +npd:EWBP_Wildcat-Appraisal |
103 | - rdf:type npd:ExplorationWellBorePurpose ; | 103 | + rdf:type npd:ExplorationWellBorePurpose ; |
104 | - rdfs:label "wildcat & appraisal"@en ; | 104 | + rdfs:label "wildcat & appraisal"@en ; |
105 | - npd:code "WILDCAT&APPRAISAL"^^xsd:string . | 105 | + npd:code "WILDCAT&APPRAISAL"^^xsd:string . |
106 | - | 106 | + |
107 | -npd:Enumeration | 107 | +npd:Enumeration |
108 | - rdf:type owl:Class ; | 108 | + rdf:type owl:Class ; |
109 | - rdfs:label "Enumeration"^^xsd:string ; | 109 | + rdfs:label "Enumeration"^^xsd:string ; |
110 | - rdfs:subClassOf owl:Thing ; | 110 | + rdfs:subClassOf owl:Thing ; |
111 | - rdfs:subClassOf | 111 | + rdfs:subClassOf |
112 | - [ rdf:type owl:Restriction ; | 112 | + [ rdf:type owl:Restriction ; |
113 | - owl:cardinality "1"^^xsd:nonNegativeInteger ; | 113 | + owl:cardinality "1"^^xsd:nonNegativeInteger ; |
114 | - owl:onProperty npd:code | 114 | + owl:onProperty npd:code |
115 | - ] . | 115 | + ] . |
116 | - | 116 | + |
117 | -npd:ExplorationWellBorePurpose | 117 | +npd:ExplorationWellBorePurpose |
118 | - rdf:type owl:Class ; | 118 | + rdf:type owl:Class ; |
119 | - rdfs:label "Exploration well bore purpose"^^xsd:string ; | 119 | + rdfs:label "Exploration well bore purpose"^^xsd:string ; |
120 | - rdfs:subClassOf npd:WellBorePurpose ; | 120 | + rdfs:subClassOf npd:WellBorePurpose ; |
121 | - owl:oneOf (npd:EWBP_Appraisal npd:EWBP_Wildcat-Appraisal npd:EWBP_Wildcat) . | 121 | + owl:oneOf (npd:EWBP_Appraisal npd:EWBP_Wildcat-Appraisal npd:EWBP_Wildcat) . |
122 | - | 122 | + |
123 | -npd:FixedFacilityParent | 123 | +npd:FixedFacilityParent |
124 | - rdf:type owl:Class ; | 124 | + rdf:type owl:Class ; |
125 | - rdfs:subClassOf npd:NPDIndividual . | 125 | + rdfs:subClassOf npd:NPDIndividual . |
126 | - | 126 | + |
127 | -npd:HCT_Gas | 127 | +npd:HCT_Gas |
128 | - rdf:type npd:HCType ; | 128 | + rdf:type npd:HCType ; |
129 | - rdfs:label "gas"@en ; | 129 | + rdfs:label "gas"@en ; |
130 | - npd:code "GAS"^^xsd:string . | 130 | + npd:code "GAS"^^xsd:string . |
131 | - | 131 | + |
132 | -npd:HCT_Gas-Condensate | 132 | +npd:HCT_Gas-Condensate |
133 | - rdf:type npd:HCType ; | 133 | + rdf:type npd:HCType ; |
134 | - rdfs:label "gas/condensate"@en ; | 134 | + rdfs:label "gas/condensate"@en ; |
135 | - npd:code "GAS/CONDENSATE"^^xsd:string . | 135 | + npd:code "GAS/CONDENSATE"^^xsd:string . |
136 | - | 136 | + |
137 | -npd:HCT_Oil | 137 | +npd:HCT_Oil |
138 | - rdf:type npd:HCType ; | 138 | + rdf:type npd:HCType ; |
139 | - rdfs:label "oil"@en ; | 139 | + rdfs:label "oil"@en ; |
140 | - npd:code "OIL"^^xsd:string . | 140 | + npd:code "OIL"^^xsd:string . |
141 | - | 141 | + |
142 | -npd:HCT_Oil-Gas | 142 | +npd:HCT_Oil-Gas |
143 | - rdf:type npd:HCType ; | 143 | + rdf:type npd:HCType ; |
144 | - rdfs:label "oil/gas"@en ; | 144 | + rdfs:label "oil/gas"@en ; |
145 | - npd:code "OIL/GAS"^^xsd:string . | 145 | + npd:code "OIL/GAS"^^xsd:string . |
146 | - | 146 | + |
147 | -npd:HCType | 147 | +npd:HCType |
148 | - rdf:type owl:Class ; | 148 | + rdf:type owl:Class ; |
149 | - rdfs:label "HCType"^^xsd:string ; | 149 | + rdfs:label "HCType"^^xsd:string ; |
150 | - rdfs:subClassOf npd:Enumeration ; | 150 | + rdfs:subClassOf npd:Enumeration ; |
151 | - owl:oneOf (npd:HCT_Gas-Condensate npd:HCT_Oil-Gas npd:HCT_Gas npd:HCT_Oil) . | 151 | + owl:oneOf (npd:HCT_Gas-Condensate npd:HCT_Oil-Gas npd:HCT_Gas npd:HCT_Oil) . |
152 | - | 152 | + |
153 | -npd:Individual | 153 | +npd:Individual |
154 | - rdf:type owl:Class ; | 154 | + rdf:type owl:Class ; |
155 | - rdfs:subClassOf owl:Thing . | 155 | + rdfs:subClassOf owl:Thing . |
156 | - | 156 | + |
157 | -npd:LS_Active | 157 | +npd:LS_Active |
158 | - rdf:type npd:LicenceStatus ; | 158 | + rdf:type npd:LicenceStatus ; |
159 | - rdfs:label "active"@en ; | 159 | + rdfs:label "active"@en ; |
160 | - npd:code "ACTIVE"^^xsd:string . | 160 | + npd:code "ACTIVE"^^xsd:string . |
161 | - | 161 | + |
162 | -npd:LS_Inactive | 162 | +npd:LS_Inactive |
163 | - rdf:type npd:LicenceStatus ; | 163 | + rdf:type npd:LicenceStatus ; |
164 | - rdfs:label "inactive"@en ; | 164 | + rdfs:label "inactive"@en ; |
165 | - npd:code "INACTIVE"^^xsd:string . | 165 | + npd:code "INACTIVE"^^xsd:string . |
166 | - | 166 | + |
167 | -npd:Licence | 167 | +npd:Licence |
168 | - rdf:type owl:Class ; | 168 | + rdf:type owl:Class ; |
169 | - rdfs:comment "Production licences are granted by the Ministry of Petroleum and Energy. Transfer of a production licence or participating interest in a production licence must be approved by the ministry."^^xsd:string ; | 169 | + rdfs:comment "Production licences are granted by the Ministry of Petroleum and Energy. Transfer of a production licence or participating interest in a production licence must be approved by the ministry."^^xsd:string ; |
170 | - rdfs:subClassOf npd:Owner , <http://www.reportinghub.no/ep/schema/core#PhysicalThing> , npd:NPDIndividual . | 170 | + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalThing> , npd:NPDIndividual , npd:Owner . |
171 | - | 171 | + |
172 | -npd:LicenceStatus | 172 | +npd:LicenceStatus |
173 | - rdf:type owl:Class ; | 173 | + rdf:type owl:Class ; |
174 | - rdfs:label "Licence status"^^xsd:string ; | 174 | + rdfs:label "Licence status"^^xsd:string ; |
175 | - rdfs:subClassOf npd:Enumeration ; | 175 | + rdfs:subClassOf npd:Enumeration ; |
176 | - owl:oneOf (npd:LS_Active npd:LS_Inactive) . | 176 | + owl:oneOf (npd:LS_Active npd:LS_Inactive) . |
177 | - | 177 | + |
178 | -npd:MNA_BarentsSea | 178 | +npd:MNA_BarentsSea |
179 | - rdf:type npd:MainNCSArea ; | 179 | + rdf:type npd:MainNCSArea ; |
180 | - rdfs:label "Barents sea"@en ; | 180 | + rdfs:label "Barents sea"@en ; |
181 | - npd:code "Barents sea"^^xsd:string . | 181 | + npd:code "Barents sea"^^xsd:string . |
182 | - | 182 | + |
183 | -npd:MNA_NorthSea | 183 | +npd:MNA_NorthSea |
184 | - rdf:type npd:MainNCSArea ; | 184 | + rdf:type npd:MainNCSArea ; |
185 | - rdfs:label "North sea"@en ; | 185 | + rdfs:label "North sea"@en ; |
186 | - npd:code "North sea"^^xsd:string . | 186 | + npd:code "North sea"^^xsd:string . |
187 | - | 187 | + |
188 | -npd:MNA_NorwegianSea | 188 | +npd:MNA_NorwegianSea |
189 | - rdf:type npd:MainNCSArea ; | 189 | + rdf:type npd:MainNCSArea ; |
190 | - rdfs:label "Norwegian sea"@en ; | 190 | + rdfs:label "Norwegian sea"@en ; |
191 | - npd:code "Norwegian sea"^^xsd:string . | 191 | + npd:code "Norwegian sea"^^xsd:string . |
192 | - | 192 | + |
193 | -npd:MainNCSArea | 193 | +npd:MainNCSArea |
194 | - rdf:type owl:Class ; | 194 | + rdf:type owl:Class ; |
195 | - rdfs:label "Main NCS Area"^^xsd:string ; | 195 | + rdfs:label "Main NCS Area"^^xsd:string ; |
196 | - rdfs:subClassOf npd:Enumeration ; | 196 | + rdfs:subClassOf npd:Enumeration ; |
197 | - owl:oneOf (npd:MNA_NorthSea npd:MNA_NorwegianSea npd:MNA_BarentsSea) . | 197 | + owl:oneOf (npd:MNA_NorthSea npd:MNA_NorwegianSea npd:MNA_BarentsSea) . |
198 | - | 198 | + |
199 | -npd:NPDIndividual | 199 | +npd:NPDIndividual |
200 | - rdf:type owl:Class ; | 200 | + rdf:type owl:Class ; |
201 | - rdfs:subClassOf npd:Individual . | 201 | + rdfs:subClassOf npd:Individual . |
202 | - | 202 | + |
203 | -npd:OperatingCompany | 203 | +npd:OperatingCompany |
204 | - rdf:type owl:Class ; | 204 | + rdf:type owl:Class ; |
205 | - rdfs:subClassOf npd:NPDIndividual , <http://www.reportinghub.no/ep/schema/organization#Company> . | 205 | + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/organization#Company> , npd:NPDIndividual . |
206 | - | 206 | + |
207 | -npd:Owner | 207 | +npd:Owner |
208 | - rdf:type owl:Class ; | 208 | + rdf:type owl:Class ; |
209 | - rdfs:comment "Supertype of BAA and License - i.e. anything that can own a Field"^^xsd:string ; | 209 | + rdfs:comment "Supertype of BAA and License - i.e. anything that can own a Field"^^xsd:string ; |
210 | - rdfs:subClassOf npd:Individual . | 210 | + rdfs:subClassOf npd:Individual . |
211 | - | 211 | + |
212 | -npd:ParcellBAA | 212 | +npd:ParcellBAA |
213 | - rdf:type owl:Class ; | 213 | + rdf:type owl:Class ; |
214 | - rdfs:subClassOf npd:BusinessArrangementArea . | 214 | + rdfs:subClassOf npd:BusinessArrangementArea . |
215 | - | 215 | + |
216 | -npd:ParentCompany | 216 | +npd:ParentCompany |
217 | - rdf:type owl:Class ; | 217 | + rdf:type owl:Class ; |
218 | - rdfs:subClassOf <http://www.reportinghub.no/ep/schema/organization#Company> . | 218 | + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/organization#Company> . |
219 | - | 219 | + |
220 | -npd:SeismicAreaBAA | 220 | +npd:SeismicAreaBAA |
221 | - rdf:type owl:Class ; | 221 | + rdf:type owl:Class ; |
222 | - rdfs:subClassOf npd:BusinessArrangementArea . | 222 | + rdfs:subClassOf npd:BusinessArrangementArea . |
223 | - | 223 | + |
224 | -npd:Share | 224 | +npd:Share |
225 | - rdf:type owl:Class ; | 225 | + rdf:type owl:Class ; |
226 | - rdfs:comment "A company's share in something - e.g. a BAA or a License"^^xsd:string ; | 226 | + rdfs:comment "A company's share in something - e.g. a BAA or a License"^^xsd:string ; |
227 | - rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalThing> . | 227 | + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalThing> . |
228 | - | 228 | + |
229 | -npd:ShareOfBAA | 229 | +npd:ShareOfBAA |
230 | - rdf:type owl:Class ; | 230 | + rdf:type owl:Class ; |
231 | - rdfs:subClassOf npd:Share . | 231 | + rdfs:subClassOf npd:Share . |
232 | - | 232 | + |
233 | -npd:ShareOfLicence | 233 | +npd:ShareOfLicence |
234 | - rdf:type owl:Class ; | 234 | + rdf:type owl:Class ; |
235 | - rdfs:comment "A class that relates a Company to a Licence it has been granted."^^xsd:string ; | 235 | + rdfs:comment "A class that relates a Company to a Licence it has been granted."^^xsd:string ; |
236 | - rdfs:subClassOf npd:Share . | 236 | + rdfs:subClassOf npd:Share . |
237 | - | 237 | + |
238 | -npd:SlidingScaleBAA | 238 | +npd:SlidingScaleBAA |
239 | - rdf:type owl:Class ; | 239 | + rdf:type owl:Class ; |
240 | - rdfs:subClassOf npd:BusinessArrangementArea . | 240 | + rdfs:subClassOf npd:BusinessArrangementArea . |
241 | - | 241 | + |
242 | -npd:TUF | 242 | +npd:TUF |
243 | - rdf:type owl:Class ; | 243 | + rdf:type owl:Class ; |
244 | - rdfs:comment "TUF is an abbreviation for \"Transportation and Utilization Facilities\"."^^xsd:string ; | 244 | + rdfs:comment "TUF is an abbreviation for \"Transportation and Utilization Facilities\"."^^xsd:string ; |
245 | - rdfs:subClassOf npd:FixedFacilityParent , <http://www.reportinghub.no/ep/schema/facility#Facility> . | 245 | + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/facility#Facility> , npd:FixedFacilityParent . |
246 | - | 246 | + |
247 | -npd:TUFPart | 247 | +npd:TUFPart |
248 | - rdf:type owl:Class ; | 248 | + rdf:type owl:Class ; |
249 | - rdfs:comment "A part of a TUF"^^xsd:string ; | 249 | + rdfs:comment "A part of a TUF"^^xsd:string ; |
250 | - rdfs:subClassOf npd:FixedFacilityParent . | 250 | + rdfs:subClassOf npd:FixedFacilityParent . |
251 | - | 251 | + |
252 | -npd:UnitizedBAA | 252 | +npd:UnitizedBAA |
253 | - rdf:type owl:Class ; | 253 | + rdf:type owl:Class ; |
254 | - rdfs:subClassOf npd:BusinessArrangementArea . | 254 | + rdfs:subClassOf npd:BusinessArrangementArea . |
255 | - | 255 | + |
256 | -npd:WBC_CO2 | 256 | +npd:WBC_CO2 |
257 | - rdf:type npd:WellBoreContent ; | 257 | + rdf:type npd:WellBoreContent ; |
258 | - rdfs:label "CO2"@en ; | 258 | + rdfs:label "CO2"@en ; |
259 | - npd:code "CO2"^^xsd:string . | 259 | + npd:code "CO2"^^xsd:string . |
260 | - | 260 | + |
261 | -npd:WBC_Cuttings | 261 | +npd:WBC_Cuttings |
262 | - rdf:type npd:WellBoreContent ; | 262 | + rdf:type npd:WellBoreContent ; |
263 | - rdfs:label "cuttings"@en ; | 263 | + rdfs:label "cuttings"@en ; |
264 | - npd:code "CUTTINGS"^^xsd:string . | 264 | + npd:code "CUTTINGS"^^xsd:string . |
265 | - | 265 | + |
266 | -npd:WBC_Gas | 266 | +npd:WBC_Gas |
267 | - rdf:type npd:WellBoreContent ; | 267 | + rdf:type npd:WellBoreContent ; |
268 | - rdfs:label "gas"@en ; | 268 | + rdfs:label "gas"@en ; |
269 | - npd:code "GAS"^^xsd:string . | 269 | + npd:code "GAS"^^xsd:string . |
270 | - | 270 | + |
271 | -npd:WBC_Gas-Condensate | 271 | +npd:WBC_Gas-Condensate |
272 | - rdf:type npd:WellBoreContent ; | 272 | + rdf:type npd:WellBoreContent ; |
273 | - rdfs:label "gas/condensate"@en ; | 273 | + rdfs:label "gas/condensate"@en ; |
274 | - npd:code "GAS/CONDENSATE"^^xsd:string . | 274 | + npd:code "GAS/CONDENSATE"^^xsd:string . |
275 | - | 275 | + |
276 | -npd:WBC_NotApplicable | 276 | +npd:WBC_NotApplicable |
277 | - rdf:type npd:WellBoreContent ; | 277 | + rdf:type npd:WellBoreContent ; |
278 | - rdfs:label "not applicable"@en ; | 278 | + rdfs:label "not applicable"@en ; |
279 | - npd:code "NOT APPLICABLE"^^xsd:string . | 279 | + npd:code "NOT APPLICABLE"^^xsd:string . |
280 | - | 280 | + |
281 | -npd:WBC_NotAvailable | 281 | +npd:WBC_NotAvailable |
282 | - rdf:type npd:WellBoreContent ; | 282 | + rdf:type npd:WellBoreContent ; |
283 | - rdfs:label "not available"@en ; | 283 | + rdfs:label "not available"@en ; |
284 | - npd:code "NOT AVAILABLE"^^xsd:string . | 284 | + npd:code "NOT AVAILABLE"^^xsd:string . |
285 | - | 285 | + |
286 | -npd:WBC_Oil | 286 | +npd:WBC_Oil |
287 | - rdf:type npd:WellBoreContent ; | 287 | + rdf:type npd:WellBoreContent ; |
288 | - rdfs:label "oil"@en ; | 288 | + rdfs:label "oil"@en ; |
289 | - npd:code "OIL"^^xsd:string . | 289 | + npd:code "OIL"^^xsd:string . |
290 | - | 290 | + |
291 | -npd:WBC_Oil-Gas | 291 | +npd:WBC_Oil-Gas |
292 | - rdf:type npd:WellBoreContent ; | 292 | + rdf:type npd:WellBoreContent ; |
293 | - rdfs:label "oil/gas"@en ; | 293 | + rdfs:label "oil/gas"@en ; |
294 | - npd:code "OIL/GAS"^^xsd:string . | 294 | + npd:code "OIL/GAS"^^xsd:string . |
295 | - | 295 | + |
296 | -npd:WBC_Water | 296 | +npd:WBC_Water |
297 | - rdf:type npd:WellBoreContent ; | 297 | + rdf:type npd:WellBoreContent ; |
298 | - rdfs:label "water"@en ; | 298 | + rdfs:label "water"@en ; |
299 | - npd:code "WATER"^^xsd:string . | 299 | + npd:code "WATER"^^xsd:string . |
300 | - | 300 | + |
301 | -npd:WBC_Water-Gas | 301 | +npd:WBC_Water-Gas |
302 | - rdf:type npd:WellBoreContent ; | 302 | + rdf:type npd:WellBoreContent ; |
303 | - rdfs:label "water/gas"@en ; | 303 | + rdfs:label "water/gas"@en ; |
304 | - npd:code "WATER/GAS"^^xsd:string . | 304 | + npd:code "WATER/GAS"^^xsd:string . |
305 | - | 305 | + |
306 | -npd:WellBoreContent | 306 | +npd:WellBoreContent |
307 | - rdf:type owl:Class ; | 307 | + rdf:type owl:Class ; |
308 | - rdfs:label "Well bore content"^^xsd:string ; | 308 | + rdfs:label "Well bore content"^^xsd:string ; |
309 | - rdfs:subClassOf npd:Enumeration ; | 309 | + rdfs:subClassOf npd:Enumeration ; |
310 | - owl:oneOf (npd:WBC_Water-Gas npd:WBC_Water npd:WBC_Gas npd:WBC_Gas-Condensate npd:WBC_NotAvailable npd:WBC_Cuttings npd:WBC_Oil npd:WBC_NotApplicable npd:WBC_Oil-Gas npd:WBC_CO2) . | 310 | + owl:oneOf (npd:WBC_Water-Gas npd:WBC_Water npd:WBC_Gas npd:WBC_Gas-Condensate npd:WBC_NotAvailable npd:WBC_Cuttings npd:WBC_Oil npd:WBC_NotApplicable npd:WBC_Oil-Gas npd:WBC_CO2) . |
311 | - | 311 | + |
312 | -npd:WellBorePurpose | 312 | +npd:WellBorePurpose |
313 | - rdf:type owl:Class ; | 313 | + rdf:type owl:Class ; |
314 | - rdfs:label "Well bore purpose"^^xsd:string ; | 314 | + rdfs:label "Well bore purpose"^^xsd:string ; |
315 | - rdfs:subClassOf npd:Enumeration . | 315 | + rdfs:subClassOf npd:Enumeration . |
316 | - | 316 | + |
317 | -npd:baaShared | 317 | +npd:baaShared |
318 | - rdf:type owl:ObjectProperty ; | 318 | + rdf:type owl:ObjectProperty ; |
319 | - rdfs:domain npd:ShareOfBAA ; | 319 | + rdfs:domain npd:ShareOfBAA ; |
320 | - rdfs:range npd:BusinessArrangementArea . | 320 | + rdfs:range npd:BusinessArrangementArea . |
321 | - | 321 | + |
322 | -npd:belongsTo | 322 | +npd:belongsTo |
323 | - rdf:type owl:ObjectProperty ; | 323 | + rdf:type owl:ObjectProperty ; |
324 | - rdfs:domain <http://www.reportinghub.no/ep/schema/facility#FixedFacility> ; | 324 | + rdfs:domain <http://www.reportinghub.no/ep/schema/facility#FixedFacility> ; |
325 | - rdfs:range npd:FixedFacilityParent . | 325 | + rdfs:range npd:FixedFacilityParent . |
326 | - | 326 | + |
327 | -npd:code | 327 | +npd:code |
328 | - rdf:type owl:DatatypeProperty ; | 328 | + rdf:type owl:DatatypeProperty ; |
329 | - rdfs:comment "Identifier of enumerated resources (control vocabularies). Can be used to match against string values in databases etc."^^xsd:string ; | 329 | + rdfs:comment "Identifier of enumerated resources (control vocabularies). Can be used to match against string values in databases etc."^^xsd:string ; |
330 | - rdfs:label "code"^^xsd:string . | 330 | + rdfs:label "code"^^xsd:string . |
331 | - | 331 | + |
332 | -npd:companyShortName | 332 | +npd:companyShortName |
333 | - rdf:type owl:DatatypeProperty ; | 333 | + rdf:type owl:DatatypeProperty ; |
334 | - rdfs:domain <http://www.reportinghub.no/ep/schema/organization#Company> ; | 334 | + rdfs:domain <http://www.reportinghub.no/ep/schema/organization#Company> ; |
335 | - rdfs:range xsd:string ; | 335 | + rdfs:range xsd:string ; |
336 | - rdfs:subPropertyOf rdfs:label . | 336 | + rdfs:subPropertyOf rdfs:label . |
337 | - | 337 | + |
338 | -npd:currentActivityStatus | 338 | +npd:currentActivityStatus |
339 | - rdf:type owl:DatatypeProperty ; | 339 | + rdf:type owl:DatatypeProperty ; |
340 | - rdfs:domain <http://www.reportinghub.no/ep/schema/facility#Field> ; | 340 | + rdfs:domain <http://www.reportinghub.no/ep/schema/facility#Field> ; |
341 | - rdfs:range xsd:string . | 341 | + rdfs:range xsd:string . |
342 | - | 342 | + |
343 | -npd:currentOperator | 343 | +npd:currentOperator |
344 | - rdf:type owl:ObjectProperty ; | 344 | + rdf:type owl:ObjectProperty ; |
345 | - rdfs:comment "Corresponds to Current Operator field in fixed facility tables"^^xsd:string ; | 345 | + rdfs:comment "Corresponds to Current Operator field in fixed facility tables"^^xsd:string ; |
346 | - rdfs:domain <http://www.reportinghub.no/ep/schema/facility#FixedFacility> ; | 346 | + rdfs:domain <http://www.reportinghub.no/ep/schema/facility#FixedFacility> ; |
347 | - rdfs:range <http://www.reportinghub.no/ep/schema/organization#Company> . | 347 | + rdfs:range <http://www.reportinghub.no/ep/schema/organization#Company> . |
348 | - | 348 | + |
349 | -npd:currentlyResponsibleCompany | 349 | +npd:currentlyResponsibleCompany |
350 | - rdf:type owl:ObjectProperty ; | 350 | + rdf:type owl:ObjectProperty ; |
351 | - rdfs:comment "Corresponds to Currently Reponsible Company field in moveable facility tables"^^xsd:string ; | 351 | + rdfs:comment "Corresponds to Currently Reponsible Company field in moveable facility tables"^^xsd:string ; |
352 | - rdfs:domain <http://www.reportinghub.no/ep/schema/facility#MoveableFacility> ; | 352 | + rdfs:domain <http://www.reportinghub.no/ep/schema/facility#MoveableFacility> ; |
353 | - rdfs:range <http://www.reportinghub.no/ep/schema/organization#Company> . | 353 | + rdfs:range <http://www.reportinghub.no/ep/schema/organization#Company> . |
354 | - | 354 | + |
355 | -npd:discoveryCurrentActivityStatus | 355 | +npd:discoveryCurrentActivityStatus |
356 | - rdf:type owl:DatatypeProperty ; | 356 | + rdf:type owl:DatatypeProperty ; |
357 | - rdfs:domain npd:Discovery ; | 357 | + rdfs:domain npd:Discovery ; |
358 | - rdfs:range xsd:string . | 358 | + rdfs:range xsd:string . |
359 | - | 359 | + |
360 | -npd:discoveryField | 360 | +npd:discoveryField |
361 | - rdf:type owl:ObjectProperty ; | 361 | + rdf:type owl:ObjectProperty ; |
362 | - rdfs:comment "Corresponds to Field NPDID field in NPD Discovery table (overview)"^^xsd:string ; | 362 | + rdfs:comment "Corresponds to Field NPDID field in NPD Discovery table (overview)"^^xsd:string ; |
363 | - rdfs:domain npd:Discovery ; | 363 | + rdfs:domain npd:Discovery ; |
364 | - rdfs:range <http://www.reportinghub.no/ep/schema/facility#Field> . | 364 | + rdfs:range <http://www.reportinghub.no/ep/schema/facility#Field> . |
365 | - | 365 | + |
366 | -npd:discoveryHCType | 366 | +npd:discoveryHCType |
367 | - rdf:type owl:ObjectProperty ; | 367 | + rdf:type owl:ObjectProperty ; |
368 | - rdfs:domain npd:Discovery ; | 368 | + rdfs:domain npd:Discovery ; |
369 | - rdfs:range npd:HCType . | 369 | + rdfs:range npd:HCType . |
370 | - | 370 | + |
371 | -npd:discoveryMainNcsArea | 371 | +npd:discoveryMainNcsArea |
372 | - rdf:type owl:ObjectProperty ; | 372 | + rdf:type owl:ObjectProperty ; |
373 | - rdfs:domain npd:Discovery ; | 373 | + rdfs:domain npd:Discovery ; |
374 | - rdfs:range npd:MainNCSArea . | 374 | + rdfs:range npd:MainNCSArea . |
375 | - | 375 | + |
376 | -npd:discoveryOperator | 376 | +npd:discoveryOperator |
377 | - rdf:type owl:ObjectProperty ; | 377 | + rdf:type owl:ObjectProperty ; |
378 | - rdfs:comment "Corresponds to Operator field in NPD Discovery table (overview)"^^xsd:string ; | 378 | + rdfs:comment "Corresponds to Operator field in NPD Discovery table (overview)"^^xsd:string ; |
379 | - rdfs:domain npd:Discovery ; | 379 | + rdfs:domain npd:Discovery ; |
380 | - rdfs:range <http://www.reportinghub.no/ep/schema/organization#Company> . | 380 | + rdfs:range <http://www.reportinghub.no/ep/schema/organization#Company> . |
381 | - | 381 | + |
382 | -npd:discoveryOwner | 382 | +npd:discoveryOwner |
383 | - rdf:type owl:ObjectProperty ; | 383 | + rdf:type owl:ObjectProperty ; |
384 | - rdfs:comment "Corresponds to Owner field in NPD Discovery table (see also Owner Kind)"^^xsd:string ; | 384 | + rdfs:comment "Corresponds to Owner field in NPD Discovery table (see also Owner Kind)"^^xsd:string ; |
385 | - rdfs:domain npd:Discovery ; | 385 | + rdfs:domain npd:Discovery ; |
386 | - rdfs:range npd:Owner . | 386 | + rdfs:range npd:Owner . |
387 | - | 387 | + |
388 | -npd:discoveryWellBore | 388 | +npd:discoveryWellBore |
389 | - rdf:type owl:ObjectProperty ; | 389 | + rdf:type owl:ObjectProperty ; |
390 | - rdfs:comment "Corresponds to Discovery Wellbore NPDID in the Discovery table (overview)"^^xsd:string ; | 390 | + rdfs:comment "Corresponds to Discovery Wellbore NPDID in the Discovery table (overview)"^^xsd:string ; |
391 | - rdfs:domain npd:Discovery ; | 391 | + rdfs:domain npd:Discovery ; |
392 | - rdfs:range <http://www.reportinghub.no/ep/schema/well#WellBore> . | 392 | + rdfs:range <http://www.reportinghub.no/ep/schema/well#WellBore> . |
393 | - | 393 | + |
394 | -npd:discoveryYear | 394 | +npd:discoveryYear |
395 | - rdf:type owl:DatatypeProperty ; | 395 | + rdf:type owl:DatatypeProperty ; |
396 | - rdfs:domain npd:Discovery ; | 396 | + rdfs:domain npd:Discovery ; |
397 | - rdfs:range xsd:integer . | 397 | + rdfs:range xsd:integer . |
398 | - | 398 | + |
399 | -npd:drilledInProductionLicence | 399 | +npd:drilledInProductionLicence |
400 | - rdf:type owl:ObjectProperty ; | 400 | + rdf:type owl:ObjectProperty ; |
401 | - rdfs:comment "Corresponds to Drilled in Production Licence field in WellBore tables"^^xsd:string ; | 401 | + rdfs:comment "Corresponds to Drilled in Production Licence field in WellBore tables"^^xsd:string ; |
402 | - rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ; | 402 | + rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ; |
403 | - rdfs:range npd:Licence . | 403 | + rdfs:range npd:Licence . |
404 | - | 404 | + |
405 | -npd:drillingFacility | 405 | +npd:drillingFacility |
406 | - rdf:type owl:ObjectProperty ; | 406 | + rdf:type owl:ObjectProperty ; |
407 | - rdfs:comment "Corresponds to Drilled in Production License field in WellBore tables"^^xsd:string ; | 407 | + rdfs:comment "Corresponds to Drilled in Production License field in WellBore tables"^^xsd:string ; |
408 | - rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ; | 408 | + rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ; |
409 | - rdfs:range <http://www.reportinghub.no/ep/schema/facility#Facility> . | 409 | + rdfs:range <http://www.reportinghub.no/ep/schema/facility#Facility> . |
410 | - | 410 | + |
411 | -npd:drillingOperator | 411 | +npd:drillingOperator |
412 | - rdf:type owl:ObjectProperty ; | 412 | + rdf:type owl:ObjectProperty ; |
413 | - rdfs:comment "Corresponds to Drilling Operator field in WellBore tables"^^xsd:string ; | 413 | + rdfs:comment "Corresponds to Drilling Operator field in WellBore tables"^^xsd:string ; |
414 | - rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ; | 414 | + rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ; |
415 | - rdfs:range <http://www.reportinghub.no/ep/schema/organization#Company> . | 415 | + rdfs:range <http://www.reportinghub.no/ep/schema/organization#Company> . |
416 | - | 416 | + |
417 | -npd:endDate | 417 | +npd:endDate |
418 | - rdf:type owl:DatatypeProperty ; | 418 | + rdf:type owl:DatatypeProperty ; |
419 | - rdfs:comment "The date at which an individual ceases to exist"^^xsd:string ; | 419 | + rdfs:comment "The date at which an individual ceases to exist"^^xsd:string ; |
420 | - rdfs:domain <http://www.reportinghub.no/ep/schema/core#PhysicalThing> ; | 420 | + rdfs:domain <http://www.reportinghub.no/ep/schema/core#PhysicalThing> ; |
421 | - rdfs:range xsd:date . | 421 | + rdfs:range xsd:date . |
422 | - | 422 | + |
423 | -npd:facilityFunctions | 423 | +npd:facilityFunctions |
424 | - rdf:type owl:DatatypeProperty ; | 424 | + rdf:type owl:DatatypeProperty ; |
425 | - rdfs:comment "corresponds to Functions field in both the fixed and moveable facility tables"^^xsd:string ; | 425 | + rdfs:comment "corresponds to Functions field in both the fixed and moveable facility tables"^^xsd:string ; |
426 | - rdfs:domain <http://www.reportinghub.no/ep/schema/facility#Facility> ; | 426 | + rdfs:domain <http://www.reportinghub.no/ep/schema/facility#Facility> ; |
427 | - rdfs:range xsd:string . | 427 | + rdfs:range xsd:string . |
428 | - | 428 | + |
429 | -npd:facilityKind | 429 | +npd:facilityKind |
430 | - rdf:type owl:DatatypeProperty ; | 430 | + rdf:type owl:DatatypeProperty ; |
431 | - rdfs:comment "corresponds to Kind field in both the fixed and moveable facility tables"^^xsd:string ; | 431 | + rdfs:comment "corresponds to Kind field in both the fixed and moveable facility tables"^^xsd:string ; |
432 | - rdfs:domain <http://www.reportinghub.no/ep/schema/facility#Facility> ; | 432 | + rdfs:domain <http://www.reportinghub.no/ep/schema/facility#Facility> ; |
433 | - rdfs:range xsd:string . | 433 | + rdfs:range xsd:string . |
434 | - | 434 | + |
435 | -npd:fieldDiscoveryWellBore | 435 | +npd:fieldDiscoveryWellBore |
436 | - rdf:type owl:ObjectProperty ; | 436 | + rdf:type owl:ObjectProperty ; |
437 | - rdfs:comment "Corresponds to Discovery Wellbore NPDID in the Field table "^^xsd:string ; | 437 | + rdfs:comment "Corresponds to Discovery Wellbore NPDID in the Field table "^^xsd:string ; |
438 | - rdfs:domain <http://www.reportinghub.no/ep/schema/facility#Field> ; | 438 | + rdfs:domain <http://www.reportinghub.no/ep/schema/facility#Field> ; |
439 | - rdfs:range <http://www.reportinghub.no/ep/schema/well#WellBore> . | 439 | + rdfs:range <http://www.reportinghub.no/ep/schema/well#WellBore> . |
440 | - | 440 | + |
441 | -npd:fieldOperator | 441 | +npd:fieldOperator |
442 | - rdf:type owl:ObjectProperty ; | 442 | + rdf:type owl:ObjectProperty ; |
443 | - rdfs:domain <http://www.reportinghub.no/ep/schema/facility#Field> ; | 443 | + rdfs:domain <http://www.reportinghub.no/ep/schema/facility#Field> ; |
444 | - rdfs:range <http://www.reportinghub.no/ep/schema/organization#Company> . | 444 | + rdfs:range <http://www.reportinghub.no/ep/schema/organization#Company> . |
445 | - | 445 | + |
446 | -npd:fieldOwner | 446 | +npd:fieldOwner |
447 | - rdf:type owl:ObjectProperty ; | 447 | + rdf:type owl:ObjectProperty ; |
448 | - rdfs:comment "The owner column in the NPD Field table may correspond to a BAA or a License, as indicated by the Owner Kind column"^^xsd:string ; | 448 | + rdfs:comment "The owner column in the NPD Field table may correspond to a BAA or a License, as indicated by the Owner Kind column"^^xsd:string ; |
449 | - rdfs:domain <http://www.reportinghub.no/ep/schema/facility#Field> ; | 449 | + rdfs:domain <http://www.reportinghub.no/ep/schema/facility#Field> ; |
450 | - rdfs:range npd:Owner . | 450 | + rdfs:range npd:Owner . |
451 | - | 451 | + |
452 | -npd:fixedFacilityPhase | 452 | +npd:fixedFacilityPhase |
453 | - rdf:type owl:DatatypeProperty ; | 453 | + rdf:type owl:DatatypeProperty ; |
454 | - rdfs:comment "corresponds to Phase field in fixed facility tables"^^xsd:string ; | 454 | + rdfs:comment "corresponds to Phase field in fixed facility tables"^^xsd:string ; |
455 | - rdfs:domain <http://www.reportinghub.no/ep/schema/facility#FixedFacility> ; | 455 | + rdfs:domain <http://www.reportinghub.no/ep/schema/facility#FixedFacility> ; |
456 | - rdfs:range xsd:string . | 456 | + rdfs:range xsd:string . |
457 | - | 457 | + |
458 | -npd:id | 458 | +npd:id |
459 | - rdf:type owl:DatatypeProperty ; | 459 | + rdf:type owl:DatatypeProperty ; |
460 | - rdfs:domain npd:NPDIndividual ; | 460 | + rdfs:domain npd:NPDIndividual ; |
461 | - rdfs:range xsd:string . | 461 | + rdfs:range xsd:string . |
462 | - | 462 | + |
463 | -npd:licenceShared | 463 | +npd:licenceOperator |
464 | - rdf:type owl:ObjectProperty ; | 464 | + rdf:type owl:ObjectProperty ; |
465 | - rdfs:domain npd:ShareOfLicence ; | 465 | + rdfs:domain npd:Licence ; |
466 | - rdfs:range npd:Licence . | 466 | + rdfs:label "licence operator"^^xsd:string ; |
467 | - | 467 | + rdfs:range npd:OperatingCompany . |
468 | -npd:licenceStatus | 468 | + |
469 | - rdf:type owl:ObjectProperty ; | 469 | +npd:licenceShared |
470 | - rdfs:comment "corresponds to the Status field in the License table"^^xsd:string ; | 470 | + rdf:type owl:ObjectProperty ; |
471 | - rdfs:domain npd:Licence ; | 471 | + rdfs:domain npd:ShareOfLicence ; |
472 | - rdfs:range npd:LicenceStatus . | 472 | + rdfs:range npd:Licence . |
473 | - | 473 | + |
474 | -npd:licensingActivity | 474 | +npd:licenceStatus |
475 | - rdf:type owl:DatatypeProperty ; | 475 | + rdf:type owl:ObjectProperty ; |
476 | - rdfs:comment "corresponds to the licensing activity field in the License table"^^xsd:string ; | 476 | + rdfs:comment "corresponds to the Status field in the License table"^^xsd:string ; |
477 | - rdfs:domain npd:Licence ; | 477 | + rdfs:domain npd:Licence ; |
478 | - rdfs:range xsd:string . | 478 | + rdfs:range npd:LicenceStatus . |
479 | - | 479 | + |
480 | -npd:name | 480 | +npd:licensingActivity |
481 | - rdf:type owl:DatatypeProperty ; | 481 | + rdf:type owl:DatatypeProperty ; |
482 | - rdfs:domain npd:Individual ; | 482 | + rdfs:comment "corresponds to the licensing activity field in the License table"^^xsd:string ; |
483 | - rdfs:range xsd:string ; | 483 | + rdfs:domain npd:Licence ; |
484 | - rdfs:subPropertyOf rdfs:label . | 484 | + rdfs:range xsd:string . |
485 | - | 485 | + |
486 | -npd:organisationNumber | 486 | +npd:name |
487 | - rdf:type owl:DatatypeProperty ; | 487 | + rdf:type owl:DatatypeProperty ; |
488 | - rdfs:domain npd:OperatingCompany ; | 488 | + rdfs:domain npd:Individual ; |
489 | - rdfs:label "organisation number"^^xsd:string ; | 489 | + rdfs:range xsd:string ; |
490 | - rdfs:range xsd:string . | 490 | + rdfs:subPropertyOf rdfs:label . |
491 | - | 491 | + |
492 | -npd:parentCompany | 492 | +npd:organisationNumber |
493 | - rdf:type owl:ObjectProperty ; | 493 | + rdf:type owl:DatatypeProperty ; |
494 | - rdfs:domain npd:OperatingCompany ; | 494 | + rdfs:domain npd:OperatingCompany ; |
495 | - rdfs:range npd:ParentCompany . | 495 | + rdfs:label "organisation number"^^xsd:string ; |
496 | - | 496 | + rdfs:range xsd:string . |
497 | -npd:partOfTUF | 497 | + |
498 | - rdf:type owl:ObjectProperty ; | 498 | +npd:parentCompany |
499 | - rdfs:domain npd:TUFPart ; | 499 | + rdf:type owl:ObjectProperty ; |
500 | - rdfs:range npd:TUF . | 500 | + rdfs:domain npd:OperatingCompany ; |
501 | - | 501 | + rdfs:range npd:ParentCompany . |
502 | -npd:partOfWell | 502 | + |
503 | - rdf:type owl:ObjectProperty ; | 503 | +npd:partOfTUF |
504 | - rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ; | 504 | + rdf:type owl:ObjectProperty ; |
505 | - rdfs:range <http://www.reportinghub.no/ep/schema/well#Well> . | 505 | + rdfs:domain npd:TUFPart ; |
506 | - | 506 | + rdfs:range npd:TUF . |
507 | -npd:percentageOfShare | 507 | + |
508 | - rdf:type owl:DatatypeProperty ; | 508 | +npd:partOfWell |
509 | - rdfs:domain npd:Share ; | 509 | + rdf:type owl:ObjectProperty ; |
510 | - rdfs:range xsd:float . | 510 | + rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ; |
511 | - | 511 | + rdfs:range <http://www.reportinghub.no/ep/schema/well#Well> . |
512 | -npd:productionFacility | 512 | + |
513 | - rdf:type owl:ObjectProperty ; | 513 | +npd:percentageOfShare |
514 | - rdfs:comment "Corresponds to Production Facility field in WellBore tables"^^xsd:string ; | 514 | + rdf:type owl:DatatypeProperty ; |
515 | - rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ; | 515 | + rdfs:domain npd:Share ; |
516 | - rdfs:range <http://www.reportinghub.no/ep/schema/facility#Facility> . | 516 | + rdfs:range xsd:float . |
517 | - | 517 | + |
518 | -npd:shareHolder | 518 | +npd:productionFacility |
519 | - rdf:type owl:ObjectProperty ; | 519 | + rdf:type owl:ObjectProperty ; |
520 | - rdfs:comment "Equivalent to AwardedTo field in License table"^^xsd:string ; | 520 | + rdfs:comment "Corresponds to Production Facility field in WellBore tables"^^xsd:string ; |
521 | - rdfs:domain npd:Share ; | 521 | + rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ; |
522 | - rdfs:range <http://www.reportinghub.no/ep/schema/organization#Company> . | 522 | + rdfs:range <http://www.reportinghub.no/ep/schema/facility#Facility> . |
523 | - | 523 | + |
524 | -npd:startDate | 524 | +npd:shareHolder |
525 | - rdf:type owl:DatatypeProperty ; | 525 | + rdf:type owl:ObjectProperty ; |
526 | - rdfs:comment "The date at which an individual comes into existance"^^xsd:string ; | 526 | + rdfs:comment "Equivalent to AwardedTo field in License table"^^xsd:string ; |
527 | - rdfs:domain <http://www.reportinghub.no/ep/schema/core#PhysicalThing> ; | 527 | + rdfs:domain npd:Share ; |
528 | - rdfs:range xsd:date . | 528 | + rdfs:range <http://www.reportinghub.no/ep/schema/organization#Company> . |
529 | - | 529 | + |
530 | -npd:wellBoreCompletionDate | 530 | +npd:startDate |
531 | - rdf:type owl:DatatypeProperty ; | 531 | + rdf:type owl:DatatypeProperty ; |
532 | - rdfs:comment "Corresponds to Completion Date field in WellBore tables"^^xsd:string ; | 532 | + rdfs:comment "The date at which an individual comes into existance"^^xsd:string ; |
533 | - rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ; | 533 | + rdfs:domain <http://www.reportinghub.no/ep/schema/core#PhysicalThing> ; |
534 | - rdfs:range xsd:date ; | 534 | + rdfs:range xsd:date . |
535 | - rdfs:subPropertyOf npd:endDate . | 535 | + |
536 | - | 536 | +npd:wellBoreCompletionDate |
537 | -npd:wellBoreContent | 537 | + rdf:type owl:DatatypeProperty ; |
538 | - rdf:type owl:ObjectProperty ; | 538 | + rdfs:comment "Corresponds to Completion Date field in WellBore tables"^^xsd:string ; |
539 | - rdfs:comment "Corresponds to Content field in WellBore tables"^^xsd:string ; | 539 | + rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ; |
540 | - rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ; | 540 | + rdfs:range xsd:date ; |
541 | - rdfs:range npd:WellBoreContent . | 541 | + rdfs:subPropertyOf npd:endDate . |
542 | - | 542 | + |
543 | -npd:wellBoreDrillPermit | 543 | +npd:wellBoreContent |
544 | - rdf:type owl:DatatypeProperty ; | 544 | + rdf:type owl:ObjectProperty ; |
545 | - rdfs:comment "Corresponds to Drill Permit field in WellBore tables"^^xsd:string ; | 545 | + rdfs:comment "Corresponds to Content field in WellBore tables"^^xsd:string ; |
546 | - rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ; | 546 | + rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ; |
547 | - rdfs:range xsd:string . | 547 | + rdfs:range npd:WellBoreContent . |
548 | - | 548 | + |
549 | -npd:wellBorePurpose | 549 | +npd:wellBoreDrillPermit |
550 | - rdf:type owl:ObjectProperty ; | 550 | + rdf:type owl:DatatypeProperty ; |
551 | - rdfs:comment "Corresponds to Purpose field in WellBore tables"^^xsd:string ; | 551 | + rdfs:comment "Corresponds to Drill Permit field in WellBore tables"^^xsd:string ; |
552 | - rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ; | 552 | + rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ; |
553 | - rdfs:range npd:WellBorePurpose . | 553 | + rdfs:range xsd:string . |
554 | - | 554 | + |
555 | -npd:wellBoreType | 555 | +npd:wellBorePurpose |
556 | - rdf:type owl:DatatypeProperty ; | 556 | + rdf:type owl:ObjectProperty ; |
557 | - rdfs:comment "Corresponds to Type field in WellBore tables"^^xsd:string ; | 557 | + rdfs:comment "Corresponds to Purpose field in WellBore tables"^^xsd:string ; |
558 | - rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ; | 558 | + rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ; |
559 | - rdfs:range xsd:string . | 559 | + rdfs:range npd:WellBorePurpose . |
560 | - | 560 | + |
561 | -npd:wellPartOfField | 561 | +npd:wellBoreType |
562 | - rdf:type owl:ObjectProperty ; | 562 | + rdf:type owl:DatatypeProperty ; |
563 | - rdfs:comment "A field may have several Wells, however this information is not presented directly in the NPD data. Each Well usually has one (occasionally more than one) WellBore, and so in order to ascertain what field the Well is in, we have to infer it from the related WellBore table. Unfortunately, the Field column is not always populated, so sometimes the Field can only be inferred from the License, which usually corresponds to a Field."^^xsd:string ; | 563 | + rdfs:comment "Corresponds to Type field in WellBore tables"^^xsd:string ; |
564 | - rdfs:domain <http://www.reportinghub.no/ep/schema/well#Well> ; | 564 | + rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ; |
565 | - rdfs:range <http://www.reportinghub.no/ep/schema/facility#Field> . | 565 | + rdfs:range xsd:string . |
566 | - | 566 | + |
567 | -npd:wellboreOwner | 567 | +npd:wellPartOfField |
568 | - rdf:type owl:ObjectProperty ; | 568 | + rdf:type owl:ObjectProperty ; |
569 | - rdfs:comment "Corresponds to Owner field in WellBore tables - see also Owner Kind"^^xsd:string ; | 569 | + rdfs:comment "A field may have several Wells, however this information is not presented directly in the NPD data. Each Well usually has one (occasionally more than one) WellBore, and so in order to ascertain what field the Well is in, we have to infer it from the related WellBore table. Unfortunately, the Field column is not always populated, so sometimes the Field can only be inferred from the License, which usually corresponds to a Field."^^xsd:string ; |
570 | - rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ; | 570 | + rdfs:domain <http://www.reportinghub.no/ep/schema/well#Well> ; |
571 | - rdfs:range npd:Owner . | 571 | + rdfs:range <http://www.reportinghub.no/ep/schema/facility#Field> . |
572 | + | ||
573 | +npd:wellboreOwner | ||
574 | + rdf:type owl:ObjectProperty ; | ||
575 | + rdfs:comment "Corresponds to Owner field in WellBore tables - see also Owner Kind"^^xsd:string ; | ||
576 | + rdfs:domain <http://www.reportinghub.no/ep/schema/well#WellBore> ; | ||
577 | + rdfs:range npd:Owner . | ... | ... |
... | @@ -7,6 +7,7 @@ | ... | @@ -7,6 +7,7 @@ |
7 | # imports: file:///www.reportinghub.no/transform/npd/facilitymoveable | 7 | # imports: file:///www.reportinghub.no/transform/npd/facilitymoveable |
8 | # imports: file:///www.reportinghub.no/transform/npd/field | 8 | # imports: file:///www.reportinghub.no/transform/npd/field |
9 | # imports: file:///www.reportinghub.no/transform/npd/licence | 9 | # imports: file:///www.reportinghub.no/transform/npd/licence |
10 | +# imports: file:///www.reportinghub.no/transform/npd/licenceop | ||
10 | # imports: file:///www.reportinghub.no/transform/npd/licensee | 11 | # imports: file:///www.reportinghub.no/transform/npd/licensee |
11 | # imports: file:///www.reportinghub.no/transform/npd/tufoperator | 12 | # imports: file:///www.reportinghub.no/transform/npd/tufoperator |
12 | # imports: file:///www.reportinghub.no/transform/npd/wbdev | 13 | # imports: file:///www.reportinghub.no/transform/npd/wbdev |
... | @@ -24,8 +25,8 @@ | ... | @@ -24,8 +25,8 @@ |
24 | 25 | ||
25 | @prefix : <http://www.reportinghub.no/transform/spreadsheets2npd#> . | 26 | @prefix : <http://www.reportinghub.no/transform/spreadsheets2npd#> . |
26 | @prefix arg: <http://spinrdf.org/arg#> . | 27 | @prefix arg: <http://spinrdf.org/arg#> . |
27 | -@prefix baa-2011-07-30: <file:///www.reportinghub.no/transform/npd/baa-2011-07-30#> . | ||
28 | @prefix fn: <http://www.w3.org/2005/xpath-functions#> . | 28 | @prefix fn: <http://www.w3.org/2005/xpath-functions#> . |
29 | +@prefix licenceop: <file:///www.reportinghub.no/transform/npd/licenceop#> . | ||
29 | @prefix npdi: <http://www.reportinghub.no/np/data/npd/> . | 30 | @prefix npdi: <http://www.reportinghub.no/np/data/npd/> . |
30 | @prefix owl: <http://www.w3.org/2002/07/owl#> . | 31 | @prefix owl: <http://www.w3.org/2002/07/owl#> . |
31 | @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | 32 | @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . |
... | @@ -651,6 +652,60 @@ | ... | @@ -651,6 +652,60 @@ |
651 | <http://www.reportinghub.no/np/schema/npd#licensingActivity> | 652 | <http://www.reportinghub.no/np/schema/npd#licensingActivity> |
652 | ] . | 653 | ] . |
653 | 654 | ||
655 | +licenceop:LicenceOp | ||
656 | + spinmap:rule | ||
657 | + [ rdf:type spinmap:Mapping-0-1 ; | ||
658 | + spinmap:context :LicenceOp-Licence ; | ||
659 | + spinmap:expression <http://www.reportinghub.no/np/schema/npd#Licence> ; | ||
660 | + spinmap:targetPredicate1 | ||
661 | + rdf:type | ||
662 | + ] ; | ||
663 | + spinmap:rule | ||
664 | + [ rdf:type sp:Construct ; | ||
665 | + sp:templates ([ sp:object | ||
666 | + [ sp:varName "operator"^^xsd:string | ||
667 | + ] ; | ||
668 | + sp:predicate <http://www.reportinghub.no/np/schema/npd#licenceOperator> ; | ||
669 | + sp:subject | ||
670 | + [ sp:varName "target"^^xsd:string | ||
671 | + ] | ||
672 | + ]) ; | ||
673 | + sp:where ([ rdf:type sp:Filter ; | ||
674 | + sp:expression | ||
675 | + [ rdf:type sp:notExists ; | ||
676 | + sp:elements ([ sp:object | ||
677 | + [ sp:varName "dateTo"^^xsd:string | ||
678 | + ] ; | ||
679 | + sp:predicate licenceop:prlOperDateValidTo ; | ||
680 | + sp:subject spin:_this | ||
681 | + ]) | ||
682 | + ] | ||
683 | + ] [ sp:object | ||
684 | + [ sp:varName "companyId"^^xsd:string | ||
685 | + ] ; | ||
686 | + sp:predicate licenceop:cmpNpdidCompany ; | ||
687 | + sp:subject spin:_this | ||
688 | + ] [ rdf:type sp:Bind ; | ||
689 | + sp:expression | ||
690 | + [ rdf:type rhspin:companyById ; | ||
691 | + arg:id [ sp:varName "companyId"^^xsd:string | ||
692 | + ] | ||
693 | + ] ; | ||
694 | + sp:variable | ||
695 | + [ sp:varName "operator"^^xsd:string | ||
696 | + ] | ||
697 | + ] [ rdf:type sp:Bind ; | ||
698 | + sp:expression | ||
699 | + [ rdf:type spinmap:targetResource ; | ||
700 | + sp:arg1 spin:_this ; | ||
701 | + spinmap:context :LicenceOp-Licence | ||
702 | + ] ; | ||
703 | + sp:variable | ||
704 | + [ sp:varName "target"^^xsd:string | ||
705 | + ] | ||
706 | + ]) | ||
707 | + ] . | ||
708 | + | ||
654 | <file:///www.reportinghub.no/transform/npd/licensee#Licensee> | 709 | <file:///www.reportinghub.no/transform/npd/licensee#Licensee> |
655 | spinmap:rule | 710 | spinmap:rule |
656 | [ rdf:type spinmap:Mapping-1-1 ; | 711 | [ rdf:type spinmap:Mapping-1-1 ; |
... | @@ -1339,7 +1394,7 @@ arg:wellName | ... | @@ -1339,7 +1394,7 @@ arg:wellName |
1339 | <http://www.reportinghub.no/transform/spreadsheets2npd> | 1394 | <http://www.reportinghub.no/transform/spreadsheets2npd> |
1340 | rdf:type owl:Ontology ; | 1395 | rdf:type owl:Ontology ; |
1341 | rdfs:comment "Takes spreadsheets imported from the NPD fact pages and maps them into the NPD ontology."^^xsd:string ; | 1396 | rdfs:comment "Takes spreadsheets imported from the NPD fact pages and maps them into the NPD ontology."^^xsd:string ; |
1342 | - owl:imports <file:///www.reportinghub.no/transform/npd/baa> , <file:///www.reportinghub.no/transform/npd/baalicensee> , <file:///www.reportinghub.no/transform/npd/company> , <file:///www.reportinghub.no/transform/npd/discovery> , <file:///www.reportinghub.no/transform/npd/facilityfixed> , <file:///www.reportinghub.no/transform/npd/facilitymoveable> , <file:///www.reportinghub.no/transform/npd/field> , <file:///www.reportinghub.no/transform/npd/licence> , <file:///www.reportinghub.no/transform/npd/licensee> , <file:///www.reportinghub.no/transform/npd/tufoperator> , <file:///www.reportinghub.no/transform/npd/wbdev> , <file:///www.reportinghub.no/transform/npd/wbexp> , <file:///www.reportinghub.no/transform/npd/wbid> , <file:///www.reportinghub.no/transform/npd/wbsha> , <http://spinrdf.org/spin> , <http://topbraid.org/spin/spinmapl> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/organization> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/np/schema/1.0/npd> , <http://www.reportinghub.no/spin/rh> ; | 1397 | + owl:imports <file:///www.reportinghub.no/transform/npd/baa> , <file:///www.reportinghub.no/transform/npd/baalicensee> , <file:///www.reportinghub.no/transform/npd/company> , <file:///www.reportinghub.no/transform/npd/discovery> , <file:///www.reportinghub.no/transform/npd/facilityfixed> , <file:///www.reportinghub.no/transform/npd/facilitymoveable> , <file:///www.reportinghub.no/transform/npd/field> , <file:///www.reportinghub.no/transform/npd/licence> , <file:///www.reportinghub.no/transform/npd/licenceop> , <file:///www.reportinghub.no/transform/npd/licensee> , <file:///www.reportinghub.no/transform/npd/tufoperator> , <file:///www.reportinghub.no/transform/npd/wbdev> , <file:///www.reportinghub.no/transform/npd/wbexp> , <file:///www.reportinghub.no/transform/npd/wbid> , <file:///www.reportinghub.no/transform/npd/wbsha> , <http://spinrdf.org/spin> , <http://topbraid.org/spin/spinmapl> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/organization> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/np/schema/1.0/npd> , <http://www.reportinghub.no/spin/rh> ; |
1343 | owl:versionInfo "0.1.0"^^xsd:string . | 1398 | owl:versionInfo "0.1.0"^^xsd:string . |
1344 | 1399 | ||
1345 | :BAA-BusinessArrangementArea | 1400 | :BAA-BusinessArrangementArea |
... | @@ -1418,6 +1473,15 @@ arg:wellName | ... | @@ -1418,6 +1473,15 @@ arg:wellName |
1418 | ] ; | 1473 | ] ; |
1419 | spinmap:targetClass <http://www.reportinghub.no/ep/schema/facility#Field> . | 1474 | spinmap:targetClass <http://www.reportinghub.no/ep/schema/facility#Field> . |
1420 | 1475 | ||
1476 | +:LicenceOp-Licence | ||
1477 | + rdf:type spinmap:Context ; | ||
1478 | + spinmap:sourceClass licenceop:LicenceOp ; | ||
1479 | + spinmap:target | ||
1480 | + [ rdf:type :buildLicenceOpURI ; | ||
1481 | + spinmap:source spinmap:_source | ||
1482 | + ] ; | ||
1483 | + spinmap:targetClass <http://www.reportinghub.no/np/schema/npd#Licence> . | ||
1484 | + | ||
1421 | :License-License | 1485 | :License-License |
1422 | rdf:type spinmap:Context ; | 1486 | rdf:type spinmap:Context ; |
1423 | spinmap:sourceClass <file:///www.reportinghub.no/transform/npd/licence#Licence> ; | 1487 | spinmap:sourceClass <file:///www.reportinghub.no/transform/npd/licence#Licence> ; |
... | @@ -1716,6 +1780,22 @@ arg:wellName | ... | @@ -1716,6 +1780,22 @@ arg:wellName |
1716 | ] ; | 1780 | ] ; |
1717 | spin:returnType rdfs:Resource . | 1781 | spin:returnType rdfs:Resource . |
1718 | 1782 | ||
1783 | +:buildLicenceOpURI | ||
1784 | + rdf:type spinmap:TargetFunction ; | ||
1785 | + rdfs:label "build licence op URI"^^xsd:string ; | ||
1786 | + rdfs:subClassOf spinmap:TargetFunctions ; | ||
1787 | + spin:body | ||
1788 | + [ rdf:type sp:Select ; | ||
1789 | + sp:resultVariables ([ rdf:type rhspin:licenceById ; | ||
1790 | + arg:id [ rdf:type spl:object ; | ||
1791 | + sp:arg1 [ sp:varName "source"^^xsd:string | ||
1792 | + ] ; | ||
1793 | + sp:arg2 licenceop:prlNpdidLicence | ||
1794 | + ] | ||
1795 | + ]) ; | ||
1796 | + sp:where () | ||
1797 | + ] . | ||
1798 | + | ||
1719 | :buildLicenceURI | 1799 | :buildLicenceURI |
1720 | rdf:type spinmap:TargetFunction ; | 1800 | rdf:type spinmap:TargetFunction ; |
1721 | rdfs:label "build licence URI"^^xsd:string ; | 1801 | rdfs:label "build licence URI"^^xsd:string ; | ... | ... |
... | @@ -12,11 +12,11 @@ | ... | @@ -12,11 +12,11 @@ |
12 | [] rdf:type inference:Configuration ; | 12 | [] rdf:type inference:Configuration ; |
13 | composite:child | 13 | composite:child |
14 | [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; | 14 | [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; |
15 | - composite:index "1"^^xsd:int | 15 | + composite:index "0"^^xsd:int |
16 | ] ; | 16 | ] ; |
17 | composite:child | 17 | composite:child |
18 | [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; | 18 | [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; |
19 | - composite:index "0"^^xsd:int | 19 | + composite:index "1"^^xsd:int |
20 | ] ; | 20 | ] ; |
21 | inference:completeMode | 21 | inference:completeMode |
22 | "true"^^xsd:boolean ; | 22 | "true"^^xsd:boolean ; | ... | ... |
1 | +# baseURI: file:///www.reportinghub.no/transform/npd/licenceop | ||
2 | +# imports: http://topbraid.org/tables | ||
3 | + | ||
4 | +@prefix licenceop: <file:///www.reportinghub.no/transform/npd/licenceop#> . | ||
5 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
6 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
7 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
8 | +@prefix tables: <http://topbraid.org/tables#> . | ||
9 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
10 | + | ||
11 | +<file:///www.reportinghub.no/transform/npd/licenceop> | ||
12 | + rdf:type owl:Ontology ; | ||
13 | + owl:imports <http://topbraid.org/tables> . | ||
14 | + | ||
15 | +licenceop:LicenceOp | ||
16 | + rdf:type owl:Class ; | ||
17 | + rdfs:label "licenceop" ; | ||
18 | + tables:sheetIndex "0"^^xsd:int . | ||
19 | + | ||
20 | +licenceop:cmpLongName | ||
21 | + rdf:type owl:DatatypeProperty ; | ||
22 | + rdfs:domain licenceop:LicenceOp ; | ||
23 | + rdfs:label "cmpLongName" ; | ||
24 | + rdfs:range xsd:string ; | ||
25 | + tables:columnIndex "3"^^xsd:int . | ||
26 | + | ||
27 | +licenceop:cmpNpdidCompany | ||
28 | + rdf:type owl:DatatypeProperty ; | ||
29 | + rdfs:domain licenceop:LicenceOp ; | ||
30 | + rdfs:label "cmpNpdidCompany" ; | ||
31 | + rdfs:range xsd:string ; | ||
32 | + tables:columnIndex "5"^^xsd:int . | ||
33 | + | ||
34 | +licenceop:datesyncNPD | ||
35 | + rdf:type owl:DatatypeProperty ; | ||
36 | + rdfs:domain licenceop:LicenceOp ; | ||
37 | + rdfs:label "DatesyncNPD" ; | ||
38 | + rdfs:range xsd:string ; | ||
39 | + tables:columnIndex "6"^^xsd:int . | ||
40 | + | ||
41 | +licenceop:prlName | ||
42 | + rdf:type owl:DatatypeProperty ; | ||
43 | + rdfs:domain licenceop:LicenceOp ; | ||
44 | + rdfs:label "ÔªøprlName" ; | ||
45 | + rdfs:range xsd:string ; | ||
46 | + tables:columnIndex "0"^^xsd:int . | ||
47 | + | ||
48 | +licenceop:prlNpdidLicence | ||
49 | + rdf:type owl:DatatypeProperty ; | ||
50 | + rdfs:domain licenceop:LicenceOp ; | ||
51 | + rdfs:label "prlNpdidLicence" ; | ||
52 | + rdfs:range xsd:string ; | ||
53 | + tables:columnIndex "4"^^xsd:int . | ||
54 | + | ||
55 | +licenceop:prlOperDateValidFrom | ||
56 | + rdf:type owl:DatatypeProperty ; | ||
57 | + rdfs:domain licenceop:LicenceOp ; | ||
58 | + rdfs:label "prlOperDateValidFrom" ; | ||
59 | + rdfs:range xsd:string ; | ||
60 | + tables:columnIndex "1"^^xsd:int . | ||
61 | + | ||
62 | +licenceop:prlOperDateValidTo | ||
63 | + rdf:type owl:DatatypeProperty ; | ||
64 | + rdfs:domain licenceop:LicenceOp ; | ||
65 | + rdfs:label "prlOperDateValidTo" ; | ||
66 | + rdfs:range xsd:string ; | ||
67 | + tables:columnIndex "2"^^xsd:int . |
-
Please register or login to post a comment