Showing
19 changed files
with
306 additions
and
58 deletions
| 1 | # Saved by TopBraid on Sun Aug 14 20:44:58 BST 2011 | 1 | # Saved by TopBraid on Sun Aug 14 20:44:58 BST 2011 |
| 2 | -# baseURI: http://www.reportinghub.no/ep/schema/extract/EXTRACT_ddr-DailyDrillingActivityPurposeType-(v1.1) | 2 | +# baseURI: http://www.reportinghub.no/ep/schema/extract/EXTRACT_ddr-EquipmentType-(v1.1) |
| 3 | # imports: http://www.reportinghub.no/ep/spin/1.1/lib | 3 | # imports: http://www.reportinghub.no/ep/spin/1.1/lib |
| 4 | # imports: http://www.reportinghub.no/ep/schema/1.0/equipment | 4 | # imports: http://www.reportinghub.no/ep/schema/1.0/equipment |
| 5 | # imports: http://www.reportinghub.no/ep/schema/1.0/ddr | 5 | # imports: http://www.reportinghub.no/ep/schema/1.0/ddr |
| 6 | -# imports: http://www.reportinghub.no/ep/schema/drilling-equipment-type | 6 | +# imports: http://www.reportinghub.no/ep/schema/1.0/drilling-equipment-type |
| 7 | # imports: http://spinrdf.org/spin | 7 | # imports: http://spinrdf.org/spin |
| 8 | 8 | ||
| 9 | -@prefix : <http://www.reportinghub.no/ep/schema/extract/EXTRACT_ddr-DailyDrillingActivityPurposeType-(v1.1)#> . | 9 | +@prefix : <http://www.reportinghub.no/ep/schema/extract/EXTRACT_ddr-EquipmentType-(v1.1)#> . |
| 10 | @prefix dc: <http://purl.org/dc/elements/1.1/> . | 10 | @prefix dc: <http://purl.org/dc/elements/1.1/> . |
| 11 | @prefix ep-drill-eqt-type: <http://www.reportinghub.no/ep/schema/drilling-equipment-type#> . | 11 | @prefix ep-drill-eqt-type: <http://www.reportinghub.no/ep/schema/drilling-equipment-type#> . |
| 12 | @prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> . | 12 | @prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> . |
| ... | @@ -50,9 +50,9 @@ | ... | @@ -50,9 +50,9 @@ |
| 50 | ]) | 50 | ]) |
| 51 | ] . | 51 | ] . |
| 52 | 52 | ||
| 53 | -<http://www.reportinghub.no/ep/schema/extract/EXTRACT_ddr-DailyDrillingActivityPurposeType-(v1.1)> | 53 | +<http://www.reportinghub.no/ep/schema/extract/EXTRACT_ddr-EquipmentType-(v1.1)> |
| 54 | rdf:type owl:Ontology ; | 54 | rdf:type owl:Ontology ; |
| 55 | - owl:imports <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/ddr> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/drilling-equipment-type> ; | 55 | + owl:imports <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/ddr> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/drilling-equipment-type> ; |
| 56 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 56 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
| 57 | 57 | ||
| 58 | _:b1 sp:varName "equipmentType"^^xsd:string . | 58 | _:b1 sp:varName "equipmentType"^^xsd:string . | ... | ... |
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
| 1 | -# Saved by TopBraid on Sat Oct 08 14:16:19 BST 2011 | 1 | +# baseURI: http://www.reportinghub.no/ep/schema/1.0/production-well |
| 2 | -# baseURI: http://www.reportinghub.no/ep/schema/1.0/production-well | 2 | +# imports: http://www.reportinghub.no/ep/schema/1.0/well |
| 3 | -# imports: http://www.reportinghub.no/ep/schema/1.0/well | 3 | + |
| 4 | - | 4 | +@prefix ep-core: <http://www.reportinghub.no/ep/schema/core#> . |
| 5 | -@prefix ep-prodwell: <http://www.reportinghub.no/ep/schema/production-well#> . | 5 | +@prefix ep-prodwell: <http://www.reportinghub.no/ep/schema/production-well#> . |
| 6 | -@prefix owl: <http://www.w3.org/2002/07/owl#> . | 6 | +@prefix ep-well: <http://www.reportinghub.no/ep/schema/well#> . |
| 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/production-well> | 11 | + |
| 12 | - rdf:type owl:Ontology ; | 12 | +<http://www.reportinghub.no/ep/schema/1.0/production-well> |
| 13 | - owl:imports <http://www.reportinghub.no/ep/schema/1.0/well> ; | 13 | + rdf:type owl:Ontology ; |
| 14 | - owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 14 | + owl:imports <http://www.reportinghub.no/ep/schema/1.0/well> ; |
| 15 | + owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ||
| 16 | + | ||
| 17 | +ep-prodwell:NaturalGasClass | ||
| 18 | + rdf:type rdfs:Class ; | ||
| 19 | + rdfs:label "natural gas class"^^xsd:string ; | ||
| 20 | + rdfs:subClassOf owl:Class . | ||
| 21 | + | ||
| 22 | +ep-prodwell:Sand | ||
| 23 | + rdf:type ep-well:FluidComponentType , owl:Class ; | ||
| 24 | + rdfs:label "sand"^^xsd:string ; | ||
| 25 | + rdfs:subClassOf ep-well:Fluid . | ||
| 26 | + | ||
| 27 | +ep-prodwell:basicSedimentAndWater | ||
| 28 | + rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ; | ||
| 29 | + rdfs:label "basic sediment and water"^^xsd:string ; | ||
| 30 | + rdfs:range ep-core:SpecificVolume . | ||
| 31 | + | ||
| 32 | +ep-prodwell:condensateYield | ||
| 33 | + rdf:type ep-core:Class_of_indirect_property , owl:ObjectProperty , owl:FunctionalProperty ; | ||
| 34 | + rdfs:label "condensate yield"^^xsd:string ; | ||
| 35 | + rdfs:range ep-core:SpecificVolume . | ||
| 36 | + | ||
| 37 | +ep-prodwell:depthOfBaseUsableWaterFromSurface | ||
| 38 | + rdf:type ep-core:Class_of_indirect_property , owl:ObjectProperty , owl:FunctionalProperty ; | ||
| 39 | + rdfs:domain ep-well:Fluid ; | ||
| 40 | + rdfs:label "depth of base of usable water from surface"^^xsd:string ; | ||
| 41 | + rdfs:range ep-core:Length . | ||
| 42 | + | ||
| 43 | +ep-prodwell:depthOfFluidSurfaceFromTopOfWell | ||
| 44 | + rdf:type ep-core:Class_of_indirect_property , owl:ObjectProperty , owl:FunctionalProperty ; | ||
| 45 | + rdfs:domain ep-well:Fluid ; | ||
| 46 | + rdfs:label "depth of fluid surface from top of well"^^xsd:string ; | ||
| 47 | + rdfs:range ep-core:Length . | ||
| 48 | + | ||
| 49 | +ep-prodwell:potentialGasProduction | ||
| 50 | + rdf:type ep-core:Class_of_indirect_property , owl:ObjectProperty , owl:FunctionalProperty ; | ||
| 51 | + rdfs:domain ep-well:WellBore ; | ||
| 52 | + rdfs:label "potential gas production"^^xsd:string ; | ||
| 53 | + rdfs:range ep-core:VolumetricFlowRate . | ||
| 54 | + | ||
| 55 | +ep-prodwell:potentialOilProduction | ||
| 56 | + rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ; | ||
| 57 | + rdfs:domain ep-well:WellBore ; | ||
| 58 | + rdfs:label "potential oil production"^^xsd:string ; | ||
| 59 | + rdfs:range ep-core:VolumetricFlowRate . | ... | ... |
| 1 | -# baseURI: http://www.reportinghub.no/ep/spin/wdr-tables | 1 | +# baseURI: http://www.reportinghub.no/ep/spin/drilling-tables |
| 2 | # imports: http://spinrdf.org/spin | 2 | # imports: http://spinrdf.org/spin |
| 3 | # imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose | 3 | # imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose |
| 4 | # imports: http://www.reportinghub.no/ep/schema/1.0/ddr | 4 | # imports: http://www.reportinghub.no/ep/schema/1.0/ddr |
| 5 | # imports: http://www.reportinghub.no/spin/rh | 5 | # imports: http://www.reportinghub.no/spin/rh |
| 6 | 6 | ||
| 7 | @prefix arg: <http://spinrdf.org/arg#> . | 7 | @prefix arg: <http://spinrdf.org/arg#> . |
| 8 | +@prefix drilling-tables: <http://www.reportinghub.no/ep/spin/drilling-tables#> . | ||
| 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#> . |
| ... | @@ -13,16 +14,15 @@ | ... | @@ -13,16 +14,15 @@ |
| 13 | @prefix spif: <http://spinrdf.org/spif#> . | 14 | @prefix spif: <http://spinrdf.org/spif#> . |
| 14 | @prefix spin: <http://spinrdf.org/spin#> . | 15 | @prefix spin: <http://spinrdf.org/spin#> . |
| 15 | @prefix spl: <http://spinrdf.org/spl#> . | 16 | @prefix spl: <http://spinrdf.org/spl#> . |
| 16 | -@prefix wdr-tables: <http://www.reportinghub.no/ep/spin/wdr-tables#> . | ||
| 17 | @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | 17 | @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . |
| 18 | 18 | ||
| 19 | -<http://www.reportinghub.no/ep/spin/wdr-tables> | 19 | +<http://www.reportinghub.no/ep/spin/drilling-tables> |
| 20 | rdf:type owl:Ontology ; | 20 | rdf:type owl:Ontology ; |
| 21 | rdfs:comment "A collection of SELECT templates that can be used to assemble tables in DD reports."^^xsd:string ; | 21 | rdfs:comment "A collection of SELECT templates that can be used to assemble tables in DD reports."^^xsd:string ; |
| 22 | - owl:imports <http://www.reportinghub.no/spin/rh> , <http://www.reportinghub.no/ep/schema/1.0/ddr> , <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://spinrdf.org/spin> ; | 22 | + owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://www.reportinghub.no/ep/schema/1.0/ddr> , <http://www.reportinghub.no/spin/rh> ; |
| 23 | owl:versionInfo "0.1.0"^^xsd:string . | 23 | owl:versionInfo "0.1.0"^^xsd:string . |
| 24 | 24 | ||
| 25 | -wdr-tables:DailyAndForecastComments | 25 | +drilling-tables:DailyAndForecastComments |
| 26 | rdf:type rhspin:TableTemplate ; | 26 | rdf:type rhspin:TableTemplate ; |
| 27 | rdfs:label "Daily and Forecast Comments"^^xsd:string ; | 27 | rdfs:label "Daily and Forecast Comments"^^xsd:string ; |
| 28 | rdfs:subClassOf rhspin:WDRTableTemplates ; | 28 | rdfs:subClassOf rhspin:WDRTableTemplates ; |
| ... | @@ -122,7 +122,7 @@ wdr-tables:DailyAndForecastComments | ... | @@ -122,7 +122,7 @@ wdr-tables:DailyAndForecastComments |
| 122 | ] ; | 122 | ] ; |
| 123 | rhspin:tableHeaders ("Day"^^xsd:string "Daily Summary"^^xsd:string "Next Day Forecast"^^xsd:string) . | 123 | rhspin:tableHeaders ("Day"^^xsd:string "Daily Summary"^^xsd:string "Next Day Forecast"^^xsd:string) . |
| 124 | 124 | ||
| 125 | -wdr-tables:MissedProduction | 125 | +drilling-tables:MissedProduction |
| 126 | rdf:type rhspin:TableTemplate ; | 126 | rdf:type rhspin:TableTemplate ; |
| 127 | rdfs:label "Non Productive Time"^^xsd:string ; | 127 | rdfs:label "Non Productive Time"^^xsd:string ; |
| 128 | rdfs:subClassOf rhspin:WDRTableTemplates ; | 128 | rdfs:subClassOf rhspin:WDRTableTemplates ; |
| ... | @@ -241,7 +241,7 @@ wdr-tables:MissedProduction | ... | @@ -241,7 +241,7 @@ wdr-tables:MissedProduction |
| 241 | ] ; | 241 | ] ; |
| 242 | rhspin:tableHeaders ("Day"^^xsd:string "Start Time"^^xsd:string "Duration Minutes"^^xsd:string "Comment"^^xsd:string) . | 242 | rhspin:tableHeaders ("Day"^^xsd:string "Start Time"^^xsd:string "Duration Minutes"^^xsd:string "Comment"^^xsd:string) . |
| 243 | 243 | ||
| 244 | -wdr-tables:Test | 244 | +drilling-tables:Test |
| 245 | rdf:type rhspin:TableTemplate ; | 245 | rdf:type rhspin:TableTemplate ; |
| 246 | rdfs:label "Test Table"^^xsd:string ; | 246 | rdfs:label "Test Table"^^xsd:string ; |
| 247 | rdfs:subClassOf rhspin:WDRTableTemplates ; | 247 | rdfs:subClassOf rhspin:WDRTableTemplates ; | ... | ... |
This diff could not be displayed because it is too large.
| 1 | -# Saved by TopBraid on Tue Oct 25 15:20:37 BST 2011 | ||
| 2 | # baseURI: http://www.reportinghub.no/ep/transform/1.0/dpr/collector | 1 | # baseURI: http://www.reportinghub.no/ep/transform/1.0/dpr/collector |
| 2 | +# imports: http://spinrdf.org/spin | ||
| 3 | +# imports: http://www.reportinghub.no/ep/schema/1.0/production | ||
| 3 | # imports: http://www.reportinghub.no/ep/transform/1.0/dpr/productVolume | 4 | # imports: http://www.reportinghub.no/ep/transform/1.0/dpr/productVolume |
| 4 | # imports: http://www.reportinghub.no/ep/transform/1.0/dpr/productionOperations | 5 | # imports: http://www.reportinghub.no/ep/transform/1.0/dpr/productionOperations |
| 5 | -# imports: http://www.reportinghub.no/ep/schema/1.0/production | 6 | +# imports: http://www.reportinghub.no/ep/transform/1.0/dpr/productionTestResults |
| 6 | -# imports: http://spinrdf.org/spin | ||
| 7 | # imports: http://www.reportinghub.no/ep/transform/1.0/dpr/wellTest | 7 | # imports: http://www.reportinghub.no/ep/transform/1.0/dpr/wellTest |
| 8 | 8 | ||
| 9 | @prefix owl: <http://www.w3.org/2002/07/owl#> . | 9 | @prefix owl: <http://www.w3.org/2002/07/owl#> . |
| 10 | @prefix productVolume: <http://www.reportinghub.no/ep/transform/1.0/dpr/productVolume#> . | 10 | @prefix productVolume: <http://www.reportinghub.no/ep/transform/1.0/dpr/productVolume#> . |
| 11 | @prefix productionOperations: <http://www.reportinghub.no/ep/transform/1.0/dpr/productionOperations#> . | 11 | @prefix productionOperations: <http://www.reportinghub.no/ep/transform/1.0/dpr/productionOperations#> . |
| 12 | +@prefix productionTestResults: <http://www.reportinghub.no/ep/transform/1.0/dpr/productionTestResults#> . | ||
| 12 | @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | 13 | @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . |
| 13 | @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | 14 | @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
| 14 | @prefix sp: <http://spinrdf.org/sp#> . | 15 | @prefix sp: <http://spinrdf.org/sp#> . |
| ... | @@ -19,5 +20,5 @@ | ... | @@ -19,5 +20,5 @@ |
| 19 | 20 | ||
| 20 | <http://www.reportinghub.no/ep/transform/1.0/dpr/collector> | 21 | <http://www.reportinghub.no/ep/transform/1.0/dpr/collector> |
| 21 | rdf:type owl:Ontology ; | 22 | rdf:type owl:Ontology ; |
| 22 | - owl:imports <http://www.reportinghub.no/ep/schema/1.0/production> , <http://www.reportinghub.no/ep/transform/1.0/dpr/productVolume> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/1.0/dpr/wellTest> , <http://www.reportinghub.no/ep/transform/1.0/dpr/productionOperations> ; | 23 | + owl:imports <http://www.reportinghub.no/ep/transform/1.0/dpr/productionTestResults> , <http://www.reportinghub.no/ep/transform/1.0/dpr/productionOperations> , <http://www.reportinghub.no/ep/transform/1.0/dpr/wellTest> , <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/transform/1.0/dpr/productVolume> , <http://www.reportinghub.no/ep/schema/1.0/production> ; |
| 23 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 24 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | ... | ... |
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
www.reportinghub.no/swp/NPTTable.uispin.html
0 → 100644
| 1 | +<div> | ||
| 2 | + <hr /> | ||
| 3 | + <ui:setContext ui:queryGraph="<http://www.reportinghub.no/ep/spin/drilling-tables>"> | ||
| 4 | + <h2>{= ui:label(?template) }</h2> | ||
| 5 | + </ui:setContext> | ||
| 6 | + <table class="ddrTable"> | ||
| 7 | + <ui:setContext ui:queryGraph="<http://www.reportinghub.no/ep/spin/drilling-tables>"> | ||
| 8 | + <tr class="ddrTR"> | ||
| 9 | + <ui:forEach ui:resultSet="{# | ||
| 10 | + SELECT ?header | ||
| 11 | + WHERE { | ||
| 12 | + ?template rhspin:tableHeaders ?list . | ||
| 13 | + ?list <http://jena.hpl.hp.com/ARQ/list#member> ?header . | ||
| 14 | + } | ||
| 15 | + }"> | ||
| 16 | + <th class="ddrTH">{= ?header }</th> | ||
| 17 | + </ui:forEach> | ||
| 18 | + </tr> | ||
| 19 | + </ui:setContext> | ||
| 20 | + <ui:call ui:template="{= ?template }" arg:startDate="{= ?startDate }" arg:wellBore="{= ?wellBore }"> | ||
| 21 | + <ui:forEach ui:resultSet="{# SELECT ?row ?rowIndex WHERE { ?rs spr:rowIndices ?rowIndex } }"> | ||
| 22 | + <tr class="ddrTR"> | ||
| 23 | + <ui:forEach ui:resultSet="{# SELECT ?cell WHERE { (?rs ?rowIndex) spr:rowCells (?cell ?cellIndex) } }"> | ||
| 24 | + <td class="ddrTD">{= ui:label(?cell) }</td> | ||
| 25 | + </ui:forEach> | ||
| 26 | + </tr> | ||
| 27 | + </ui:forEach> | ||
| 28 | + </ui:call> | ||
| 29 | + </table> | ||
| 30 | + <br /> | ||
| 31 | +</div> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | +<ui:group> | ||
| 2 | + <ui:group > | ||
| 3 | + <h1>Non Productive Time Report</h1> | ||
| 4 | + <h2>Wellbore : {= rhspin:npdName(?wellBore) }</h2> | ||
| 5 | + <h2>Start Date : {= ?startDate }</h2> | ||
| 6 | + <hr /> | ||
| 7 | + | ||
| 8 | + <wdrswp:Table arg:startDate="{= ?startDate }" arg:wellBore="{= ?wellBore }" arg:template="drilling-tables:MissedProduction" /> | ||
| 9 | + | ||
| 10 | + </ui:group> | ||
| 11 | +</ui:group> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
www.reportinghub.no/swp/SWP_npt.ui.ttl
0 → 100644
| 1 | +# baseURI: http://www.reportinghub.no/swp/npt | ||
| 2 | +# imports: http://uispin.org/tui | ||
| 3 | +# imports: http://www.reportinghub.no/ep/schema/1.0/activity | ||
| 4 | +# imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose | ||
| 5 | +# imports: http://www.reportinghub.no/ep/schema/1.0/core | ||
| 6 | +# imports: http://www.reportinghub.no/ep/schema/1.0/ddr | ||
| 7 | +# imports: http://www.reportinghub.no/ep/schema/1.0/equipment | ||
| 8 | +# imports: http://www.reportinghub.no/ep/schema/1.0/facility | ||
| 9 | +# imports: http://www.reportinghub.no/ep/schema/1.0/organization | ||
| 10 | +# imports: http://www.reportinghub.no/ep/schema/1.0/report | ||
| 11 | +# imports: http://www.reportinghub.no/ep/schema/1.0/well | ||
| 12 | +# imports: http://www.reportinghub.no/ep/spin/drilling-tables | ||
| 13 | +# imports: http://www.reportinghub.no/spin/rh | ||
| 14 | + | ||
| 15 | +@prefix arg: <http://spinrdf.org/arg#> . | ||
| 16 | +@prefix ep-well: <http://www.reportinghub.no/ep/schema/well#> . | ||
| 17 | +@prefix html: <http://uispin.org/html#> . | ||
| 18 | +@prefix let: <http://uispin.org/let#> . | ||
| 19 | +@prefix letrs: <http://uispin.org/letrs#> . | ||
| 20 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . | ||
| 21 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
| 22 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
| 23 | +@prefix sp: <http://spinrdf.org/sp#> . | ||
| 24 | +@prefix spin: <http://spinrdf.org/spin#> . | ||
| 25 | +@prefix spl: <http://spinrdf.org/spl#> . | ||
| 26 | +@prefix ui: <http://uispin.org/ui#> . | ||
| 27 | +@prefix nptswp: <http://www.reportinghub.no/swp/npt#> . | ||
| 28 | +@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
| 29 | + | ||
| 30 | +arg:startDate | ||
| 31 | + rdf:type rdf:Property ; | ||
| 32 | + rdfs:label "startDate"^^xsd:string ; | ||
| 33 | + rdfs:subPropertyOf sp:arg . | ||
| 34 | + | ||
| 35 | +arg:template | ||
| 36 | + rdf:type rdf:Property ; | ||
| 37 | + rdfs:label "template"^^xsd:string ; | ||
| 38 | + rdfs:subPropertyOf sp:arg . | ||
| 39 | + | ||
| 40 | +arg:wellBore | ||
| 41 | + rdf:type rdf:Property ; | ||
| 42 | + rdfs:label "well bore"^^xsd:string ; | ||
| 43 | + rdfs:subPropertyOf sp:arg . | ||
| 44 | + | ||
| 45 | +<http://www.reportinghub.no/ep/schema/report#DailyDrillingReport> | ||
| 46 | + ui:instanceView | ||
| 47 | + [ rdf:type ui:group ; | ||
| 48 | + let:startDate | ||
| 49 | + [ rdf:type sp:Select ; | ||
| 50 | + sp:resultVariables ([ sp:varName "startDate"^^xsd:string | ||
| 51 | + ]) ; | ||
| 52 | + sp:where ([ rdf:type sp:TriplePath ; | ||
| 53 | + sp:object | ||
| 54 | + [ sp:varName "timeStamp"^^xsd:string | ||
| 55 | + ] ; | ||
| 56 | + sp:path [ rdf:type sp:SeqPath ; | ||
| 57 | + sp:path1 <http://www.reportinghub.no/ep/schema/report#reportOn> ; | ||
| 58 | + sp:path2 <http://www.reportinghub.no/ep/schema/activity#startedAt> | ||
| 59 | + ] ; | ||
| 60 | + sp:subject spin:_this | ||
| 61 | + ] [ rdf:type sp:Bind ; | ||
| 62 | + sp:expression | ||
| 63 | + [ rdf:type xsd:date ; | ||
| 64 | + sp:arg1 [ sp:varName "timeStamp"^^xsd:string | ||
| 65 | + ] | ||
| 66 | + ] ; | ||
| 67 | + sp:variable | ||
| 68 | + [ sp:varName "startDate"^^xsd:string | ||
| 69 | + ] | ||
| 70 | + ]) | ||
| 71 | + ] ; | ||
| 72 | + let:wellBore | ||
| 73 | + [ rdf:type sp:Select ; | ||
| 74 | + sp:resultVariables ([ sp:varName "wellBore"^^xsd:string | ||
| 75 | + ]) ; | ||
| 76 | + sp:where ([ rdf:type sp:TriplePath ; | ||
| 77 | + sp:object | ||
| 78 | + [ sp:varName "wellBore"^^xsd:string | ||
| 79 | + ] ; | ||
| 80 | + sp:path [ rdf:type sp:SeqPath ; | ||
| 81 | + sp:path1 | ||
| 82 | + [ rdf:type sp:SeqPath ; | ||
| 83 | + sp:path1 <http://www.reportinghub.no/ep/schema/report#reportOn> ; | ||
| 84 | + sp:path2 <http://www.reportinghub.no/ep/schema/activity#onWellBore> | ||
| 85 | + ] ; | ||
| 86 | + sp:path2 <http://www.reportinghub.no/ep/schema/core#temporalPartOf> | ||
| 87 | + ] ; | ||
| 88 | + sp:subject spin:_this | ||
| 89 | + ]) | ||
| 90 | + ] ; | ||
| 91 | + ui:child | ||
| 92 | + [ rdf:type nptswp:NonProductiveTimeReportView ; | ||
| 93 | + arg:startDate | ||
| 94 | + [ sp:varName "startDate"^^xsd:string | ||
| 95 | + ] ; | ||
| 96 | + arg:wellBore | ||
| 97 | + [ sp:varName "wellBore"^^xsd:string | ||
| 98 | + ] ; | ||
| 99 | + ui:childIndex 0 | ||
| 100 | + ] ; | ||
| 101 | + ui:priority -1 | ||
| 102 | + ] . | ||
| 103 | + | ||
| 104 | +<http://www.reportinghub.no/swp/npt> | ||
| 105 | + rdf:type owl:Ontology ; | ||
| 106 | + owl:imports <http://uispin.org/tui> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/ddr> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/organization> , <http://www.reportinghub.no/ep/schema/1.0/report> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/spin/drilling-tables> , <http://www.reportinghub.no/spin/rh> ; | ||
| 107 | + owl:versionInfo "0.1.0"^^xsd:string . | ||
| 108 | + | ||
| 109 | +nptswp:Table | ||
| 110 | + rdf:type ui:NodeClass ; | ||
| 111 | + rdfs:comment "An HTML table displaying the results of a given SPIN template for a given npt. The template should also provide rhspin:tableHeaders."^^xsd:string ; | ||
| 112 | + rdfs:label "Table"^^xsd:string ; | ||
| 113 | + rdfs:subClassOf ui:Element ; | ||
| 114 | + spin:constraint | ||
| 115 | + [ rdf:type spl:Argument ; | ||
| 116 | + rdfs:comment "The SPIN Template to execute."^^xsd:string ; | ||
| 117 | + spl:predicate arg:template ; | ||
| 118 | + spl:valueType spin:Template | ||
| 119 | + ] ; | ||
| 120 | + spin:constraint | ||
| 121 | + [ rdf:type spl:Argument ; | ||
| 122 | + rdfs:comment "The well bore of the report."^^xsd:string ; | ||
| 123 | + spl:predicate arg:wellBore ; | ||
| 124 | + spl:valueType ep-well:WellBore | ||
| 125 | + ] ; | ||
| 126 | + spin:constraint | ||
| 127 | + [ rdf:type spl:Argument ; | ||
| 128 | + rdfs:comment "The start date of the report."^^xsd:string ; | ||
| 129 | + spl:predicate arg:startDate ; | ||
| 130 | + spl:valueType xsd:date | ||
| 131 | + ] ; | ||
| 132 | + ui:prototype <http://www.reportinghub.no/swp/NPTTable.uispin.html> . | ||
| 133 | + | ||
| 134 | +nptswp:NonProductiveTimeReportView | ||
| 135 | + rdf:type ui:NodeClass ; | ||
| 136 | + rdfs:label "Weekly drilling report view"^^xsd:string ; | ||
| 137 | + rdfs:subClassOf ui:Element ; | ||
| 138 | + spin:constraint | ||
| 139 | + [ rdf:type spl:Argument ; | ||
| 140 | + rdfs:comment "The well bore."^^xsd:string ; | ||
| 141 | + spl:predicate arg:wellBore ; | ||
| 142 | + spl:valueType ep-well:WellBore | ||
| 143 | + ] ; | ||
| 144 | + spin:constraint | ||
| 145 | + [ rdf:type spl:Argument ; | ||
| 146 | + rdfs:comment "The start date of the report to display."^^xsd:string ; | ||
| 147 | + spl:predicate arg:startDate ; | ||
| 148 | + spl:valueType xsd:date | ||
| 149 | + ] ; | ||
| 150 | + ui:headIncludes | ||
| 151 | + [ rdf:type html:Link ; | ||
| 152 | + html:href "http://spinrdf.org/rhlib/ddr.css"^^xsd:string ; | ||
| 153 | + html:rel "stylesheet"^^xsd:string ; | ||
| 154 | + html:type "text/css"^^xsd:string | ||
| 155 | + ] ; | ||
| 156 | + ui:prototype <http://www.reportinghub.no/swp/NonProductiveTimeReport.uispin.html> . |
| ... | @@ -9,7 +9,7 @@ | ... | @@ -9,7 +9,7 @@ |
| 9 | # imports: http://www.reportinghub.no/ep/schema/1.0/organization | 9 | # imports: http://www.reportinghub.no/ep/schema/1.0/organization |
| 10 | # imports: http://www.reportinghub.no/ep/schema/1.0/report | 10 | # imports: http://www.reportinghub.no/ep/schema/1.0/report |
| 11 | # imports: http://www.reportinghub.no/ep/schema/1.0/well | 11 | # imports: http://www.reportinghub.no/ep/schema/1.0/well |
| 12 | -# imports: http://www.reportinghub.no/ep/spin/wdr-tables | 12 | +# imports: http://www.reportinghub.no/ep/spin/drilling-tables |
| 13 | # imports: http://www.reportinghub.no/spin/rh | 13 | # imports: http://www.reportinghub.no/spin/rh |
| 14 | 14 | ||
| 15 | @prefix arg: <http://spinrdf.org/arg#> . | 15 | @prefix arg: <http://spinrdf.org/arg#> . |
| ... | @@ -103,7 +103,7 @@ arg:wellBore | ... | @@ -103,7 +103,7 @@ arg:wellBore |
| 103 | 103 | ||
| 104 | <http://www.reportinghub.no/swp/wdr> | 104 | <http://www.reportinghub.no/swp/wdr> |
| 105 | rdf:type owl:Ontology ; | 105 | rdf:type owl:Ontology ; |
| 106 | - owl:imports <http://uispin.org/tui> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/ddr> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/organization> , <http://www.reportinghub.no/ep/schema/1.0/report> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/spin/wdr-tables> , <http://www.reportinghub.no/spin/rh> ; | 106 | + owl:imports <http://uispin.org/tui> , <http://www.reportinghub.no/ep/schema/1.0/activity> , <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://www.reportinghub.no/ep/schema/1.0/core> , <http://www.reportinghub.no/ep/schema/1.0/ddr> , <http://www.reportinghub.no/ep/schema/1.0/equipment> , <http://www.reportinghub.no/ep/schema/1.0/facility> , <http://www.reportinghub.no/ep/schema/1.0/organization> , <http://www.reportinghub.no/ep/schema/1.0/report> , <http://www.reportinghub.no/ep/schema/1.0/well> , <http://www.reportinghub.no/ep/spin/drilling-tables> , <http://www.reportinghub.no/spin/rh> ; |
| 107 | owl:versionInfo "0.1.0"^^xsd:string . | 107 | owl:versionInfo "0.1.0"^^xsd:string . |
| 108 | 108 | ||
| 109 | wdrswp:Table | 109 | wdrswp:Table |
| ... | @@ -113,9 +113,9 @@ wdrswp:Table | ... | @@ -113,9 +113,9 @@ wdrswp:Table |
| 113 | rdfs:subClassOf ui:Element ; | 113 | rdfs:subClassOf ui:Element ; |
| 114 | spin:constraint | 114 | spin:constraint |
| 115 | [ rdf:type spl:Argument ; | 115 | [ rdf:type spl:Argument ; |
| 116 | - rdfs:comment "The start date of the report."^^xsd:string ; | 116 | + rdfs:comment "The SPIN Template to execute."^^xsd:string ; |
| 117 | - spl:predicate arg:startDate ; | 117 | + spl:predicate arg:template ; |
| 118 | - spl:valueType xsd:date | 118 | + spl:valueType spin:Template |
| 119 | ] ; | 119 | ] ; |
| 120 | spin:constraint | 120 | spin:constraint |
| 121 | [ rdf:type spl:Argument ; | 121 | [ rdf:type spl:Argument ; |
| ... | @@ -125,9 +125,9 @@ wdrswp:Table | ... | @@ -125,9 +125,9 @@ wdrswp:Table |
| 125 | ] ; | 125 | ] ; |
| 126 | spin:constraint | 126 | spin:constraint |
| 127 | [ rdf:type spl:Argument ; | 127 | [ rdf:type spl:Argument ; |
| 128 | - rdfs:comment "The SPIN Template to execute."^^xsd:string ; | 128 | + rdfs:comment "The start date of the report."^^xsd:string ; |
| 129 | - spl:predicate arg:template ; | 129 | + spl:predicate arg:startDate ; |
| 130 | - spl:valueType spin:Template | 130 | + spl:valueType xsd:date |
| 131 | ] ; | 131 | ] ; |
| 132 | ui:prototype <http://www.reportinghub.no/swp/WDRTable.uispin.html> . | 132 | ui:prototype <http://www.reportinghub.no/swp/WDRTable.uispin.html> . |
| 133 | 133 | ||
| ... | @@ -137,16 +137,16 @@ wdrswp:WeeklyDrillingReportView | ... | @@ -137,16 +137,16 @@ wdrswp:WeeklyDrillingReportView |
| 137 | rdfs:subClassOf ui:Element ; | 137 | rdfs:subClassOf ui:Element ; |
| 138 | spin:constraint | 138 | spin:constraint |
| 139 | [ rdf:type spl:Argument ; | 139 | [ rdf:type spl:Argument ; |
| 140 | - rdfs:comment "The start date of the report to display."^^xsd:string ; | ||
| 141 | - spl:predicate arg:startDate ; | ||
| 142 | - spl:valueType xsd:date | ||
| 143 | - ] ; | ||
| 144 | - spin:constraint | ||
| 145 | - [ rdf:type spl:Argument ; | ||
| 146 | rdfs:comment "The well bore."^^xsd:string ; | 140 | rdfs:comment "The well bore."^^xsd:string ; |
| 147 | spl:predicate arg:wellBore ; | 141 | spl:predicate arg:wellBore ; |
| 148 | spl:valueType ep-well:WellBore | 142 | spl:valueType ep-well:WellBore |
| 149 | ] ; | 143 | ] ; |
| 144 | + spin:constraint | ||
| 145 | + [ rdf:type spl:Argument ; | ||
| 146 | + rdfs:comment "The start date of the report to display."^^xsd:string ; | ||
| 147 | + spl:predicate arg:startDate ; | ||
| 148 | + spl:valueType xsd:date | ||
| 149 | + ] ; | ||
| 150 | ui:headIncludes | 150 | ui:headIncludes |
| 151 | [ rdf:type html:Link ; | 151 | [ rdf:type html:Link ; |
| 152 | html:href "http://spinrdf.org/rhlib/ddr.css"^^xsd:string ; | 152 | html:href "http://spinrdf.org/rhlib/ddr.css"^^xsd:string ; | ... | ... |
| 1 | <div> | 1 | <div> |
| 2 | <hr /> | 2 | <hr /> |
| 3 | - <ui:setContext ui:queryGraph="<http://www.reportinghub.no/ep/spin/wdr-tables>"> | 3 | + <ui:setContext ui:queryGraph="<http://www.reportinghub.no/ep/spin/drilling-tables>"> |
| 4 | <h2>{= ui:label(?template) }</h2> | 4 | <h2>{= ui:label(?template) }</h2> |
| 5 | </ui:setContext> | 5 | </ui:setContext> |
| 6 | <table class="ddrTable"> | 6 | <table class="ddrTable"> |
| 7 | - <ui:setContext ui:queryGraph="<http://www.reportinghub.no/ep/spin/wdr-tables>"> | 7 | + <ui:setContext ui:queryGraph="<http://www.reportinghub.no/ep/spin/drilling-tables>"> |
| 8 | <tr class="ddrTR"> | 8 | <tr class="ddrTR"> |
| 9 | <ui:forEach ui:resultSet="{# | 9 | <ui:forEach ui:resultSet="{# |
| 10 | SELECT ?header | 10 | SELECT ?header | ... | ... |
| ... | @@ -5,9 +5,7 @@ | ... | @@ -5,9 +5,7 @@ |
| 5 | <h2>Start Date : {= ?startDate }</h2> | 5 | <h2>Start Date : {= ?startDate }</h2> |
| 6 | <hr /> | 6 | <hr /> |
| 7 | 7 | ||
| 8 | - <wdrswp:Table arg:startDate="{= ?startDate }" arg:wellBore="{= ?wellBore }" arg:template="wdr-tables:DailyAndForecastComments" /> | 8 | + <wdrswp:Table arg:startDate="{= ?startDate }" arg:wellBore="{= ?wellBore }" arg:template="drilling-tables:DailyAndForecastComments" /> |
| 9 | - | ||
| 10 | - <wdrswp:Table arg:startDate="{= ?startDate }" arg:wellBore="{= ?wellBore }" arg:template="wdr-tables:MissedProduction" /> | ||
| 11 | 9 | ||
| 12 | </ui:group> | 10 | </ui:group> |
| 13 | </ui:group> | 11 | </ui:group> |
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
| ... | @@ -26,12 +26,12 @@ log:LogEvent | ... | @@ -26,12 +26,12 @@ log:LogEvent |
| 26 | rdfs:subClassOf | 26 | rdfs:subClassOf |
| 27 | [ rdf:type owl:Restriction ; | 27 | [ rdf:type owl:Restriction ; |
| 28 | owl:cardinality "1"^^xsd:nonNegativeInteger ; | 28 | owl:cardinality "1"^^xsd:nonNegativeInteger ; |
| 29 | - owl:onProperty <http://purl.org/dc/terms/created> | 29 | + owl:onProperty rdfs:comment |
| 30 | ] ; | 30 | ] ; |
| 31 | rdfs:subClassOf | 31 | rdfs:subClassOf |
| 32 | [ rdf:type owl:Restriction ; | 32 | [ rdf:type owl:Restriction ; |
| 33 | - owl:allValuesFrom xsd:dateTime ; | 33 | + owl:allValuesFrom xsd:string ; |
| 34 | - owl:onProperty <http://purl.org/dc/terms/created> | 34 | + owl:onProperty <http://rdfs.org/sioc/ns#id> |
| 35 | ] ; | 35 | ] ; |
| 36 | rdfs:subClassOf | 36 | rdfs:subClassOf |
| 37 | [ rdf:type owl:Restriction ; | 37 | [ rdf:type owl:Restriction ; |
| ... | @@ -40,13 +40,13 @@ log:LogEvent | ... | @@ -40,13 +40,13 @@ log:LogEvent |
| 40 | ] ; | 40 | ] ; |
| 41 | rdfs:subClassOf | 41 | rdfs:subClassOf |
| 42 | [ rdf:type owl:Restriction ; | 42 | [ rdf:type owl:Restriction ; |
| 43 | - owl:allValuesFrom xsd:string ; | 43 | + owl:allValuesFrom xsd:dateTime ; |
| 44 | - owl:onProperty <http://rdfs.org/sioc/ns#id> | 44 | + owl:onProperty <http://purl.org/dc/terms/created> |
| 45 | ] ; | 45 | ] ; |
| 46 | rdfs:subClassOf | 46 | rdfs:subClassOf |
| 47 | [ rdf:type owl:Restriction ; | 47 | [ rdf:type owl:Restriction ; |
| 48 | owl:cardinality "1"^^xsd:nonNegativeInteger ; | 48 | owl:cardinality "1"^^xsd:nonNegativeInteger ; |
| 49 | - owl:onProperty rdfs:comment | 49 | + owl:onProperty <http://purl.org/dc/terms/created> |
| 50 | ] . | 50 | ] . |
| 51 | 51 | ||
| 52 | log:PasswordChangeEvent | 52 | log:PasswordChangeEvent |
| ... | @@ -66,12 +66,12 @@ log:ReportDownloadEvent | ... | @@ -66,12 +66,12 @@ log:ReportDownloadEvent |
| 66 | rdfs:subClassOf | 66 | rdfs:subClassOf |
| 67 | [ rdf:type owl:Restriction ; | 67 | [ rdf:type owl:Restriction ; |
| 68 | owl:cardinality "1"^^xsd:nonNegativeInteger ; | 68 | owl:cardinality "1"^^xsd:nonNegativeInteger ; |
| 69 | - owl:onProperty <http://www.reportinghub.no/system/schema/reporting#wellBoreId> | 69 | + owl:onProperty <http://www.reportinghub.no/system/schema/reporting#format> |
| 70 | ] ; | 70 | ] ; |
| 71 | rdfs:subClassOf | 71 | rdfs:subClassOf |
| 72 | [ rdf:type owl:Restriction ; | 72 | [ rdf:type owl:Restriction ; |
| 73 | owl:cardinality "1"^^xsd:nonNegativeInteger ; | 73 | owl:cardinality "1"^^xsd:nonNegativeInteger ; |
| 74 | - owl:onProperty <http://www.reportinghub.no/system/schema/reporting#format> | 74 | + owl:onProperty <http://www.reportinghub.no/system/schema/reporting#wellBoreId> |
| 75 | ] . | 75 | ] . |
| 76 | 76 | ||
| 77 | log:ReportEvent | 77 | log:ReportEvent |
| ... | @@ -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:xml | ||
| 148 | + rdf:type owl:DatatypeProperty ; | ||
| 149 | + rdfs:comment "The complete source of the submitted XML document."^^xsd:string ; | ||
| 150 | + rdfs:domain log:ReportUploadEvent ; | ||
| 151 | + rdfs:label "xml"^^xsd:string ; | ||
| 152 | + rdfs:range xsd:string . | ||
| 153 | + | ||
| 147 | <http://www.reportinghub.no/system/schema/reporting#uploadedDocument> | 154 | <http://www.reportinghub.no/system/schema/reporting#uploadedDocument> |
| 148 | rdf:type owl:ObjectProperty ; | 155 | rdf:type owl:ObjectProperty ; |
| 149 | rdfs:domain log:ReportUploadEvent ; | 156 | rdfs:domain log:ReportUploadEvent ; | ... | ... |
This diff is collapsed. Click to expand it.
-
Please register or login to post a comment