David Price

Merge branch 'master' into npd5

# Saved by TopBraid on Sun Aug 14 20:44:58 BST 2011
# baseURI: http://www.reportinghub.no/ep/schema/extract/EXTRACT_ddr-DailyDrillingActivityPurposeType-(v1.1)
# baseURI: http://www.reportinghub.no/ep/schema/extract/EXTRACT_ddr-EquipmentType-(v1.1)
# imports: http://www.reportinghub.no/ep/spin/1.1/lib
# imports: http://www.reportinghub.no/ep/schema/1.0/equipment
# imports: http://www.reportinghub.no/ep/schema/1.0/ddr
# imports: http://www.reportinghub.no/ep/schema/drilling-equipment-type
# imports: http://www.reportinghub.no/ep/schema/1.0/drilling-equipment-type
# imports: http://spinrdf.org/spin
@prefix : <http://www.reportinghub.no/ep/schema/extract/EXTRACT_ddr-DailyDrillingActivityPurposeType-(v1.1)#> .
@prefix : <http://www.reportinghub.no/ep/schema/extract/EXTRACT_ddr-EquipmentType-(v1.1)#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix ep-drill-eqt-type: <http://www.reportinghub.no/ep/schema/drilling-equipment-type#> .
@prefix ep-spin-lib: <http://www.reportinghub.no/ep/spin/lib#> .
......@@ -50,9 +50,9 @@
])
] .
<http://www.reportinghub.no/ep/schema/extract/EXTRACT_ddr-DailyDrillingActivityPurposeType-(v1.1)>
<http://www.reportinghub.no/ep/schema/extract/EXTRACT_ddr-EquipmentType-(v1.1)>
rdf:type owl:Ontology ;
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> ;
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> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
_:b1 sp:varName "equipmentType"^^xsd:string .
......
# Saved by TopBraid on Sat Oct 08 14:16:19 BST 2011
# baseURI: http://www.reportinghub.no/ep/schema/1.0/production-well
# imports: http://www.reportinghub.no/ep/schema/1.0/well
@prefix ep-prodwell: <http://www.reportinghub.no/ep/schema/production-well#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/schema/1.0/production-well>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/well> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
# baseURI: http://www.reportinghub.no/ep/schema/1.0/production-well
# imports: http://www.reportinghub.no/ep/schema/1.0/well
@prefix ep-core: <http://www.reportinghub.no/ep/schema/core#> .
@prefix ep-prodwell: <http://www.reportinghub.no/ep/schema/production-well#> .
@prefix ep-well: <http://www.reportinghub.no/ep/schema/well#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/schema/1.0/production-well>
rdf:type owl:Ontology ;
owl:imports <http://www.reportinghub.no/ep/schema/1.0/well> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
ep-prodwell:NaturalGasClass
rdf:type rdfs:Class ;
rdfs:label "natural gas class"^^xsd:string ;
rdfs:subClassOf owl:Class .
ep-prodwell:Sand
rdf:type ep-well:FluidComponentType , owl:Class ;
rdfs:label "sand"^^xsd:string ;
rdfs:subClassOf ep-well:Fluid .
ep-prodwell:basicSedimentAndWater
rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdfs:label "basic sediment and water"^^xsd:string ;
rdfs:range ep-core:SpecificVolume .
ep-prodwell:condensateYield
rdf:type ep-core:Class_of_indirect_property , owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:label "condensate yield"^^xsd:string ;
rdfs:range ep-core:SpecificVolume .
ep-prodwell:depthOfBaseUsableWaterFromSurface
rdf:type ep-core:Class_of_indirect_property , owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-well:Fluid ;
rdfs:label "depth of base of usable water from surface"^^xsd:string ;
rdfs:range ep-core:Length .
ep-prodwell:depthOfFluidSurfaceFromTopOfWell
rdf:type ep-core:Class_of_indirect_property , owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-well:Fluid ;
rdfs:label "depth of fluid surface from top of well"^^xsd:string ;
rdfs:range ep-core:Length .
ep-prodwell:potentialGasProduction
rdf:type ep-core:Class_of_indirect_property , owl:ObjectProperty , owl:FunctionalProperty ;
rdfs:domain ep-well:WellBore ;
rdfs:label "potential gas production"^^xsd:string ;
rdfs:range ep-core:VolumetricFlowRate .
ep-prodwell:potentialOilProduction
rdf:type owl:ObjectProperty , owl:FunctionalProperty , ep-core:Class_of_indirect_property ;
rdfs:domain ep-well:WellBore ;
rdfs:label "potential oil production"^^xsd:string ;
rdfs:range ep-core:VolumetricFlowRate .
......
# baseURI: http://www.reportinghub.no/ep/spin/wdr-tables
# baseURI: http://www.reportinghub.no/ep/spin/drilling-tables
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose
# imports: http://www.reportinghub.no/ep/schema/1.0/ddr
# imports: http://www.reportinghub.no/spin/rh
@prefix arg: <http://spinrdf.org/arg#> .
@prefix drilling-tables: <http://www.reportinghub.no/ep/spin/drilling-tables#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
......@@ -13,16 +14,15 @@
@prefix spif: <http://spinrdf.org/spif#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix wdr-tables: <http://www.reportinghub.no/ep/spin/wdr-tables#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<http://www.reportinghub.no/ep/spin/wdr-tables>
<http://www.reportinghub.no/ep/spin/drilling-tables>
rdf:type owl:Ontology ;
rdfs:comment "A collection of SELECT templates that can be used to assemble tables in DD reports."^^xsd:string ;
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> ;
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> ;
owl:versionInfo "0.1.0"^^xsd:string .
wdr-tables:DailyAndForecastComments
drilling-tables:DailyAndForecastComments
rdf:type rhspin:TableTemplate ;
rdfs:label "Daily and Forecast Comments"^^xsd:string ;
rdfs:subClassOf rhspin:WDRTableTemplates ;
......@@ -122,7 +122,7 @@ wdr-tables:DailyAndForecastComments
] ;
rhspin:tableHeaders ("Day"^^xsd:string "Daily Summary"^^xsd:string "Next Day Forecast"^^xsd:string) .
wdr-tables:MissedProduction
drilling-tables:MissedProduction
rdf:type rhspin:TableTemplate ;
rdfs:label "Non Productive Time"^^xsd:string ;
rdfs:subClassOf rhspin:WDRTableTemplates ;
......@@ -241,7 +241,7 @@ wdr-tables:MissedProduction
] ;
rhspin:tableHeaders ("Day"^^xsd:string "Start Time"^^xsd:string "Duration Minutes"^^xsd:string "Comment"^^xsd:string) .
wdr-tables:Test
drilling-tables:Test
rdf:type rhspin:TableTemplate ;
rdfs:label "Test Table"^^xsd:string ;
rdfs:subClassOf rhspin:WDRTableTemplates ;
......
This diff could not be displayed because it is too large.
# Saved by TopBraid on Tue Oct 25 15:20:37 BST 2011
# baseURI: http://www.reportinghub.no/ep/transform/1.0/dpr/collector
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/ep/schema/1.0/production
# imports: http://www.reportinghub.no/ep/transform/1.0/dpr/productVolume
# imports: http://www.reportinghub.no/ep/transform/1.0/dpr/productionOperations
# imports: http://www.reportinghub.no/ep/schema/1.0/production
# imports: http://spinrdf.org/spin
# imports: http://www.reportinghub.no/ep/transform/1.0/dpr/productionTestResults
# imports: http://www.reportinghub.no/ep/transform/1.0/dpr/wellTest
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix productVolume: <http://www.reportinghub.no/ep/transform/1.0/dpr/productVolume#> .
@prefix productionOperations: <http://www.reportinghub.no/ep/transform/1.0/dpr/productionOperations#> .
@prefix productionTestResults: <http://www.reportinghub.no/ep/transform/1.0/dpr/productionTestResults#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sp: <http://spinrdf.org/sp#> .
......@@ -19,5 +20,5 @@
<http://www.reportinghub.no/ep/transform/1.0/dpr/collector>
rdf:type owl:Ontology ;
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> ;
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> ;
owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
......
# Saved by TopBraid on Tue Oct 25 15:20:37 BST 2011
# baseURI: null
@prefix composite: <http://www.topbraid.org/2007/05/composite.owl#> .
......
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
<div>
<hr />
<ui:setContext ui:queryGraph="&lt;http://www.reportinghub.no/ep/spin/drilling-tables&gt;">
<h2>{= ui:label(?template) }</h2>
</ui:setContext>
<table class="ddrTable">
<ui:setContext ui:queryGraph="&lt;http://www.reportinghub.no/ep/spin/drilling-tables&gt;">
<tr class="ddrTR">
<ui:forEach ui:resultSet="{#
SELECT ?header
WHERE {
?template rhspin:tableHeaders ?list .
?list &lt;http://jena.hpl.hp.com/ARQ/list#member&gt; ?header .
}
}">
<th class="ddrTH">{= ?header }</th>
</ui:forEach>
</tr>
</ui:setContext>
<ui:call ui:template="{= ?template }" arg:startDate="{= ?startDate }" arg:wellBore="{= ?wellBore }">
<ui:forEach ui:resultSet="{# SELECT ?row ?rowIndex WHERE { ?rs spr:rowIndices ?rowIndex } }">
<tr class="ddrTR">
<ui:forEach ui:resultSet="{# SELECT ?cell WHERE { (?rs ?rowIndex) spr:rowCells (?cell ?cellIndex) } }">
<td class="ddrTD">{= ui:label(?cell) }</td>
</ui:forEach>
</tr>
</ui:forEach>
</ui:call>
</table>
<br />
</div>
\ No newline at end of file
<ui:group>
<ui:group >
<h1>Non Productive Time Report</h1>
<h2>Wellbore : {= rhspin:npdName(?wellBore) }</h2>
<h2>Start Date : {= ?startDate }</h2>
<hr />
<wdrswp:Table arg:startDate="{= ?startDate }" arg:wellBore="{= ?wellBore }" arg:template="drilling-tables:MissedProduction" />
</ui:group>
</ui:group>
\ No newline at end of file
# baseURI: http://www.reportinghub.no/swp/npt
# imports: http://uispin.org/tui
# imports: http://www.reportinghub.no/ep/schema/1.0/activity
# imports: http://www.reportinghub.no/ep/schema/1.0/activity-purpose
# imports: http://www.reportinghub.no/ep/schema/1.0/core
# imports: http://www.reportinghub.no/ep/schema/1.0/ddr
# imports: http://www.reportinghub.no/ep/schema/1.0/equipment
# imports: http://www.reportinghub.no/ep/schema/1.0/facility
# imports: http://www.reportinghub.no/ep/schema/1.0/organization
# imports: http://www.reportinghub.no/ep/schema/1.0/report
# imports: http://www.reportinghub.no/ep/schema/1.0/well
# imports: http://www.reportinghub.no/ep/spin/drilling-tables
# imports: http://www.reportinghub.no/spin/rh
@prefix arg: <http://spinrdf.org/arg#> .
@prefix ep-well: <http://www.reportinghub.no/ep/schema/well#> .
@prefix html: <http://uispin.org/html#> .
@prefix let: <http://uispin.org/let#> .
@prefix letrs: <http://uispin.org/letrs#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sp: <http://spinrdf.org/sp#> .
@prefix spin: <http://spinrdf.org/spin#> .
@prefix spl: <http://spinrdf.org/spl#> .
@prefix ui: <http://uispin.org/ui#> .
@prefix nptswp: <http://www.reportinghub.no/swp/npt#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
arg:startDate
rdf:type rdf:Property ;
rdfs:label "startDate"^^xsd:string ;
rdfs:subPropertyOf sp:arg .
arg:template
rdf:type rdf:Property ;
rdfs:label "template"^^xsd:string ;
rdfs:subPropertyOf sp:arg .
arg:wellBore
rdf:type rdf:Property ;
rdfs:label "well bore"^^xsd:string ;
rdfs:subPropertyOf sp:arg .
<http://www.reportinghub.no/ep/schema/report#DailyDrillingReport>
ui:instanceView
[ rdf:type ui:group ;
let:startDate
[ rdf:type sp:Select ;
sp:resultVariables ([ sp:varName "startDate"^^xsd:string
]) ;
sp:where ([ rdf:type sp:TriplePath ;
sp:object
[ sp:varName "timeStamp"^^xsd:string
] ;
sp:path [ rdf:type sp:SeqPath ;
sp:path1 <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:path2 <http://www.reportinghub.no/ep/schema/activity#startedAt>
] ;
sp:subject spin:_this
] [ rdf:type sp:Bind ;
sp:expression
[ rdf:type xsd:date ;
sp:arg1 [ sp:varName "timeStamp"^^xsd:string
]
] ;
sp:variable
[ sp:varName "startDate"^^xsd:string
]
])
] ;
let:wellBore
[ rdf:type sp:Select ;
sp:resultVariables ([ sp:varName "wellBore"^^xsd:string
]) ;
sp:where ([ rdf:type sp:TriplePath ;
sp:object
[ sp:varName "wellBore"^^xsd:string
] ;
sp:path [ rdf:type sp:SeqPath ;
sp:path1
[ rdf:type sp:SeqPath ;
sp:path1 <http://www.reportinghub.no/ep/schema/report#reportOn> ;
sp:path2 <http://www.reportinghub.no/ep/schema/activity#onWellBore>
] ;
sp:path2 <http://www.reportinghub.no/ep/schema/core#temporalPartOf>
] ;
sp:subject spin:_this
])
] ;
ui:child
[ rdf:type nptswp:NonProductiveTimeReportView ;
arg:startDate
[ sp:varName "startDate"^^xsd:string
] ;
arg:wellBore
[ sp:varName "wellBore"^^xsd:string
] ;
ui:childIndex 0
] ;
ui:priority -1
] .
<http://www.reportinghub.no/swp/npt>
rdf:type owl:Ontology ;
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> ;
owl:versionInfo "0.1.0"^^xsd:string .
nptswp:Table
rdf:type ui:NodeClass ;
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 ;
rdfs:label "Table"^^xsd:string ;
rdfs:subClassOf ui:Element ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The SPIN Template to execute."^^xsd:string ;
spl:predicate arg:template ;
spl:valueType spin:Template
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The well bore of the report."^^xsd:string ;
spl:predicate arg:wellBore ;
spl:valueType ep-well:WellBore
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The start date of the report."^^xsd:string ;
spl:predicate arg:startDate ;
spl:valueType xsd:date
] ;
ui:prototype <http://www.reportinghub.no/swp/NPTTable.uispin.html> .
nptswp:NonProductiveTimeReportView
rdf:type ui:NodeClass ;
rdfs:label "Weekly drilling report view"^^xsd:string ;
rdfs:subClassOf ui:Element ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The well bore."^^xsd:string ;
spl:predicate arg:wellBore ;
spl:valueType ep-well:WellBore
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The start date of the report to display."^^xsd:string ;
spl:predicate arg:startDate ;
spl:valueType xsd:date
] ;
ui:headIncludes
[ rdf:type html:Link ;
html:href "http://spinrdf.org/rhlib/ddr.css"^^xsd:string ;
html:rel "stylesheet"^^xsd:string ;
html:type "text/css"^^xsd:string
] ;
ui:prototype <http://www.reportinghub.no/swp/NonProductiveTimeReport.uispin.html> .
......@@ -9,7 +9,7 @@
# imports: http://www.reportinghub.no/ep/schema/1.0/organization
# imports: http://www.reportinghub.no/ep/schema/1.0/report
# imports: http://www.reportinghub.no/ep/schema/1.0/well
# imports: http://www.reportinghub.no/ep/spin/wdr-tables
# imports: http://www.reportinghub.no/ep/spin/drilling-tables
# imports: http://www.reportinghub.no/spin/rh
@prefix arg: <http://spinrdf.org/arg#> .
......@@ -103,7 +103,7 @@ arg:wellBore
<http://www.reportinghub.no/swp/wdr>
rdf:type owl:Ontology ;
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> ;
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> ;
owl:versionInfo "0.1.0"^^xsd:string .
wdrswp:Table
......@@ -113,9 +113,9 @@ wdrswp:Table
rdfs:subClassOf ui:Element ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The start date of the report."^^xsd:string ;
spl:predicate arg:startDate ;
spl:valueType xsd:date
rdfs:comment "The SPIN Template to execute."^^xsd:string ;
spl:predicate arg:template ;
spl:valueType spin:Template
] ;
spin:constraint
[ rdf:type spl:Argument ;
......@@ -125,9 +125,9 @@ wdrswp:Table
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The SPIN Template to execute."^^xsd:string ;
spl:predicate arg:template ;
spl:valueType spin:Template
rdfs:comment "The start date of the report."^^xsd:string ;
spl:predicate arg:startDate ;
spl:valueType xsd:date
] ;
ui:prototype <http://www.reportinghub.no/swp/WDRTable.uispin.html> .
......@@ -137,16 +137,16 @@ wdrswp:WeeklyDrillingReportView
rdfs:subClassOf ui:Element ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The start date of the report to display."^^xsd:string ;
spl:predicate arg:startDate ;
spl:valueType xsd:date
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The well bore."^^xsd:string ;
spl:predicate arg:wellBore ;
spl:valueType ep-well:WellBore
] ;
spin:constraint
[ rdf:type spl:Argument ;
rdfs:comment "The start date of the report to display."^^xsd:string ;
spl:predicate arg:startDate ;
spl:valueType xsd:date
] ;
ui:headIncludes
[ rdf:type html:Link ;
html:href "http://spinrdf.org/rhlib/ddr.css"^^xsd:string ;
......
<div>
<hr />
<ui:setContext ui:queryGraph="&lt;http://www.reportinghub.no/ep/spin/wdr-tables&gt;">
<ui:setContext ui:queryGraph="&lt;http://www.reportinghub.no/ep/spin/drilling-tables&gt;">
<h2>{= ui:label(?template) }</h2>
</ui:setContext>
<table class="ddrTable">
<ui:setContext ui:queryGraph="&lt;http://www.reportinghub.no/ep/spin/wdr-tables&gt;">
<ui:setContext ui:queryGraph="&lt;http://www.reportinghub.no/ep/spin/drilling-tables&gt;">
<tr class="ddrTR">
<ui:forEach ui:resultSet="{#
SELECT ?header
......
......@@ -5,9 +5,7 @@
<h2>Start Date : {= ?startDate }</h2>
<hr />
<wdrswp:Table arg:startDate="{= ?startDate }" arg:wellBore="{= ?wellBore }" arg:template="wdr-tables:DailyAndForecastComments" />
<wdrswp:Table arg:startDate="{= ?startDate }" arg:wellBore="{= ?wellBore }" arg:template="wdr-tables:MissedProduction" />
<wdrswp:Table arg:startDate="{= ?startDate }" arg:wellBore="{= ?wellBore }" arg:template="drilling-tables:DailyAndForecastComments" />
</ui:group>
</ui:group>
\ No newline at end of file
......
......@@ -26,12 +26,12 @@ log:LogEvent
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty <http://purl.org/dc/terms/created>
owl:onProperty rdfs:comment
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom xsd:dateTime ;
owl:onProperty <http://purl.org/dc/terms/created>
owl:allValuesFrom xsd:string ;
owl:onProperty <http://rdfs.org/sioc/ns#id>
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
......@@ -40,13 +40,13 @@ log:LogEvent
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:allValuesFrom xsd:string ;
owl:onProperty <http://rdfs.org/sioc/ns#id>
owl:allValuesFrom xsd:dateTime ;
owl:onProperty <http://purl.org/dc/terms/created>
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty rdfs:comment
owl:onProperty <http://purl.org/dc/terms/created>
] .
log:PasswordChangeEvent
......@@ -66,12 +66,12 @@ log:ReportDownloadEvent
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty <http://www.reportinghub.no/system/schema/reporting#wellBoreId>
owl:onProperty <http://www.reportinghub.no/system/schema/reporting#format>
] ;
rdfs:subClassOf
[ rdf:type owl:Restriction ;
owl:cardinality "1"^^xsd:nonNegativeInteger ;
owl:onProperty <http://www.reportinghub.no/system/schema/reporting#format>
owl:onProperty <http://www.reportinghub.no/system/schema/reporting#wellBoreId>
] .
log:ReportEvent
......@@ -144,6 +144,13 @@ log:url
rdfs:label "url"^^xsd:string ;
rdfs:range xsd:string .
log:xml
rdf:type owl:DatatypeProperty ;
rdfs:comment "The complete source of the submitted XML document."^^xsd:string ;
rdfs:domain log:ReportUploadEvent ;
rdfs:label "xml"^^xsd:string ;
rdfs:range xsd:string .
<http://www.reportinghub.no/system/schema/reporting#uploadedDocument>
rdf:type owl:ObjectProperty ;
rdfs:domain log:ReportUploadEvent ;
......