David Price

Well Incident Comment moved from DDR table to HTML

......@@ -23,7 +23,7 @@
<http://www.reportinghub.no/ep/spin/ddr-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/ep/spin/1.1/lib> , <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> , <http://www.reportinghub.no/ep/spin/1.1/lib> ;
owl:versionInfo "0.1.0"^^xsd:string .
ddr-tables:BitRecord
......@@ -3840,7 +3840,6 @@ ddr-tables:WellControlIncident
] [ sp:varName "killingProcd"^^xsd:string
] [ sp:varName "formation"^^xsd:string
] [ sp:varName "bHT"^^xsd:string
] [ sp:varName "comment"^^xsd:string
]) ;
sp:where ([ sp:object
[ sp:varName "reportOn"^^xsd:string
......@@ -4215,7 +4214,7 @@ bar"""^^xsd:string """Shut in drill
pipe pressure
bar"""^^xsd:string """Incident
class"""^^xsd:string """Killing
procd"""^^xsd:string "Formation"^^xsd:string "BHT"^^xsd:string "Comment"^^xsd:string) .
procd"""^^xsd:string "Formation"^^xsd:string "BHT"^^xsd:string) .
ddr-tables:WellTestInformation
rdf:type rhspin:TableTemplate ;
......
......@@ -118,6 +118,10 @@
<ddrswp:Table arg:report="{= ?report }" arg:template="ddr-tables:LithologyInformation" />
<ddrswp:Table arg:report="{= ?report }" arg:template="ddr-tables:WellControlIncident" />
<ui:forEach ui:resultSet="{# SELECT DISTINCT ?startedAt ?comment WHERE {?report ep-report:reportOn ?reportOn . ?reportOn ep-core:hasPart ?wci . ?wci a ?wciClass . ?wciClass rdfs:subClassOf ep-activity:WellControlIncident . OPTIONAL { ?wci ep-activity:startedAt ?startedAt . } . ?wci rdfs:comment ?comment . } ORDER BY (?startedAt) }" >
<p>{= ?comment }</p>
</ui:forEach>
<ddrswp:Table arg:report="{= ?report }" arg:template="ddr-tables:PerforationInformation" />
......