David Leal

Completion of issuedBy and bug fixes in water quality

This diff could not be displayed because it is too large.
...@@ -17,20 +17,68 @@ ...@@ -17,20 +17,68 @@
17 <http://www.epim.no/schemas/mprml/1#Cs_businessAssociate> 17 <http://www.epim.no/schemas/mprml/1#Cs_businessAssociate>
18 spin:rule 18 spin:rule
19 [ rdf:type sp:Construct ; 19 [ rdf:type sp:Construct ;
20 - rdfs:comment "STEP 90200 Set the approver"^^xsd:string ; 20 + rdfs:comment "STEP 90201 Set the approver"^^xsd:string ;
21 sp:templates ([ sp:object _:b1 ; 21 sp:templates ([ sp:object _:b1 ;
22 + sp:predicate <http://www.reportinghub.no/ep/schema/activity#issuer> ;
23 + sp:subject
24 + [ sp:varName "issueReport"^^xsd:string
25 + ]
26 + ] [ sp:object <http://www.reportinghub.no/ep/schema/organization#PersonOrOrganization> ;
27 + sp:predicate rdf:type ;
28 + sp:subject _:b1
29 + ] [ sp:object
30 + [ sp:varName "issuer"^^xsd:string
31 + ] ;
32 + sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
33 + sp:subject _:b1
34 + ]) ;
35 + sp:where ([ sp:object spin:_this ;
36 + sp:predicate <http://www.epim.no/schemas/mprml/1#issuedByRef> ;
37 + sp:subject
38 + [ sp:varName "target"^^xsd:string
39 + ]
40 + ] [ sp:object
41 + [ sp:varName "target"^^xsd:string
42 + ] ;
43 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
44 + sp:subject
45 + [ sp:varName "report"^^xsd:string
46 + ]
47 + ] [ sp:object
48 + [ sp:varName "report"^^xsd:string
49 + ] ;
50 + sp:predicate <http://www.reportinghub.no/ep/schema/report#issuedReport> ;
51 + sp:subject
52 + [ sp:varName "issueReport"^^xsd:string
53 + ]
54 + ] [ sp:object <http://www.reportinghub.no/ep/schema/activity#IssueAReport> ;
55 + sp:predicate rdf:type ;
56 + sp:subject
57 + [ sp:varName "issueReport"^^xsd:string
58 + ]
59 + ] [ sp:object spin:_this ;
60 + sp:predicate <http://www.reportinghub.no/ep/transform/transform-helper-schema#derivedFrom> ;
61 + sp:subject
62 + [ sp:varName "issuer"^^xsd:string
63 + ]
64 + ])
65 + ] ;
66 + spin:rule
67 + [ rdf:type sp:Construct ;
68 + rdfs:comment "STEP 90200 Set the approver"^^xsd:string ;
69 + sp:templates ([ sp:object _:b2 ;
22 sp:predicate <http://www.reportinghub.no/ep/schema/activity#approver> ; 70 sp:predicate <http://www.reportinghub.no/ep/schema/activity#approver> ;
23 sp:subject 71 sp:subject
24 [ sp:varName "approveReport"^^xsd:string 72 [ sp:varName "approveReport"^^xsd:string
25 ] 73 ]
26 ] [ sp:object <http://www.reportinghub.no/ep/schema/organization#PersonOrOrganization> ; 74 ] [ sp:object <http://www.reportinghub.no/ep/schema/organization#PersonOrOrganization> ;
27 sp:predicate rdf:type ; 75 sp:predicate rdf:type ;
28 - sp:subject _:b1 76 + sp:subject _:b2
29 ] [ sp:object 77 ] [ sp:object
30 [ sp:varName "approver"^^xsd:string 78 [ sp:varName "approver"^^xsd:string
31 ] ; 79 ] ;
32 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ; 80 sp:predicate <http://www.reportinghub.no/ep/schema/core#temporalPartOf> ;
33 - sp:subject _:b1 81 + sp:subject _:b2
34 ]) ; 82 ]) ;
35 sp:where ([ sp:object spin:_this ; 83 sp:where ([ sp:object spin:_this ;
36 sp:predicate <http://www.epim.no/schemas/mprml/1#approverRef> ; 84 sp:predicate <http://www.epim.no/schemas/mprml/1#approverRef> ;
...@@ -66,5 +114,5 @@ ...@@ -66,5 +114,5 @@
66 114
67 <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-approval-v1.1.1> 115 <http://www.reportinghub.no/ep/transform/TRANSFORM_mpr-approval-v1.1.1>
68 rdf:type owl:Ontology ; 116 rdf:type owl:Ontology ;
69 - owl:imports <http://www.reportinghub.no/ep/transform/transform-helper-schema> , <http://www.reportinghub.no/ep/schema/1.0/production-activity> , <http://www.reportinghub.no/ep/schema/1.0/report> , <http://www.epim.no/schemas/mprml/1> , <http://spinrdf.org/spin> ; 117 + owl:imports <http://spinrdf.org/spin> , <http://www.epim.no/schemas/mprml/1> , <http://www.reportinghub.no/ep/schema/1.0/report> , <http://www.reportinghub.no/ep/schema/1.0/production-activity> , <http://www.reportinghub.no/ep/transform/transform-helper-schema> ;
70 owl:versionInfo "Created with TopBraid Composer"^^xsd:string . 118 owl:versionInfo "Created with TopBraid Composer"^^xsd:string .
......