Improved the well test transform, and established a better style
Showing
4 changed files
with
45 additions
and
1 deletions
This diff is collapsed. Click to expand it.
| ... | @@ -22,7 +22,7 @@ | ... | @@ -22,7 +22,7 @@ |
| 22 | 22 | ||
| 23 | <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> | 23 | <http://www.reportinghub.no/ep/mpr/spin/1.1/lib> |
| 24 | rdf:type owl:Ontology ; | 24 | rdf:type owl:Ontology ; |
| 25 | - owl:imports <http://www.reportinghub.no/ep/schema/1.0/production> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/schema/1.0/production-activity> , <http://www.reportinghub.no/ep/schema/1.0/production-equipment> , <http://spinrdf.org/spin> ; | 25 | + owl:imports <http://spinrdf.org/spin> , <http://www.reportinghub.no/ep/schema/1.0/production-equipment> , <http://www.reportinghub.no/ep/schema/1.0/production-activity> , <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/production> ; |
| 26 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . | 26 | owl:versionInfo "Created with TopBraid Composer"^^xsd:string . |
| 27 | 27 | ||
| 28 | ep-mpr-spin-lib:Function | 28 | ep-mpr-spin-lib:Function |
| ... | @@ -80,6 +80,28 @@ ep-mpr-spin-lib:buildPersonRoleTypeURI | ... | @@ -80,6 +80,28 @@ ep-mpr-spin-lib:buildPersonRoleTypeURI |
| 80 | ]) | 80 | ]) |
| 81 | ] . | 81 | ] . |
| 82 | 82 | ||
| 83 | +ep-mpr-spin-lib:buildProductionOperationMethodTypeURI | ||
| 84 | + rdf:type spin:Function ; | ||
| 85 | + rdfs:label "build ProductionOperationMethodType URI"^^xsd:string ; | ||
| 86 | + rdfs:subClassOf ep-mpr-spin-lib:Function ; | ||
| 87 | + spin:body | ||
| 88 | + [ rdf:type sp:Select ; | ||
| 89 | + sp:resultVariables ([ sp:varName "uri"^^xsd:string | ||
| 90 | + ]) ; | ||
| 91 | + sp:where ([ rdf:type sp:Bind ; | ||
| 92 | + sp:expression | ||
| 93 | + [ rdf:type ep-spin-lib:buildURI ; | ||
| 94 | + sp:arg1 "https://www.reportinghub.no/ep/data/productionOperationMethodType/" ; | ||
| 95 | + sp:arg2 [ rdf:type ep-spin-lib:normalizeString ; | ||
| 96 | + sp:arg1 spin:_arg1 | ||
| 97 | + ] | ||
| 98 | + ] ; | ||
| 99 | + sp:variable | ||
| 100 | + [ sp:varName "uri"^^xsd:string | ||
| 101 | + ] | ||
| 102 | + ]) | ||
| 103 | + ] . | ||
| 104 | + | ||
| 83 | ep-mpr-spin-lib:buildProductionReportURI | 105 | ep-mpr-spin-lib:buildProductionReportURI |
| 84 | rdf:type spin:Function ; | 106 | rdf:type spin:Function ; |
| 85 | rdfs:subClassOf ep-mpr-spin-lib:Function ; | 107 | rdfs:subClassOf ep-mpr-spin-lib:Function ; |
| ... | @@ -161,6 +183,28 @@ ep-mpr-spin-lib:buildSubstanceTypeURI | ... | @@ -161,6 +183,28 @@ ep-mpr-spin-lib:buildSubstanceTypeURI |
| 161 | ]) | 183 | ]) |
| 162 | ] . | 184 | ] . |
| 163 | 185 | ||
| 186 | +ep-mpr-spin-lib:buildWellTestTypeURI | ||
| 187 | + rdf:type spin:Function ; | ||
| 188 | + rdfs:label "build WellTestType URI"^^xsd:string ; | ||
| 189 | + rdfs:subClassOf ep-mpr-spin-lib:Function ; | ||
| 190 | + spin:body | ||
| 191 | + [ rdf:type sp:Select ; | ||
| 192 | + sp:resultVariables ([ sp:varName "uri"^^xsd:string | ||
| 193 | + ]) ; | ||
| 194 | + sp:where ([ rdf:type sp:Bind ; | ||
| 195 | + sp:expression | ||
| 196 | + [ rdf:type ep-spin-lib:buildURI ; | ||
| 197 | + sp:arg1 "https://www.reportinghub.no/ep/data/wellTestType/" ; | ||
| 198 | + sp:arg2 [ rdf:type ep-spin-lib:normalizeString ; | ||
| 199 | + sp:arg1 spin:_arg1 | ||
| 200 | + ] | ||
| 201 | + ] ; | ||
| 202 | + sp:variable | ||
| 203 | + [ sp:varName "uri"^^xsd:string | ||
| 204 | + ] | ||
| 205 | + ]) | ||
| 206 | + ] . | ||
| 207 | + | ||
| 164 | ep-mpr-spin-lib:selectAverageAmountOfMaterialFlag | 208 | ep-mpr-spin-lib:selectAverageAmountOfMaterialFlag |
| 165 | rdf:type spin:Function ; | 209 | rdf:type spin:Function ; |
| 166 | rdfs:label "select AverageAmountOfMaterialFlag"^^xsd:string ; | 210 | rdfs:label "select AverageAmountOfMaterialFlag"^^xsd:string ; | ... | ... |
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
-
Please register or login to post a comment