Showing
5 changed files
with
252 additions
and
2 deletions
1 | +tufName,cmpLongName,tufOperDateValidFrom,tufOperDateValidTo,tufNpdidTuf,cmpNpdidCompany,datesyncNPD | ||
2 | +DRAUGEN GASSEKSPORT,A/S Norske Shell,14.04.2000,,1035952,562,01.08.2011 | ||
3 | +EUROPIPE I,Den norske stats oljeselskap a.s,11.12.1992,10.05.2001,124262,749,01.08.2011 | ||
4 | +EUROPIPE I,Statoil ASA (old),10.05.2001,31.12.2001,124262,1622484,01.08.2011 | ||
5 | +EUROPIPE I,GASSCO AS,01.01.2002,31.12.2002,124262,1944954,01.08.2011 | ||
6 | +EUROPIPE I,GASSCO AS,01.01.2003,,124262,1944954,01.08.2011 | ||
7 | +EUROPIPE II,GASSCO AS,01.01.2003,,2454909,1944954,01.08.2011 | ||
8 | +FRANPIPE,GASSCO AS,01.01.2003,,124202,1944954,01.08.2011 | ||
9 | +FRIGG TRANSPORT,Total Oil Marine Ltd,10.05.1974,13.10.2000,124126,45696,01.08.2011 | ||
10 | +FROSTPIPE,Elf Petroleum Norge AS,28.04.1992,24.07.2000,124324,298,01.08.2011 | ||
11 | +FROSTPIPE,TotalFinaElf Exploration Norge AS,24.07.2000,05.05.2003,124324,1340884,01.08.2011 | ||
12 | +FROSTPIPE,Total E&P Norge AS,06.05.2003,,124324,2410708,01.08.2011 | ||
13 | +GASSLED,GASSCO AS,01.01.2003,,2252643,1944954,01.08.2011 | ||
14 | +GJØA GASSRØR,GASSCO AS,01.01.2003,,4480765,1944954,01.08.2011 | ||
15 | +GJØA OLJERØR ,Statoil ASA (old),14.06.2007,30.09.2007,4480786,1622484,01.08.2011 | ||
16 | +GJØA OLJERØR ,StatoilHydro ASA,01.10.2007,31.10.2009,4480786,4511854,01.08.2011 | ||
17 | +GJØA OLJERØR ,Statoil Petroleum AS,01.11.2009,24.10.2010,4480786,17237817,01.08.2011 | ||
18 | +GJØA OLJERØR ,GDF SUEZ E&P Norge AS,25.11.2010,,4480786,5267845,01.08.2011 | ||
19 | +GRANE GASSRØR,Norsk Hydro Produksjon AS,06.07.2000,31.12.2006,1036213,430,01.08.2011 | ||
20 | +GRANE GASSRØR,Norsk Hydro Petroleum AS,01.01.2007,30.09.2007,1036213,4524355,01.08.2011 | ||
21 | +GRANE GASSRØR,StatoilHydro Petroleum AS,01.10.2007,31.10.2009,1036213,4511658,01.08.2011 | ||
22 | +GRANE GASSRØR,Statoil Petroleum AS,01.11.2009,,1036213,17237817,01.08.2011 | ||
23 | +GRANE OLJERØR,Norsk Hydro Produksjon AS,06.07.2000,31.12.2006,1036198,430,01.08.2011 | ||
24 | +GRANE OLJERØR,Norsk Hydro Petroleum AS,01.01.2007,30.09.2007,1036198,4524355,01.08.2011 | ||
25 | +GRANE OLJERØR,StatoilHydro Petroleum AS,01.10.2007,31.10.2009,1036198,4511658,01.08.2011 | ||
26 | +GRANE OLJERØR,Statoil Petroleum AS,01.11.2009,,1036198,17237817,01.08.2011 | ||
27 | +GUDRUN GASSRØR,Statoil Petroleum AS,20.09.2010,,18451081,17237817,01.08.2011 | ||
28 | +GUDRUN OLJERØR,Statoil Petroleum AS,20.09.2010,,18451101,17237817,01.08.2011 | ||
29 | +HALTENPIPE,Den norske stats oljeselskap a.s,04.02.1992,10.05.2001,124293,749,01.08.2011 | ||
30 | +HALTENPIPE,Statoil ASA (old),10.05.2001,31.12.2001,124293,1622484,01.08.2011 | ||
31 | +HALTENPIPE,GASSCO AS,01.01.2002,,124293,1944954,01.08.2011 | ||
32 | +HEIDRUN GASSTRANSPORT,Den norske stats oljeselskap a.s,14.04.2000,10.05.2001,1035969,749,01.08.2011 | ||
33 | +HEIDRUN GASSTRANSPORT,Statoil ASA (old),10.05.2001,30.09.2007,1035969,1622484,01.08.2011 | ||
34 | +HEIDRUN GASSTRANSPORT,StatoilHydro ASA,01.10.2007,31.10.2009,1035969,4511854,01.08.2011 | ||
35 | +HEIDRUN GASSTRANSPORT,Statoil Petroleum AS,01.11.2009,,1035969,17237817,01.08.2011 | ||
36 | +KOLLSNES GASSANLEGG,GASSCO AS,01.01.2003,,124354,1944954,01.08.2011 | ||
37 | +KRISTIN GASSRØR,Statoil ASA (old),17.12.2001,30.09.2007,1854814,1622484,01.08.2011 | ||
38 | +KRISTIN GASSRØR,StatoilHydro ASA,01.10.2007,31.10.2009,1854814,4511854,01.08.2011 | ||
39 | +KRISTIN GASSRØR,Statoil Petroleum AS,01.11.2009,,1854814,17237817,01.08.2011 | ||
40 | +KRISTIN KONDENSATRØR,Statoil ASA (old),17.12.2001,30.09.2007,1854834,1622484,01.08.2011 | ||
41 | +KRISTIN KONDENSATRØR,StatoilHydro ASA,01.10.2007,31.10.2009,1854834,4511854,01.08.2011 | ||
42 | +KRISTIN KONDENSATRØR,Statoil Petroleum AS,01.11.2009,,1854834,17237817,01.08.2011 | ||
43 | +KVITEBJØRN GASSRØR,GASSCO AS,01.01.2003,,2417249,1944954,01.08.2011 | ||
44 | +KVITEBJØRN OLJERØR,Statoil ASA (old),08.05.2002,30.09.2007,917586,1622484,01.08.2011 | ||
45 | +KVITEBJØRN OLJERØR,StatoilHydro ASA,01.10.2007,31.10.2009,917586,4511854,01.08.2011 | ||
46 | +KVITEBJØRN OLJERØR,Statoil Petroleum AS,01.11.2009,,917586,17237817,01.08.2011 | ||
47 | +KÅRSTØ GASSANLEGG,GASSCO AS,01.01.2003,,3471786,1944954,01.08.2011 | ||
48 | +LANGELED,GASSCO AS,01.01.2003,,2450169,1944954,01.08.2011 | ||
49 | +MARULK GASSRØR,Eni Norge AS,20.09.2010,,18451118,2388594,01.08.2011 | ||
50 | +MELKØYA LANDANLEGG,Statoil ASA (old),07.03.2002,30.09.2007,124383,1622484,01.08.2011 | ||
51 | +MELKØYA LANDANLEGG,StatoilHydro ASA,01.10.2007,31.10.2009,124383,4511854,01.08.2011 | ||
52 | +MELKØYA LANDANLEGG,Statoil Petroleum AS,01.11.2009,,124383,17237817,01.08.2011 | ||
53 | +MONGSTAD TERMINAL,Statoil ASA (old),01.01.1999,30.09.2007,124360,1622484,01.08.2011 | ||
54 | +MONGSTAD TERMINAL,StatoilHydro ASA,01.10.2007,31.10.2009,124360,4511854,01.08.2011 | ||
55 | +MONGSTAD TERMINAL,Statoil Petroleum AS,01.11.2009,,124360,17237817,01.08.2011 | ||
56 | +NJORD GASSTRANSPORT,Norsk Hydro Produksjon AS,21.01.2005,31.12.2006,3113920,430,01.08.2011 | ||
57 | +NJORD GASSTRANSPORT,Norsk Hydro Petroleum AS,01.01.2007,30.09.2007,3113920,4524355,01.08.2011 | ||
58 | +NJORD GASSTRANSPORT,StatoilHydro Petroleum AS,01.10.2007,31.10.2009,3113920,4511658,01.08.2011 | ||
59 | +NJORD GASSTRANSPORT,Statoil Petroleum AS,01.11.2009,,3113920,17237817,01.08.2011 | ||
60 | +NORNE GASSTRANSPORT,GASSCO AS,01.01.2003,,1035984,1944954,01.08.2011 | ||
61 | +NORPIPE GASSLEDNING,GASSCO AS,01.01.2003,,124165,1944954,01.08.2011 | ||
62 | +NORPIPE OLJELEDNING,Phillips Petroleum Company Norway,04.05.1973,05.05.2003,124133,694,01.08.2011 | ||
63 | +NORPIPE OLJELEDNING,ConocoPhillips Skandinavia AS,06.05.2003,,124133,2410696,01.08.2011 | ||
64 | +NYHAMNA LANDANLEGG,Norsk Hydro Produksjon AS,03.12.2003,31.12.2006,2455217,430,01.08.2011 | ||
65 | +NYHAMNA LANDANLEGG,Norsk Hydro Petroleum AS,01.01.2007,30.09.2007,2455217,4524355,01.08.2011 | ||
66 | +NYHAMNA LANDANLEGG,StatoilHydro Petroleum AS,01.10.2007,30.11.2007,2455217,4511658,01.08.2011 | ||
67 | +NYHAMNA LANDANLEGG,A/S Norske Shell,01.12.2007,,2455217,562,01.08.2011 | ||
68 | +OSEBERG GASSTRANSPORT,GASSCO AS,01.01.2003,,124170,1944954,01.08.2011 | ||
69 | +OSEBERG TRANSPORTSYSTEM,Norsk Hydro Produksjon AS,28.11.1984,31.12.2006,124301,430,01.08.2011 | ||
70 | +OSEBERG TRANSPORTSYSTEM,Norsk Hydro Petroleum AS,01.01.2007,30.09.2007,124301,4524355,01.08.2011 | ||
71 | +OSEBERG TRANSPORTSYSTEM,StatoilHydro Petroleum AS,01.10.2007,31.10.2009,124301,4511658,01.08.2011 | ||
72 | +OSEBERG TRANSPORTSYSTEM,Statoil Petroleum AS,01.11.2009,,124301,17237817,01.08.2011 | ||
73 | +SLEIPNER KONDENSATRØR,Den norske stats oljeselskap a.s,30.11.1989,10.05.2001,124340,749,01.08.2011 | ||
74 | +SLEIPNER KONDENSATRØR,Statoil ASA (old),10.05.2001,30.09.2007,124340,1622484,01.08.2011 | ||
75 | +SLEIPNER KONDENSATRØR,StatoilHydro ASA,01.10.2007,31.10.2009,124340,4511854,01.08.2011 | ||
76 | +SLEIPNER KONDENSATRØR,Statoil Petroleum AS,01.11.2009,,124340,17237817,01.08.2011 | ||
77 | +STATPIPE,GASSCO AS,01.01.2003,,123940,1944954,01.08.2011 | ||
78 | +TAMPEN LINK,GASSCO AS,01.01.2003,,3113815,1944954,01.08.2011 | ||
79 | +TROLL OLJERØR I,Den norske stats oljeselskap a.s,06.12.1993,10.05.2001,124187,749,01.08.2011 | ||
80 | +TROLL OLJERØR I,Statoil ASA (old),10.05.2001,30.09.2007,124187,1622484,01.08.2011 | ||
81 | +TROLL OLJERØR I,StatoilHydro ASA,01.10.2007,31.10.2009,124187,4511854,01.08.2011 | ||
82 | +TROLL OLJERØR I,Statoil Petroleum AS,01.11.2009,,124187,17237817,01.08.2011 | ||
83 | +TROLL OLJERØR II,Statoil ASA (old),10.05.2001,30.09.2007,124194,1622484,01.08.2011 | ||
84 | +TROLL OLJERØR II,StatoilHydro ASA,01.10.2007,31.10.2009,124194,4511854,01.08.2011 | ||
85 | +TROLL OLJERØR II,Statoil Petroleum AS,01.11.2009,,124194,17237817,01.08.2011 | ||
86 | +ULA OLJETRANSPORT,Den norske stats oljeselskap a.s,30.10.1984,31.12.1999,124285,749,01.08.2011 | ||
87 | +ULA OLJETRANSPORT,BP Amoco Norge AS,01.01.2000,11.03.2002,124285,982372,01.08.2011 | ||
88 | +ULA OLJETRANSPORT,BP Norge AS,12.03.2002,,124285,2052695,01.08.2011 | ||
89 | +VALEMON GASSRØR,Statoil Petroleum AS,24.06.2011,,18451149,17237817,01.08.2011 | ||
90 | +VALEMON KONDENSATRØR,Statoil Petroleum AS,24.06.2011,,18451188,17237817,01.08.2011 | ||
91 | +VESTERLED,GASSCO AS,01.01.2003,,124280,1944954,01.08.2011 | ||
92 | +ZEEPIPE,GASSCO AS,01.01.2003,,124227,1944954,01.08.2011 | ||
93 | +ZEEPIPE I,Den norske stats oljeselskap a.s,21.06.1988,10.05.2001,124235,749,01.08.2011 | ||
94 | +ZEEPIPE I,Statoil ASA (old),10.05.2001,31.12.2001,124235,1622484,01.08.2011 | ||
95 | +ZEEPIPE I,GASSCO AS,01.01.2002,31.12.2002,124235,1944954,01.08.2011 | ||
96 | +ZEEPIPE I,GASSCO AS,01.01.2003,,124235,1944954,01.08.2011 | ||
97 | +ZEEPIPE IIA,Den norske stats oljeselskap a.s,03.07.1992,10.05.2001,124244,749,01.08.2011 | ||
98 | +ZEEPIPE IIA,Statoil ASA (old),10.05.2001,31.12.2001,124244,1622484,01.08.2011 | ||
99 | +ZEEPIPE IIA,GASSCO AS,01.01.2002,31.12.2002,124244,1944954,01.08.2011 | ||
100 | +ZEEPIPE IIA,GASSCO AS,01.01.2003,,124244,1944954,01.08.2011 | ||
101 | +ZEEPIPE IIB,Den norske stats oljeselskap a.s,27.01.1995,10.05.2001,124253,749,01.08.2011 | ||
102 | +ZEEPIPE IIB,Statoil ASA (old),10.05.2001,31.12.2001,124253,1622484,01.08.2011 | ||
103 | +ZEEPIPE IIB,GASSCO AS,01.01.2002,31.12.2002,124253,1944954,01.08.2011 | ||
104 | +ZEEPIPE IIB,GASSCO AS,01.01.2003,,124253,1944954,01.08.2011 | ||
105 | +ÅSGARD TRANSPORT,GASSCO AS,01.01.2003,,124211,1944954,01.08.2011 | ||
106 | + |
This diff could not be displayed because it is too large.
... | @@ -203,6 +203,28 @@ rhspin:licenceById | ... | @@ -203,6 +203,28 @@ rhspin:licenceById |
203 | ] ; | 203 | ] ; |
204 | spin:returnType <http://www.reportinghub.no/schema/npd#Licence> . | 204 | spin:returnType <http://www.reportinghub.no/schema/npd#Licence> . |
205 | 205 | ||
206 | +rhspin:tufById | ||
207 | + rdf:type spin:Function ; | ||
208 | + rdfs:label "tuf by id"^^xsd:string ; | ||
209 | + rdfs:subClassOf spl:URIFunctions ; | ||
210 | + spin:body | ||
211 | + [ rdf:type sp:Select ; | ||
212 | + sp:resultVariables ([ rdf:type sp:iri ; | ||
213 | + sp:arg1 [ rdf:type fn:concat ; | ||
214 | + sp:arg1 "https://www.reportinghub.no/data/npd/TUF-" ; | ||
215 | + sp:arg2 [ sp:varName "id"^^xsd:string | ||
216 | + ] | ||
217 | + ] | ||
218 | + ]) ; | ||
219 | + sp:where () | ||
220 | + ] ; | ||
221 | + spin:constraint | ||
222 | + [ rdf:type spl:Argument ; | ||
223 | + rdfs:comment "The NPD id of the TUF."^^xsd:string ; | ||
224 | + spl:predicate <http://spinrdf.org/arg#id> ; | ||
225 | + spl:valueType xsd:string | ||
226 | + ] . | ||
227 | + | ||
206 | rhspin:userName | 228 | rhspin:userName |
207 | rdf:type spin:Function ; | 229 | rdf:type spin:Function ; |
208 | rdfs:comment "Gets the name of the currently logged in user."^^xsd:string ; | 230 | rdfs:comment "Gets the name of the currently logged in user."^^xsd:string ; | ... | ... |
... | @@ -9,15 +9,17 @@ | ... | @@ -9,15 +9,17 @@ |
9 | # imports: file:///www.reportinghub.no/transform/npd/field | 9 | # imports: file:///www.reportinghub.no/transform/npd/field |
10 | # imports: http://www.reportinghub.no/spin/rh | 10 | # imports: http://www.reportinghub.no/spin/rh |
11 | # imports: file:///www.reportinghub.no/transform/npd/facilitymoveable | 11 | # imports: file:///www.reportinghub.no/transform/npd/facilitymoveable |
12 | +# imports: http://www.reportinghub.no/transform/npd/tufoperator-2011-07-30 | ||
12 | # imports: file:///www.reportinghub.no/transform/npd/facilitymoveable-2011-07-30 | 13 | # imports: file:///www.reportinghub.no/transform/npd/facilitymoveable-2011-07-30 |
13 | # imports: file:///www.reportinghub.no/transform/wellbore-npdid-overview | 14 | # imports: file:///www.reportinghub.no/transform/wellbore-npdid-overview |
14 | # imports: file:///www.reportinghub.no/transform/npd/license-2011-07-30 | 15 | # imports: file:///www.reportinghub.no/transform/npd/license-2011-07-30 |
15 | -# imports: file:///www.reportinghub.no/transform/npd/facilityfixed | ||
16 | # imports: file:///www.reportinghub.no/transform/npd/baa | 16 | # imports: file:///www.reportinghub.no/transform/npd/baa |
17 | +# imports: file:///www.reportinghub.no/transform/npd/facilityfixed | ||
17 | # imports: file:///www.reportinghub.no/transform/npd/discovery | 18 | # imports: file:///www.reportinghub.no/transform/npd/discovery |
18 | # imports: file:///www.reportinghub.no/transform/npd/licence | 19 | # imports: file:///www.reportinghub.no/transform/npd/licence |
19 | # imports: file:///www.reportinghub.no/transform/npd/facilityfixed-2011-07-30 | 20 | # imports: file:///www.reportinghub.no/transform/npd/facilityfixed-2011-07-30 |
20 | # imports: http://spinrdf.org/spin | 21 | # imports: http://spinrdf.org/spin |
22 | +# imports: file:///www.reportinghub.no/transform/npd/tufoperator | ||
21 | 23 | ||
22 | @prefix : <http://www.reportinghub.no/transform/spreadsheets2npd#> . | 24 | @prefix : <http://www.reportinghub.no/transform/spreadsheets2npd#> . |
23 | @prefix arg: <http://spinrdf.org/arg#> . | 25 | @prefix arg: <http://spinrdf.org/arg#> . |
... | @@ -41,6 +43,7 @@ | ... | @@ -41,6 +43,7 @@ |
41 | @prefix spinmap: <http://spinrdf.org/spinmap#> . | 43 | @prefix spinmap: <http://spinrdf.org/spinmap#> . |
42 | @prefix spinmapl: <http://topbraid.org/spin/spinmapl#> . | 44 | @prefix spinmapl: <http://topbraid.org/spin/spinmapl#> . |
43 | @prefix spl: <http://spinrdf.org/spl#> . | 45 | @prefix spl: <http://spinrdf.org/spl#> . |
46 | +@prefix tufoperator-2011-07-30: <http://www.reportinghub.no/transform/npd/tufoperator-2011-07-30#> . | ||
44 | @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | 47 | @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . |
45 | 48 | ||
46 | <file:///www.reportinghub.no/examples/transform/npd/licence-2011-07-30.csv#Licence> | 49 | <file:///www.reportinghub.no/examples/transform/npd/licence-2011-07-30.csv#Licence> |
... | @@ -547,6 +550,33 @@ | ... | @@ -547,6 +550,33 @@ |
547 | rdf:type | 550 | rdf:type |
548 | ] . | 551 | ] . |
549 | 552 | ||
553 | +<file:///www.reportinghub.no/transform/npd/tufoperator#TUFOperator> | ||
554 | + spinmap:rule | ||
555 | + [ rdf:type spinmap:Mapping-1-1 ; | ||
556 | + spinmap:context :TUFOperator-TUF ; | ||
557 | + spinmap:expression spin:_arg1 ; | ||
558 | + spinmap:sourcePredicate1 | ||
559 | + <file:///www.reportinghub.no/transform/npd/tufoperator#tufName> ; | ||
560 | + spinmap:targetPredicate1 | ||
561 | + <http://www.reportinghub.no/schema/npd#name> | ||
562 | + ] ; | ||
563 | + spinmap:rule | ||
564 | + [ rdf:type spinmap:Mapping-1-1 ; | ||
565 | + spinmap:context :TUFOperator-TUF ; | ||
566 | + spinmap:expression spin:_arg1 ; | ||
567 | + spinmap:sourcePredicate1 | ||
568 | + <file:///www.reportinghub.no/transform/npd/tufoperator#tufNpdidTuf> ; | ||
569 | + spinmap:targetPredicate1 | ||
570 | + <http://www.reportinghub.no/schema/npd#id> | ||
571 | + ] ; | ||
572 | + spinmap:rule | ||
573 | + [ rdf:type spinmap:Mapping-0-1 ; | ||
574 | + spinmap:context :TUFOperator-TUF ; | ||
575 | + spinmap:expression <http://www.reportinghub.no/schema/npd#TUF> ; | ||
576 | + spinmap:targetPredicate1 | ||
577 | + rdf:type | ||
578 | + ] . | ||
579 | + | ||
550 | <file:///www.reportinghub.no/transform/wellbore-npdid-overview#WBID> | 580 | <file:///www.reportinghub.no/transform/wellbore-npdid-overview#WBID> |
551 | spinmap:rule | 581 | spinmap:rule |
552 | [ rdf:type spinmap:Mapping-1-1 ; | 582 | [ rdf:type spinmap:Mapping-1-1 ; |
... | @@ -635,7 +665,7 @@ arg:wellName | ... | @@ -635,7 +665,7 @@ arg:wellName |
635 | <http://www.reportinghub.no/transform/spreadsheets2npd> | 665 | <http://www.reportinghub.no/transform/spreadsheets2npd> |
636 | rdf:type owl:Ontology ; | 666 | rdf:type owl:Ontology ; |
637 | rdfs:comment "Takes spreadsheets imported from the NPD fact pages and maps them into the NPD ontology."^^xsd:string ; | 667 | rdfs:comment "Takes spreadsheets imported from the NPD fact pages and maps them into the NPD ontology."^^xsd:string ; |
638 | - owl:imports <file:///www.reportinghub.no/transform/npd/facilitymoveable-2011-07-30> , <http://www.reportinghub.no/transform/npd/field-2011-07-30> , <file:///www.reportinghub.no/transform/npd/discovery> , <http://www.reportinghub.no/1.1/schema/npd> , <file:///www.reportinghub.no/transform/npd/field> , <file:///www.reportinghub.no/transform/npd/discovery-2011-07-30> , <http://topbraid.org/spin/spinmapl> , <file:///www.reportinghub.no/transform/npd/facilityfixed-2011-07-30> , <file:///www.reportinghub.no/transform/npd/licence> , <file:///www.reportinghub.no/transform/npd/facilityfixed> , <http://www.reportinghub.no/spin/rh> , <file:///www.reportinghub.no/transform/npd/baa> , <http://www.reportinghub.no/examples/transform/npd/company-2011-07-30> , <file:///www.reportinghub.no/transform/npd/facilitymoveable> , <file:///www.reportinghub.no/transform/npd/license-2011-07-30> , <file:///www.reportinghub.no/transform/wellbore-npdid-overview> , <file:///www.reportinghub.no/transform/npd/company> , <http://spinrdf.org/spin> , <file:///www.reportinghub.no/transform/npd/baa-2011-07-30> ; | 668 | + owl:imports <file:///www.reportinghub.no/transform/npd/tufoperator> , <file:///www.reportinghub.no/transform/npd/facilitymoveable-2011-07-30> , <http://www.reportinghub.no/transform/npd/tufoperator-2011-07-30> , <http://www.reportinghub.no/transform/npd/field-2011-07-30> , <file:///www.reportinghub.no/transform/npd/discovery> , <http://www.reportinghub.no/1.1/schema/npd> , <file:///www.reportinghub.no/transform/npd/field> , <file:///www.reportinghub.no/transform/npd/discovery-2011-07-30> , <http://topbraid.org/spin/spinmapl> , <file:///www.reportinghub.no/transform/npd/facilityfixed-2011-07-30> , <file:///www.reportinghub.no/transform/npd/licence> , <file:///www.reportinghub.no/transform/npd/facilityfixed> , <http://www.reportinghub.no/spin/rh> , <file:///www.reportinghub.no/transform/npd/baa> , <http://www.reportinghub.no/examples/transform/npd/company-2011-07-30> , <file:///www.reportinghub.no/transform/npd/facilitymoveable> , <file:///www.reportinghub.no/transform/npd/license-2011-07-30> , <file:///www.reportinghub.no/transform/wellbore-npdid-overview> , <file:///www.reportinghub.no/transform/npd/company> , <http://spinrdf.org/spin> , <file:///www.reportinghub.no/transform/npd/baa-2011-07-30> ; |
639 | owl:versionInfo "0.1.0"^^xsd:string . | 669 | owl:versionInfo "0.1.0"^^xsd:string . |
640 | 670 | ||
641 | :BAA-BusinessArrangementArea | 671 | :BAA-BusinessArrangementArea |
... | @@ -703,6 +733,15 @@ arg:wellName | ... | @@ -703,6 +733,15 @@ arg:wellName |
703 | ] ; | 733 | ] ; |
704 | spinmap:targetClass <http://www.reportinghub.no/schema/npd#Licence> . | 734 | spinmap:targetClass <http://www.reportinghub.no/schema/npd#Licence> . |
705 | 735 | ||
736 | +:TUFOperator-TUF | ||
737 | + rdf:type spinmap:Context ; | ||
738 | + spinmap:sourceClass <file:///www.reportinghub.no/transform/npd/tufoperator#TUFOperator> ; | ||
739 | + spinmap:target | ||
740 | + [ rdf:type :buildTUFURI ; | ||
741 | + spinmap:source spinmap:_source | ||
742 | + ] ; | ||
743 | + spinmap:targetClass <http://www.reportinghub.no/schema/npd#TUF> . | ||
744 | + | ||
706 | :WBID-Well | 745 | :WBID-Well |
707 | rdf:type spinmap:Context ; | 746 | rdf:type spinmap:Context ; |
708 | spinmap:sourceClass <file:///www.reportinghub.no/transform/wellbore-npdid-overview#WBID> ; | 747 | spinmap:sourceClass <file:///www.reportinghub.no/transform/wellbore-npdid-overview#WBID> ; |
... | @@ -827,6 +866,22 @@ arg:wellName | ... | @@ -827,6 +866,22 @@ arg:wellName |
827 | sp:where () | 866 | sp:where () |
828 | ] . | 867 | ] . |
829 | 868 | ||
869 | +:buildTUFURI | ||
870 | + rdf:type spinmap:TargetFunction ; | ||
871 | + rdfs:label "build TUF URI"^^xsd:string ; | ||
872 | + rdfs:subClassOf spinmap:TargetFunctions ; | ||
873 | + spin:body | ||
874 | + [ rdf:type sp:Select ; | ||
875 | + sp:resultVariables ([ rdf:type rhspin:tufById ; | ||
876 | + arg:id [ rdf:type spl:object ; | ||
877 | + sp:arg1 [ sp:varName "source"^^xsd:string | ||
878 | + ] ; | ||
879 | + sp:arg2 <file:///www.reportinghub.no/transform/npd/tufoperator#tufNpdidTuf> | ||
880 | + ] | ||
881 | + ]) ; | ||
882 | + sp:where () | ||
883 | + ] . | ||
884 | + | ||
830 | :buildWellBoreURI | 885 | :buildWellBoreURI |
831 | rdf:type spinmap:TargetFunction ; | 886 | rdf:type spinmap:TargetFunction ; |
832 | rdfs:label "build well bore URI"^^xsd:string ; | 887 | rdfs:label "build well bore URI"^^xsd:string ; | ... | ... |
1 | +# baseURI: file:///www.reportinghub.no/transform/npd/tufoperator | ||
2 | +# imports: http://topbraid.org/tables | ||
3 | + | ||
4 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
5 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
6 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
7 | +@prefix tables: <http://topbraid.org/tables#> . | ||
8 | +@prefix tufoperator: <file:///www.reportinghub.no/transform/npd/tufoperator#> . | ||
9 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
10 | + | ||
11 | +<file:///www.reportinghub.no/transform/npd/tufoperator> | ||
12 | + rdf:type owl:Ontology ; | ||
13 | + owl:imports <http://topbraid.org/tables> . | ||
14 | + | ||
15 | +tufoperator:TUFOperator | ||
16 | + rdf:type owl:Class ; | ||
17 | + rdfs:label "tufoperator"^^xsd:string ; | ||
18 | + tables:sheetIndex "0"^^xsd:int . | ||
19 | + | ||
20 | +tufoperator:cmpLongName | ||
21 | + rdf:type owl:DatatypeProperty ; | ||
22 | + rdfs:domain tufoperator:TUFOperator ; | ||
23 | + rdfs:label "cmpLongName" ; | ||
24 | + rdfs:range xsd:string ; | ||
25 | + tables:columnIndex "1"^^xsd:int . | ||
26 | + | ||
27 | +tufoperator:cmpNpdidCompany | ||
28 | + rdf:type owl:DatatypeProperty ; | ||
29 | + rdfs:domain tufoperator:TUFOperator ; | ||
30 | + rdfs:label "cmpNpdidCompany" ; | ||
31 | + rdfs:range xsd:string ; | ||
32 | + tables:columnIndex "5"^^xsd:int . | ||
33 | + | ||
34 | +tufoperator:datesyncNPD | ||
35 | + rdf:type owl:DatatypeProperty ; | ||
36 | + rdfs:domain tufoperator:TUFOperator ; | ||
37 | + rdfs:label "datesyncNPD" ; | ||
38 | + rdfs:range xsd:string ; | ||
39 | + tables:columnIndex "6"^^xsd:int . | ||
40 | + | ||
41 | +tufoperator:tufName | ||
42 | + rdf:type owl:DatatypeProperty ; | ||
43 | + rdfs:domain tufoperator:TUFOperator ; | ||
44 | + rdfs:label "tufName"^^xsd:string ; | ||
45 | + rdfs:range xsd:string ; | ||
46 | + tables:columnIndex "0"^^xsd:int . | ||
47 | + | ||
48 | +tufoperator:tufNpdidTuf | ||
49 | + rdf:type owl:DatatypeProperty ; | ||
50 | + rdfs:domain tufoperator:TUFOperator ; | ||
51 | + rdfs:label "tufNpdidTuf" ; | ||
52 | + rdfs:range xsd:string ; | ||
53 | + tables:columnIndex "4"^^xsd:int . | ||
54 | + | ||
55 | +tufoperator:tufOperDateValidFrom | ||
56 | + rdf:type owl:DatatypeProperty ; | ||
57 | + rdfs:domain tufoperator:TUFOperator ; | ||
58 | + rdfs:label "tufOperDateValidFrom" ; | ||
59 | + rdfs:range xsd:string ; | ||
60 | + tables:columnIndex "2"^^xsd:int . | ||
61 | + | ||
62 | +tufoperator:tufOperDateValidTo | ||
63 | + rdf:type owl:DatatypeProperty ; | ||
64 | + rdfs:domain tufoperator:TUFOperator ; | ||
65 | + rdfs:label "tufOperDateValidTo" ; | ||
66 | + rdfs:range xsd:string ; | ||
67 | + tables:columnIndex "3"^^xsd:int . |
-
Please register or login to post a comment