Holger Knublauch

NPD test data working, minor tweak to an error message

...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
5 @prefix ep-well: <http://www.reportinghub.no/ep/schema/well#> . 5 @prefix ep-well: <http://www.reportinghub.no/ep/schema/well#> .
6 @prefix npd: <http://www.reportinghub.no/np/schema/npd#> . 6 @prefix npd: <http://www.reportinghub.no/np/schema/npd#> .
7 @prefix npd-test: <http://www.reportinghub.no/np/data/npd-test#> . 7 @prefix npd-test: <http://www.reportinghub.no/np/data/npd-test#> .
8 +@prefix npdi: <http://www.reportinghub.no/np/data/npd/> .
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#> .
...@@ -15,55 +16,70 @@ ...@@ -15,55 +16,70 @@
15 rdfs:comment "These triples will be added to the NPD Fact Pages automatically. They contain additional test companies, well bores etc that allows the developers and admins to upload and download dummy data."^^xsd:string ; 16 rdfs:comment "These triples will be added to the NPD Fact Pages automatically. They contain additional test companies, well bores etc that allows the developers and admins to upload and download dummy data."^^xsd:string ;
16 owl:imports <http://www.reportinghub.no/np/schema/1.0/npd> . 17 owl:imports <http://www.reportinghub.no/np/schema/1.0/npd> .
17 18
18 -npd-test:BA_ERH_TEST 19 +npd-test:ShareOfBAA_1
20 + rdf:type npd:ShareOfBAA ;
21 + npd:baaShared npdi:BAA-2222222222 ;
22 + npd:shareHolder npdi:Company-5555555555 .
23 +
24 +npd-test:ShareOfLicence_1
25 + rdf:type npd:ShareOfLicence ;
26 + npd:licenceShared npdi:Licence-3333333333 ;
27 + npd:shareHolder npdi:Company-5555555555 .
28 +
29 +npdi:BAA-2222222222
19 rdf:type npd:BusinessArrangementArea ; 30 rdf:type npd:BusinessArrangementArea ;
31 + npd:baaOperator npdi:Company-5555555555 ;
20 npd:id "2222222222"^^xsd:string ; 32 npd:id "2222222222"^^xsd:string ;
21 npd:name "BA_ERH_TEST"^^xsd:string . 33 npd:name "BA_ERH_TEST"^^xsd:string .
22 34
23 -npd-test:EPIM 35 +npdi:Company-5555555555
24 rdf:type npd:OperatingCompany ; 36 rdf:type npd:OperatingCompany ;
25 npd:companyShortName 37 npd:companyShortName
26 "EPIM"^^xsd:string ; 38 "EPIM"^^xsd:string ;
27 npd:id "5555555555"^^xsd:string ; 39 npd:id "5555555555"^^xsd:string ;
28 npd:name "EPIM"^^xsd:string . 40 npd:name "EPIM"^^xsd:string .
29 41
30 -npd-test:ERH-TEST-WELL-01 42 +npdi:Field-1111111111
43 + rdf:type ep-fac:Field ;
44 + npd:fieldOwner npdi:BAA-2222222222 ;
45 + npd:id "1111111111"^^xsd:string ;
46 + npd:name "ERH_TEST_FIELD_01"^^xsd:string .
47 +
48 +npdi:Field-1222222222
49 + rdf:type ep-fac:Field ;
50 + npd:fieldOwner npdi:Licence-3333333333 ;
51 + npd:id "1222222222"^^xsd:string ;
52 + npd:name "ERH_TEST_FIELD_02"^^xsd:string .
53 +
54 +npdi:Licence-3333333333
55 + rdf:type npd:Licence ;
56 + npd:id "3333333333"^^xsd:string ;
57 + npd:licenceOperator npdi:Company-5555555555 ;
58 + npd:licenceStatus npd:LS_Active ;
59 + npd:name "PL_ERH_TEST"^^xsd:string .
60 +
61 +npdi:Well-ERH-TEST-WELL-01
31 rdf:type ep-well:Well ; 62 rdf:type ep-well:Well ;
32 npd:name "ERH-TEST-WELL-01"^^xsd:string ; 63 npd:name "ERH-TEST-WELL-01"^^xsd:string ;
33 - npd:wellPartOfField npd-test:ERH_TEST_FIELD_01 . 64 + npd:wellPartOfField npdi:Field-1111111111 .
34 65
35 -npd-test:ERH-TEST-WELL-02 66 +npdi:Well-ERH-TEST-WELL-02
36 rdf:type ep-well:Well ; 67 rdf:type ep-well:Well ;
37 npd:name "ERH-TEST-WELL-02"^^xsd:string ; 68 npd:name "ERH-TEST-WELL-02"^^xsd:string ;
38 - npd:wellPartOfField npd-test:ERH_TEST_FIELD_02 . 69 + npd:wellPartOfField npdi:Field-1222222222 .
39 70
40 -npd-test:ERH-TEST-WELLBORE-01 71 +npdi:WellBore-4111111111
41 rdf:type ep-well:WellBore ; 72 rdf:type ep-well:WellBore ;
73 + npd:drilledInProductionLicence
74 + npdi:Licence-3333333333 ;
42 npd:id "4111111111"^^xsd:string ; 75 npd:id "4111111111"^^xsd:string ;
43 npd:name "ERH-TEST-WELLBORE-01"^^xsd:string ; 76 npd:name "ERH-TEST-WELLBORE-01"^^xsd:string ;
44 - npd:partOfWell npd-test:ERH-TEST-WELL-01 ; 77 + npd:partOfWell npdi:Well-ERH-TEST-WELL-01 ;
45 npd:wellBoreType "DEVELOPMENT"^^xsd:string . 78 npd:wellBoreType "DEVELOPMENT"^^xsd:string .
46 79
47 -npd-test:ERH-TEST-WELLBORE-02 80 +npdi:WellBore-4222222222
48 rdf:type ep-well:WellBore ; 81 rdf:type ep-well:WellBore ;
49 npd:id "4222222222"^^xsd:string ; 82 npd:id "4222222222"^^xsd:string ;
50 npd:name "ERH-TEST-WELLBORE-02"^^xsd:string ; 83 npd:name "ERH-TEST-WELLBORE-02"^^xsd:string ;
51 - npd:partOfWell npd-test:ERH-TEST-WELL-02 ; 84 + npd:partOfWell npdi:Well-ERH-TEST-WELL-02 ;
52 npd:wellBoreType "DEVELOPMENT"^^xsd:string . 85 npd:wellBoreType "DEVELOPMENT"^^xsd:string .
53 -
54 -npd-test:ERH_TEST_FIELD_01
55 - rdf:type ep-fac:Field ;
56 - npd:fieldOwner npd-test:BA_ERH_TEST ;
57 - npd:id "1111111111"^^xsd:string ;
58 - npd:name "ERH_TEST_FIELD_01"^^xsd:string .
59 -
60 -npd-test:ERH_TEST_FIELD_02
61 - rdf:type ep-fac:Field ;
62 - npd:fieldOwner npd-test:PL_ERH_TEST ;
63 - npd:id "1222222222"^^xsd:string ;
64 - npd:name "ERH_TEST_FIELD_02"^^xsd:string .
65 -
66 -npd-test:PL_ERH_TEST
67 - rdf:type npd:Licence ;
68 - npd:id "3333333333"^^xsd:string ;
69 - npd:name "PL_ERH_TEST"^^xsd:string .
......