Showing
1 changed file
with
275 additions
and
249 deletions
| 1 | -# baseURI: http://www.reportinghub.no/ep/spin/wdr-tables | 1 | +# baseURI: http://www.reportinghub.no/ep/spin/wdr-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 owl: <http://www.w3.org/2002/07/owl#> . | 8 | +@prefix owl: <http://www.w3.org/2002/07/owl#> . |
| 9 | -@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | 9 | +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . |
| 10 | -@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | 10 | +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . |
| 11 | -@prefix rhspin: <http://www.reportinghub.no/spin/rh#> . | 11 | +@prefix rhspin: <http://www.reportinghub.no/spin/rh#> . |
| 12 | -@prefix sp: <http://spinrdf.org/sp#> . | 12 | +@prefix sp: <http://spinrdf.org/sp#> . |
| 13 | -@prefix spif: <http://spinrdf.org/spif#> . | 13 | +@prefix spif: <http://spinrdf.org/spif#> . |
| 14 | -@prefix spin: <http://spinrdf.org/spin#> . | 14 | +@prefix spin: <http://spinrdf.org/spin#> . |
| 15 | -@prefix spl: <http://spinrdf.org/spl#> . | 15 | +@prefix spl: <http://spinrdf.org/spl#> . |
| 16 | -@prefix wdr-tables: <http://www.reportinghub.no/ep/spin/wdr-tables#> . | 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/wdr-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://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> ; |
| 23 | - owl:versionInfo "0.1.0"^^xsd:string . | 23 | + owl:versionInfo "0.1.0"^^xsd:string . |
| 24 | - | 24 | + |
| 25 | -wdr-tables:DailyAndForecastComments | 25 | +wdr-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 ; |
| 29 | - spin:body | 29 | + spin:body |
| 30 | - [ rdf:type sp:Select ; | 30 | + [ rdf:type sp:Select ; |
| 31 | - sp:orderBy (_:b1) ; | 31 | + sp:orderBy ([ sp:varName "day"^^xsd:string |
| 32 | - sp:resultVariables (_:b1 _:b2 _:b3) ; | 32 | + ]) ; |
| 33 | - sp:where ([ sp:object | 33 | + sp:resultVariables ([ sp:varName "day"^^xsd:string |
| 34 | - [ sp:varName "wellBore"^^xsd:string | 34 | + ] [ sp:varName "dailySummary"^^xsd:string |
| 35 | - ] ; | 35 | + ] [ sp:varName "nextDayForecast"^^xsd:string |
| 36 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | 36 | + ]) ; |
| 37 | - sp:subject _:b4 | 37 | + sp:where ([ sp:object |
| 38 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfAWellBore> ; | 38 | + [ sp:varName "startDate"^^xsd:string |
| 39 | - sp:predicate rdf:type ; | 39 | + ] ; |
| 40 | - sp:subject _:b4 | 40 | + sp:predicate rdf:first ; |
| 41 | - ] [ sp:object _:b4 ; | 41 | + sp:subject |
| 42 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | 42 | + [ sp:varName "?0"^^xsd:string |
| 43 | - sp:subject _:b5 | 43 | + ] |
| 44 | - ] [ sp:object _:b5 ; | 44 | + ] [ sp:object |
| 45 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; | 45 | + [ sp:varName "?1"^^xsd:string |
| 46 | - sp:subject _:b6 | 46 | + ] ; |
| 47 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#DailyDrillingActivityToStatus> ; | 47 | + sp:predicate rdf:rest ; |
| 48 | - sp:predicate rdf:type ; | 48 | + sp:subject |
| 49 | - sp:subject _:b6 | 49 | + [ sp:varName "?0"^^xsd:string |
| 50 | - ] [ sp:object _:b7 ; | 50 | + ] |
| 51 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; | 51 | + ] [ sp:object |
| 52 | - sp:subject _:b6 | 52 | + [ sp:varName "wellBore"^^xsd:string |
| 53 | - ] [ rdf:type sp:Bind ; | 53 | + ] ; |
| 54 | - sp:expression | 54 | + sp:predicate rdf:first ; |
| 55 | - [ rdf:type spif:dateFormat ; | 55 | + sp:subject |
| 56 | - arg:date _:b7 ; | 56 | + [ sp:varName "?1"^^xsd:string |
| 57 | - arg:pattern "yyyy-MM-dd" | 57 | + ] |
| 58 | - ] ; | 58 | + ] [ sp:object () ; |
| 59 | - sp:variable _:b1 | 59 | + sp:predicate rdf:rest ; |
| 60 | - ] [ rdf:type sp:Bind ; | 60 | + sp:subject |
| 61 | - sp:expression | 61 | + [ sp:varName "?1"^^xsd:string |
| 62 | - [ rdf:type spif:dateFormat ; | 62 | + ] |
| 63 | - arg:date | 63 | + ] [ sp:object |
| 64 | - [ sp:varName "startDate"^^xsd:string | 64 | + [ sp:varName "ddr"^^xsd:string |
| 65 | - ] ; | 65 | + ] ; |
| 66 | - arg:pattern "yyyy-MM-dd" | 66 | + sp:predicate rhspin:ddrOfWeek ; |
| 67 | - ] ; | 67 | + sp:subject |
| 68 | - sp:variable _:b8 | 68 | + [ sp:varName "?0"^^xsd:string |
| 69 | - ] [ rdf:type sp:Filter ; | 69 | + ] |
| 70 | - sp:expression | 70 | + ] [ sp:object |
| 71 | - [ rdf:type sp:le ; | 71 | + [ sp:varName "dda"^^xsd:string |
| 72 | - sp:arg1 _:b8 ; | 72 | + ] ; |
| 73 | - sp:arg2 _:b1 | 73 | + sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ; |
| 74 | - ] | 74 | + sp:subject |
| 75 | - ] [ sp:object _:b2 ; | 75 | + [ sp:varName "ddr"^^xsd:string |
| 76 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#descriptionOfActivitiesWithinTheDailyReportingPeriod> ; | 76 | + ] |
| 77 | - sp:subject _:b6 | 77 | + ] [ sp:object |
| 78 | - ] [ sp:object _:b3 ; | 78 | + [ sp:varName "ddats"^^xsd:string |
| 79 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#descriptionOfActivitiesForecastForTheNextDailyReportingPeriod> ; | 79 | + ] ; |
| 80 | - sp:subject _:b6 | 80 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; |
| 81 | - ]) | 81 | + sp:subject |
| 82 | - ] ; | 82 | + [ sp:varName "dda"^^xsd:string |
| 83 | - rhspin:tableHeaders ("Day"^^xsd:string "Daily Summary"^^xsd:string "Next Day Forecast"^^xsd:string) . | 83 | + ] |
| 84 | - | 84 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#DailyDrillingActivityToStatus> ; |
| 85 | -wdr-tables:MissedProduction | 85 | + sp:predicate rdf:type ; |
| 86 | - rdf:type rhspin:TableTemplate ; | 86 | + sp:subject |
| 87 | - rdfs:label "Non Productive Time"^^xsd:string ; | 87 | + [ sp:varName "ddats"^^xsd:string |
| 88 | - rdfs:subClassOf rhspin:WDRTableTemplates ; | 88 | + ] |
| 89 | - spin:body | 89 | + ] [ sp:object |
| 90 | - [ rdf:type sp:Select ; | 90 | + [ sp:varName "startedAt"^^xsd:string |
| 91 | - sp:orderBy ([ sp:varName "day"^^xsd:string | 91 | + ] ; |
| 92 | - ]) ; | 92 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#startedAt> ; |
| 93 | - sp:resultVariables ([ sp:varName "day"^^xsd:string | 93 | + sp:subject |
| 94 | - ] [ sp:varName "startTime"^^xsd:string | 94 | + [ sp:varName "ddats"^^xsd:string |
| 95 | - ] [ sp:varName "duration"^^xsd:string | 95 | + ] |
| 96 | - ] [ sp:varName "comment"^^xsd:string | 96 | + ] [ rdf:type sp:Bind ; |
| 97 | - ]) ; | 97 | + sp:expression |
| 98 | - sp:where ([ sp:object | 98 | + [ rdf:type spif:dateFormat ; |
| 99 | - [ sp:varName "wellBore"^^xsd:string | 99 | + arg:date |
| 100 | - ] ; | 100 | + [ sp:varName "startedAt"^^xsd:string |
| 101 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | 101 | + ] ; |
| 102 | - sp:subject | 102 | + arg:pattern "yyyy-MM-dd" |
| 103 | - [ sp:varName "dayWellbore"^^xsd:string | 103 | + ] ; |
| 104 | - ] | 104 | + sp:variable |
| 105 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/well#TemporalPartOfAWellBore> ; | 105 | + [ sp:varName "day"^^xsd:string |
| 106 | - sp:predicate rdf:type ; | 106 | + ] |
| 107 | - sp:subject | 107 | + ] [ sp:object |
| 108 | - [ sp:varName "dayWellbore"^^xsd:string | 108 | + [ sp:varName "dailySummary"^^xsd:string |
| 109 | - ] | 109 | + ] ; |
| 110 | - ] [ sp:object | 110 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#descriptionOfActivitiesWithinTheDailyReportingPeriod> ; |
| 111 | - [ sp:varName "dayWellbore"^^xsd:string | 111 | + sp:subject |
| 112 | - ] ; | 112 | + [ sp:varName "ddats"^^xsd:string |
| 113 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; | 113 | + ] |
| 114 | - sp:subject | 114 | + ] [ sp:object |
| 115 | - [ sp:varName "partWellbore"^^xsd:string | 115 | + [ sp:varName "nextDayForecast"^^xsd:string |
| 116 | - ] | 116 | + ] ; |
| 117 | - ] [ sp:object | 117 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#descriptionOfActivitiesForecastForTheNextDailyReportingPeriod> ; |
| 118 | - [ sp:varName "partWellbore"^^xsd:string | 118 | + sp:subject |
| 119 | - ] ; | 119 | + [ sp:varName "ddats"^^xsd:string |
| 120 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#onWellBore> ; | 120 | + ] |
| 121 | - sp:subject | 121 | + ]) |
| 122 | - [ sp:varName "failure"^^xsd:string | 122 | + ] ; |
| 123 | - ] | 123 | + rhspin:tableHeaders ("Day"^^xsd:string "Daily Summary"^^xsd:string "Next Day Forecast"^^xsd:string) . |
| 124 | - ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#EquipmentFailureAndRepair> ; | 124 | + |
| 125 | - sp:predicate rdf:type ; | 125 | +wdr-tables:MissedProduction |
| 126 | - sp:subject | 126 | + rdf:type rhspin:TableTemplate ; |
| 127 | - [ sp:varName "failure"^^xsd:string | 127 | + rdfs:label "Non Productive Time"^^xsd:string ; |
| 128 | - ] | 128 | + rdfs:subClassOf rhspin:WDRTableTemplates ; |
| 129 | - ] [ sp:object | 129 | + spin:body |
| 130 | - [ sp:varName "timeOfFailure"^^xsd:string | 130 | + [ rdf:type sp:Select ; |
| 131 | - ] ; | 131 | + sp:orderBy ([ sp:varName "day"^^xsd:string |
| 132 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#timeOfFailure> ; | 132 | + ]) ; |
| 133 | - sp:subject | 133 | + sp:resultVariables ([ sp:varName "day"^^xsd:string |
| 134 | - [ sp:varName "failure"^^xsd:string | 134 | + ] [ sp:varName "startTime"^^xsd:string |
| 135 | - ] | 135 | + ] [ sp:varName "duration"^^xsd:string |
| 136 | - ] [ rdf:type sp:Bind ; | 136 | + ] [ sp:varName "comment"^^xsd:string |
| 137 | - sp:expression | 137 | + ]) ; |
| 138 | - [ rdf:type spif:dateFormat ; | 138 | + sp:where ([ sp:object |
| 139 | - arg:date | 139 | + [ sp:varName "startDate"^^xsd:string |
| 140 | - [ sp:varName "timeOfFailure"^^xsd:string | 140 | + ] ; |
| 141 | - ] ; | 141 | + sp:predicate rdf:first ; |
| 142 | - arg:pattern "yyyy-MM-dd" | 142 | + sp:subject |
| 143 | - ] ; | 143 | + [ sp:varName "?0"^^xsd:string |
| 144 | - sp:variable | 144 | + ] |
| 145 | - [ sp:varName "day"^^xsd:string | 145 | + ] [ sp:object |
| 146 | - ] | 146 | + [ sp:varName "?1"^^xsd:string |
| 147 | - ] [ rdf:type sp:Bind ; | 147 | + ] ; |
| 148 | - sp:expression | 148 | + sp:predicate rdf:rest ; |
| 149 | - [ rdf:type spif:dateFormat ; | 149 | + sp:subject |
| 150 | - arg:date | 150 | + [ sp:varName "?0"^^xsd:string |
| 151 | - [ sp:varName "startDate"^^xsd:string | 151 | + ] |
| 152 | - ] ; | 152 | + ] [ sp:object |
| 153 | - arg:pattern "yyyy-MM-dd" | 153 | + [ sp:varName "wellBore"^^xsd:string |
| 154 | - ] ; | 154 | + ] ; |
| 155 | - sp:variable | 155 | + sp:predicate rdf:first ; |
| 156 | - [ sp:varName "startDateDay"^^xsd:string | 156 | + sp:subject |
| 157 | - ] | 157 | + [ sp:varName "?1"^^xsd:string |
| 158 | - ] [ rdf:type sp:Filter ; | 158 | + ] |
| 159 | - sp:expression | 159 | + ] [ sp:object () ; |
| 160 | - [ rdf:type sp:le ; | 160 | + sp:predicate rdf:rest ; |
| 161 | - sp:arg1 [ sp:varName "startDateDay"^^xsd:string | 161 | + sp:subject |
| 162 | - ] ; | 162 | + [ sp:varName "?1"^^xsd:string |
| 163 | - sp:arg2 [ sp:varName "day"^^xsd:string | 163 | + ] |
| 164 | - ] | 164 | + ] [ sp:object |
| 165 | - ] | 165 | + [ sp:varName "ddr"^^xsd:string |
| 166 | - ] [ sp:object | 166 | + ] ; |
| 167 | - [ sp:varName "comment"^^xsd:string | 167 | + sp:predicate rhspin:ddrOfWeek ; |
| 168 | - ] ; | 168 | + sp:subject |
| 169 | - sp:predicate rdfs:comment ; | 169 | + [ sp:varName "?0"^^xsd:string |
| 170 | - sp:subject | 170 | + ] |
| 171 | - [ sp:varName "failure"^^xsd:string | 171 | + ] [ sp:object |
| 172 | - ] | 172 | + [ sp:varName "dda"^^xsd:string |
| 173 | - ] [ sp:object | 173 | + ] ; |
| 174 | - [ sp:varName "mpt"^^xsd:string | 174 | + sp:predicate <http://www.reportinghub.no/ep/schema/report#reportOn> ; |
| 175 | - ] ; | 175 | + sp:subject |
| 176 | - sp:predicate <http://www.reportinghub.no/ep/schema/activity#missedProductionTime> ; | 176 | + [ sp:varName "ddr"^^xsd:string |
| 177 | - sp:subject | 177 | + ] |
| 178 | - [ sp:varName "failure"^^xsd:string | 178 | + ] [ sp:object |
| 179 | - ] | 179 | + [ sp:varName "failure"^^xsd:string |
| 180 | - ] [ sp:object | 180 | + ] ; |
| 181 | - [ sp:varName "duration"^^xsd:string | 181 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#hasPart> ; |
| 182 | - ] ; | 182 | + sp:subject |
| 183 | - sp:predicate <http://www.reportinghub.no/ep/schema/core#minute> ; | 183 | + [ sp:varName "dda"^^xsd:string |
| 184 | - sp:subject | 184 | + ] |
| 185 | - [ sp:varName "mpt"^^xsd:string | 185 | + ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#EquipmentFailureAndRepair> ; |
| 186 | - ] | 186 | + sp:predicate rdf:type ; |
| 187 | - ] [ rdf:type sp:Bind ; | 187 | + sp:subject |
| 188 | - sp:expression | 188 | + [ sp:varName "failure"^^xsd:string |
| 189 | - [ rdf:type spif:dateFormat ; | 189 | + ] |
| 190 | - arg:date | 190 | + ] [ sp:object |
| 191 | - [ sp:varName "timeOfFailure"^^xsd:string | 191 | + [ sp:varName "timeOfFailure"^^xsd:string |
| 192 | - ] ; | 192 | + ] ; |
| 193 | - arg:pattern "HH:mm" | 193 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#timeOfFailure> ; |
| 194 | - ] ; | 194 | + sp:subject |
| 195 | - sp:variable | 195 | + [ sp:varName "failure"^^xsd:string |
| 196 | - [ sp:varName "startTime"^^xsd:string | 196 | + ] |
| 197 | - ] | 197 | + ] [ rdf:type sp:Bind ; |
| 198 | - ]) | 198 | + sp:expression |
| 199 | - ] ; | 199 | + [ rdf:type spif:dateFormat ; |
| 200 | - rhspin:tableHeaders ("Day"^^xsd:string "Start Time"^^xsd:string "Duration Minutes"^^xsd:string "Comment"^^xsd:string) . | 200 | + arg:date |
| 201 | - | 201 | + [ sp:varName "timeOfFailure"^^xsd:string |
| 202 | -wdr-tables:Test | 202 | + ] ; |
| 203 | - rdf:type rhspin:TableTemplate ; | 203 | + arg:pattern "yyyy-MM-dd" |
| 204 | - rdfs:label "Test Table"^^xsd:string ; | 204 | + ] ; |
| 205 | - rdfs:subClassOf rhspin:WDRTableTemplates ; | 205 | + sp:variable |
| 206 | - spin:body | 206 | + [ sp:varName "day"^^xsd:string |
| 207 | - [ rdf:type sp:Select ; | 207 | + ] |
| 208 | - sp:resultVariables ([ sp:varName "a"^^xsd:string | 208 | + ] [ sp:object |
| 209 | - ] [ sp:varName "b"^^xsd:string | 209 | + [ sp:varName "comment"^^xsd:string |
| 210 | - ] [ sp:varName "c"^^xsd:string | 210 | + ] ; |
| 211 | - ]) ; | 211 | + sp:predicate rdfs:comment ; |
| 212 | - sp:where ([ rdf:type sp:Bind ; | 212 | + sp:subject |
| 213 | - sp:expression 42 ; | 213 | + [ sp:varName "failure"^^xsd:string |
| 214 | - sp:variable | 214 | + ] |
| 215 | - [ sp:varName "a"^^xsd:string | 215 | + ] [ sp:object |
| 216 | - ] | 216 | + [ sp:varName "mpt"^^xsd:string |
| 217 | - ] [ rdf:type sp:Bind ; | 217 | + ] ; |
| 218 | - sp:expression | 218 | + sp:predicate <http://www.reportinghub.no/ep/schema/activity#missedProductionTime> ; |
| 219 | - [ sp:varName "startDate"^^xsd:string | 219 | + sp:subject |
| 220 | - ] ; | 220 | + [ sp:varName "failure"^^xsd:string |
| 221 | - sp:variable | 221 | + ] |
| 222 | - [ sp:varName "b"^^xsd:string | 222 | + ] [ sp:object |
| 223 | - ] | 223 | + [ sp:varName "duration"^^xsd:string |
| 224 | - ] [ rdf:type sp:Bind ; | 224 | + ] ; |
| 225 | - sp:expression | 225 | + sp:predicate <http://www.reportinghub.no/ep/schema/core#minute> ; |
| 226 | - [ sp:varName "wellBore"^^xsd:string | 226 | + sp:subject |
| 227 | - ] ; | 227 | + [ sp:varName "mpt"^^xsd:string |
| 228 | - sp:variable | 228 | + ] |
| 229 | - [ sp:varName "c"^^xsd:string | 229 | + ] [ rdf:type sp:Bind ; |
| 230 | - ] | 230 | + sp:expression |
| 231 | - ]) | 231 | + [ rdf:type spif:dateFormat ; |
| 232 | - ] ; | 232 | + arg:date |
| 233 | - rhspin:tableHeaders ("Column 1"^^xsd:string "Column 2"^^xsd:string "Column 3"^^xsd:string) . | 233 | + [ sp:varName "timeOfFailure"^^xsd:string |
| 234 | - | 234 | + ] ; |
| 235 | -_:b8 sp:varName "startDateDay"^^xsd:string . | 235 | + arg:pattern "HH:mm" |
| 236 | - | 236 | + ] ; |
| 237 | -_:b7 sp:varName "startedAt"^^xsd:string . | 237 | + sp:variable |
| 238 | - | 238 | + [ sp:varName "startTime"^^xsd:string |
| 239 | -_:b6 sp:varName "ddats"^^xsd:string . | 239 | + ] |
| 240 | - | 240 | + ]) |
| 241 | -_:b5 sp:varName "partWellbore"^^xsd:string . | 241 | + ] ; |
| 242 | - | 242 | + rhspin:tableHeaders ("Day"^^xsd:string "Start Time"^^xsd:string "Duration Minutes"^^xsd:string "Comment"^^xsd:string) . |
| 243 | -_:b4 sp:varName "dayWellbore"^^xsd:string . | 243 | + |
| 244 | - | 244 | +wdr-tables:Test |
| 245 | -_:b3 sp:varName "nextDayForecast"^^xsd:string . | 245 | + rdf:type rhspin:TableTemplate ; |
| 246 | - | 246 | + rdfs:label "Test Table"^^xsd:string ; |
| 247 | -_:b2 sp:varName "dailySummary"^^xsd:string . | 247 | + rdfs:subClassOf rhspin:WDRTableTemplates ; |
| 248 | - | 248 | + spin:body |
| 249 | -_:b1 sp:varName "day"^^xsd:string . | 249 | + [ rdf:type sp:Select ; |
| 250 | + sp:resultVariables ([ sp:varName "a"^^xsd:string | ||
| 251 | + ] [ sp:varName "b"^^xsd:string | ||
| 252 | + ] [ sp:varName "c"^^xsd:string | ||
| 253 | + ]) ; | ||
| 254 | + sp:where ([ rdf:type sp:Bind ; | ||
| 255 | + sp:expression 42 ; | ||
| 256 | + sp:variable | ||
| 257 | + [ sp:varName "a"^^xsd:string | ||
| 258 | + ] | ||
| 259 | + ] [ rdf:type sp:Bind ; | ||
| 260 | + sp:expression | ||
| 261 | + [ sp:varName "startDate"^^xsd:string | ||
| 262 | + ] ; | ||
| 263 | + sp:variable | ||
| 264 | + [ sp:varName "b"^^xsd:string | ||
| 265 | + ] | ||
| 266 | + ] [ rdf:type sp:Bind ; | ||
| 267 | + sp:expression | ||
| 268 | + [ sp:varName "wellBore"^^xsd:string | ||
| 269 | + ] ; | ||
| 270 | + sp:variable | ||
| 271 | + [ sp:varName "c"^^xsd:string | ||
| 272 | + ] | ||
| 273 | + ]) | ||
| 274 | + ] ; | ||
| 275 | + rhspin:tableHeaders ("Column 1"^^xsd:string "Column 2"^^xsd:string "Column 3"^^xsd:string) . | ... | ... |
-
Please register or login to post a comment