David Price

Replaced rdfs:comment use with new ep-core:description property

......@@ -22,7 +22,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://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/spin/rh> ;
owl:imports <http://www.reportinghub.no/spin/rh> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/activity-purpose> , <http://spinrdf.org/spin> ;
owl:versionInfo "0.1.0"^^xsd:string .
ddr-tables:BitRecord
......@@ -411,7 +411,7 @@ ddr-tables:BitRecord
] [ sp:object
[ sp:varName "manufacturer"^^xsd:string
] ;
sp:predicate rdfs:label ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#name> ;
sp:subject
[ sp:varName "drillBitManuf"^^xsd:string
]
......@@ -482,7 +482,7 @@ ddr-tables:CasingLinerTubingInformation
sp:elements ([ sp:object
[ sp:varName "description"^^xsd:string
] ;
sp:predicate rdfs:comment ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#description> ;
sp:subject
[ sp:varName "wellStim"^^xsd:string
]
......@@ -852,7 +852,7 @@ ddr-tables:CementFluidInformation
] [ sp:object
[ sp:varName "fluidDescription"^^xsd:string
] ;
sp:predicate rdfs:comment ;
sp:predicate rdfs:label ;
sp:subject
[ sp:varName "userDescribedCementingFluidType"^^xsd:string
]
......@@ -966,7 +966,7 @@ ddr-tables:CementFluidInformation
sp:elements ([ sp:object
[ sp:varName "comments"^^xsd:string
] ;
sp:predicate rdfs:comment ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#description> ;
sp:subject
[ sp:varName "fluid"^^xsd:string
]
......@@ -1251,7 +1251,7 @@ ddr-tables:CementInformation
sp:elements ([ sp:object
[ sp:varName "comments"^^xsd:string
] ;
sp:predicate rdfs:comment ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#description> ;
sp:subject
[ sp:varName "wellCementJob"^^xsd:string
]
......@@ -1566,7 +1566,7 @@ ddr-tables:CoreInformation
sp:elements ([ sp:object
[ sp:varName "description"^^xsd:string
] ;
sp:predicate rdfs:comment ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#description> ;
sp:subject
[ sp:varName "recCore"^^xsd:string
]
......@@ -2023,7 +2023,7 @@ ddr-tables:EquipmentFailure
sp:elements ([ sp:object
[ sp:varName "failureDescription"^^xsd:string
] ;
sp:predicate rdfs:comment ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#description> ;
sp:subject
[ sp:varName "part"^^xsd:string
]
......@@ -2238,7 +2238,7 @@ ddr-tables:FormationTest
sp:elements ([ sp:object
[ sp:varName "description"^^xsd:string
] ;
sp:predicate rdfs:comment ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#description> ;
sp:subject
[ sp:varName "ft"^^xsd:string
]
......@@ -3110,7 +3110,7 @@ ddr-tables:LogInformation
] [ sp:object
[ sp:varName "tool"^^xsd:string
] ;
sp:predicate rdfs:comment ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#description> ;
sp:subject
[ sp:varName "loggingTool"^^xsd:string
]
......@@ -3348,7 +3348,7 @@ ddr-tables:Operations
sp:elements ([ sp:object
[ sp:varName "remark"^^xsd:string
] ;
sp:predicate rdfs:comment ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#description> ;
sp:subject
[ sp:varName "part"^^xsd:string
]
......@@ -4268,7 +4268,7 @@ ddr-tables:WellControlIncident
] [ sp:object
[ sp:varName "formation"^^xsd:string
] ;
sp:predicate rdfs:comment ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#description> ;
sp:subject
[ sp:varName "srFormation"^^xsd:string
]
......@@ -4376,7 +4376,7 @@ ddr-tables:WellControlIncident
sp:elements ([ sp:object
[ sp:varName "comment"^^xsd:string
] ;
sp:predicate rdfs:comment ;
sp:predicate <http://www.reportinghub.no/ep/schema/core#description> ;
sp:subject
[ sp:varName "wci"^^xsd:string
]
......
......@@ -118,7 +118,7 @@
<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) }" >
<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 ep-core:description ?comment . } ORDER BY (?startedAt) }" >
<p>{= ?comment }</p>
</ui:forEach>
......