Showing
14 changed files
with
246 additions
and
27 deletions
This diff is collapsed. Click to expand it.
... | @@ -202,6 +202,11 @@ ep-prodact:InitialWellTest | ... | @@ -202,6 +202,11 @@ ep-prodact:InitialWellTest |
202 | rdfs:label "initial"^^xsd:string ; | 202 | rdfs:label "initial"^^xsd:string ; |
203 | rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> . | 203 | rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#WellTest> . |
204 | 204 | ||
205 | +ep-prodact:InjectionWellTest | ||
206 | + rdf:type owl:Class ; | ||
207 | + rdfs:label "injection well test"^^xsd:string ; | ||
208 | + rdfs:subClassOf <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> , <http://www.reportinghub.no/ep/schema/activity#WellTest> . | ||
209 | + | ||
205 | ep-prodact:Injury | 210 | ep-prodact:Injury |
206 | rdf:type ep-prodact:SafetyActivityType , owl:Class ; | 211 | rdf:type ep-prodact:SafetyActivityType , owl:Class ; |
207 | rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . | 212 | rdfs:subClassOf ep-prodact:HealthSafetyAndEnvironmentActivity . |
... | @@ -549,6 +554,12 @@ ep-prodact:standbyVessel | ... | @@ -549,6 +554,12 @@ ep-prodact:standbyVessel |
549 | rdfs:range <http://www.reportinghub.no/ep/schema/production-facility#ShipOrBoat> ; | 554 | rdfs:range <http://www.reportinghub.no/ep/schema/production-facility#ShipOrBoat> ; |
550 | rdfs:subPropertyOf ep-prodact:involvedVessel . | 555 | rdfs:subPropertyOf ep-prodact:involvedVessel . |
551 | 556 | ||
557 | +ep-prodact:testedWellBoreInterval | ||
558 | + rdf:type owl:ObjectProperty , owl:FunctionalProperty ; | ||
559 | + rdfs:domain <http://www.reportinghub.no/ep/schema/activity#WellTest> ; | ||
560 | + rdfs:label "tested wellbore interval"^^xsd:string ; | ||
561 | + rdfs:range ep-core:PhysicalObject . | ||
562 | + | ||
552 | ep-prodact:totalNoOfPermitsIssued | 563 | ep-prodact:totalNoOfPermitsIssued |
553 | rdf:type owl:DatatypeProperty ; | 564 | rdf:type owl:DatatypeProperty ; |
554 | rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ; | 565 | rdfs:domain <http://www.reportinghub.no/ep/schema/activity#ProductionActivity> ; |
... | @@ -564,6 +575,12 @@ ep-prodact:waterSampleTaken | ... | @@ -564,6 +575,12 @@ ep-prodact:waterSampleTaken |
564 | rdfs:domain ep-prodact:WaterCleaningOperation ; | 575 | rdfs:domain ep-prodact:WaterCleaningOperation ; |
565 | rdfs:range ep-prodact:WaterSample . | 576 | rdfs:range ep-prodact:WaterSample . |
566 | 577 | ||
578 | +ep-prodact:wellTestInjectedFluid | ||
579 | + rdf:type owl:FunctionalProperty , owl:ObjectProperty ; | ||
580 | + rdfs:domain ep-prodact:InjectionWellTest ; | ||
581 | + rdfs:label "well test injected fluid"^^xsd:string ; | ||
582 | + rdfs:range <http://www.reportinghub.no/ep/schema/well#Fluid> . | ||
583 | + | ||
567 | ep-prodact:yearlyActivityToDate | 584 | ep-prodact:yearlyActivityToDate |
568 | rdf:type owl:ObjectProperty ; | 585 | rdf:type owl:ObjectProperty ; |
569 | rdfs:domain ep-prodact:ProductionActivityLastingLessThanAYear ; | 586 | rdfs:domain ep-prodact:ProductionActivityLastingLessThanAYear ; | ... | ... |
This diff is collapsed. Click to expand it.
... | @@ -14,46 +14,123 @@ | ... | @@ -14,46 +14,123 @@ |
14 | owl:imports <http://www.reportinghub.no/ep/schema/1.0/well> ; | 14 | owl:imports <http://www.reportinghub.no/ep/schema/1.0/well> ; |
15 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 15 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
16 | 16 | ||
17 | +ep-prodwell:Air | ||
18 | + rdf:type ep-well:FluidComponentType , owl:Class , ep-prodwell:InjectionFluidType ; | ||
19 | + rdfs:label "air"^^xsd:string ; | ||
20 | + rdfs:subClassOf ep-prodwell:NonHcGas . | ||
21 | + | ||
22 | +ep-prodwell:Brine | ||
23 | + rdf:type ep-well:FluidComponentType , owl:Class , ep-prodwell:InjectionFluidType ; | ||
24 | + rdfs:label "brine"^^xsd:string ; | ||
25 | + rdfs:subClassOf ep-well:Water . | ||
26 | + | ||
27 | +ep-prodwell:Co2 | ||
28 | + rdf:type owl:Class , ep-prodwell:InjectionFluidType ; | ||
29 | + rdfs:label "CO2"^^xsd:string ; | ||
30 | + rdfs:subClassOf ep-prodwell:NonHcGas . | ||
31 | + | ||
32 | +ep-prodwell:DryFluid | ||
33 | + rdf:type ep-well:FluidComponentType , owl:Class , ep-prodwell:InjectionFluidType ; | ||
34 | + rdfs:label "dry fluid"^^xsd:string ; | ||
35 | + rdfs:subClassOf ep-well:Fluid . | ||
36 | + | ||
37 | +ep-prodwell:FreshWater | ||
38 | + rdf:type ep-well:FluidComponentType , owl:Class , ep-prodwell:InjectionFluidType ; | ||
39 | + rdfs:label "fresh water"^^xsd:string ; | ||
40 | + rdfs:subClassOf ep-well:Water . | ||
41 | + | ||
42 | +ep-prodwell:GasAndWater | ||
43 | + rdf:type ep-well:FluidComponentType , owl:Class , ep-prodwell:InjectionFluidType ; | ||
44 | + rdfs:label "gas and water"^^xsd:string ; | ||
45 | + rdfs:subClassOf ep-well:Fluid . | ||
46 | + | ||
47 | +ep-prodwell:InjectionFluidType | ||
48 | + rdf:type rdfs:Class ; | ||
49 | + rdfs:label "injection fluid type"^^xsd:string ; | ||
50 | + rdfs:subClassOf owl:Class . | ||
51 | + | ||
17 | ep-prodwell:NaturalGasClass | 52 | ep-prodwell:NaturalGasClass |
18 | rdf:type rdfs:Class ; | 53 | rdf:type rdfs:Class ; |
19 | rdfs:label "natural gas class"^^xsd:string ; | 54 | rdfs:label "natural gas class"^^xsd:string ; |
20 | rdfs:subClassOf owl:Class . | 55 | rdfs:subClassOf owl:Class . |
21 | 56 | ||
57 | +ep-prodwell:NonHcGas | ||
58 | + rdf:type ep-prodwell:InjectionFluidType , owl:Class ; | ||
59 | + rdfs:label "non-HC gas"^^xsd:string ; | ||
60 | + rdfs:subClassOf ep-well:Gas . | ||
61 | + | ||
62 | +ep-prodwell:OilAndGas | ||
63 | + rdf:type ep-prodwell:InjectionFluidType , owl:Class , ep-well:FluidComponentType ; | ||
64 | + rdfs:label "oil and gas"^^xsd:string ; | ||
65 | + rdfs:subClassOf ep-well:Fluid . | ||
66 | + | ||
67 | +ep-prodwell:OilAndWater | ||
68 | + rdf:type ep-prodwell:InjectionFluidType , ep-well:FluidComponentType , owl:Class ; | ||
69 | + rdfs:label "oil and water"^^xsd:string ; | ||
70 | + rdfs:subClassOf ep-well:Fluid . | ||
71 | + | ||
72 | +ep-prodwell:OtherInjectionFluid | ||
73 | + rdf:type ep-well:FluidComponentType , owl:Class , ep-prodwell:InjectionFluidType ; | ||
74 | + rdfs:label "other injection fluid"^^xsd:string ; | ||
75 | + rdfs:subClassOf ep-well:Fluid . | ||
76 | + | ||
22 | ep-prodwell:Sand | 77 | ep-prodwell:Sand |
23 | - rdf:type ep-well:FluidComponentType , owl:Class ; | 78 | + rdf:type owl:Class , ep-well:FluidComponentType ; |
24 | rdfs:label "sand"^^xsd:string ; | 79 | rdfs:label "sand"^^xsd:string ; |
25 | rdfs:subClassOf ep-well:Fluid . | 80 | rdfs:subClassOf ep-well:Fluid . |
26 | 81 | ||
82 | +ep-prodwell:Steam | ||
83 | + rdf:type ep-well:FluidComponentType , owl:Class , ep-prodwell:InjectionFluidType ; | ||
84 | + rdfs:label "steam"^^xsd:string ; | ||
85 | + rdfs:subClassOf ep-prodwell:NonHcGas . | ||
86 | + | ||
87 | +ep-prodwell:UnknownFluid | ||
88 | + rdf:type ep-well:FluidComponentType , owl:Class , ep-prodwell:InjectionFluidType ; | ||
89 | + rdfs:label "unknown fluid"^^xsd:string ; | ||
90 | + rdfs:subClassOf ep-well:Fluid . | ||
91 | + | ||
27 | ep-prodwell:basicSedimentAndWater | 92 | ep-prodwell:basicSedimentAndWater |
28 | - rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ; | 93 | + rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ; |
29 | rdfs:label "basic sediment and water"^^xsd:string ; | 94 | rdfs:label "basic sediment and water"^^xsd:string ; |
30 | rdfs:range ep-core:SpecificVolume . | 95 | rdfs:range ep-core:SpecificVolume . |
31 | 96 | ||
32 | ep-prodwell:condensateYield | 97 | ep-prodwell:condensateYield |
33 | - rdf:type ep-core:Class_of_indirect_property , owl:ObjectProperty , owl:FunctionalProperty ; | 98 | + rdf:type owl:FunctionalProperty , owl:ObjectProperty , ep-core:Class_of_indirect_property ; |
34 | rdfs:label "condensate yield"^^xsd:string ; | 99 | rdfs:label "condensate yield"^^xsd:string ; |
35 | rdfs:range ep-core:SpecificVolume . | 100 | rdfs:range ep-core:SpecificVolume . |
36 | 101 | ||
37 | ep-prodwell:depthOfBaseUsableWaterFromSurface | 102 | ep-prodwell:depthOfBaseUsableWaterFromSurface |
38 | - rdf:type ep-core:Class_of_indirect_property , owl:ObjectProperty , owl:FunctionalProperty ; | 103 | + rdf:type owl:FunctionalProperty , owl:ObjectProperty , ep-core:Class_of_indirect_property ; |
39 | rdfs:domain ep-well:Fluid ; | 104 | rdfs:domain ep-well:Fluid ; |
40 | rdfs:label "depth of base of usable water from surface"^^xsd:string ; | 105 | rdfs:label "depth of base of usable water from surface"^^xsd:string ; |
41 | rdfs:range ep-core:Length . | 106 | rdfs:range ep-core:Length . |
42 | 107 | ||
43 | ep-prodwell:depthOfFluidSurfaceFromTopOfWell | 108 | ep-prodwell:depthOfFluidSurfaceFromTopOfWell |
44 | - rdf:type ep-core:Class_of_indirect_property , owl:ObjectProperty , owl:FunctionalProperty ; | 109 | + rdf:type owl:FunctionalProperty , owl:ObjectProperty , ep-core:Class_of_indirect_property ; |
45 | rdfs:domain ep-well:Fluid ; | 110 | rdfs:domain ep-well:Fluid ; |
46 | rdfs:label "depth of fluid surface from top of well"^^xsd:string ; | 111 | rdfs:label "depth of fluid surface from top of well"^^xsd:string ; |
47 | rdfs:range ep-core:Length . | 112 | rdfs:range ep-core:Length . |
48 | 113 | ||
49 | ep-prodwell:potentialGasProduction | 114 | ep-prodwell:potentialGasProduction |
50 | - rdf:type ep-core:Class_of_indirect_property , owl:ObjectProperty , owl:FunctionalProperty ; | 115 | + rdf:type owl:FunctionalProperty , owl:ObjectProperty , ep-core:Class_of_indirect_property ; |
51 | rdfs:domain ep-well:WellBore ; | 116 | rdfs:domain ep-well:WellBore ; |
52 | rdfs:label "potential gas production"^^xsd:string ; | 117 | rdfs:label "potential gas production"^^xsd:string ; |
53 | rdfs:range ep-core:VolumetricFlowRate . | 118 | rdfs:range ep-core:VolumetricFlowRate . |
54 | 119 | ||
55 | ep-prodwell:potentialOilProduction | 120 | ep-prodwell:potentialOilProduction |
56 | - rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ; | 121 | + rdf:type ep-core:Class_of_indirect_property , owl:FunctionalProperty , owl:ObjectProperty ; |
57 | rdfs:domain ep-well:WellBore ; | 122 | rdfs:domain ep-well:WellBore ; |
58 | rdfs:label "potential oil production"^^xsd:string ; | 123 | rdfs:label "potential oil production"^^xsd:string ; |
59 | rdfs:range ep-core:VolumetricFlowRate . | 124 | rdfs:range ep-core:VolumetricFlowRate . |
125 | + | ||
126 | +ep-well:Condensate | ||
127 | + rdf:type ep-prodwell:InjectionFluidType . | ||
128 | + | ||
129 | +ep-well:Gas | ||
130 | + rdf:type ep-prodwell:InjectionFluidType . | ||
131 | + | ||
132 | +ep-well:Oil | ||
133 | + rdf:type ep-prodwell:InjectionFluidType . | ||
134 | + | ||
135 | +ep-well:Water | ||
136 | + rdf:type ep-prodwell:InjectionFluidType . | ... | ... |
1 | +# baseURI: null | ||
2 | + | ||
3 | +@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> . | ||
4 | +@prefix forms: <http://www.topbraid.org/2007/01/forms.owl#> . | ||
5 | +@prefix inference: <http://www.topbraid.org/2007/06/inference.owl#> . | ||
6 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
7 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
8 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
9 | +@prefix visual: <http://topbraid.org/visual#> . | ||
10 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
11 | + | ||
12 | +owl:ObjectProperty | ||
13 | + forms:keyProperties (rdfs:label rdfs:comment <http://www.reportinghub.no/ep/schema/core#hasPart>) . |
This diff could not be displayed because it is too large.
This diff is collapsed. Click to expand it.
This diff could not be displayed because it is too large.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
... | @@ -144,6 +144,13 @@ log:url | ... | @@ -144,6 +144,13 @@ log:url |
144 | rdfs:label "url"^^xsd:string ; | 144 | rdfs:label "url"^^xsd:string ; |
145 | rdfs:range xsd:string . | 145 | rdfs:range xsd:string . |
146 | 146 | ||
147 | +log:wellBoreName | ||
148 | + rdf:type owl:DatatypeProperty ; | ||
149 | + rdfs:comment "Points to one or more well bore names that had reports uploaded."^^xsd:string ; | ||
150 | + rdfs:domain log:ReportUploadEvent ; | ||
151 | + rdfs:label "well bore name"^^xsd:string ; | ||
152 | + rdfs:range xsd:string . | ||
153 | + | ||
147 | log:xml | 154 | log:xml |
148 | rdf:type owl:DatatypeProperty ; | 155 | rdf:type owl:DatatypeProperty ; |
149 | rdfs:comment "The complete source of the submitted XML document."^^xsd:string ; | 156 | rdfs:comment "The complete source of the submitted XML document."^^xsd:string ; | ... | ... |
... | @@ -21,32 +21,32 @@ sioc:id | ... | @@ -21,32 +21,32 @@ sioc:id |
21 | owl:versionInfo "0.2.0"^^xsd:string . | 21 | owl:versionInfo "0.2.0"^^xsd:string . |
22 | 22 | ||
23 | report:AbstractDR | 23 | report:AbstractDR |
24 | - rdf:type rdfs:Class ; | 24 | + rdf:type owl:Class ; |
25 | rdfs:comment "Abstract base class for various types of daily reports."^^xsd:string ; | 25 | rdfs:comment "Abstract base class for various types of daily reports."^^xsd:string ; |
26 | rdfs:subClassOf foaf:Document ; | 26 | rdfs:subClassOf foaf:Document ; |
27 | rdfs:subClassOf | 27 | rdfs:subClassOf |
28 | [ rdf:type owl:Restriction ; | 28 | [ rdf:type owl:Restriction ; |
29 | - owl:cardinality "1"^^xsd:nonNegativeInteger ; | 29 | + owl:allValuesFrom xsd:string ; |
30 | owl:onProperty sioc:id | 30 | owl:onProperty sioc:id |
31 | ] ; | 31 | ] ; |
32 | rdfs:subClassOf | 32 | rdfs:subClassOf |
33 | [ rdf:type owl:Restriction ; | 33 | [ rdf:type owl:Restriction ; |
34 | owl:cardinality "1"^^xsd:nonNegativeInteger ; | 34 | owl:cardinality "1"^^xsd:nonNegativeInteger ; |
35 | - owl:onProperty <http://purl.org/dc/terms/created> | 35 | + owl:onProperty <http://purl.org/dc/terms/date> |
36 | ] ; | 36 | ] ; |
37 | rdfs:subClassOf | 37 | rdfs:subClassOf |
38 | [ rdf:type owl:Restriction ; | 38 | [ rdf:type owl:Restriction ; |
39 | owl:cardinality "1"^^xsd:nonNegativeInteger ; | 39 | owl:cardinality "1"^^xsd:nonNegativeInteger ; |
40 | - owl:onProperty <http://purl.org/dc/terms/date> | 40 | + owl:onProperty <http://purl.org/dc/terms/created> |
41 | ] ; | 41 | ] ; |
42 | rdfs:subClassOf | 42 | rdfs:subClassOf |
43 | [ rdf:type owl:Restriction ; | 43 | [ rdf:type owl:Restriction ; |
44 | - owl:allValuesFrom xsd:string ; | 44 | + owl:cardinality "1"^^xsd:nonNegativeInteger ; |
45 | owl:onProperty sioc:id | 45 | owl:onProperty sioc:id |
46 | ] . | 46 | ] . |
47 | 47 | ||
48 | report:DDR | 48 | report:DDR |
49 | - rdf:type rdfs:Class ; | 49 | + rdf:type owl:Class ; |
50 | rdfs:comment "The metadata about a Daily Drilling Report."^^xsd:string ; | 50 | rdfs:comment "The metadata about a Daily Drilling Report."^^xsd:string ; |
51 | rdfs:label "DDR"^^xsd:string ; | 51 | rdfs:label "DDR"^^xsd:string ; |
52 | rdfs:subClassOf report:AbstractDR ; | 52 | rdfs:subClassOf report:AbstractDR ; |
... | @@ -54,10 +54,15 @@ report:DDR | ... | @@ -54,10 +54,15 @@ report:DDR |
54 | [ rdf:type owl:Restriction ; | 54 | [ rdf:type owl:Restriction ; |
55 | owl:cardinality "1"^^xsd:nonNegativeInteger ; | 55 | owl:cardinality "1"^^xsd:nonNegativeInteger ; |
56 | owl:onProperty report:wellBoreId | 56 | owl:onProperty report:wellBoreId |
57 | + ] ; | ||
58 | + rdfs:subClassOf | ||
59 | + [ rdf:type owl:Restriction ; | ||
60 | + owl:cardinality "1"^^xsd:nonNegativeInteger ; | ||
61 | + owl:onProperty report:xml | ||
57 | ] . | 62 | ] . |
58 | 63 | ||
59 | report:DPR | 64 | report:DPR |
60 | - rdf:type rdfs:Class ; | 65 | + rdf:type owl:Class ; |
61 | rdfs:comment "The metadata about a Daily Production Report."^^xsd:string ; | 66 | rdfs:comment "The metadata about a Daily Production Report."^^xsd:string ; |
62 | rdfs:label "DPR"^^xsd:string ; | 67 | rdfs:label "DPR"^^xsd:string ; |
63 | rdfs:subClassOf report:AbstractDR ; | 68 | rdfs:subClassOf report:AbstractDR ; |
... | @@ -76,12 +81,18 @@ report:HTMLFormat | ... | @@ -76,12 +81,18 @@ report:HTMLFormat |
76 | rdf:type report:Format ; | 81 | rdf:type report:Format ; |
77 | rdfs:label "HTMLFormat"^^xsd:string . | 82 | rdfs:label "HTMLFormat"^^xsd:string . |
78 | 83 | ||
84 | +report:NPTR | ||
85 | + rdf:type owl:Class ; | ||
86 | + rdfs:comment "Metadata about a Non-Productive Time Report."^^xsd:string ; | ||
87 | + rdfs:label "NPTR"^^xsd:string ; | ||
88 | + rdfs:subClassOf foaf:Document . | ||
89 | + | ||
79 | report:PDFFormat | 90 | report:PDFFormat |
80 | rdf:type report:Format ; | 91 | rdf:type report:Format ; |
81 | rdfs:label "PDFFormat"^^xsd:string . | 92 | rdfs:label "PDFFormat"^^xsd:string . |
82 | 93 | ||
83 | report:WDR | 94 | report:WDR |
84 | - rdf:type rdfs:Class ; | 95 | + rdf:type owl:Class ; |
85 | rdfs:comment "Metadata about a Weekly Drilling Report"^^xsd:string ; | 96 | rdfs:comment "Metadata about a Weekly Drilling Report"^^xsd:string ; |
86 | rdfs:label "WDR"^^xsd:string ; | 97 | rdfs:label "WDR"^^xsd:string ; |
87 | rdfs:subClassOf foaf:Document . | 98 | rdfs:subClassOf foaf:Document . |
... | @@ -107,6 +118,12 @@ report:wellBoreId | ... | @@ -107,6 +118,12 @@ report:wellBoreId |
107 | rdf:type owl:DatatypeProperty ; | 118 | rdf:type owl:DatatypeProperty ; |
108 | rdfs:label "well bore id"^^xsd:string . | 119 | rdfs:label "well bore id"^^xsd:string . |
109 | 120 | ||
121 | +report:xml | ||
122 | + rdf:type owl:DatatypeProperty ; | ||
123 | + rdfs:comment "The XML code of a report."^^xsd:string ; | ||
124 | + rdfs:label "xml"^^xsd:string ; | ||
125 | + rdfs:range xsd:string . | ||
126 | + | ||
110 | foaf:Document | 127 | foaf:Document |
111 | rdf:type rdfs:Class ; | 128 | rdf:type rdfs:Class ; |
112 | rdfs:label "Document"^^xsd:string . | 129 | rdfs:label "Document"^^xsd:string . | ... | ... |
... | @@ -7,6 +7,7 @@ | ... | @@ -7,6 +7,7 @@ |
7 | @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | 7 | @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . |
8 | @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | 8 | @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
9 | @prefix reportspin: <http://www.reportinghub.no/system/spin/reporting#> . | 9 | @prefix reportspin: <http://www.reportinghub.no/system/spin/reporting#> . |
10 | +@prefix rhspin: <http://www.reportinghub.no/spin/rh#> . | ||
10 | @prefix sp: <http://spinrdf.org/sp#> . | 11 | @prefix sp: <http://spinrdf.org/sp#> . |
11 | @prefix spin: <http://spinrdf.org/spin#> . | 12 | @prefix spin: <http://spinrdf.org/spin#> . |
12 | @prefix spl: <http://spinrdf.org/spl#> . | 13 | @prefix spl: <http://spinrdf.org/spl#> . |
... | @@ -38,6 +39,70 @@ | ... | @@ -38,6 +39,70 @@ |
38 | owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/system/schema/reporting> ; | 39 | owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/system/schema/reporting> ; |
39 | owl:versionInfo "0.1.0"^^xsd:string . | 40 | owl:versionInfo "0.1.0"^^xsd:string . |
40 | 41 | ||
42 | +reportspin:DDRsOverview | ||
43 | + rdf:type spin:SelectTemplate ; | ||
44 | + rdfs:label "DDRs overview"^^xsd:string ; | ||
45 | + rdfs:subClassOf spin:SelectTemplates ; | ||
46 | + spin:body | ||
47 | + [ rdf:type sp:Select ; | ||
48 | + sp:orderBy ([ sp:varName "wellBoreName"^^xsd:string | ||
49 | + ] [ sp:varName "date"^^xsd:string | ||
50 | + ] [ sp:varName "created"^^xsd:string | ||
51 | + ]) ; | ||
52 | + sp:resultVariables ([ sp:varName "wellBoreName"^^xsd:string | ||
53 | + ] [ sp:varName "date"^^xsd:string | ||
54 | + ] [ sp:varName "created"^^xsd:string | ||
55 | + ] [ sp:varName "id"^^xsd:string | ||
56 | + ]) ; | ||
57 | + sp:where ([ sp:object | ||
58 | + [ sp:varName "wellBoreId"^^xsd:string | ||
59 | + ] ; | ||
60 | + sp:predicate <http://www.reportinghub.no/system/schema/reporting#wellBoreId> ; | ||
61 | + sp:subject | ||
62 | + [ sp:varName "ddr"^^xsd:string | ||
63 | + ] | ||
64 | + ] [ sp:object | ||
65 | + [ sp:varName "created"^^xsd:string | ||
66 | + ] ; | ||
67 | + sp:predicate <http://purl.org/dc/terms/created> ; | ||
68 | + sp:subject | ||
69 | + [ sp:varName "ddr"^^xsd:string | ||
70 | + ] | ||
71 | + ] [ sp:object | ||
72 | + [ sp:varName "date"^^xsd:string | ||
73 | + ] ; | ||
74 | + sp:predicate <http://purl.org/dc/terms/date> ; | ||
75 | + sp:subject | ||
76 | + [ sp:varName "ddr"^^xsd:string | ||
77 | + ] | ||
78 | + ] [ sp:object | ||
79 | + [ sp:varName "id"^^xsd:string | ||
80 | + ] ; | ||
81 | + sp:predicate <http://rdfs.org/sioc/ns#id> ; | ||
82 | + sp:subject | ||
83 | + [ sp:varName "ddr"^^xsd:string | ||
84 | + ] | ||
85 | + ] [ rdf:type sp:Bind ; | ||
86 | + sp:expression | ||
87 | + [ rdf:type rhspin:wellBoreById ; | ||
88 | + sp:arg1 [ sp:varName "wellBoreId"^^xsd:string | ||
89 | + ] | ||
90 | + ] ; | ||
91 | + sp:variable | ||
92 | + [ sp:varName "wellBore"^^xsd:string | ||
93 | + ] | ||
94 | + ] [ rdf:type sp:Bind ; | ||
95 | + sp:expression | ||
96 | + [ rdf:type rhspin:npdName ; | ||
97 | + sp:arg1 [ sp:varName "wellBore"^^xsd:string | ||
98 | + ] | ||
99 | + ] ; | ||
100 | + sp:variable | ||
101 | + [ sp:varName "wellBoreName"^^xsd:string | ||
102 | + ] | ||
103 | + ]) | ||
104 | + ] . | ||
105 | + | ||
41 | reportspin:graphByDDRId | 106 | reportspin:graphByDDRId |
42 | rdf:type spin:Function ; | 107 | rdf:type spin:Function ; |
43 | rdfs:comment "Gets the URI of the named graph containing the triples submitted by a report:DDR (metadata) with a given id."^^xsd:string ; | 108 | rdfs:comment "Gets the URI of the named graph containing the triples submitted by a report:DDR (metadata) with a given id."^^xsd:string ; |
... | @@ -146,16 +211,16 @@ reportspin:idOfDDRByDateAndWellBoreId | ... | @@ -146,16 +211,16 @@ reportspin:idOfDDRByDateAndWellBoreId |
146 | ] ; | 211 | ] ; |
147 | spin:constraint | 212 | spin:constraint |
148 | [ rdf:type spl:Argument ; | 213 | [ rdf:type spl:Argument ; |
149 | - rdfs:comment "The id of the well bore."^^xsd:string ; | ||
150 | - spl:predicate <http://spinrdf.org/arg#wellBoreId> ; | ||
151 | - spl:valueType xsd:string | ||
152 | - ] ; | ||
153 | - spin:constraint | ||
154 | - [ rdf:type spl:Argument ; | ||
155 | rdfs:comment "The date of the DDR (not the submission date, but the start date of the report)."^^xsd:string ; | 214 | rdfs:comment "The date of the DDR (not the submission date, but the start date of the report)."^^xsd:string ; |
156 | spl:predicate <http://spinrdf.org/arg#date> ; | 215 | spl:predicate <http://spinrdf.org/arg#date> ; |
157 | spl:valueType xsd:date | 216 | spl:valueType xsd:date |
158 | ] ; | 217 | ] ; |
218 | + spin:constraint | ||
219 | + [ rdf:type spl:Argument ; | ||
220 | + rdfs:comment "The id of the well bore."^^xsd:string ; | ||
221 | + spl:predicate <http://spinrdf.org/arg#wellBoreId> ; | ||
222 | + spl:valueType xsd:string | ||
223 | + ] ; | ||
159 | spin:returnType xsd:string . | 224 | spin:returnType xsd:string . |
160 | 225 | ||
161 | reportspin:idOfDPRByDateAndOwner | 226 | reportspin:idOfDPRByDateAndOwner |
... | @@ -204,14 +269,14 @@ reportspin:idOfDPRByDateAndOwner | ... | @@ -204,14 +269,14 @@ reportspin:idOfDPRByDateAndOwner |
204 | ] ; | 269 | ] ; |
205 | spin:constraint | 270 | spin:constraint |
206 | [ rdf:type spl:Argument ; | 271 | [ rdf:type spl:Argument ; |
207 | - rdfs:comment "The date of the DDR (not the submission date, but the start date of the report)."^^xsd:string ; | ||
208 | - spl:predicate <http://spinrdf.org/arg#date> ; | ||
209 | - spl:valueType xsd:date | ||
210 | - ] ; | ||
211 | - spin:constraint | ||
212 | - [ rdf:type spl:Argument ; | ||
213 | rdfs:comment "The Licence or BAA."^^xsd:string ; | 272 | rdfs:comment "The Licence or BAA."^^xsd:string ; |
214 | spl:predicate <http://spinrdf.org/arg#owner> ; | 273 | spl:predicate <http://spinrdf.org/arg#owner> ; |
215 | spl:valueType <http://www.reportinghub.no/np/schema/npd#Owner> | 274 | spl:valueType <http://www.reportinghub.no/np/schema/npd#Owner> |
216 | ] ; | 275 | ] ; |
276 | + spin:constraint | ||
277 | + [ rdf:type spl:Argument ; | ||
278 | + rdfs:comment "The date of the DDR (not the submission date, but the start date of the report)."^^xsd:string ; | ||
279 | + spl:predicate <http://spinrdf.org/arg#date> ; | ||
280 | + spl:valueType xsd:date | ||
281 | + ] ; | ||
217 | spin:returnType xsd:string . | 282 | spin:returnType xsd:string . | ... | ... |
... | @@ -11,6 +11,7 @@ | ... | @@ -11,6 +11,7 @@ |
11 | @prefix sp: <http://spinrdf.org/sp#> . | 11 | @prefix sp: <http://spinrdf.org/sp#> . |
12 | @prefix spin: <http://spinrdf.org/spin#> . | 12 | @prefix spin: <http://spinrdf.org/spin#> . |
13 | @prefix spl: <http://spinrdf.org/spl#> . | 13 | @prefix spl: <http://spinrdf.org/spl#> . |
14 | +@prefix tui: <http://uispin.org/tui#> . | ||
14 | @prefix ui: <http://uispin.org/ui#> . | 15 | @prefix ui: <http://uispin.org/ui#> . |
15 | @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | 16 | @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . |
16 | 17 | ||
... | @@ -109,6 +110,28 @@ | ... | @@ -109,6 +110,28 @@ |
109 | ] | 110 | ] |
110 | ] | 111 | ] |
111 | ] ; | 112 | ] ; |
113 | + ui:child | ||
114 | + [ rdf:type ui:TextNode ; | ||
115 | + ui:childIndex 1 ; | ||
116 | + ui:text " "^^xsd:string | ||
117 | + ] ; | ||
118 | + ui:child | ||
119 | + [ rdf:type tui:LabelList ; | ||
120 | + ui:childIndex 2 ; | ||
121 | + ui:resultSet | ||
122 | + [ rdf:type sp:Select ; | ||
123 | + sp:orderBy ([ sp:varName "wellBoreName"^^xsd:string | ||
124 | + ]) ; | ||
125 | + sp:resultVariables ([ sp:varName "wellBoreName"^^xsd:string | ||
126 | + ]) ; | ||
127 | + sp:where ([ sp:object | ||
128 | + [ sp:varName "wellBoreName"^^xsd:string | ||
129 | + ] ; | ||
130 | + sp:predicate <http://www.reportinghub.no/system/schema/logging#wellBoreName> ; | ||
131 | + sp:subject spin:_this | ||
132 | + ]) | ||
133 | + ] | ||
134 | + ] ; | ||
112 | ui:id "comments"^^xsd:string | 135 | ui:id "comments"^^xsd:string |
113 | ] . | 136 | ] . |
114 | 137 | ... | ... |
-
Please register or login to post a comment