Showing
1 changed file
with
42 additions
and
29 deletions
| ... | @@ -5,6 +5,7 @@ | ... | @@ -5,6 +5,7 @@ |
| 5 | # imports: http://www.reportinghub.no/ep/schema/1.0/core | 5 | # imports: http://www.reportinghub.no/ep/schema/1.0/core |
| 6 | # imports: http://www.reportinghub.no/ep/schema/1.0/facility | 6 | # imports: http://www.reportinghub.no/ep/schema/1.0/facility |
| 7 | # imports: http://www.reportinghub.no/ep/schema/1.0/organization | 7 | # imports: http://www.reportinghub.no/ep/schema/1.0/organization |
| 8 | +# imports: http://www.reportinghub.no/ep/schema/1.0/production-report | ||
| 8 | # imports: http://www.reportinghub.no/ep/schema/1.0/report | 9 | # imports: http://www.reportinghub.no/ep/schema/1.0/report |
| 9 | # imports: http://www.reportinghub.no/np/schema/1.0/npd | 10 | # imports: http://www.reportinghub.no/np/schema/1.0/npd |
| 10 | 11 | ||
| ... | @@ -105,14 +106,14 @@ arg:wellName | ... | @@ -105,14 +106,14 @@ arg:wellName |
| 105 | ] ; | 106 | ] ; |
| 106 | spin:constraint | 107 | spin:constraint |
| 107 | [ rdf:type spl:Argument ; | 108 | [ rdf:type spl:Argument ; |
| 108 | - rdfs:comment "The property that must be used in the result resource."^^xsd:string ; | 109 | + rdfs:comment "The value to match against."^^xsd:string ; |
| 109 | - spl:predicate <http://topbraid.org/spin/spinmapl#predicate> ; | 110 | + spl:predicate sp:arg1 |
| 110 | - spl:valueType rdf:Property | ||
| 111 | ] ; | 111 | ] ; |
| 112 | spin:constraint | 112 | spin:constraint |
| 113 | [ rdf:type spl:Argument ; | 113 | [ rdf:type spl:Argument ; |
| 114 | - rdfs:comment "The value to match against."^^xsd:string ; | 114 | + rdfs:comment "The property that must be used in the result resource."^^xsd:string ; |
| 115 | - spl:predicate sp:arg1 | 115 | + spl:predicate <http://topbraid.org/spin/spinmapl#predicate> ; |
| 116 | + spl:valueType rdf:Property | ||
| 116 | ] ; | 117 | ] ; |
| 117 | spin:returnType rdfs:Resource . | 118 | spin:returnType rdfs:Resource . |
| 118 | 119 | ||
| ... | @@ -123,7 +124,7 @@ npdata:npd | ... | @@ -123,7 +124,7 @@ npdata:npd |
| 123 | <http://www.reportinghub.no/spin/rh> | 124 | <http://www.reportinghub.no/spin/rh> |
| 124 | rdf:type owl:Ontology ; | 125 | rdf:type owl:Ontology ; |
| 125 | rdfs:comment "A collection of SPIN functions and templates to support working with the ReportingHub schemas."^^xsd:string ; | 126 | rdfs:comment "A collection of SPIN functions and templates to support working with the ReportingHub schemas."^^xsd:string ; |
| 126 | - owl:imports <http://spinrdf.org/spin> , <http://topbraid.org/spin/spinmapl> , <http://www.linkedmodel.org/schema/dtype> , <http://www.reportinghub.no/ep/schema/1.0/core> , <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/np/schema/1.0/npd> ; | 127 | + owl:imports <http://spinrdf.org/spin> , <http://topbraid.org/spin/spinmapl> , <http://www.linkedmodel.org/schema/dtype> , <http://www.reportinghub.no/ep/schema/1.0/core> , <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/production-report> , <http://www.reportinghub.no/ep/schema/1.0/report> , <http://www.reportinghub.no/np/schema/1.0/npd> ; |
| 127 | owl:versionInfo "0.1.1"^^xsd:string . | 128 | owl:versionInfo "0.1.1"^^xsd:string . |
| 128 | 129 | ||
| 129 | rhspin:DDRTableTemplates | 130 | rhspin:DDRTableTemplates |
| ... | @@ -138,6 +139,18 @@ rhspin:DDRTableTemplates | ... | @@ -138,6 +139,18 @@ rhspin:DDRTableTemplates |
| 138 | spl:valueType <http://www.reportinghub.no/ep/schema/report#DailyDrillingReport> | 139 | spl:valueType <http://www.reportinghub.no/ep/schema/report#DailyDrillingReport> |
| 139 | ] . | 140 | ] . |
| 140 | 141 | ||
| 142 | +rhspin:DPRTableTemplates | ||
| 143 | + rdf:type rhspin:TableTemplate ; | ||
| 144 | + rdfs:label "DPR table templates"^^xsd:string ; | ||
| 145 | + rdfs:subClassOf rhspin:TableTemplates ; | ||
| 146 | + spin:abstract "true"^^xsd:boolean ; | ||
| 147 | + spin:constraint | ||
| 148 | + [ rdf:type spl:Argument ; | ||
| 149 | + rdfs:comment "The DPR that serves as root of the query."^^xsd:string ; | ||
| 150 | + spl:predicate arg:report ; | ||
| 151 | + spl:valueType <http://www.reportinghub.no/ep/schema/production-report#DailyProductionReport> | ||
| 152 | + ] . | ||
| 153 | + | ||
| 141 | rhspin:GetLicenceInfo | 154 | rhspin:GetLicenceInfo |
| 142 | rdf:type spin:SelectTemplate ; | 155 | rdf:type spin:SelectTemplate ; |
| 143 | rdfs:comment "Gets the NPD id and a type identifier (\"PL\" or \"BA\") for a licence specified by a name."^^xsd:string ; | 156 | rdfs:comment "Gets the NPD id and a type identifier (\"PL\" or \"BA\") for a licence specified by a name."^^xsd:string ; |
| ... | @@ -388,15 +401,15 @@ rhspin:WDRTableTemplates | ... | @@ -388,15 +401,15 @@ rhspin:WDRTableTemplates |
| 388 | spin:abstract "true"^^xsd:boolean ; | 401 | spin:abstract "true"^^xsd:boolean ; |
| 389 | spin:constraint | 402 | spin:constraint |
| 390 | [ rdf:type spl:Argument ; | 403 | [ rdf:type spl:Argument ; |
| 391 | - rdfs:comment "The DDR that serves as root of the query."^^xsd:string ; | ||
| 392 | - spl:predicate arg:wellBore ; | ||
| 393 | - spl:valueType <http://www.reportinghub.no/ep/schema/well#WellBore> | ||
| 394 | - ] ; | ||
| 395 | - spin:constraint | ||
| 396 | - [ rdf:type spl:Argument ; | ||
| 397 | rdfs:comment "The start date of the reporting week."^^xsd:string ; | 404 | rdfs:comment "The start date of the reporting week."^^xsd:string ; |
| 398 | spl:predicate arg:startDate ; | 405 | spl:predicate arg:startDate ; |
| 399 | spl:valueType xsd:date | 406 | spl:valueType xsd:date |
| 407 | + ] ; | ||
| 408 | + spin:constraint | ||
| 409 | + [ rdf:type spl:Argument ; | ||
| 410 | + rdfs:comment "The DDR that serves as root of the query."^^xsd:string ; | ||
| 411 | + spl:predicate arg:wellBore ; | ||
| 412 | + spl:valueType <http://www.reportinghub.no/ep/schema/well#WellBore> | ||
| 400 | ] . | 413 | ] . |
| 401 | 414 | ||
| 402 | rhspin:baaById | 415 | rhspin:baaById |
| ... | @@ -805,16 +818,16 @@ rhspin:ddrOfWeek | ... | @@ -805,16 +818,16 @@ rhspin:ddrOfWeek |
| 805 | ] ; | 818 | ] ; |
| 806 | spin:constraint | 819 | spin:constraint |
| 807 | [ rdf:type spl:Argument ; | 820 | [ rdf:type spl:Argument ; |
| 808 | - rdfs:comment "The well bore that the DDR must be about."^^xsd:string ; | ||
| 809 | - spl:predicate sp:arg2 ; | ||
| 810 | - spl:valueType <http://www.reportinghub.no/ep/schema/well#WellBore> | ||
| 811 | - ] ; | ||
| 812 | - spin:constraint | ||
| 813 | - [ rdf:type spl:Argument ; | ||
| 814 | rdfs:comment "The first day of the week."^^xsd:string ; | 821 | rdfs:comment "The first day of the week."^^xsd:string ; |
| 815 | spl:predicate sp:arg1 ; | 822 | spl:predicate sp:arg1 ; |
| 816 | spl:valueType xsd:date | 823 | spl:valueType xsd:date |
| 817 | ] ; | 824 | ] ; |
| 825 | + spin:constraint | ||
| 826 | + [ rdf:type spl:Argument ; | ||
| 827 | + rdfs:comment "The well bore that the DDR must be about."^^xsd:string ; | ||
| 828 | + spl:predicate sp:arg2 ; | ||
| 829 | + spl:valueType <http://www.reportinghub.no/ep/schema/well#WellBore> | ||
| 830 | + ] ; | ||
| 818 | spin:returnType <http://www.reportinghub.no/ep/schema/report#DailyDrillingReport> . | 831 | spin:returnType <http://www.reportinghub.no/ep/schema/report#DailyDrillingReport> . |
| 819 | 832 | ||
| 820 | rhspin:ddrWellBoreId | 833 | rhspin:ddrWellBoreId |
| ... | @@ -901,15 +914,15 @@ rhspin:dtypeValue | ... | @@ -901,15 +914,15 @@ rhspin:dtypeValue |
| 901 | ] ; | 914 | ] ; |
| 902 | spin:constraint | 915 | spin:constraint |
| 903 | [ rdf:type spl:Argument ; | 916 | [ rdf:type spl:Argument ; |
| 904 | - rdfs:comment "The subject of the value."^^xsd:string ; | ||
| 905 | - spl:predicate sp:arg1 ; | ||
| 906 | - spl:valueType rdfs:Resource | ||
| 907 | - ] ; | ||
| 908 | - spin:constraint | ||
| 909 | - [ rdf:type spl:Argument ; | ||
| 910 | rdfs:comment "The predicate that points to the reified value."^^xsd:string ; | 917 | rdfs:comment "The predicate that points to the reified value."^^xsd:string ; |
| 911 | spl:predicate sp:arg2 ; | 918 | spl:predicate sp:arg2 ; |
| 912 | spl:valueType rdf:Property | 919 | spl:valueType rdf:Property |
| 920 | + ] ; | ||
| 921 | + spin:constraint | ||
| 922 | + [ rdf:type spl:Argument ; | ||
| 923 | + rdfs:comment "The subject of the value."^^xsd:string ; | ||
| 924 | + spl:predicate sp:arg1 ; | ||
| 925 | + spl:valueType rdfs:Resource | ||
| 913 | ] . | 926 | ] . |
| 914 | 927 | ||
| 915 | rhspin:facilityById | 928 | rhspin:facilityById |
| ... | @@ -1498,9 +1511,8 @@ rhspin:npdTripleExists | ... | @@ -1498,9 +1511,8 @@ rhspin:npdTripleExists |
| 1498 | ] ; | 1511 | ] ; |
| 1499 | spin:constraint | 1512 | spin:constraint |
| 1500 | [ rdf:type spl:Argument ; | 1513 | [ rdf:type spl:Argument ; |
| 1501 | - rdfs:comment "The subject to find"^^xsd:string ; | 1514 | + rdfs:comment "The object to match."^^xsd:string ; |
| 1502 | - spl:predicate sp:arg1 ; | 1515 | + spl:predicate sp:arg3 |
| 1503 | - spl:valueType rdfs:Resource | ||
| 1504 | ] ; | 1516 | ] ; |
| 1505 | spin:constraint | 1517 | spin:constraint |
| 1506 | [ rdf:type spl:Argument ; | 1518 | [ rdf:type spl:Argument ; |
| ... | @@ -1510,8 +1522,9 @@ rhspin:npdTripleExists | ... | @@ -1510,8 +1522,9 @@ rhspin:npdTripleExists |
| 1510 | ] ; | 1522 | ] ; |
| 1511 | spin:constraint | 1523 | spin:constraint |
| 1512 | [ rdf:type spl:Argument ; | 1524 | [ rdf:type spl:Argument ; |
| 1513 | - rdfs:comment "The object to match."^^xsd:string ; | 1525 | + rdfs:comment "The subject to find"^^xsd:string ; |
| 1514 | - spl:predicate sp:arg3 | 1526 | + spl:predicate sp:arg1 ; |
| 1527 | + spl:valueType rdfs:Resource | ||
| 1515 | ] ; | 1528 | ] ; |
| 1516 | spin:returnType xsd:boolean . | 1529 | spin:returnType xsd:boolean . |
| 1517 | 1530 | ... | ... |
-
Please register or login to post a comment