Merge branch 'master' of
https://github.com/TopQuadrant/EPIM-Ontologies.git Conflicts: www.reportinghub.no/swp/DailyDrillingReport.uispin.html Also: linked download page to new service
Showing
15 changed files
with
712 additions
and
261 deletions
... | @@ -27,7 +27,7 @@ | ... | @@ -27,7 +27,7 @@ |
27 | <div id="content"> | 27 | <div id="content"> |
28 | 28 | ||
29 | <h3>Download a Daily Drilling Report</h3> | 29 | <h3>Download a Daily Drilling Report</h3> |
30 | - <form action="ddrFileDownload"> | 30 | + <form action="download-report"> |
31 | 31 | ||
32 | <table> | 32 | <table> |
33 | <tr> | 33 | <tr> |
... | @@ -58,12 +58,12 @@ | ... | @@ -58,12 +58,12 @@ |
58 | <td style="padding-left:20px; vertical-align: top"> | 58 | <td style="padding-left:20px; vertical-align: top"> |
59 | <div> | 59 | <div> |
60 | <div class="formHeader">2. Select Well Bore:</div> | 60 | <div class="formHeader">2. Select Well Bore:</div> |
61 | - <select size="5" id="wellBoreSelect" style="width:200px"> | 61 | + <select size="5" id="wellBoreSelect" name="wellboreId" style="width:200px"> |
62 | </select> | 62 | </select> |
63 | </div><br /> | 63 | </div><br /> |
64 | <div> | 64 | <div> |
65 | <div class="formHeader">3. Select Date(s):</div> | 65 | <div class="formHeader">3. Select Date(s):</div> |
66 | - <input type="text" id="datepicker1" name="date1" style="width: 90px" /> - <input type="text" id="datepicker2" name="date2" style="width: 90px" /> | 66 | + <input type="text" id="datepicker1" name="timeFrom" style="width: 90px" /> - <input type="text" id="datepicker2" name="timeTo" style="width: 90px" /> |
67 | <script> | 67 | <script> |
68 | $(function() { | 68 | $(function() { |
69 | $("#datepicker1").datepicker(); | 69 | $("#datepicker1").datepicker(); | ... | ... |
1 | -# baseURI: http://www.reportinghub.no/ep/schema/1.0/core | 1 | +# Saved by TopBraid on Wed Aug 10 13:54:55 BST 2011 |
2 | -# imports: http://www.linkedmodel.org/1.2/schema/vaem | 2 | +# baseURI: http://www.reportinghub.no/ep/schema/1.0/core |
3 | - | 3 | +# imports: http://www.linkedmodel.org/1.2/schema/vaem |
4 | -@prefix bindEP-NativeOWL: <http://www.reportinghub.no/iso15926/bindEP-NativeOWL#> . | 4 | + |
5 | -@prefix ep-core: <http://www.reportinghub.no/ep/schema/core#> . | 5 | +@prefix bindEP-NativeOWL: <http://www.reportinghub.no/iso15926/bindEP-NativeOWL#> . |
6 | -@prefix owl: <http://www.w3.org/2002/07/owl#> . | 6 | +@prefix ep-core: <http://www.reportinghub.no/ep/schema/core#> . |
7 | -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | 7 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . |
8 | -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | 8 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . |
9 | -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | 9 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
10 | - | 10 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . |
11 | -<http://www.reportinghub.no/ep/schema/1.0/core> | 11 | + |
12 | - rdf:type owl:Ontology ; | 12 | +<http://www.reportinghub.no/ep/schema/1.0/core> |
13 | - owl:imports <http://www.linkedmodel.org/1.2/schema/vaem> ; | 13 | + rdf:type owl:Ontology ; |
14 | - owl:versionInfo "0.1.0"^^xsd:string . | 14 | + owl:imports <http://www.linkedmodel.org/1.2/schema/vaem> ; |
15 | - | 15 | + owl:versionInfo "0.1.0"^^xsd:string . |
16 | -ep-core:PhysicalObject | 16 | + |
17 | - rdf:type owl:Class ; | 17 | +ep-core:PhysicalObject |
18 | - rdfs:label "physical object"^^xsd:string ; | 18 | + rdf:type owl:Class ; |
19 | - rdfs:subClassOf ep-core:PhysicalThing . | 19 | + rdfs:label "physical object"^^xsd:string ; |
20 | - | 20 | + rdfs:subClassOf ep-core:PhysicalThing . |
21 | -ep-core:PhysicalThing | 21 | + |
22 | - rdf:type owl:Class ; | 22 | +ep-core:PhysicalThing |
23 | - rdfs:label "physical thing"^^xsd:string ; | 23 | + rdf:type owl:Class ; |
24 | - rdfs:subClassOf owl:Thing . | 24 | + rdfs:label "physical thing"^^xsd:string ; |
25 | - | 25 | + rdfs:subClassOf owl:Thing . |
26 | -ep-core:basisFor | 26 | + |
27 | - rdf:type owl:ObjectProperty ; | 27 | +ep-core:apiName |
28 | - rdfs:label "basis for"^^xsd:string . | 28 | + rdf:type owl:FunctionalProperty , owl:DatatypeProperty ; |
29 | - | 29 | + rdfs:label "API name"^^xsd:string ; |
30 | -ep-core:derivedFrom | 30 | + rdfs:range xsd:string ; |
31 | - rdf:type owl:TransitiveProperty , owl:ObjectProperty ; | 31 | + rdfs:subPropertyOf ep-core:name . |
32 | - rdfs:label "derived from"^^xsd:string . | 32 | + |
33 | - | 33 | +ep-core:basisFor |
34 | -ep-core:hasPart | 34 | + rdf:type owl:ObjectProperty ; |
35 | - rdf:type owl:TransitiveProperty ; | 35 | + rdfs:label "basis for"^^xsd:string . |
36 | - rdfs:domain ep-core:PhysicalThing ; | 36 | + |
37 | - rdfs:label "has part"^^xsd:string ; | 37 | +ep-core:derivedFrom |
38 | - rdfs:range ep-core:PhysicalThing ; | 38 | + rdf:type owl:TransitiveProperty , owl:ObjectProperty ; |
39 | - owl:inverseOf ep-core:partOf . | 39 | + rdfs:label "derived from"^^xsd:string . |
40 | - | 40 | + |
41 | -ep-core:hasTemporalPart | 41 | +ep-core:dtiName |
42 | - rdf:type owl:TransitiveProperty ; | 42 | + rdf:type owl:DatatypeProperty , owl:FunctionalProperty ; |
43 | - rdfs:domain ep-core:PhysicalThing ; | 43 | + rdfs:label "DTI name"^^xsd:string ; |
44 | - rdfs:label "has temporal part"^^xsd:string ; | 44 | + rdfs:range xsd:string ; |
45 | - rdfs:range ep-core:PhysicalThing ; | 45 | + rdfs:subPropertyOf ep-core:name . |
46 | - rdfs:subPropertyOf ep-core:hasPart ; | 46 | + |
47 | - owl:inverseOf ep-core:partOf . | 47 | +ep-core:hasPart |
48 | - | 48 | + rdf:type owl:TransitiveProperty ; |
49 | -ep-core:name | 49 | + rdfs:domain ep-core:PhysicalThing ; |
50 | - rdf:type owl:DatatypeProperty ; | 50 | + rdfs:label "has part"^^xsd:string ; |
51 | - rdfs:label "name"^^xsd:string ; | 51 | + rdfs:range ep-core:PhysicalThing ; |
52 | - rdfs:range xsd:string . | 52 | + owl:inverseOf ep-core:partOf . |
53 | - | 53 | + |
54 | -ep-core:partOf | 54 | +ep-core:hasTemporalPart |
55 | - rdf:type owl:TransitiveProperty ; | 55 | + rdf:type owl:TransitiveProperty ; |
56 | - rdfs:domain ep-core:PhysicalThing ; | 56 | + rdfs:domain ep-core:PhysicalThing ; |
57 | - rdfs:label "part of"^^xsd:string ; | 57 | + rdfs:label "has temporal part"^^xsd:string ; |
58 | - rdfs:range ep-core:PhysicalThing ; | 58 | + rdfs:range ep-core:PhysicalThing ; |
59 | - owl:inverseOf ep-core:hasPart . | 59 | + rdfs:subPropertyOf ep-core:hasPart ; |
60 | - | 60 | + owl:inverseOf ep-core:partOf . |
61 | -ep-core:temporalPartOf | 61 | + |
62 | - rdf:type owl:TransitiveProperty ; | 62 | +ep-core:localFieldName |
63 | - rdfs:domain ep-core:PhysicalThing ; | 63 | + rdf:type owl:FunctionalProperty , owl:DatatypeProperty ; |
64 | - rdfs:label "temporal part of"^^xsd:string ; | 64 | + rdfs:label "local field name"^^xsd:string ; |
65 | - rdfs:range ep-core:PhysicalThing ; | 65 | + rdfs:range xsd:string ; |
66 | - rdfs:subPropertyOf ep-core:hasPart ; | 66 | + rdfs:subPropertyOf ep-core:name . |
67 | - owl:inverseOf ep-core:hasTemporalPart . | 67 | + |
68 | +ep-core:name | ||
69 | + rdf:type owl:DatatypeProperty ; | ||
70 | + rdfs:label "name"^^xsd:string ; | ||
71 | + rdfs:range xsd:string . | ||
72 | + | ||
73 | +ep-core:npdCode | ||
74 | + rdf:type owl:FunctionalProperty , owl:DatatypeProperty ; | ||
75 | + rdfs:label "NPD code"^^xsd:string ; | ||
76 | + rdfs:range xsd:string ; | ||
77 | + rdfs:subPropertyOf ep-core:name . | ||
78 | + | ||
79 | +ep-core:npdName | ||
80 | + rdf:type owl:FunctionalProperty , owl:DatatypeProperty ; | ||
81 | + rdfs:label "NPD name"^^xsd:string ; | ||
82 | + rdfs:range xsd:string ; | ||
83 | + rdfs:subPropertyOf ep-core:name . | ||
84 | + | ||
85 | +ep-core:npdNumber | ||
86 | + rdf:type owl:DatatypeProperty , owl:FunctionalProperty ; | ||
87 | + rdfs:label "NPD number"^^xsd:string ; | ||
88 | + rdfs:range xsd:string ; | ||
89 | + rdfs:subPropertyOf ep-core:name . | ||
90 | + | ||
91 | +ep-core:partOf | ||
92 | + rdf:type owl:TransitiveProperty ; | ||
93 | + rdfs:domain ep-core:PhysicalThing ; | ||
94 | + rdfs:label "part of"^^xsd:string ; | ||
95 | + rdfs:range ep-core:PhysicalThing ; | ||
96 | + owl:inverseOf ep-core:hasPart . | ||
97 | + | ||
98 | +ep-core:prospectName | ||
99 | + rdf:type owl:FunctionalProperty , owl:DatatypeProperty ; | ||
100 | + rdfs:label "prospect name"^^xsd:string ; | ||
101 | + rdfs:range xsd:string ; | ||
102 | + rdfs:subPropertyOf ep-core:name . | ||
103 | + | ||
104 | +ep-core:temporalPartOf | ||
105 | + rdf:type owl:TransitiveProperty ; | ||
106 | + rdfs:domain ep-core:PhysicalThing ; | ||
107 | + rdfs:label "temporal part of"^^xsd:string ; | ||
108 | + rdfs:range ep-core:PhysicalThing ; | ||
109 | + rdfs:subPropertyOf ep-core:hasPart ; | ||
110 | + owl:inverseOf ep-core:hasTemporalPart . | ... | ... |
1 | -# baseURI: http://www.reportinghub.no/ep/schema/1.0/facility | 1 | +# Saved by TopBraid on Wed Aug 10 13:32:44 BST 2011 |
2 | -# imports: http://purl.org/dc/elements/1.1/ | 2 | +# baseURI: http://www.reportinghub.no/ep/schema/1.0/facility |
3 | -# imports: http://purl.org/dc/terms/ | 3 | +# imports: http://www.reportinghub.no/ep/schema/1.0/core |
4 | -# imports: http://spinrdf.org/spin | 4 | +# imports: http://purl.org/dc/elements/1.1/ |
5 | -# imports: http://www.reportinghub.no/ep/schema/1.0/core | 5 | +# imports: http://spinrdf.org/spin |
6 | - | 6 | +# imports: http://purl.org/dc/terms/ |
7 | -@prefix ep-fac: <http://www.reportinghub.no/ep/schema/facility#> . | 7 | + |
8 | -@prefix owl: <http://www.w3.org/2002/07/owl#> . | 8 | +@prefix ep-fac: <http://www.reportinghub.no/ep/schema/facility#> . |
9 | -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | 9 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . |
10 | -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | 10 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . |
11 | -@prefix sp: <http://spinrdf.org/sp#> . | 11 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
12 | -@prefix spin: <http://spinrdf.org/spin#> . | 12 | +@prefix sp: <http://spinrdf.org/sp#> . |
13 | -@prefix spl: <http://spinrdf.org/spl#> . | 13 | +@prefix spin: <http://spinrdf.org/spin#> . |
14 | -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | 14 | +@prefix spl: <http://spinrdf.org/spl#> . |
15 | - | 15 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . |
16 | -<http://www.reportinghub.no/ep/schema/1.0/facility> | 16 | + |
17 | - rdf:type owl:Ontology ; | 17 | +<http://www.reportinghub.no/ep/schema/1.0/facility> |
18 | - owl:imports <http://www.reportinghub.no/ep/schema/1.0/core> , <http://spinrdf.org/spin> , <http://purl.org/dc/terms/> , <http://purl.org/dc/elements/1.1/> ; | 18 | + rdf:type owl:Ontology ; |
19 | - owl:versionInfo "0.1.0"^^xsd:string . | 19 | + owl:imports <http://purl.org/dc/elements/1.1/> , <http://purl.org/dc/terms/> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/core> ; |
20 | - | 20 | + owl:versionInfo "0.1.0"^^xsd:string . |
21 | -ep-fac:Facility | 21 | + |
22 | - rdf:type owl:Class ; | 22 | +ep-fac:AllOrPartOfTheLifeOfARig |
23 | - rdfs:label "facility"^^xsd:string ; | 23 | + rdf:type owl:Class ; |
24 | - rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalObject> . | 24 | + rdfs:label "all or part of the life of a rig"^^xsd:string ; |
25 | - | 25 | + rdfs:subClassOf ep-fac:Facility . |
26 | -ep-fac:FixedFacility | 26 | + |
27 | - rdf:type owl:DeprecatedClass ; | 27 | +ep-fac:Facility |
28 | - rdfs:subClassOf ep-fac:Facility . | 28 | + rdf:type owl:Class ; |
29 | - | 29 | + rdfs:label "facility"^^xsd:string ; |
30 | -ep-fac:MoveableFacility | 30 | + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/core#PhysicalObject> . |
31 | - rdf:type owl:Class ; | 31 | + |
32 | - rdfs:subClassOf ep-fac:Facility . | 32 | +ep-fac:FixedFacility |
33 | - | 33 | + rdf:type owl:DeprecatedClass ; |
34 | -ep-fac:Rig | 34 | + rdfs:subClassOf ep-fac:Facility . |
35 | - rdf:type owl:Class ; | 35 | + |
36 | - rdfs:subClassOf ep-fac:Facility . | 36 | +ep-fac:MoveableFacility |
37 | - | 37 | + rdf:type owl:Class ; |
38 | -ep-fac:SubSurfaceFixedFacility | 38 | + rdfs:subClassOf ep-fac:Facility . |
39 | - rdf:type owl:Class ; | 39 | + |
40 | - rdfs:subClassOf ep-fac:FixedFacility . | 40 | +ep-fac:Rig |
41 | - | 41 | + rdf:type owl:Class ; |
42 | -ep-fac:SurfaceFixedFacility | 42 | + rdfs:label "rig"^^xsd:string ; |
43 | - rdf:type owl:Class ; | 43 | + rdfs:subClassOf ep-fac:AllOrPartOfTheLifeOfARig . |
44 | - rdfs:subClassOf ep-fac:FixedFacility . | 44 | + |
45 | +ep-fac:SubSurfaceFixedFacility | ||
46 | + rdf:type owl:Class ; | ||
47 | + rdfs:subClassOf ep-fac:FixedFacility . | ||
48 | + | ||
49 | +ep-fac:SurfaceFixedFacility | ||
50 | + rdf:type owl:Class ; | ||
51 | + rdfs:subClassOf ep-fac:FixedFacility . | ||
52 | + | ||
53 | +ep-fac:TemporalPartOfARig | ||
54 | + rdf:type owl:Class ; | ||
55 | + rdfs:label "temporal part of a rig"^^xsd:string ; | ||
56 | + rdfs:subClassOf ep-fac:AllOrPartOfTheLifeOfARig . | ... | ... |
This diff is collapsed. Click to expand it.
This diff could not be displayed because it is too large.
1 | -# baseURI: null | 1 | +# Saved by TopBraid on Wed Aug 10 13:36:32 BST 2011 |
2 | - | 2 | +# baseURI: null |
3 | -@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . | 3 | + |
4 | -@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> . | 4 | +@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . |
5 | -@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> . | 5 | +@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> . |
6 | -@prefix owl: <http://www.w3.org/2002/07/owl#> . | 6 | +@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> . |
7 | -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | 7 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . |
8 | -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | 8 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . |
9 | -@prefix visual: <http://topbraid.org/visual#> . | 9 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
10 | -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | 10 | +@prefix visual: <http://topbraid.org/visual#> . |
11 | - | 11 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . |
12 | -[] rdf:type inference:Configuration ; | 12 | + |
13 | - composite:child | 13 | +[] rdf:type inference:Configuration ; |
14 | - [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; | 14 | + composite:child |
15 | - composite:index "0"^^xsd:int | 15 | + [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; |
16 | - ] . | 16 | + composite:index "0"^^xsd:int |
17 | + ] . | ... | ... |
This diff is collapsed. Click to expand it.
1 | -# baseURI: null | 1 | +# Saved by TopBraid on Wed Aug 10 11:13:52 BST 2011 |
2 | - | 2 | +# baseURI: null |
3 | -@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . | 3 | + |
4 | -@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> . | 4 | +@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . |
5 | -@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> . | 5 | +@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> . |
6 | -@prefix owl: <http://www.w3.org/2002/07/owl#> . | 6 | +@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> . |
7 | -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | 7 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . |
8 | -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | 8 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . |
9 | -@prefix visual: <http://topbraid.org/visual#> . | 9 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
10 | -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | 10 | +@prefix visual: <http://topbraid.org/visual#> . |
11 | - | 11 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . |
12 | -[] rdf:type inference:Configuration ; | 12 | + |
13 | - composite:child | 13 | +[] rdf:type inference:Configuration ; |
14 | - [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; | 14 | + composite:child |
15 | - <http://spinrdf.org/spin#topSPINOptions> | 15 | + [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; |
16 | - "singlePass" ; | 16 | + <http://spinrdf.org/spin#topSPINOptions> |
17 | - composite:index "0"^^xsd:int | 17 | + "singlePass" ; |
18 | - ] . | 18 | + composite:index "0"^^xsd:int |
19 | + ] . | ... | ... |
1 | -# baseURI: http://www.reportinghub.no/ep/transform/1.1/normalization | 1 | +# Saved by TopBraid on Wed Aug 10 14:09:07 BST 2011 |
2 | -# imports: http://spinrdf.org/spin | 2 | +# baseURI: http://www.reportinghub.no/ep/transform/1.1/normalization |
3 | -# imports: http://www.reportinghub.no/ep/schema/1.0/activity | 3 | +# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/activity |
4 | -# imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose | 4 | +# imports: http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias |
5 | -# imports: http://www.reportinghub.no/ep/schema/1.0/core | 5 | +# imports: http://www.reportinghub.no/ep/transform/1.1/wellboreInfo |
6 | -# imports: http://www.reportinghub.no/ep/schema/1.0/ddr | 6 | +# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport |
7 | -# imports: http://www.reportinghub.no/ep/schema/1.0/equipment | 7 | +# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo |
8 | -# imports: http://www.reportinghub.no/ep/schema/1.0/report | 8 | + |
9 | -# imports: http://www.reportinghub.no/ep/schema/1.0/well | 9 | +@prefix : <http://www.reportinghub.no/ep/transform/1.1/normalization#> . |
10 | -# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/activity | 10 | +@prefix fn: <http://www.w3.org/2005/xpath-functions#> . |
11 | -# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport | 11 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . |
12 | -# imports: http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo | 12 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . |
13 | - | 13 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
14 | -@prefix : <http://www.reportinghub.no/ep/transform/1.1/normalization#> . | 14 | +@prefix smf: <http://topbraid.org/sparqlmotionfunctions#> . |
15 | -@prefix fn: <http://www.w3.org/2005/xpath-functions#> . | 15 | +@prefix sp: <http://spinrdf.org/sp#> . |
16 | -@prefix owl: <http://www.w3.org/2002/07/owl#> . | 16 | +@prefix spin: <http://spinrdf.org/spin#> . |
17 | -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | 17 | +@prefix spl: <http://spinrdf.org/spl#> . |
18 | -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | 18 | +@prefix wellAndWellBoreAlias: <http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias#> . |
19 | -@prefix smf: <http://topbraid.org/sparqlmotionfunctions#> . | 19 | +@prefix wellboreInfo: <http://www.reportinghub.no/ep/transform/1.1/wellboreInfo#> . |
20 | -@prefix sp: <http://spinrdf.org/sp#> . | 20 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . |
21 | -@prefix spin: <http://spinrdf.org/spin#> . | 21 | + |
22 | -@prefix spl: <http://spinrdf.org/spl#> . | 22 | +<http://www.reportinghub.no/ep/transform/1.1/normalization> |
23 | -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | 23 | + rdf:type owl:Ontology ; |
24 | - | 24 | + owl:imports <http://www.reportinghub.no/ep/transform/1.1/wellboreInfo> , <http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo> , <http://www.reportinghub.no/ep/transform/1.1/ddr/activity> , <http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport> , <http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias> ; |
25 | -<http://www.reportinghub.no/ep/transform/1.1/normalization> | 25 | + owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
26 | - rdf:type owl:Ontology ; | 26 | + |
27 | - owl:imports <http://www.reportinghub.no/ep/transform/1.1/ddr/statusInfo> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/report> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/transform/1.1/ddr/activity> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://www.reportinghub.no/ep/transform/1.1/ddr/drillReport> , <http://www.reportinghub.no/ep/schema/1.0/ddr> ; | 27 | +owl:Thing |
28 | - owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 28 | + spin:update |
29 | - | 29 | + [ rdf:type sp:Modify ; |
30 | -owl:Thing | 30 | + sp:deletePattern ([ sp:object _:b1 ; |
31 | - spin:update | 31 | + sp:predicate rdfs:label ; |
32 | - [ rdf:type sp:Modify ; | 32 | + sp:subject _:b2 |
33 | - sp:deletePattern ([ sp:object _:b1 ; | 33 | + ]) ; |
34 | - sp:predicate rdfs:label ; | 34 | + sp:insertPattern ([ sp:object _:b3 ; |
35 | - sp:subject _:b2 | 35 | + sp:predicate rdfs:label ; |
36 | - ]) ; | 36 | + sp:subject _:b2 |
37 | - sp:insertPattern ([ sp:object _:b3 ; | 37 | + ]) ; |
38 | - sp:predicate rdfs:label ; | 38 | + sp:where ([ sp:object _:b2 ; |
39 | - sp:subject _:b2 | 39 | + sp:predicate owl:onProperty ; |
40 | - ]) ; | 40 | + sp:subject |
41 | - sp:where ([ sp:object _:b2 ; | 41 | + [ sp:varName "r"^^xsd:string |
42 | - sp:predicate owl:onProperty ; | 42 | + ] |
43 | - sp:subject | 43 | + ] [ sp:object _:b1 ; |
44 | - [ sp:varName "r"^^xsd:string | 44 | + sp:predicate rdfs:label ; |
45 | - ] | 45 | + sp:subject _:b2 |
46 | - ] [ sp:object _:b1 ; | 46 | + ] [ rdf:type sp:Filter ; |
47 | - sp:predicate rdfs:label ; | 47 | + sp:expression |
48 | - sp:subject _:b2 | 48 | + [ rdf:type fn:starts-with ; |
49 | - ] [ rdf:type sp:Filter ; | 49 | + sp:arg1 _:b1 ; |
50 | - sp:expression | 50 | + sp:arg2 "has" |
51 | - [ rdf:type fn:starts-with ; | 51 | + ] |
52 | - sp:arg1 _:b1 ; | 52 | + ] [ rdf:type sp:Bind ; |
53 | - sp:arg2 "has" | 53 | + sp:expression |
54 | - ] | 54 | + [ rdf:type smf:trim ; |
55 | - ] [ rdf:type sp:Bind ; | 55 | + sp:arg1 [ rdf:type smf:regex ; |
56 | - sp:expression | 56 | + sp:arg1 _:b1 ; |
57 | - [ rdf:type smf:trim ; | 57 | + sp:arg2 "has(.*)" ; |
58 | - sp:arg1 [ rdf:type smf:regex ; | 58 | + sp:arg3 "$1" |
59 | - sp:arg1 _:b1 ; | 59 | + ] |
60 | - sp:arg2 "has(.*)" ; | 60 | + ] ; |
61 | - sp:arg3 "$1" | 61 | + sp:variable _:b3 |
62 | - ] | 62 | + ]) |
63 | - ] ; | 63 | + ] . |
64 | - sp:variable _:b3 | 64 | + |
65 | - ]) | 65 | +_:b1 sp:varName "oldLabel"^^xsd:string . |
66 | - ] . | 66 | + |
67 | - | 67 | +_:b2 sp:varName "p"^^xsd:string . |
68 | -_:b3 sp:varName "newLabel"^^xsd:string . | 68 | + |
69 | - | 69 | +_:b3 sp:varName "newLabel"^^xsd:string . |
70 | -_:b2 sp:varName "p"^^xsd:string . | ||
71 | - | ||
72 | -_:b1 sp:varName "oldLabel"^^xsd:string . | ... | ... |
1 | -# baseURI: null | 1 | +# Saved by TopBraid on Wed Aug 10 14:09:07 BST 2011 |
2 | - | 2 | +# baseURI: null |
3 | -@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . | 3 | + |
4 | -@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> . | 4 | +@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . |
5 | -@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> . | 5 | +@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> . |
6 | -@prefix owl: <http://www.w3.org/2002/07/owl#> . | 6 | +@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> . |
7 | -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | 7 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . |
8 | -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | 8 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . |
9 | -@prefix visual: <http://topbraid.org/visual#> . | 9 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
10 | -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | 10 | +@prefix visual: <http://topbraid.org/visual#> . |
11 | - | 11 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . |
12 | -[] rdf:type inference:Configuration ; | 12 | + |
13 | - composite:child | 13 | +[] rdf:type inference:Configuration ; |
14 | - [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; | 14 | + composite:child |
15 | - <http://spinrdf.org/spin#topSPINOptions> | 15 | + [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; |
16 | - "singlePass" ; | 16 | + <http://spinrdf.org/spin#topSPINOptions> |
17 | - composite:index "0"^^xsd:int | 17 | + "singlePass" ; |
18 | - ] ; | 18 | + composite:index "0"^^xsd:int |
19 | - inference:completeMode | 19 | + ] ; |
20 | - "true"^^xsd:boolean . | 20 | + inference:completeMode |
21 | + "true"^^xsd:boolean . | ... | ... |
This diff is collapsed. Click to expand it.
1 | -# baseURI: null | 1 | +# Saved by TopBraid on Wed Aug 10 18:50:05 PDT 2011 |
2 | - | 2 | +# baseURI: null |
3 | -@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . | 3 | + |
4 | -@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> . | 4 | +@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . |
5 | -@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> . | 5 | +@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> . |
6 | -@prefix owl: <http://www.w3.org/2002/07/owl#> . | 6 | +@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> . |
7 | -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | 7 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . |
8 | -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | 8 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . |
9 | -@prefix visual: <http://topbraid.org/visual#> . | 9 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
10 | -@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | 10 | +@prefix visual: <http://topbraid.org/visual#> . |
11 | - | 11 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . |
12 | -[] rdf:type inference:Configuration ; | 12 | + |
13 | - composite:child | 13 | +[] rdf:type inference:Configuration ; |
14 | - [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; | 14 | + composite:child |
15 | - <http://spinrdf.org/spin#topSPINOptions> | 15 | + [ rdf:type <http://spinrdf.org/spin#TopSPIN> ; |
16 | - "singlePass" ; | 16 | + <http://spinrdf.org/spin#topSPINOptions> |
17 | - composite:index "0"^^xsd:int | 17 | + "singlePass" ; |
18 | - ] ; | 18 | + composite:index "0"^^xsd:int |
19 | - inference:completeMode | 19 | + ] ; |
20 | - "true"^^xsd:boolean . | 20 | + inference:completeMode |
21 | + "true"^^xsd:boolean . | ... | ... |
1 | +# Saved by TopBraid on Wed Aug 10 11:12:10 BST 2011 | ||
2 | +# baseURI: http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias | ||
3 | +# imports: http://www.reportinghub.no/ep/spin/1.1/lib | ||
4 | +# imports: http://www.reportinghub.no/ep/schema/1.0/ddr | ||
5 | +# imports: http://spinrdf.org/spin | ||
6 | + | ||
7 | +@prefix : <http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias#> . | ||
8 | +@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> . | ||
9 | +@prefix fn: <http://www.w3.org/2005/xpath-functions#> . | ||
10 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
11 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
12 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
13 | +@prefix smf: <http://topbraid.org/sparqlmotionfunctions#> . | ||
14 | +@prefix sp: <http://spinrdf.org/sp#> . | ||
15 | +@prefix spin: <http://spinrdf.org/spin#> . | ||
16 | +@prefix spl: <http://spinrdf.org/spl#> . | ||
17 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
18 | + | ||
19 | +<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport> | ||
20 | + spin:rule | ||
21 | + [ rdf:type sp:Construct ; | ||
22 | + rdfs:comment "STEP 151 Transfer WellBore aliases"^^xsd:string ; | ||
23 | + sp:templates ([ sp:object _:b1 ; | ||
24 | + sp:predicate _:b2 ; | ||
25 | + sp:subject _:b3 | ||
26 | + ]) ; | ||
27 | + sp:where ([ sp:object _:b4 ; | ||
28 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
29 | + sp:subject spin:_this | ||
30 | + ] [ sp:object _:b5 ; | ||
31 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
32 | + sp:subject spin:_this | ||
33 | + ] [ sp:object _:b6 ; | ||
34 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#wellboreAlias> ; | ||
35 | + sp:subject spin:_this | ||
36 | + ] [ sp:object _:b1 ; | ||
37 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#name> ; | ||
38 | + sp:subject _:b6 | ||
39 | + ] [ sp:object _:b7 ; | ||
40 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumNamingSystem> ; | ||
41 | + sp:subject _:b6 | ||
42 | + ] [ sp:object _:b8 ; | ||
43 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; | ||
44 | + sp:subject _:b9 | ||
45 | + ] [ sp:object _:b3 ; | ||
46 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
47 | + sp:subject _:b8 | ||
48 | + ] [ rdf:type sp:Bind ; | ||
49 | + sp:expression | ||
50 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
51 | + sp:arg1 _:b4 | ||
52 | + ] ; | ||
53 | + sp:variable _:b10 | ||
54 | + ] [ rdf:type sp:Bind ; | ||
55 | + sp:expression | ||
56 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
57 | + sp:arg1 _:b10 ; | ||
58 | + sp:arg2 _:b5 | ||
59 | + ] ; | ||
60 | + sp:variable _:b9 | ||
61 | + ] [ rdf:type sp:Bind ; | ||
62 | + sp:expression | ||
63 | + [ rdf:type ep-spin-lib:selectLabelOfSystem ; | ||
64 | + sp:arg1 _:b7 | ||
65 | + ] ; | ||
66 | + sp:variable _:b2 | ||
67 | + ]) | ||
68 | + ] ; | ||
69 | + spin:rule | ||
70 | + [ rdf:type sp:Construct ; | ||
71 | + rdfs:comment "STEP 150 Transfer Well aliases"^^xsd:string ; | ||
72 | + sp:templates ([ sp:object _:b11 ; | ||
73 | + sp:predicate _:b12 ; | ||
74 | + sp:subject _:b13 | ||
75 | + ]) ; | ||
76 | + sp:where ([ sp:object _:b14 ; | ||
77 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
78 | + sp:subject spin:_this | ||
79 | + ] [ sp:object _:b15 ; | ||
80 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
81 | + sp:subject spin:_this | ||
82 | + ] [ sp:object _:b16 ; | ||
83 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#wellAlias> ; | ||
84 | + sp:subject spin:_this | ||
85 | + ] [ sp:object _:b11 ; | ||
86 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#name> ; | ||
87 | + sp:subject _:b16 | ||
88 | + ] [ sp:object _:b17 ; | ||
89 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#enumNamingSystem> ; | ||
90 | + sp:subject _:b16 | ||
91 | + ] [ sp:object _:b13 ; | ||
92 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWell> ; | ||
93 | + sp:subject _:b18 | ||
94 | + ] [ rdf:type sp:Bind ; | ||
95 | + sp:expression | ||
96 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
97 | + sp:arg1 _:b14 | ||
98 | + ] ; | ||
99 | + sp:variable _:b19 | ||
100 | + ] [ rdf:type sp:Bind ; | ||
101 | + sp:expression | ||
102 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
103 | + sp:arg1 _:b19 ; | ||
104 | + sp:arg2 _:b15 | ||
105 | + ] ; | ||
106 | + sp:variable _:b18 | ||
107 | + ] [ rdf:type sp:Bind ; | ||
108 | + sp:expression | ||
109 | + [ rdf:type ep-spin-lib:selectLabelOfSystem ; | ||
110 | + sp:arg1 _:b17 | ||
111 | + ] ; | ||
112 | + sp:variable _:b12 | ||
113 | + ]) | ||
114 | + ] . | ||
115 | + | ||
116 | +<http://www.reportinghub.no/ep/transform/1.1/wellAndWellBoreAlias> | ||
117 | + rdf:type owl:Ontology ; | ||
118 | + owl:imports <http://www.reportinghub.no/ep/schema/1.0/ddr> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/spin/1.1/lib> ; | ||
119 | + owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ||
120 | + | ||
121 | +_:b14 | ||
122 | + sp:varName "nameWellBore"^^xsd:string . | ||
123 | + | ||
124 | +_:b15 | ||
125 | + sp:varName "dTimStart"^^xsd:string . | ||
126 | + | ||
127 | +_:b16 | ||
128 | + sp:varName "wellAlias"^^xsd:string . | ||
129 | + | ||
130 | +_:b11 | ||
131 | + sp:varName "name"^^xsd:string . | ||
132 | + | ||
133 | +_:b17 | ||
134 | + sp:varName "namingSystem"^^xsd:string . | ||
135 | + | ||
136 | +_:b18 | ||
137 | + sp:varName "dailyDrillingActivity"^^xsd:string . | ||
138 | + | ||
139 | +_:b13 | ||
140 | + sp:varName "well"^^xsd:string . | ||
141 | + | ||
142 | +_:b19 | ||
143 | + sp:varName "normalizedWellBoreName"^^xsd:string . | ||
144 | + | ||
145 | +_:b12 | ||
146 | + sp:varName "labelOfSystem"^^xsd:string . | ||
147 | + | ||
148 | +_:b4 sp:varName "nameWellBore"^^xsd:string . | ||
149 | + | ||
150 | +_:b5 sp:varName "dTimStart"^^xsd:string . | ||
151 | + | ||
152 | +_:b6 sp:varName "wellBoreAlias"^^xsd:string . | ||
153 | + | ||
154 | +_:b1 sp:varName "name"^^xsd:string . | ||
155 | + | ||
156 | +_:b7 sp:varName "namingSystem"^^xsd:string . | ||
157 | + | ||
158 | +_:b9 sp:varName "dailyDrillingActivity"^^xsd:string . | ||
159 | + | ||
160 | +_:b8 sp:varName "temporalPartOfAWellBore"^^xsd:string . | ||
161 | + | ||
162 | +_:b3 sp:varName "wellBore"^^xsd:string . | ||
163 | + | ||
164 | +_:b10 | ||
165 | + sp:varName "normalizedWellBoreName"^^xsd:string . | ||
166 | + | ||
167 | +_:b2 sp:varName "labelOfSystem"^^xsd:string . | ||
168 | + | ||
169 | +[] rdf:type smf:regex . | ||
170 | + | ||
171 | +[] rdf:type smf:trim . | ||
172 | + | ||
173 | +[] rdf:type fn:starts-with . | ||
174 | + | ||
175 | +[] rdf:type sp:Modify . | ||
176 | + | ||
177 | +([]) . | ||
178 | + | ||
179 | +([]) . | ||
180 | + | ||
181 | +([] [] [ rdf:type sp:Filter | ||
182 | + ] [ rdf:type sp:Bind | ||
183 | + ]) . |
1 | +# Saved by TopBraid on Wed Aug 10 14:05:00 BST 2011 | ||
2 | +# baseURI: http://www.reportinghub.no/ep/transform/1.1/wellboreInfo | ||
3 | +# imports: http://www.reportinghub.no/ep/spin/1.1/lib | ||
4 | +# imports: http://www.reportinghub.no/ep/schema/1.0/ddr | ||
5 | +# imports: http://spinrdf.org/spin | ||
6 | + | ||
7 | +@prefix : <http://www.reportinghub.no/ep/transform/1.1/wellboreInfo#> . | ||
8 | +@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> . | ||
9 | +@prefix fn: <http://www.w3.org/2005/xpath-functions#> . | ||
10 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
11 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
12 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
13 | +@prefix smf: <http://topbraid.org/sparqlmotionfunctions#> . | ||
14 | +@prefix sp: <http://spinrdf.org/sp#> . | ||
15 | +@prefix spin: <http://spinrdf.org/spin#> . | ||
16 | +@prefix spl: <http://spinrdf.org/spl#> . | ||
17 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
18 | + | ||
19 | +<http://www.reportinghub.no/ep/schema/ddr#Obj_drillReport> | ||
20 | + spin:rule | ||
21 | + [ rdf:type sp:Construct ; | ||
22 | + rdfs:comment "STEP 161 Set name for Rig"^^xsd:string ; | ||
23 | + sp:templates ([ sp:object _:b1 ; | ||
24 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#npdName> ; | ||
25 | + sp:subject _:b2 | ||
26 | + ]) ; | ||
27 | + sp:where ([ sp:object _:b3 ; | ||
28 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
29 | + sp:subject spin:_this | ||
30 | + ] [ sp:object _:b4 ; | ||
31 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
32 | + sp:subject spin:_this | ||
33 | + ] [ sp:object _:b5 ; | ||
34 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#wellboreInfo> ; | ||
35 | + sp:subject spin:_this | ||
36 | + ] [ sp:object _:b6 ; | ||
37 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#rigAlias> ; | ||
38 | + sp:subject _:b5 | ||
39 | + ] [ sp:object _:b1 ; | ||
40 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#name> ; | ||
41 | + sp:subject _:b6 | ||
42 | + ] [ sp:object "NPD Name" ; | ||
43 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#namingSystem> ; | ||
44 | + sp:subject _:b6 | ||
45 | + ] [ sp:object _:b7 ; | ||
46 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onRig> ; | ||
47 | + sp:subject _:b8 | ||
48 | + ] [ sp:object _:b2 ; | ||
49 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
50 | + sp:subject _:b7 | ||
51 | + ] [ rdf:type sp:Bind ; | ||
52 | + sp:expression | ||
53 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
54 | + sp:arg1 _:b3 | ||
55 | + ] ; | ||
56 | + sp:variable _:b9 | ||
57 | + ] [ rdf:type sp:Bind ; | ||
58 | + sp:expression | ||
59 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
60 | + sp:arg1 _:b9 ; | ||
61 | + sp:arg2 _:b4 | ||
62 | + ] ; | ||
63 | + sp:variable _:b8 | ||
64 | + ]) | ||
65 | + ] ; | ||
66 | + spin:rule | ||
67 | + [ rdf:type sp:Construct ; | ||
68 | + rdfs:comment "STEP 160 Set rig for drilling activity"^^xsd:string ; | ||
69 | + sp:templates ([ sp:object <http://www.reportinghub.no/ep/schema/facility#TemporalPartOfARig> ; | ||
70 | + sp:predicate rdf:type ; | ||
71 | + sp:subject _:b10 | ||
72 | + ] [ sp:object _:b10 ; | ||
73 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#onRig> ; | ||
74 | + sp:subject _:b11 | ||
75 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/facility#Rig> ; | ||
76 | + sp:predicate rdf:type ; | ||
77 | + sp:subject _:b12 | ||
78 | + ] [ sp:object _:b13 ; | ||
79 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#npdCode> ; | ||
80 | + sp:subject _:b12 | ||
81 | + ] [ sp:object _:b12 ; | ||
82 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | ||
83 | + sp:subject _:b10 | ||
84 | + ]) ; | ||
85 | + sp:where ([ sp:object _:b14 ; | ||
86 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#nameWellbore> ; | ||
87 | + sp:subject spin:_this | ||
88 | + ] [ sp:object _:b15 ; | ||
89 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
90 | + sp:subject spin:_this | ||
91 | + ] [ sp:object _:b16 ; | ||
92 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#dTimStart> ; | ||
93 | + sp:subject spin:_this | ||
94 | + ] [ sp:object _:b17 ; | ||
95 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#wellboreInfo> ; | ||
96 | + sp:subject spin:_this | ||
97 | + ] [ sp:object _:b18 ; | ||
98 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#rigAlias> ; | ||
99 | + sp:subject _:b17 | ||
100 | + ] [ sp:object "NPD Code" ; | ||
101 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#namingSystem> ; | ||
102 | + sp:subject _:b18 | ||
103 | + ] [ sp:object _:b13 ; | ||
104 | + sp:predicate <http://www.reportinghub.no/ep/schema/ddr#name> ; | ||
105 | + sp:subject _:b18 | ||
106 | + ] [ rdf:type sp:Bind ; | ||
107 | + sp:expression | ||
108 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
109 | + sp:arg1 _:b14 | ||
110 | + ] ; | ||
111 | + sp:variable _:b19 | ||
112 | + ] [ rdf:type sp:Bind ; | ||
113 | + sp:expression | ||
114 | + [ rdf:type ep-spin-lib:normalizeString ; | ||
115 | + sp:arg1 _:b13 | ||
116 | + ] ; | ||
117 | + sp:variable _:b20 | ||
118 | + ] [ rdf:type sp:Bind ; | ||
119 | + sp:expression | ||
120 | + [ rdf:type ep-spin-lib:buildDailyDrillingActivityURI ; | ||
121 | + sp:arg1 _:b19 ; | ||
122 | + sp:arg2 _:b15 | ||
123 | + ] ; | ||
124 | + sp:variable _:b11 | ||
125 | + ] [ rdf:type sp:Bind ; | ||
126 | + sp:expression | ||
127 | + [ rdf:type ep-spin-lib:buildRigURI ; | ||
128 | + sp:arg1 _:b20 | ||
129 | + ] ; | ||
130 | + sp:variable _:b12 | ||
131 | + ] [ rdf:type sp:Bind ; | ||
132 | + sp:expression | ||
133 | + [ rdf:type ep-spin-lib:buildTemporalPartOfARigURI ; | ||
134 | + sp:arg1 _:b20 ; | ||
135 | + sp:arg2 _:b15 ; | ||
136 | + sp:arg3 _:b16 | ||
137 | + ] ; | ||
138 | + sp:variable _:b10 | ||
139 | + ]) | ||
140 | + ] . | ||
141 | + | ||
142 | +<http://www.reportinghub.no/ep/transform/1.1/wellboreInfo> | ||
143 | + rdf:type owl:Ontology ; | ||
144 | + owl:imports <http://www.reportinghub.no/ep/schema/1.0/ddr> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/spin/1.1/lib> ; | ||
145 | + owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ||
146 | + | ||
147 | +[] rdf:type smf:regex . | ||
148 | + | ||
149 | +[] rdf:type smf:trim . | ||
150 | + | ||
151 | +[] rdf:type fn:starts-with . | ||
152 | + | ||
153 | +[] rdf:type sp:Modify . | ||
154 | + | ||
155 | +_:b14 | ||
156 | + sp:varName "nameWellBore"^^xsd:string . | ||
157 | + | ||
158 | +_:b15 | ||
159 | + sp:varName "dTimStart"^^xsd:string . | ||
160 | + | ||
161 | +_:b16 | ||
162 | + sp:varName "dTimEnd"^^xsd:string . | ||
163 | + | ||
164 | +_:b17 | ||
165 | + sp:varName "wellboreInfo"^^xsd:string . | ||
166 | + | ||
167 | +_:b18 | ||
168 | + sp:varName "rigAlias"^^xsd:string . | ||
169 | + | ||
170 | +_:b13 | ||
171 | + sp:varName "nameRig"^^xsd:string . | ||
172 | + | ||
173 | +_:b19 | ||
174 | + sp:varName "normalizedWellBoreName"^^xsd:string . | ||
175 | + | ||
176 | +_:b20 | ||
177 | + sp:varName "normalizedRigName"^^xsd:string . | ||
178 | + | ||
179 | +_:b11 | ||
180 | + sp:varName "dailyDrillingActivity"^^xsd:string . | ||
181 | + | ||
182 | +_:b12 | ||
183 | + sp:varName "rig"^^xsd:string . | ||
184 | + | ||
185 | +_:b10 | ||
186 | + sp:varName "temporalPartOfARig"^^xsd:string . | ||
187 | + | ||
188 | +_:b3 sp:varName "nameWellBore"^^xsd:string . | ||
189 | + | ||
190 | +_:b4 sp:varName "dTimStart"^^xsd:string . | ||
191 | + | ||
192 | +_:b5 sp:varName "wellboreInfo"^^xsd:string . | ||
193 | + | ||
194 | +_:b6 sp:varName "rigAlias"^^xsd:string . | ||
195 | + | ||
196 | +_:b1 sp:varName "name"^^xsd:string . | ||
197 | + | ||
198 | +_:b8 sp:varName "dailyDrillingActivity"^^xsd:string . | ||
199 | + | ||
200 | +_:b7 sp:varName "temporalPartOfARig"^^xsd:string . | ||
201 | + | ||
202 | +_:b2 sp:varName "rig"^^xsd:string . | ||
203 | + | ||
204 | +_:b9 sp:varName "normalizedWellBoreName"^^xsd:string . | ||
205 | + | ||
206 | +([] [] [ rdf:type sp:Filter | ||
207 | + ] [ rdf:type sp:Bind | ||
208 | + ]) . | ||
209 | + | ||
210 | +([]) . | ||
211 | + | ||
212 | +([]) . |
-
Please register or login to post a comment