Showing
6 changed files
with
32 additions
and
1 deletions
This diff is collapsed. Click to expand it.
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://spinrdf.org/spin> , <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://www.reportinghub.no/ep/schema/1.0/production-activity> , <http://www.reportinghub.no/ep/schema/1.0/production-equipment> , <http://www.reportinghub.no/ep/spin/1.1/lib> ; | 25 | + owl:imports <http://www.reportinghub.no/ep/spin/1.1/lib> , <http://www.reportinghub.no/ep/schema/1.0/production-equipment> , <http://www.reportinghub.no/ep/schema/1.0/production-activity> , <http://www.reportinghub.no/ep/schema/1.0/production> , <http://www.epim.no/schemas/mprml/1> , <http://spinrdf.org/spin> ; |
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 |
... | @@ -5388,6 +5388,37 @@ ep-mpr-spin-lib:selectReportPeriodType | ... | @@ -5388,6 +5388,37 @@ ep-mpr-spin-lib:selectReportPeriodType |
5388 | ]) | 5388 | ]) |
5389 | ] . | 5389 | ] . |
5390 | 5390 | ||
5391 | +ep-mpr-spin-lib:selectReportVersionStatusType | ||
5392 | + rdf:type spin:Function ; | ||
5393 | + rdfs:label "select ReportVersionStatusType"^^xsd:string ; | ||
5394 | + rdfs:subClassOf ep-mpr-spin-lib:Function ; | ||
5395 | + spin:body | ||
5396 | + [ rdf:type sp:Select ; | ||
5397 | + sp:resultVariables ([ sp:varName "reportVersionStatusType"^^xsd:string | ||
5398 | + ]) ; | ||
5399 | + sp:where ([ rdf:type sp:Bind ; | ||
5400 | + sp:expression | ||
5401 | + [ rdf:type sp:if ; | ||
5402 | + sp:arg1 [ rdf:type sp:eq ; | ||
5403 | + sp:arg1 spin:_arg1 ; | ||
5404 | + sp:arg2 <http://www.epim.no/schemas/mprml/1#VS_final> | ||
5405 | + ] ; | ||
5406 | + sp:arg2 <http://www.reportinghub.no/ep/schema/report#FinalVersionOfAReport> ; | ||
5407 | + sp:arg3 [ rdf:type sp:if ; | ||
5408 | + sp:arg1 [ rdf:type sp:eq ; | ||
5409 | + sp:arg1 spin:_arg1 ; | ||
5410 | + sp:arg2 <http://www.epim.no/schemas/mprml/1#VS_preliminary> | ||
5411 | + ] ; | ||
5412 | + sp:arg2 <http://www.reportinghub.no/ep/schema/report#PreliminaryVersionOfAReport> ; | ||
5413 | + sp:arg3 <http://www.reportinghub.no/ep/schema/report#Report> | ||
5414 | + ] | ||
5415 | + ] ; | ||
5416 | + sp:variable | ||
5417 | + [ sp:varName "reportVersionStatusType"^^xsd:string | ||
5418 | + ] | ||
5419 | + ]) | ||
5420 | + ] . | ||
5421 | + | ||
5391 | ep-mpr-spin-lib:selectReportingFacilityType | 5422 | ep-mpr-spin-lib:selectReportingFacilityType |
5392 | rdf:type spin:Function ; | 5423 | rdf:type spin:Function ; |
5393 | rdfs:label "select ReportingFacilityType"^^xsd:string ; | 5424 | rdfs:label "select ReportingFacilityType"^^xsd:string ; | ... | ... |
This diff could not be displayed because it is too large.
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